Skip to content

Commit

Permalink
add test case step for feature map
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Nov 17, 2023
1 parent bb2d05e commit 5fd4d05
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 84 deletions.
2 changes: 1 addition & 1 deletion src/app/icd/ICDManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ namespace app {
// Used in unit tests
class TestICDManager;

// This structure is used for the creation an ObjectPool of ICDStateObserver pointers

/**
* @brief ICD Manager is responsible of processing the events and triggering the correct action for an ICD
*/
class ICDManager : public ICDListener
{
public:
// This structure is used for the creation an ObjectPool of ICDStateObserver pointers
struct ObserverPointer
{
ObserverPointer(ICDStateObserver * obs) : mObserver(obs) {}
Expand Down
6 changes: 6 additions & 0 deletions src/app/tests/suites/TestIcdManagementCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ tests:
- name: "nodeId"
value: nodeId

- label: "Read Feature Map"
command: "readAttribute"
attribute: "FeatureMap"
response:
value: 0x07

- label: "Read IdleModeDuration"
command: "readAttribute"
attribute: "IdleModeDuration"
Expand Down
Loading

0 comments on commit 5fd4d05

Please sign in to comment.