Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified CC scripts #22212

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_CC_3_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
minValue: 245
minValue: 215
maxValue: 255

- label: "Wait 10s"
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_CC_3_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ tests:
attribute: "CurrentHue"
response:
constraints:
minValue: 215
maxValue: 245
minValue: 210
maxValue: 250

- label: "Wait 10s"
cluster: "DelayCommands"
Expand Down Expand Up @@ -211,7 +211,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
minValue: 245
minValue: 210
maxValue: 255

- label: "Wait 5s"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_CC_4_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
minValue: 110
minValue: 102
maxValue: 120

- label: "Wait 5s"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_CC_4_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
minValue: 235
minValue: 215
maxValue: 254

- label: "Wait 5s"
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_CC_4_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
minValue: 210
maxValue: 230
minValue: 205
maxValue: 235

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -116,7 +116,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
minValue: 230
minValue: 205
maxValue: 240

- label: "Wait 5s"
Expand Down
23 changes: 13 additions & 10 deletions src/app/tests/suites/certification/Test_TC_CC_4_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,13 @@ tests:
attribute: "CurrentHue"
response:
value: 200
constraints:
type: int8u
minValue: 0
maxValue: 254

- label: "TH reads CurrentSaturation attribute from DUT"
PICS: CC.S.F01 && CC.S.A0001
command: "readAttribute"
attribute: "CurrentSaturation"
response:
value: 50

- label:
"TH sends MoveToHueAndSaturation command to DUT with Hue=160,
Expand Down Expand Up @@ -113,17 +116,17 @@ tests:
attribute: "CurrentHue"
response:
constraints:
minValue: 175
maxValue: 185
minValue: 165
maxValue: 195

- label: "TH reads CurrentSaturation attribute from DUT"
PICS: CC.S.F01 && CC.S.A0001
command: "readAttribute"
attribute: "CurrentSaturation"
response:
constraints:
minValue: 60
maxValue: 70
minValue: 55
maxValue: 75

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -140,7 +143,7 @@ tests:
response:
constraints:
minValue: 160
maxValue: 170
maxValue: 185

- label: "TH reads CurrentSaturation attribute from DUT"
PICS: CC.S.F01 && CC.S.A0001
Expand All @@ -149,7 +152,7 @@ tests:
response:
constraints:
type: int8u
minValue: 70
minValue: 68
maxValue: 80

- label: "Wait 5s"
Expand Down
8 changes: 4 additions & 4 deletions src/app/tests/suites/certification/Test_TC_CC_5_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ tests:
attribute: "CurrentX"
response:
constraints:
minValue: 13107
maxValue: 32768
minValue: 19500
maxValue: 26400

- label: "TH reads CurrentY attribute from DUT"
PICS: CC.S.F03 && CC.S.A0004 && CC.S.C07.Rsp
command: "readAttribute"
attribute: "CurrentY"
response:
constraints:
minValue: 13107
maxValue: 19660
minValue: 13900
maxValue: 18900

- label: "Wait 10s"
cluster: "DelayCommands"
Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/certification/Test_TC_CC_5_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ tests:
value: 100

- label:
"TH sends StepColor command to DUT, with StepX = -2000, StepY = -6000,
TransitionTime = 200 (20s)"
"TH sends StepColor command to DUT, with StepX = -20000, StepY =
-6000, TransitionTime = 200 (20s)"
command: "StepColor"
PICS: CC.S.F03 && CC.S.C09.Rsp
arguments:
Expand Down Expand Up @@ -101,17 +101,17 @@ tests:
attribute: "CurrentX"
response:
constraints:
minValue: 13000
maxValue: 33000
minValue: 19500
maxValue: 26500

- label: "TH reads CurrentY attribute from DUT"
command: "readAttribute"
PICS: CC.S.F03 && CC.S.A0004 && CC.S.C08.Rsp
attribute: "CurrentY"
response:
constraints:
minValue: 14000
maxValue: 20000
minValue: 14500
maxValue: 19500

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -128,7 +128,7 @@ tests:
response:
constraints:
minValue: 13000
maxValue: 14000
maxValue: 15000

- label: "TH reads CurrentY attribute from DUT"
command: "readAttribute"
Expand All @@ -137,7 +137,7 @@ tests:
response:
constraints:
minValue: 14000
maxValue: 15000
maxValue: 16000

- label: "Wait 5s"
cluster: "DelayCommands"
Expand Down
10 changes: 5 additions & 5 deletions src/app/tests/suites/certification/Test_TC_CC_6_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
minValue: 280
maxValue: 300
minValue: 275
maxValue: 305

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -148,8 +148,8 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
minValue: 260
maxValue: 280
minValue: 255
maxValue: 285

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -166,7 +166,7 @@ tests:
response:
constraints:
minValue: 250
maxValue: 260
maxValue: 280

- label: "Wait 5s"
cluster: "DelayCommands"
Expand Down
28 changes: 14 additions & 14 deletions src/app/tests/suites/certification/Test_TC_CC_7_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
minValue: 7000
maxValue: 9000
minValue: 6800
maxValue: 9200

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -119,8 +119,8 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
minValue: 9000
maxValue: 11000
minValue: 8500
maxValue: 11500

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -137,7 +137,7 @@ tests:
response:
constraints:
minValue: 11000
maxValue: 12000
maxValue: 12700

- label: "Wait 5s"
cluster: "DelayCommands"
Expand Down Expand Up @@ -322,8 +322,8 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
minValue: 7000
maxValue: 9000
minValue: 6800
maxValue: 9200

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -339,8 +339,8 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
minValue: 9000
maxValue: 11000
minValue: 8500
maxValue: 11500

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -357,7 +357,7 @@ tests:
response:
constraints:
minValue: 11000
maxValue: 12000
maxValue: 12700

- label: "Wait 5s"
cluster: "DelayCommands"
Expand Down Expand Up @@ -432,8 +432,8 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
minValue: 9000
maxValue: 11000
minValue: 8500
maxValue: 11500

- label: "Wait 10s"
cluster: "DelayCommands"
Expand All @@ -449,8 +449,8 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
minValue: 7000
maxValue: 9000
minValue: 6800
maxValue: 9200

- label: "Wait 10s"
cluster: "DelayCommands"
Expand Down
Loading