File tree 6 files changed +2063
-418
lines changed
src/app/tests/suites/certification
chip-tool/zap-generated/test
chip-tool-darwin/zap-generated/test
6 files changed +2063
-418
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ tests:
39
39
response :
40
40
value : 1
41
41
42
- - label :
43
- " Check current hue attribute value matched the value sent by the last
44
- command"
45
- disabled : true
42
+ - label : " Reads CurrentHue attribute from DUT"
46
43
command : " readAttribute"
47
44
attribute : " current hue"
48
45
response :
49
- value : 150
46
+ constraints :
47
+ type : uint8
48
+ minValue : 0
49
+ maxValue : 254
50
50
51
51
- label : " Step hue up command"
52
52
command : " StepHue"
@@ -63,14 +63,23 @@ tests:
63
63
- name : " optionsOverride"
64
64
value : 0
65
65
66
- - label :
67
- " Check current hue attribute value matched the value sent by the last
68
- command"
69
- disabled : true
66
+ # delay step is necessary to let the attribute value change over time
67
+ - label : " Wait 25ms"
68
+ cluster : " DelayCommands"
69
+ command : " WaitForMs"
70
+ arguments :
71
+ values :
72
+ - name : " ms"
73
+ value : 25
74
+
75
+ - label : " Over TransitionTime,Read CurrentHue attribute from DUT"
70
76
command : " readAttribute"
71
77
attribute : " current hue"
72
78
response :
73
- value : -1
79
+ constraints :
80
+ type : uint8
81
+ minValue : 0
82
+ maxValue : 254
74
83
75
84
- label : " Step hue down command"
76
85
command : " StepHue"
@@ -87,14 +96,22 @@ tests:
87
96
- name : " optionsOverride"
88
97
value : 0
89
98
90
- - label :
91
- " Check current hue attribute value matched the value sent by the last
92
- command"
93
- disabled : true
99
+ - label : " Wait 25ms"
100
+ cluster : " DelayCommands"
101
+ command : " WaitForMs"
102
+ arguments :
103
+ values :
104
+ - name : " ms"
105
+ value : 25
106
+
107
+ - label : " Over TransitionTime,Read CurrentHue attribute from DUT"
94
108
command : " readAttribute"
95
109
attribute : " current hue"
96
110
response :
97
- value : -1
111
+ constraints :
112
+ type : uint8
113
+ minValue : 0
114
+ maxValue : 254
98
115
99
116
- label : " Turn off light that we turned on"
100
117
cluster : " On/Off"
Original file line number Diff line number Diff line change @@ -39,12 +39,14 @@ tests:
39
39
response :
40
40
value : 1
41
41
42
- - label : " Check Saturation attribute value matched before any change"
43
- disabled : true
42
+ - label : " Reads CurrentSaturation attribute from DUT"
44
43
command : " readAttribute"
45
44
attribute : " current saturation"
46
45
response :
47
- value : 90
46
+ constraints :
47
+ type : uint8
48
+ minValue : 0
49
+ maxValue : 254
48
50
49
51
- label : " Step saturation up command"
50
52
command : " StepSaturation"
@@ -61,14 +63,23 @@ tests:
61
63
- name : " optionsOverride"
62
64
value : 0
63
65
64
- - label :
65
- " Check Saturation attribute value matched the value sent by the last
66
- command"
67
- disabled : true
66
+ # delay step is necessary to let the attribute value change over time
67
+ - label : " Wait 10ms"
68
+ cluster : " DelayCommands"
69
+ command : " WaitForMs"
70
+ arguments :
71
+ values :
72
+ - name : " ms"
73
+ value : 10
74
+
75
+ - label : " Over TransitionTime,Read CurrentSaturation attribute from DUT"
68
76
command : " readAttribute"
69
77
attribute : " current saturation"
70
78
response :
71
- value : -1
79
+ constraints :
80
+ type : uint8
81
+ minValue : 0
82
+ maxValue : 254
72
83
73
84
- label : " Step saturation down command"
74
85
command : " StepSaturation"
@@ -85,14 +96,22 @@ tests:
85
96
- name : " optionsOverride"
86
97
value : 0
87
98
88
- - label :
89
- " Check Saturation attribute value matched the value sent by the last
90
- command"
91
- disabled : true
99
+ - label : " Wait 10ms"
100
+ cluster : " DelayCommands"
101
+ command : " WaitForMs"
102
+ arguments :
103
+ values :
104
+ - name : " ms"
105
+ value : 10
106
+
107
+ - label : " Over TransitionTime,Reads CurrentSaturation attribute from DUT"
92
108
command : " readAttribute"
93
109
attribute : " current saturation"
94
110
response :
95
- value : -1
111
+ constraints :
112
+ type : uint8
113
+ minValue : 0
114
+ maxValue : 254
96
115
97
116
- label : " Turn off light that we turned on"
98
117
cluster : " On/Off"
Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ tests:
39
39
response :
40
40
value : 1
41
41
42
- - label :
43
- " Check EnhancedCurrentHue attribute value matched the value sent by
44
- the last command"
45
- disabled : true
42
+ - label : " Reads EnhancedCurrentHue attribute from DUT"
46
43
command : " readAttribute"
47
44
attribute : " enhanced current hue"
48
45
response :
49
- value : 1025
46
+ constraints :
47
+ type : uint16
48
+ minValue : 0
49
+ maxValue : 65535
50
50
51
51
- label : " Enhanced Step Hue Up command"
52
52
command : " EnhancedStepHue"
@@ -63,14 +63,22 @@ tests:
63
63
- name : " optionsOverride"
64
64
value : 0
65
65
66
- - label :
67
- " Check EnhancedCurrentHue attribute value matched the value sent by
68
- the last command"
69
- disabled : true
66
+ - label : " Wait 10ms"
67
+ cluster : " DelayCommands"
68
+ command : " WaitForMs"
69
+ arguments :
70
+ values :
71
+ - name : " ms"
72
+ value : 10
73
+
74
+ - label : " Over TransitionTime,Read EnhancedCurrentHue attribute from DUT"
70
75
command : " readAttribute"
71
76
attribute : " enhanced current hue"
72
77
response :
73
- value : 1075
78
+ constraints :
79
+ type : uint16
80
+ minValue : 0
81
+ maxValue : 65535
74
82
75
83
- label : " Enhanced Step Hue Down command"
76
84
command : " EnhancedStepHue"
@@ -87,14 +95,22 @@ tests:
87
95
- name : " optionsOverride"
88
96
value : 0
89
97
90
- - label :
91
- " Check EnhancedCurrentHue attribute value matched the value sent by
92
- the last command"
93
- disabled : true
98
+ - label : " Wait 10ms"
99
+ cluster : " DelayCommands"
100
+ command : " WaitForMs"
101
+ arguments :
102
+ values :
103
+ - name : " ms"
104
+ value : 10
105
+
106
+ - label : " Over TransitionTime,Read EnhancedCurrentHue attribute from DUT"
94
107
command : " readAttribute"
95
108
attribute : " enhanced current hue"
96
109
response :
97
- value : 1000
110
+ constraints :
111
+ type : uint16
112
+ minValue : 0
113
+ maxValue : 65535
98
114
99
115
- label : " Turn off light that we turned on"
100
116
cluster : " On/Off"
You can’t perform that action at this time.
0 commit comments