Skip to content

Commit

Permalink
Added updated Manual scripts (project-chip#22055) (project-chip#22057)
Browse files Browse the repository at this point in the history
* Added updated Manual scripts

* Added Auto generated files

* Restyled by whitespace

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>

Co-authored-by: kowsisoundhar12 <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
3 people authored and jmartinez-silabs committed Sep 6, 2022
1 parent 853274c commit 02cf56f
Show file tree
Hide file tree
Showing 24 changed files with 796 additions and 436 deletions.
40 changes: 8 additions & 32 deletions src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]' 1 0
On TH1(Chiptool) , Verify that the status is CONSTRAINT_ERROR (0x87) when writing the AccessControl cluster Extension attribute
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, contains the list of AccessControlExtensionStruct containing 1 element which Returns CONSTRAINT_ERROR (0x87)
[1657279033.591694][9081:9086] CHIP:DMG: StatusIB =
[1657279033.591739][9081:9086] CHIP:DMG: {
Expand Down Expand Up @@ -457,6 +458,8 @@ tests:
verification: |
./chip-tool accesscontrol write extension '[{"data":"1518"}]' 1 0
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, contains the list of AccessControlExtensionStruct containing 1 element which Returns CONSTRAINT_ERROR (0x87)
On TH1(Chiptool) , Verify that the status is CONSTRAINT_ERROR (0x87) when writing the AccessControl cluster Extension attribute
[1657609094.515713][8195:8200] CHIP:DMG: StatusIB =
Expand All @@ -483,6 +486,8 @@ tests:
verification: |
./chip-tool accesscontrol write extension '[{"data":"3701D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0
On TH1(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element which Returns CONSTRAINT_ERROR (0x87)
On TH1(Chiptool) , Verify that the status is CONSTRAINT_ERROR (0x87) when writing the AccessControl cluster Extension attribute
[1657609434.915033][8206:8211] CHIP:DMG: StatusIB =
Expand Down Expand Up @@ -619,37 +624,8 @@ tests:
verification: |
./chip-tool accesscontrol write extension '[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]' 1 0
On TH1(Chiptool) , Verify that the status is success for first element and CONSTRAINT_ERROR (0x87) for second element when writing the AccessControl cluster Extension attribute
[1657609694.044950][8236:8241] CHIP:DMG: WriteResponseMessage =
[1657609694.044980][8236:8241] CHIP:DMG: {
[1657609694.045008][8236:8241] CHIP:DMG: AttributeStatusIBs =
[1657609694.045049][8236:8241] CHIP:DMG: [
[1657609694.045080][8236:8241] CHIP:DMG: AttributeStatusIB =
[1657609694.045117][8236:8241] CHIP:DMG: {
[1657609694.045149][8236:8241] CHIP:DMG: AttributePathIB =
[1657609694.045187][8236:8241] CHIP:DMG: {
[1657609694.045232][8236:8241] CHIP:DMG: Endpoint = 0x0,
[1657609694.045277][8236:8241] CHIP:DMG: Cluster = 0x1f,
[1657609694.045318][8236:8241] CHIP:DMG: Attribute = 0x0000_0001,
[1657609694.045355][8236:8241] CHIP:DMG: }
[1657609694.045397][8236:8241] CHIP:DMG:
[1657609694.045434][8236:8241] CHIP:DMG: StatusIB =
[1657609694.045472][8236:8241] CHIP:DMG: {
[1657609694.045513][8236:8241] CHIP:DMG: status = 0x00 (SUCCESS),
[1657609694.045552][8236:8241] CHIP:DMG: },
[1657609694.045594][8236:8241] CHIP:DMG:
[1657609694.045627][8236:8241] CHIP:DMG: },
[1657609694.045670][8236:8241] CHIP:DMG:
[1657609694.045701][8236:8241] CHIP:DMG: AttributeStatusIB =
[1657609694.045733][8236:8241] CHIP:DMG: {
[1657609694.045765][8236:8241] CHIP:DMG: AttributePathIB =
[1657609694.045801][8236:8241] CHIP:DMG: {
[1657609694.045840][8236:8241] CHIP:DMG: Endpoint = 0x0,
[1657609694.045880][8236:8241] CHIP:DMG: Cluster = 0x1f,
[1657609694.045922][8236:8241] CHIP:DMG: Attribute = 0x0000_0001,
[1657609694.045962][8236:8241] CHIP:DMG: ListIndex = Null,
[1657609694.046000][8236:8241] CHIP:DMG: }
On TH1(Chiptool) , Verify Successfully AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 2 elements and CONSTRAINT_ERROR (0x87) for second element path
[1657279798.809590][9208:9213] CHIP:DMG:
[1657279798.809629][9208:9213] CHIP:DMG: StatusIB =
[1657279798.809666][9208:9213] CHIP:DMG: {
Expand Down
Loading

0 comments on commit 02cf56f

Please sign in to comment.