Skip to content

Commit

Permalink
Test added jan 7 (project-chip#13366)
Browse files Browse the repository at this point in the history
* Updated testscripts based on latest testplan

* Added  Auto generated files
  • Loading branch information
kowsisoundhar12 authored and step0035 committed Feb 8, 2022
1 parent 5838b9e commit 6d0c9d0
Show file tree
Hide file tree
Showing 33 changed files with 4,834 additions and 717 deletions.
6 changes: 3 additions & 3 deletions examples/chip-tool/templates/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ function getTests()
];

const SoftwareDiagnostics = [
'Test_TC_DIAGSW_1_1',
'Test_TC_DIAGSW_2_1',
'Test_TC_DIAGSW_3_2',
'Test_TC_SWDIAG_1_1',
'Test_TC_SWDIAG_2_1',
'Test_TC_SWDIAG_3_1',
];

const Subscriptions = [
Expand Down
3 changes: 2 additions & 1 deletion src/app/tests/suites/certification/Test_TC_BI_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 12.1.1. [TC-BI-1.1] Global attributes with server as DUT
name: 18.1.1. [TC-BI-1.1] Global attributes with server as DUT

config:
cluster: "Binary Input (Basic)"
Expand Down Expand Up @@ -95,6 +95,7 @@ tests:

- label: "Read the optional global attribute : FeatureMap"
disabled: true
optional: true
command: "readAttribute"
attribute: "FeatureMap"
response:
Expand Down
23 changes: 23 additions & 0 deletions src/app/tests/suites/certification/Test_TC_BI_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ tests:
#Issue #11142 Disabled all optional attribute checks
- label: "Read optional non-global attribute: ActiveText"
disabled: true
optional: true
command: "readAttribute"
attribute: "active text"
response:
value: null

- label: "Read optional non-global attribute constraints: ActiveText"
disabled: true
optional: true
command: "readAttribute"
attribute: "active text"
response:
Expand All @@ -121,27 +123,31 @@ tests:
- label:
"Write the default values to optional non-global attribute: ActiveText"
disabled: true
optional: true
command: "writeAttribute"
attribute: "active text"
arguments:
value: null

- label: "Reads back the optional non-global attribute: ActiveText"
disabled: true
optional: true
command: "readAttribute"
attribute: "active text"
response:
value: null

- label: "Read optional non-global attribute: Description"
disabled: true
optional: true
command: "readAttribute"
attribute: "description"
response:
value: null

- label: "Read optional non-global attribute constraints: Description"
disabled: true
optional: true
command: "readAttribute"
attribute: "description"
response:
Expand All @@ -152,27 +158,31 @@ tests:
"Write the default values to optional non-global attribute:
Description"
disabled: true
optional: true
command: "writeAttribute"
attribute: "description"
arguments:
value: null

- label: "Reads back the optional non-global attribute: Description"
disabled: true
optional: true
command: "readAttribute"
attribute: "description"
response:
value: null

- label: "Read optional non-global attribute: InactiveText"
disabled: true
optional: true
command: "readAttribute"
attribute: "inactive text"
response:
value: null

- label: "Read optional non-global attribute constraints: InactiveText"
disabled: true
optional: true
command: "readAttribute"
attribute: "inactive text"
response:
Expand All @@ -183,27 +193,31 @@ tests:
"Write the default values to optional non-global attribute:
InactiveText"
disabled: true
optional: true
command: "writeAttribute"
attribute: "inactive text"
arguments:
value: null

- label: "Reads back the optional non-global attribute: InactiveText"
disabled: true
optional: true
command: "readAttribute"
attribute: "inactive text"
response:
value: null

- label: "Read optional non-global attribute: Polarity"
disabled: true
optional: true
command: "readAttribute"
attribute: "polarity"
response:
value: 0

- label: "Read optional non-global attribute constraints: Polarity"
disabled: true
optional: true
command: "readAttribute"
attribute: "polarity"
response:
Expand All @@ -213,6 +227,7 @@ tests:
- label:
"Write the default values to optional non-global attribute: Polarity"
disabled: true
optional: true
command: "writeAttribute"
attribute: "polarity"
arguments:
Expand All @@ -222,20 +237,23 @@ tests:

- label: "Reads back the optional non-global attribute: Polarity"
disabled: true
optional: true
command: "readAttribute"
attribute: "polarity"
response:
value: 0

- label: "Read optional non-global attribute: Reliability"
disabled: true
optional: true
command: "readAttribute"
attribute: "reliability"
response:
value: 0

- label: "Read optional non-global attribute constraints: Reliability"
disabled: true
optional: true
command: "readAttribute"
attribute: "reliability"
response:
Expand All @@ -246,20 +264,23 @@ tests:
"Write the default values to optional non-global attribute:
Reliability"
disabled: true
optional: true
command: "writeAttribute"
attribute: "reliability"
arguments:
value: 0

- label: "Reads back the optional non-global attribute: Reliability"
disabled: true
optional: true
command: "readAttribute"
attribute: "reliability"
response:
value: 0

- label: "Read optional non-global attribute constraints: ApplicationType"
disabled: true
optional: true
command: "readAttribute"
attribute: "application type"
response:
Expand All @@ -272,6 +293,7 @@ tests:
"Write the default values to optional non-global attribute:
ApplicationType"
disabled: true
optional: true
command: "writeAttribute"
attribute: "application type"
arguments:
Expand All @@ -281,6 +303,7 @@ tests:

- label: "Reads back the optional non-global attribute: ApplicationType"
disabled: true
optional: true
command: "readAttribute"
attribute: "application type"
response:
Expand Down
3 changes: 2 additions & 1 deletion src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 60.1.1. [TC-BOOL-1.1] Global attributes with server as DUT
name: 68.1.1. [TC-BOOL-1.1] Global attributes with server as DUT

config:
cluster: "Boolean State"
Expand Down Expand Up @@ -95,6 +95,7 @@ tests:

- label: "Read the optional global attribute : FeatureMap"
disabled: true
optional: true
command: "readAttribute"
attribute: "FeatureMap"
response:
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 60.2.1. [TC-BOOL-2.1] Attributes with server as DUT
name: 68.2.1. [TC-BOOL-2.1] Attributes with server as DUT

config:
cluster: "Boolean State"
Expand Down
6 changes: 5 additions & 1 deletion src/app/tests/suites/certification/Test_TC_CC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 21.1.1. [TC-CC-1.1] Global attributes with server as DUT
name: 27.1.1. [TC-CC-1.1] Global attributes with server as DUT

config:
cluster: "Color Control"
Expand Down Expand Up @@ -97,13 +97,15 @@ tests:

- label: "read the optional global attribute: FeatureMap"
disabled: true
optional: true
command: "readAttribute"
attribute: "FeatureMap"
response:
value: 0

- label: "Read the optional global attribute : FeatureMap"
disabled: true
optional: true
command: "readAttribute"
attribute: "FeatureMap"
response:
Expand All @@ -112,6 +114,7 @@ tests:

- label: "write the default values to optional global attribute: FeatureMap"
disabled: true
optional: true
command: "writeAttribute"
attribute: "FeatureMap"
arguments:
Expand All @@ -121,6 +124,7 @@ tests:

- label: "reads back optional global attribute: FeatureMap"
disabled: true
optional: true
command: "readAttribute"
attribute: "FeatureMap"
response:
Expand Down
Loading

0 comments on commit 6d0c9d0

Please sign in to comment.