Skip to content

Commit

Permalink
Modified OO-2.3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunath-grl committed Dec 1, 2023
1 parent 1b13fb0 commit 3ac2195
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions src/app/tests/suites/certification/Test_TC_OO_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ config:

PIXIT.OO.MaxCommunicationTurnaround:
type: int16u
defaultValue: 45
defaultValue: 10

tests:
- label: "1: Wait for the commissioned device to be retrieved"
Expand Down Expand Up @@ -296,13 +296,14 @@ tests:
response:
value: 1

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404396743
- label: "9b:Reads OnTime attribute from DUT"
command: "readAttribute"
attribute: "OnTime"
PICS: OO.S.A4001 && OO.S.C42.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "9b:Reads OffWaitTime attribute from DUT"
Expand Down Expand Up @@ -391,13 +392,14 @@ tests:
response:
value: 1

#Refer comment: https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404397738
- label: "10e:Reads OnTime attribute from DUT"
command: "readAttribute"
attribute: "OnTime"
PICS: OO.S.A4001 && OO.S.C42.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "10e:Reads OffWaitTime attribute from DUT"
Expand Down Expand Up @@ -439,13 +441,14 @@ tests:
response:
value: 0

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404400479
- label: "11b:Reads OffWaitTime attribute from DUT"
command: "readAttribute"
attribute: "OffWaitTime"
PICS: OO.S.A4002 && OO.S.C40.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "Wait 10000ms"
Expand Down Expand Up @@ -482,14 +485,15 @@ tests:
response:
value: 0

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404406872
- label: "12b:Reads OffWaitTime attribute from DUT"
command: "readAttribute"
attribute: "OffWaitTime"
PICS: OO.S.A4002 && OO.S.C42.Rsp
response:
constraints:
minValue: 200 - PIXIT.OO.MaxCommunicationTurnaround
maxValue: 200 + PIXIT.OO.MaxCommunicationTurnaround
minValue: 185 - ( 7 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 215

- label: "Wait 10000ms"
cluster: "DelayCommands"
Expand Down Expand Up @@ -570,13 +574,14 @@ tests:
response:
value: 0

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404423488
- label: "14c:Reads OffWaitTime attribute from DUT"
command: "readAttribute"
attribute: "OffWaitTime"
PICS: OO.S.A4002 && OO.S.C00.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "Wait 30000ms"
Expand Down Expand Up @@ -680,13 +685,14 @@ tests:
response:
value: 1

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404424832
- label: "17c:Reads OnTime attribute from DUT"
command: "readAttribute"
attribute: "OnTime"
PICS: OO.S.A4001 && OO.S.C42.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "17c:Reads OffWaitTime attribute from DUT"
Expand Down Expand Up @@ -752,13 +758,14 @@ tests:
response:
value: 1

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404425845
- label: "18b:Reads OnTime attribute from DUT"
command: "readAttribute"
attribute: "OnTime"
PICS: OO.S.A4001 && OO.S.C42.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "18b:Reads OffWaitTime attribute from DUT"
Expand Down Expand Up @@ -815,14 +822,15 @@ tests:
response:
value: 1

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404428940
- label: "19c:Reads OnTime attribute from DUT"
command: "readAttribute"
attribute: "OnTime"
PICS: OO.S.A4001 && OO.S.C42.Rsp
response:
constraints:
minValue: 200 - PIXIT.OO.MaxCommunicationTurnaround
maxValue: 200 + PIXIT.OO.MaxCommunicationTurnaround
minValue: 185 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 215

- label: "19c:Reads OffWaitTime attribute from DUT"
command: "readAttribute"
Expand All @@ -849,13 +857,14 @@ tests:
response:
value: 0

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404430203
- label: "20b:Reads OffWaitTime attribute from DUT"
command: "readAttribute"
attribute: "OffWaitTime"
PICS: OO.S.A4002 && OO.S.C00.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "21a:Sends OnWithTimedOff command to DUT"
Expand Down Expand Up @@ -892,14 +901,15 @@ tests:
response:
value: 0

#Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404431785
- label: "21b:Reads OffWaitTime attribute from DUT"
command: "readAttribute"
attribute: "OffWaitTime"
PICS: OO.S.A4002 && PICS_SKIP_SAMPLE_APP && OO.S.C42.Rsp
response:
constraints:
minValue: 200 - PIXIT.OO.MaxCommunicationTurnaround
maxValue: 200 + PIXIT.OO.MaxCommunicationTurnaround
minValue: 185 - ( 7 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 215

- label: "22a:Send On Command"
PICS: OO.S.C01.Rsp
Expand Down Expand Up @@ -970,7 +980,7 @@ tests:
PICS: OO.S.A4002 && OO.S.C00.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "Wait 40000ms"
Expand Down Expand Up @@ -1027,7 +1037,7 @@ tests:
PICS: OO.S.A4001 && OO.S.C42.Rsp
response:
constraints:
minValue: 300 - PIXIT.OO.MaxCommunicationTurnaround
minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround )
maxValue: 300

- label: "24b:Reads OffWaitTime attribute from DUT"
Expand Down

0 comments on commit 3ac2195

Please sign in to comment.