Skip to content

Commit

Permalink
updated Tests and ciTest file
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashece committed Jan 17, 2024
1 parent 83b968a commit 163c810
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
39 changes: 26 additions & 13 deletions src/app/tests/suites/certification/Test_TC_OVENOPSTATE_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,32 @@ tests:

- label: "Step 3: TH reads from the DUT the OperationalStateList attribute"
PICS: OVENOPSTATE.S.A0003
command: "readAttribute"
attribute: "OperationalStateList"
response:
value:
[
{ OperationalStateID: 0 },
{ OperationalStateID: 1 },
{ OperationalStateID: 2 },
{ OperationalStateID: 3 },
]

constraints:
type: list
verification: |
./chip-tool operationalstate read operational-state-list 1 1
Via the TH (chip-tool), verify:
- all entries include an ID (enum8) and a label (string)
- all provided IDs are in the allowed range
- the list includes IDs for Error (0x03), Running (0x01), and Stopped (0x00)
[1689674049.504261][17222:17224] CHIP:DMG: }
[1689674049.504390][17222:17224] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0060 Attribute 0x0000_0003 DataVersion: 2102885775
[1689674049.504440][17222:17224] CHIP:TOO: OperationalStateList: 4 entries
[1689674049.504462][17222:17224] CHIP:TOO: [1]: {
[1689674049.504469][17222:17224] CHIP:TOO: OperationalStateID: 0
[1689674049.504476][17222:17224] CHIP:TOO: }
[1689674049.504484][17222:17224] CHIP:TOO: [2]: {
[1689674049.504490][17222:17224] CHIP:TOO: OperationalStateID: 1
[1689674049.504495][17222:17224] CHIP:TOO: }
[1689674049.504503][17222:17224] CHIP:TOO: [3]: {
[1689674049.504508][17222:17224] CHIP:TOO: OperationalStateID: 2
[1689674049.504514][17222:17224] CHIP:TOO: }
[1689674049.504521][17222:17224] CHIP:TOO: [4]: {
[1689674049.504527][17222:17224] CHIP:TOO: OperationalStateID: 3
[1689674049.504533][17222:17224] CHIP:TOO: }
[1689674049.504605][17222:17224] CHIP:EM: <<< [E:22830i S:37151 M:4250114 (Ack:140781365)] (S) Msg TX to 1:0000000000000001 [BFDE] --- Type 0000:10 (SecureChannel:StandaloneAck)
[1689674049.504620][17222:17224] CHIP:IN: (S) Sending msg 4250114 on secure session with LSID: 37151
disabled: true

- label: "Step 4: TH sends Start command to the DUT"
PICS: OVENOPSTATE.S.C02.Rsp && OVENOPSTATE.S.C04.Tx
Expand Down
1 change: 0 additions & 1 deletion src/app/tests/suites/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@
"OperationalState": ["Test_TC_OPSTATE_1_1", "Test_TC_OPSTATE_2_4"],
"OvenCavityOperationalState": [
"Test_TC_OVENOPSTATE_1_1",
"Test_TC_OVENOPSTATE_2_2",
"Test_TC_OVENOPSTATE_2_4"
],
"PowerSource": ["Test_TC_PS_1_1", "Test_TC_PS_2_1"],
Expand Down

0 comments on commit 163c810

Please sign in to comment.