Skip to content

Commit

Permalink
Modified scripts Aug 10 (#21800)
Browse files Browse the repository at this point in the history
* Modified scripts
TC-ACT-1.1
TC-ALOGIN-1.12
TC-APBSC-1.10
TC-APPLAUNCHER-1.3
TC-AUDIOOUTPUT-1.8
TC-BOOL-1.1
TC-CADMIN-1.*
TC-CC-1.1
TC-CC-2.1
TC-CC-3.*
TC-CC-4.*
TC-CC-5.*
TC-CC-6.*
TC-CC-7.*
TC-CC-8.*
TC-CC-9.*
TC-MOD-1.1
TC-FLW-1.1
TC-DESC-1.1
TC-DGEN-1.1
TC-I-1.1
TC-ILL-1.1
TC-OO-1.1
TC-PS-1.1
TC-PSCFG-1.1
TC-TGNAV-1.1
TC-TSTAT-1.1
TC-TSUIC-1.1
TC-WAKEONLAN-1.1
TC-WNCV-1.1

* Restyled by prettier-yaml

* Auto generated files

* Modified tests
TC-CADMIN-1.3
TC-CADMIN-1.5
TC-CADMIN-1.9
TC-CADMIN-1.13
TC-CADMIN-1.23
TC-CADMIN-1.24
TC-CC-6.2
TC-CC-6.3
TC-CC-8.1

* Auto generated files

* Modified CC-4.1 and CC-7.2

* Auto generated files

* Modified CC-7.2

* Auto generated files

* Modified scripts CC-7.2 and LVL-4.1

* Auto generated files

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and web-flow committed Aug 11, 2022
1 parent 1a25bbd commit 4869405
Show file tree
Hide file tree
Showing 14 changed files with 2,711 additions and 3,061 deletions.
14 changes: 9 additions & 5 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ config:
payload:
type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00"
PakeVerifier:
type: octet_string
defaultValue:
"\xb9\x61\x70\xaa\xe8\x03\x34\x68\x84\x72\x4f\xe9\xa3\xb2\x87\xc3\x03\x30\xc2\xa6\x60\x37\x5d\x17\xbb\x20\x5a\x8c\xf1\xae\xcb\x35\x04\x57\xf8\xab\x79\xee\x25\x3a\xb6\xa8\xe4\x6b\xb0\x9e\x54\x3a\xe4\x22\x73\x6d\xe5\x01\xe3\xdb\x37\xd4\x41\xfe\x34\x49\x20\xd0\x95\x48\xe4\xc1\x82\x40\x63\x0c\x4f\xf4\x91\x3c\x53\x51\x38\x39\xb7\xc0\x7f\xcc\x06\x27\xa1\xb8\x57\x3a\x14\x9f\xcd\x1f\xa4\x66\xcf"

tests:
- label: "TH_CR1 starts a commissioning process with DUT_CE"
Expand Down Expand Up @@ -142,7 +146,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
- name: "iterations"
Expand Down Expand Up @@ -188,7 +192,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
- name: "iterations"
Expand All @@ -207,7 +211,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
- name: "iterations"
Expand Down Expand Up @@ -253,7 +257,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
- name: "iterations"
Expand All @@ -272,7 +276,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
- name: "iterations"
Expand Down
7 changes: 7 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ config:
nodeId: 0x12344321
timeout: 330
endpoint: 0
discriminator:
type: int16u
defaultValue: 3840

tests:
- label: "Factory Reset the DUT_CE"
Expand Down Expand Up @@ -62,6 +65,8 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "Wait for commissioning Window to 301 seconds"
cluster: "DelayCommands"
Expand Down Expand Up @@ -89,6 +94,8 @@ tests:
values:
- name: "CommissioningTimeout"
value: 179
- name: "discriminator"
value: discriminator
response:
error: INVALID_COMMAND

Expand Down
15 changes: 11 additions & 4 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ config:
nodeId: 0x12344321
timeout: 330
endpoint: 0
discriminator:
type: int16u
defaultValue: 3840
PakeVerifier:
type: octet_string
defaultValue:
"\xb9\x61\x70\xaa\xe8\x03\x34\x68\x84\x72\x4f\xe9\xa3\xb2\x87\xc3\x03\x30\xc2\xa6\x60\x37\x5d\x17\xbb\x20\x5a\x8c\xf1\xae\xcb\x35\x04\x57\xf8\xab\x79\xee\x25\x3a\xb6\xa8\xe4\x6b\xb0\x9e\x54\x3a\xe4\x22\x73\x6d\xe5\x01\xe3\xdb\x37\xd4\x41\xfe\x34\x49\x20\xd0\x95\x48\xe4\xc1\x82\x40\x63\x0c\x4f\xf4\x91\x3c\x53\x51\x38\x39\xb7\xc0\x7f\xcc\x06\x27\xa1\xb8\x57\x3a\x14\x9f\xcd\x1f\xa4\x66\xcf"

tests:
- label: "Factory Reset the DUT_CE"
Expand Down Expand Up @@ -63,9 +70,9 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
value: discriminator
- name: "iterations"
value: 1000
- name: "salt"
Expand Down Expand Up @@ -98,9 +105,9 @@ tests:
- name: "CommissioningTimeout"
value: 179
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: 3840
value: discriminator
- name: "iterations"
value: 1000
- name: "salt"
Expand Down
12 changes: 8 additions & 4 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ config:
defaultValue: 3840
payload:
type: char_string
defaultValue: "MT:0000000000I31506010" # This value needs to be generated automatically
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
PakeVerifier:
type: octet_string
defaultValue:
"\xb9\x61\x70\xaa\xe8\x03\x34\x68\x84\x72\x4f\xe9\xa3\xb2\x87\xc3\x03\x30\xc2\xa6\x60\x37\x5d\x17\xbb\x20\x5a\x8c\xf1\xae\xcb\x35\x04\x57\xf8\xab\x79\xee\x25\x3a\xb6\xa8\xe4\x6b\xb0\x9e\x54\x3a\xe4\x22\x73\x6d\xe5\x01\xe3\xdb\x37\xd4\x41\xfe\x34\x49\x20\xd0\x95\x48\xe4\xc1\x82\x40\x63\x0c\x4f\xf4\x91\x3c\x53\x51\x38\x39\xb7\xc0\x7f\xcc\x06\x27\xa1\xb8\x57\x3a\x14\x9f\xcd\x1f\xa4\x66\xcf"

tests:
- label: "TH_CR1 starts a commissioning process with DUT_CE"
Expand All @@ -51,7 +55,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down Expand Up @@ -185,7 +189,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down Expand Up @@ -221,7 +225,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down
17 changes: 12 additions & 5 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ config:
payload:
type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
PakeVerifier:
type: octet_string
defaultValue:
"\xb9\x61\x70\xaa\xe8\x03\x34\x68\x84\x72\x4f\xe9\xa3\xb2\x87\xc3\x03\x30\xc2\xa6\x60\x37\x5d\x17\xbb\x20\x5a\x8c\xf1\xae\xcb\x35\x04\x57\xf8\xab\x79\xee\x25\x3a\xb6\xa8\xe4\x6b\xb0\x9e\x54\x3a\xe4\x22\x73\x6d\xe5\x01\xe3\xdb\x37\xd4\x41\xfe\x34\x49\x20\xd0\x95\x48\xe4\xc1\x82\x40\x63\x0c\x4f\xf4\x91\x3c\x53\x51\x38\x39\xb7\xc0\x7f\xcc\x06\x27\xa1\xb8\x57\x3a\x14\x9f\xcd\x1f\xa4\x66\xcf"
IncorrectPakeVerifier:
type: octet_string
defaultValue: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a"

tests:
- label: "TH_CR1 starts a commissioning process with DUT_CE"
Expand All @@ -59,7 +66,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down Expand Up @@ -99,7 +106,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down Expand Up @@ -163,7 +170,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a"
value: IncorrectPakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand All @@ -183,7 +190,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand All @@ -201,7 +208,7 @@ tests:
- name: "CommissioningTimeout"
value: 180
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down
7 changes: 5 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ config:
incorrectSetupCodePayload:
type: char_string
defaultValue: "MT:-24J0AFN00I.0648G00"
PakeVerifier:
type: octet_string
defaultValue: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"

tests:
- label: "TH_CR1 starts a commissioning process with DUT_CE"
Expand All @@ -64,7 +67,7 @@ tests:
- name: "CommissioningTimeout"
value: 900
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down Expand Up @@ -127,7 +130,7 @@ tests:
- name: "CommissioningTimeout"
value: 900
- name: "PAKEVerifier"
value: "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b\x4d\xc3\xf1\xad\xb2\x23\xae\xb2\x6b\x04\x7c\xd2\x4c\x96\x86\x6f\x97\x9b\x1d\x83\xec\x50\xe2\xb4\xae\x30\xcd\xf2\xfd\xb3\x2b\xd8\xa2\x11\xb8\x37\xdc\x94\xed\xcd\x56\xf4\xd1\x43\x77\x19\x10\x76\xbf\xc5\x9d\x99\xb7\xdd\x30\x53\xef\xd6\xf0\x2c\x44\x34\xf2\xbd\xd2\x7a\xa4\xf9\xce\xa7\x0d\x73\x8e\x4c"
value: PakeVerifier
- name: "discriminator"
value: discriminator
- name: "iterations"
Expand Down
68 changes: 67 additions & 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 @@ -94,7 +94,73 @@ tests:
response:
value: SaturationConfigValue
constraints:
type: int8u
minValue: 68
maxValue: 92

- label: "Wait 10s"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 10000

- label: "TH reads CurrentSaturation attribute from DUT"
PICS: CC.S.F00 && CC.S.A0001
command: "readAttribute"
attribute: "CurrentSaturation"
response:
constraints:
minValue: 80
maxValue: 115

- label: "Wait 10s"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 10000

- label: "TH reads CurrentSaturation attribute from DUT"
PICS: CC.S.F00 && CC.S.A0001
command: "readAttribute"
attribute: "CurrentSaturation"
response:
constraints:
minValue: 110
maxValue: 120

- label: "Wait 5s"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 5000

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

- label: "TH reads ColorMode attribute from DUT"
PICS: CC.S.F00 && CC.S.A0008
command: "readAttribute"
attribute: "ColorMode"
response:
constraints:
minValue: 0
maxValue: 2

- label: "TH reads EnhancedColorMode attribute from DUT"
PICS: CC.S.F00 && CC.S.A4001
command: "readAttribute"
attribute: "ColorMode"
response:
constraints:
minValue: 0
maxValue: 254

Expand Down
Loading

0 comments on commit 4869405

Please sign in to comment.