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

Add simulated test dm #13675

Merged
merged 2 commits into from
Jan 21, 2022
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
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 @@ -21,6 +21,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
28 changes: 28 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,28 @@
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
176 changes: 176 additions & 0 deletions zzz_generated/placeholder/app1/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading