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

[TC-DRLK-2.4] Handle DUT's that do not support USR & PIN features #29372

Merged
merged 4 commits into from
Sep 29, 2023
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
23 changes: 21 additions & 2 deletions src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tests:

- label: "Create new user"
command: "SetUser"
PICS: DRLK.S.F08 && DRLK.S.F00
timedInteractionTimeoutMs: 1000
arguments:
values:
Expand All @@ -55,6 +56,7 @@ tests:

- label: "Read the user back and verify its fields"
command: "GetUser"
PICS: DRLK.S.F08 && DRLK.S.F00
arguments:
values:
- name: "UserIndex"
Expand Down Expand Up @@ -84,6 +86,7 @@ tests:

- label: "Create new PIN credential and lock/unlock user"
command: "SetCredential"
PICS: DRLK.S.F08 && DRLK.S.F00
timedInteractionTimeoutMs: 1000
arguments:
values:
Expand All @@ -109,6 +112,7 @@ tests:
value: 2

- label: "Verify created PIN credential"
PICS: DRLK.S.F08 && DRLK.S.F00
command: "GetCredentialStatus"
arguments:
values:
Expand Down Expand Up @@ -183,7 +187,8 @@ tests:
- label:
"Step 2b: TH sends the Unlock with Timeout argument value as 60
seconds"
PICS: DRLK.S.C03.Rsp && PICS_SKIP_SAMPLE_APP
PICS:
" DRLK.S.F08 && DRLK.S.F00 && DRLK.S.C03.Rsp && PICS_SKIP_SAMPLE_APP "
command: "UnlockWithTimeout"
timedInteractionTimeoutMs: 1000
arguments:
Expand All @@ -193,6 +198,19 @@ tests:
- name: "PINCode"
value: "123456"

- label:
"Step 2b: TH sends the Unlock with Timeout argument value as 60
seconds"
PICS:
" (!DRLK.S.F08 || !DRLK.S.F00) && DRLK.S.C03.Rsp &&
PICS_SKIP_SAMPLE_APP "
command: "UnlockWithTimeout"
timedInteractionTimeoutMs: 1000
arguments:
values:
- name: "Timeout"
value: 60

- label: "Wait for AutoRelockTime Expires"
cluster: "DelayCommands"
command: "WaitForMs"
Expand Down Expand Up @@ -221,14 +239,15 @@ tests:

- label: "Cleanup the created user"
command: "ClearUser"
PICS: DRLK.S.F08 && DRLK.S.F00
timedInteractionTimeoutMs: 1000
arguments:
values:
- name: "UserIndex"
value: 1

- label: "Clean the created credential"
PICS: DRLK.S.C26.Rsp
PICS: DRLK.S.F08 && DRLK.S.F00 && DRLK.S.C26.Rsp
command: "ClearCredential"
timedInteractionTimeoutMs: 1000
arguments:
Expand Down
91 changes: 72 additions & 19 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

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

Loading