Skip to content

Commit

Permalink
Add new Simulated Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 committed Jan 20, 2022
1 parent fd815cd commit b49d6ac
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/placeholder/linux/apps/app1/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function getTests()
{
const tests = [
"Test_TC_DM_1_3_Simulated",
"Test_TC_DM_3_3_Simulated",
];

return tests.join(', ');
Expand Down
3 changes: 3 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ PICS:

- label: "Does the device support discovery over WiFi?"
id: WIFI

- label: "Does the device support discover over THREAD"
id: THREAD

- label: "Does the device support manufacturing date"
id: MANF_DATE
Expand Down
30 changes: 30 additions & 0 deletions src/app/tests/suites/certification/Test_TC_DM_3_3_Simulated.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 10.3.3. [TC-DM-3.3] Network Commissioning Commands [DUT - Commissioner]

config:
cluster: "Network Commissioning"
endpoint: 0

tests:
- label: "Wait for the device to be commissioned"
cluster: "DelayCommands"
command: "WaitForCommissioning"

- label: "Wait for Scan Network Command"
wait: "ScanNetworks"

- label: "Wait for Add Wifi Network Command"
wait: "AddOrUpdateWiFiNetwork"
PICS: WIFI

- label: "Wait for Update Thread Network Command"
wait: "AddOrUpdateThreadNetwork"
PICS: THREAD

- label: "Wait for Enable Network Command"
wait: "ConnectNetwork"

- label: "Wait for Remove Network Command"
wait: "RemoveNetwork"
PICS: WIFI | THREAD


0 comments on commit b49d6ac

Please sign in to comment.