Skip to content

Commit

Permalink
Update to reflect test plan PR changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 committed Jan 30, 2023
1 parent ace842b commit 27e36ba
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 32 deletions.
69 changes: 69 additions & 0 deletions src/app/tests/suites/certification/Test_TC_DRLK_2_11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ tests:
response:
values:
- name: "CredentialExists"
value: true
constraints:
type: boolean
- name: "UserIndex"
Expand All @@ -197,6 +198,7 @@ tests:
response:
values:
- name: "CredentialExists"
value: true
constraints:
type: boolean
- name: "UserIndex"
Expand All @@ -218,6 +220,7 @@ tests:
response:
values:
- name: "CredentialExists"
value: true
constraints:
type: boolean
- name: "UserIndex"
Expand All @@ -238,6 +241,50 @@ tests:
- name: "Credential"
value: { CredentialType: 1, CredentialIndex: 1 }

- label: "TH sends Get Credential Status Command with type RFID"
PICS: DRLK.S.F01 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx
command: "GetCredentialStatus"
arguments:
values:
- name: "Credential"
value: { CredentialType: 2, CredentialIndex: 1 }
response:
values:
- name: "CredentialExists"
value: true
constraints:
type: boolean
- name: "UserIndex"
value: 1
- name: "CreatorFabricIndex"
value: 1
- name: "LastModifiedFabricIndex"
value: 1
- name: "NextCredentialIndex"
value: null

- label: "TH sends Get Credential Status Command with type FingerVein"
PICS: DRLK.S.F02 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx
command: "GetCredentialStatus"
arguments:
values:
- name: "Credential"
value: { CredentialType: 4, CredentialIndex: 1 }
response:
values:
- name: "CredentialExists"
value: true
constraints:
type: boolean
- name: "UserIndex"
value: 1
- name: "CreatorFabricIndex"
value: 1
- name: "LastModifiedFabricIndex"
value: 1
- name: "NextCredentialIndex"
value: null

- label: "TH sends Clear Credential Command to DUT with type RFID"
PICS: DRLK.S.F01 && DRLK.S.F08 && DRLK.S.C26.Rsp
command: "ClearCredential"
Expand All @@ -247,6 +294,28 @@ tests:
- name: "Credential"
value: { CredentialType: 2, CredentialIndex: 1 }

- label: "TH sends Get Credential Status Command with type FingerVein"
PICS: DRLK.S.F02 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx
command: "GetCredentialStatus"
arguments:
values:
- name: "Credential"
value: { CredentialType: 4, CredentialIndex: 1 }
response:
values:
- name: "CredentialExists"
value: true
constraints:
type: boolean
- name: "UserIndex"
value: 1
- name: "CreatorFabricIndex"
value: 1
- name: "LastModifiedFabricIndex"
value: 1
- name: "NextCredentialIndex"
value: null

- label: "TH sends Clear Credential Command to DUT with type FingerVein"
PICS: DRLK.S.F02 && DRLK.S.F08 && DRLK.S.C26.Rsp
command: "ClearCredential"
Expand Down
120 changes: 108 additions & 12 deletions zzz_generated/chip-tool/zap-generated/test/Commands.h

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

Loading

0 comments on commit 27e36ba

Please sign in to comment.