From 4f125795a26928cac62d626b887df818ac707598 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Sun, 22 Jan 2023 20:31:08 +0100 Subject: [PATCH] [CI] Fix various typos in various tests (#2 attempt) (#24572) --- src/app/tests/suites/DL_LockUnlock.yaml | 66 +- src/app/tests/suites/DL_Schedules.yaml | 1286 ++++++------ .../tests/suites/DL_UsersAndCredentials.yaml | 1798 ++++++++--------- .../tests/suites/TV_AudioOutputCluster.yaml | 6 +- src/app/tests/suites/TV_ChannelCluster.yaml | 12 +- .../tests/suites/TV_KeypadInputCluster.yaml | 4 +- .../tests/suites/TV_MediaInputCluster.yaml | 6 +- .../suites/TV_TargetNavigatorCluster.yaml | 8 +- .../Test_TC_AUDIOOUTPUT_7_1.yaml | 2 +- .../Test_TC_AUDIOOUTPUT_7_2.yaml | 4 +- .../certification/Test_TC_CHANNEL_5_2.yaml | 6 +- .../certification/Test_TC_CHANNEL_5_3.yaml | 6 +- .../certification/Test_TC_DRLK_2_2.yaml | 76 +- .../certification/Test_TC_DRLK_2_3.yaml | 86 +- .../certification/Test_TC_DRLK_2_4.yaml | 74 +- .../certification/Test_TC_DRLK_2_5.yaml | 130 +- .../certification/Test_TC_DRLK_2_6.yaml | 50 +- .../certification/Test_TC_DRLK_2_7.yaml | 158 +- .../certification/Test_TC_DRLK_2_9.yaml | 186 +- .../Test_TC_KEYPADINPUT_3_2.yaml | 8 +- .../Test_TC_KEYPADINPUT_3_3.yaml | 36 +- .../Test_TC_MEDIAINPUT_3_11.yaml | 2 +- .../Test_TC_MEDIAINPUT_3_13.yaml | 4 +- .../certification/Test_TC_TGTNAV_8_1.yaml | 2 +- 24 files changed, 2008 insertions(+), 2008 deletions(-) diff --git a/src/app/tests/suites/DL_LockUnlock.yaml b/src/app/tests/suites/DL_LockUnlock.yaml index ecc3214a2431bf..fbaf6d97bc226b 100644 --- a/src/app/tests/suites/DL_LockUnlock.yaml +++ b/src/app/tests/suites/DL_LockUnlock.yaml @@ -53,25 +53,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: @@ -87,7 +87,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "000000" response: error: FAILURE @@ -103,7 +103,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Verify that lock state attribute value is set to Unlocked" @@ -117,7 +117,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "000000" response: error: FAILURE @@ -133,7 +133,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Verify that lock state attribute value is set to Locked" @@ -177,7 +177,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "000000" response: error: FAILURE @@ -187,7 +187,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "000000" response: error: FAILURE @@ -197,7 +197,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "000000" response: error: FAILURE @@ -209,7 +209,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" response: error: FAILURE @@ -229,7 +229,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Verify that lock state attribute value is set to Unlocked" @@ -243,7 +243,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Create a disabled user and credential" @@ -251,25 +251,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 2 } - - name: "credentialData" + - name: "CredentialData" value: "654321" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: 3 - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "Try to unlock the door with disabled user PIN" @@ -277,7 +277,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "654321" response: error: FAILURE @@ -293,7 +293,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Verify that lock state attribute value is set to Unlocked" @@ -307,7 +307,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "654321" response: error: FAILURE @@ -323,7 +323,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Verify that lock state attribute value is set to Locked" @@ -339,5 +339,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 0xFFFE diff --git a/src/app/tests/suites/DL_Schedules.yaml b/src/app/tests/suites/DL_Schedules.yaml index 7f87cfde766436..e70a46863cf0eb 100644 --- a/src/app/tests/suites/DL_Schedules.yaml +++ b/src/app/tests/suites/DL_Schedules.yaml @@ -33,25 +33,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Get number of supported users" @@ -93,19 +93,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -114,19 +114,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: NumberOfWeekDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -135,19 +135,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -156,19 +156,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -177,19 +177,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: FAILURE @@ -198,19 +198,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -219,19 +219,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x3 # (Sunday and Monday) - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -240,19 +240,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x49 # (Sunday, Wednesday and Saturday) - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -261,19 +261,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 1 - - name: "startHour" + - name: "StartHour" value: 24 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -282,19 +282,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 1 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 60 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -303,19 +303,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 1 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 24 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -324,19 +324,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 1 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 60 response: error: INVALID_COMMAND @@ -345,19 +345,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 1 - - name: "startHour" + - name: "StartHour" value: 19 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 response: error: INVALID_COMMAND @@ -368,19 +368,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 1 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 50 - - name: "endHour" + - name: "EndHour" value: 15 - - name: "endMinute" + - name: "EndMinute" value: 49 response: error: INVALID_COMMAND @@ -389,17 +389,17 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B # @@ -409,85 +409,85 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Week Day schedule with out-of-bounds index" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: NumberOfWeekDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: NumberOfWeekDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Week Day schedule with 0 user index" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Week Day schedule with out-of-bounds user index" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Week Day schedule with non-existing user index" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "status" + - name: "Status" value: 0x01 # @@ -497,13 +497,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 response: error: INVALID_COMMAND @@ -512,13 +512,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: NumberOfYearDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 response: error: INVALID_COMMAND @@ -527,13 +527,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 response: error: INVALID_COMMAND @@ -542,13 +542,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 response: error: INVALID_COMMAND @@ -557,13 +557,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 response: error: FAILURE @@ -572,13 +572,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345689 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345688 response: error: INVALID_COMMAND @@ -587,17 +587,17 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B # @@ -607,85 +607,85 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Year Day schedule with out-of-bounds index" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: NumberOfYearDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: NumberOfYearDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Year Day schedule with 0 user index" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Year Day schedule with out-of-bounds user index" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Year Day schedule with non-existing user index" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "status" + - name: "Status" value: 0x01 # @@ -695,13 +695,13 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 response: error: INVALID_COMMAND @@ -710,13 +710,13 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported + 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 response: error: INVALID_COMMAND @@ -725,13 +725,13 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345689 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345688 - - name: "operatingMode" + - name: "OperatingMode" value: 0 response: error: INVALID_COMMAND @@ -740,13 +740,13 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 5 response: error: INVALID_COMMAND @@ -755,13 +755,13 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B # @@ -771,26 +771,26 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 0 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 0 - - name: "status" + - name: "Status" value: 0x85 - label: "Get Holiday schedule with out-of-bounds index" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported + 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported + 1 - - name: "status" + - name: "Status" value: 0x85 # Verify that schedule creation works @@ -798,112 +798,112 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Verify created schedule" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Create Week Day schedule with valid parameters" command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 - label: "Verify created schedule" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 - label: "Create Year Day schedule with valid parameters" command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - label: "Verify created schedule" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 # @@ -913,9 +913,9 @@ tests: command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 response: error: INVALID_COMMAND @@ -924,9 +924,9 @@ tests: command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: NumberOfWeekDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: error: INVALID_COMMAND @@ -935,9 +935,9 @@ tests: command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 response: error: INVALID_COMMAND @@ -946,9 +946,9 @@ tests: command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 response: error: INVALID_COMMAND @@ -957,9 +957,9 @@ tests: command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 response: error: FAILURE @@ -968,67 +968,67 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 - label: "Make sure that year day schedule was not deleted" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - label: "Make sure that holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 # @@ -1038,9 +1038,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 response: error: INVALID_COMMAND @@ -1049,9 +1049,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: NumberOfYearDaySchedulesSupportedPerUser + 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: error: INVALID_COMMAND @@ -1060,9 +1060,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 0 response: error: INVALID_COMMAND @@ -1071,9 +1071,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 response: error: INVALID_COMMAND @@ -1082,9 +1082,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 response: error: FAILURE @@ -1093,67 +1093,67 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 - label: "Make sure that year day schedule was not deleted" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - label: "Make sure that holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 # Excercise ClearHolidaySchedule with invalid parameters @@ -1161,7 +1161,7 @@ tests: command: "ClearHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 0 response: error: INVALID_COMMAND @@ -1170,7 +1170,7 @@ tests: command: "ClearHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfYearDaySchedulesSupportedPerUser + 1 response: error: INVALID_COMMAND @@ -1179,67 +1179,67 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 16 - - name: "endHour" + - name: "EndHour" value: 18 - - name: "endMinute" + - name: "EndMinute" value: 00 - label: "Make sure that year day schedule was not deleted" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - label: "Make sure that holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 # Verify that clearing schedules works @@ -1247,244 +1247,244 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x02 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Verify created week day schedule" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x02 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Create another Year Day schedule with valid parameters" command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Verify created year day schedule" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Create another Holiday schedule with valid parameters" command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - - name: "localStartTime" + - name: "LocalStartTime" value: 123456 - - name: "localEndTime" + - name: "LocalEndTime" value: 1234567 - - name: "operatingMode" + - name: "OperatingMode" value: 1 - label: "Verify created holiday schedule" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 123456 - - name: "localEndTime" + - name: "LocalEndTime" value: 1234567 - - name: "operatingMode" + - name: "OperatingMode" value: 1 - label: "Clear a single week day schedule for the first user" command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Verify cleared week day schedule" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - label: "Clear all remaining week day schedules for the first user" command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0xFE - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Verify cleared week schedule" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - label: "Make sure that first year day schedule was not deleted" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - label: "Make sure that second year day schedule was not deleted" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Make sure that first holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Make sure that second holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 123456 - - name: "localEndTime" + - name: "LocalEndTime" value: 1234567 - - name: "operatingMode" + - name: "OperatingMode" value: 1 # We create it to test that clearing year day schedules does not delete week day schedules @@ -1492,107 +1492,107 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x02 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Clear a single year day schedule for the first user" command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Verify cleared year day schedule" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - label: "Clear all remaining year schedules for the first user" command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0xFE - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Verify that second year day schedule was cleared" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - label: "Verify created week day schedule" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x02 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Clear all remaining week day schedules for the first user" command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0xFE - - name: "userIndex" + - name: "UserIndex" value: 1 - label: @@ -1601,179 +1601,179 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Create Week Day schedule with valid parameters for first user" command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Verify created week day schedule for first user" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Create Year Day schedule for first user" command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Verify created year day schedule for first" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Create Week Day schedule with valid parameters for second user" command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "daysMask" + - name: "DaysMask" value: 0x40 - - name: "startHour" + - name: "StartHour" value: 23 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Verify created week day schedule for first user" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x40 - - name: "startHour" + - name: "StartHour" value: 23 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Create Year Day schedule for second user" command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 55555 - - name: "localEndTime" + - name: "LocalEndTime" value: 7777777 - label: "Verify created year day schedule for first" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 55555 - - name: "localEndTime" + - name: "LocalEndTime" value: 7777777 - label: "Cleanup the user" @@ -1781,75 +1781,75 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 0xFFFE - label: "Make sure clearing first user also cleared week day schedules" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x01 - label: "Make sure clearing first user also cleared year day schedules" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x01 - label: "Make sure clearing second user also cleared week day schedules" command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 4 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "status" + - name: "Status" value: 0x01 - label: "Make sure clearing second user also cleared year day schedules" command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "status" + - name: "Status" value: 0x01 # Make sure that all the manipulations did not affect the holiday schedules @@ -1857,70 +1857,70 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Make sure that second holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 123456 - - name: "localEndTime" + - name: "LocalEndTime" value: 1234567 - - name: "operatingMode" + - name: "OperatingMode" value: 1 - label: "Create another Holiday schedule at the last slot" command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported - - name: "localStartTime" + - name: "LocalStartTime" value: 1 - - name: "localEndTime" + - name: "LocalEndTime" value: 100 - - name: "operatingMode" + - name: "OperatingMode" value: 4 - label: "Verify Created Holiday Schedule" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 1 - - name: "localEndTime" + - name: "LocalEndTime" value: 100 - - name: "operatingMode" + - name: "OperatingMode" value: 4 # Those steps are required to validate that clearing holiday schedules does not delete weekday and year day schedules @@ -1929,57 +1929,57 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Create Week Day schedule for first user" command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: "Create Year Day schedule for first user" command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 # Start clearing holiday schedules @@ -1987,58 +1987,58 @@ tests: command: "ClearHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - label: "Make sure that first holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 12345 - - name: "localEndTime" + - name: "LocalEndTime" value: 12345689 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Make sure that second holiday schedule was deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - - name: "status" + - name: "Status" value: 0x8B - label: "Make sure that third holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 1 - - name: "localEndTime" + - name: "LocalEndTime" value: 100 - - name: "operatingMode" + - name: "OperatingMode" value: 4 - label: @@ -2046,27 +2046,27 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: @@ -2074,67 +2074,67 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Clear all remaining holiday schedules" command: "ClearHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 0xFE - label: "Make sure that first holiday is still deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - label: "Make sure that second holiday schedule was deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 2 - - name: "status" + - name: "Status" value: 0x8B - label: "Make sure that third holiday schedule was not deleted" command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: NumberOfHolidaySchedulesSupported - - name: "status" + - name: "Status" value: 0x8B - label: @@ -2142,27 +2142,27 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 0x01 - - name: "startHour" + - name: "StartHour" value: 0 - - name: "startMinute" + - name: "StartMinute" value: 0 - - name: "endHour" + - name: "EndHour" value: 23 - - name: "endMinute" + - name: "EndMinute" value: 59 - label: @@ -2170,21 +2170,21 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 9000 - - name: "localEndTime" + - name: "LocalEndTime" value: 888888888 - label: "Final Cleanup" @@ -2192,5 +2192,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 0xFFFE diff --git a/src/app/tests/suites/DL_UsersAndCredentials.yaml b/src/app/tests/suites/DL_UsersAndCredentials.yaml index 7d94cd569a970b..be9a8525448af2 100644 --- a/src/app/tests/suites/DL_UsersAndCredentials.yaml +++ b/src/app/tests/suites/DL_UsersAndCredentials.yaml @@ -32,29 +32,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Get number of supported users and verify default value" @@ -68,7 +68,7 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 0 response: error: INVALID_COMMAND @@ -78,7 +78,7 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 response: error: INVALID_COMMAND @@ -88,48 +88,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Set user at the occupied index fails with appropriate response" @@ -137,19 +137,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null response: error: FAILURE @@ -159,48 +159,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "new_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the modified user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "new_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Modify userUniqueId for existing user" @@ -208,48 +208,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1234ABCD - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the modified user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "new_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1234ABCD - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Modify userStatus for existing user" @@ -257,48 +257,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 0x03 # Occupied, Disabled - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the modified user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "new_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1234ABCD - - name: "userStatus" + - name: "UserStatus" value: 3 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Modify userType for existing user" @@ -306,48 +306,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: 0x06 # Disposable user - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the modified user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "new_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1234ABCD - - name: "userStatus" + - name: "UserStatus" value: 3 - - name: "userType" + - name: "UserType" value: 6 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Modify credentialRule for existing user" @@ -355,48 +355,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: 2 - label: "Read the modified user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "new_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1234ABCD - - name: "userStatus" + - name: "UserStatus" value: 3 - - name: "userType" + - name: "UserType" value: 6 - - name: "credentialRule" + - name: "CredentialRule" value: 2 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Modify all fields for existing user" @@ -404,48 +404,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "test_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1BCDA0A0 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 1 - label: "Read the modified user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "test_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0x1BCDA0A0 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 1 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Add another user with non-default fields" @@ -453,48 +453,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: "test_user2" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0xC0FFEE - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 1 - - name: "credentialRule" + - name: "CredentialRule" value: 2 - label: "Read the new user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: "test_user2" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0xC0FFEE - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 1 - - name: "credentialRule" + - name: "CredentialRule" value: 2 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Try to add a user with userStatus 0" @@ -502,19 +502,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: "test_user3" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0xBABA - - name: "userStatus" + - name: "UserStatus" value: 0 - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null response: error: INVALID_COMMAND @@ -523,29 +523,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 3 response: values: - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Try to add a user with userStatus 2" @@ -553,19 +553,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: "test_user3" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0xBABA - - name: "userStatus" + - name: "UserStatus" value: 2 - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null response: error: INVALID_COMMAND @@ -574,29 +574,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 3 response: values: - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Try to add a user with userStatus 3" @@ -604,48 +604,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: "test_user3" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0xBABA - - name: "userStatus" + - name: "UserStatus" value: 3 - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the new third user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 3 response: values: - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: "test_user3" - - name: "userUniqueId" + - name: "UserUniqueID" value: 0xBABA - - name: "userStatus" + - name: "UserStatus" value: 3 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create user in the last slot" @@ -653,48 +653,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported - - name: "userName" + - name: "UserName" value: "last_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: "Read the last user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported response: values: - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported - - name: "userName" + - name: "UserName" value: "last_user" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "User creation in the 0 slot fails" @@ -702,19 +702,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null response: error: INVALID_COMMAND @@ -724,19 +724,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null response: error: INVALID_COMMAND @@ -746,36 +746,36 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Read cleared user and verify it is available" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: 2 # Slot 2 is still occupied - label: "Create new user in the cleared slot" @@ -783,19 +783,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - label: @@ -803,29 +803,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: 2 # Slot 2 is still occupied - label: "Clear user with index 0 fails" @@ -833,7 +833,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 0 response: error: INVALID_COMMAND @@ -843,7 +843,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 response: error: INVALID_COMMAND @@ -853,65 +853,65 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 0xFFFE - label: "Read first cleared user and verify it is available" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Read last cleared user and verify it is available" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported response: values: - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null # @@ -929,38 +929,38 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Reading PIN credential with index 0 returns no credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 0 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: @@ -968,7 +968,7 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, @@ -976,15 +976,15 @@ tests: } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: @@ -994,25 +994,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "000000" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: 0 - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 # INVALID_COMMAND - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: @@ -1022,25 +1022,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "000000" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: 2 - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 # INVALID_COMMAND - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Create new PIN credential and user" @@ -1048,73 +1048,73 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "000000" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Verify created user" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [{ CredentialType: 1, CredentialIndex: 1 }] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Verify created PIN credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: true - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Create new PIN credential and user with index 0 fails" @@ -1122,25 +1122,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 0 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Create new PIN credential and user with out-of-bounds index fails" @@ -1148,29 +1148,29 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: NumberOfPINUsersSupported + 1, } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Get number of supported RFID credentials and verify default value" @@ -1187,19 +1187,19 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 0 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null # Duplicate of the previous test that does not check the value of nextCredentialIndex @@ -1209,17 +1209,17 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 0 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - label: @@ -1228,7 +1228,7 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, @@ -1236,34 +1236,34 @@ tests: } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Check that RFID credential does not exist" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 2 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Create new RFID credential and add it to existing user" @@ -1271,77 +1271,77 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 2 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data_123456" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "Verify modified user" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [ { CredentialType: 1, CredentialIndex: 1 }, { CredentialType: 2, CredentialIndex: 2 }, ] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Verify created credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 2 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: true - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Create new RFID credential and user with index 0 fails" @@ -1349,25 +1349,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 0 } - - name: "credentialData" + - name: "CredentialData" value: "new_rfid_data_field" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: @@ -1376,29 +1376,29 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: NumberOfRFIDUsersSupported + 1, } - - name: "credentialData" + - name: "CredentialData" value: "new_rfid_data_field" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Create new credential and try to add it to 0 user" @@ -1406,25 +1406,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "123465" - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new credential and try to add it to out-of-bounds user" @@ -1432,25 +1432,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "123465" - - name: "userIndex" + - name: "UserIndex" value: NumberOfTotalUsersSupported + 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new PIN with too short data" @@ -1458,25 +1458,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "12345" - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new PIN with too long data" @@ -1484,25 +1484,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "123456789" - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new RFID with too short data" @@ -1510,25 +1510,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data" - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new PIN with Programming user type fails" @@ -1536,25 +1536,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: 3 response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new RFID with too short data" @@ -1562,25 +1562,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "very_long_rfid_data_to_test_boundaries" - - name: "userIndex" + - name: "UserIndex" value: 0 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create new PIN credential with data the would cause duplicate" @@ -1588,25 +1588,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 4 } - - name: "credentialData" + - name: "CredentialData" value: "000000" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x02 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: "Create new RFID credential with data the would cause duplicate" @@ -1614,25 +1614,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 4 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data_123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x02 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: "Modify credentialData of existing PIN credential" @@ -1640,25 +1640,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: @@ -1668,25 +1668,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "000000" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: @@ -1696,25 +1696,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 4 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x02 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 # At that state we have the following users: @@ -1729,59 +1729,59 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 4 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data_7890" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: "Verify modified user" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [ { CredentialType: 1, CredentialIndex: 1 }, { CredentialType: 2, CredentialIndex: 2 }, { CredentialType: 2, CredentialIndex: 4 }, ] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: 2 - label: "Create new RFID credential and add it to existing user" @@ -1789,48 +1789,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 5 } - - name: "credentialData" + - name: "CredentialData" value: "789012" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 6 - label: "Verify modified user" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [ { CredentialType: 1, CredentialIndex: 1 }, @@ -1838,11 +1838,11 @@ tests: { CredentialType: 2, CredentialIndex: 4 }, { CredentialType: 1, CredentialIndex: 5 }, ] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: 2 - label: "Clear first PIN credential" @@ -1850,60 +1850,60 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - label: "Read back the credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Read the user back and make sure PIN credential is deleted" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [ { CredentialType: 2, CredentialIndex: 2 }, { CredentialType: 2, CredentialIndex: 4 }, { CredentialType: 1, CredentialIndex: 5 }, ] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: 2 - label: "Clear the second PIN credential" @@ -1911,55 +1911,55 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - label: "Read back the credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Read the user back and make sure related user is deleted" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create new RFID credential with user" @@ -1967,25 +1967,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data_12345" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "Clear all the RFID credentials" @@ -1993,64 +1993,64 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 0xFFFE } - label: "Read back the fist RFID credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: "Read back the second RFID credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 2 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: "Read back the third RFID credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 4 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: @@ -2059,29 +2059,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [{ CredentialType: 1, CredentialIndex: 5 }] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: @@ -2090,29 +2090,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create new PIN credential with user" @@ -2120,25 +2120,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Create new RFID credential with user" @@ -2146,25 +2146,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 2 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data_1234" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "Create another RFID credential with user" @@ -2172,25 +2172,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 6 } - - name: "credentialData" + - name: "CredentialData" value: "rfid_data_9876" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 4 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 7 # This test is disabled for now because ZAP generators are not generating working code when @@ -2200,64 +2200,64 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: null - label: "Read back the first PIN credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Read back the first RFID credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 2 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Read back the second PIN credential and make sure it is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 6 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: @@ -2265,29 +2265,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: @@ -2296,29 +2296,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 2 response: values: - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: @@ -2327,29 +2327,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 3 response: values: - - name: "userIndex" + - name: "UserIndex" value: 3 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: @@ -2357,29 +2357,29 @@ tests: command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 4 response: values: - - name: "userIndex" + - name: "UserIndex" value: 4 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create new Programming PIN credential with invalid index" @@ -2387,25 +2387,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Create new Programming PIN credential with valid index" @@ -2413,73 +2413,73 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 0 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Verify created user" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "" - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: [{ CredentialType: 0, CredentialIndex: 0 }] - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Verify created programming PIN credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 0 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: true - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Modify the Programming PIN credential" @@ -2487,25 +2487,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 2 - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 0 } - - name: "credentialData" + - name: "CredentialData" value: "654321" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "Clearing Programming PIN fails" @@ -2513,7 +2513,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 0 } response: error: INVALID_COMMAND @@ -2523,7 +2523,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 1 } response: error: INVALID_COMMAND @@ -2533,7 +2533,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 0 } response: error: INVALID_COMMAND @@ -2543,7 +2543,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, @@ -2557,7 +2557,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, CredentialIndex: 0 } response: error: INVALID_COMMAND @@ -2567,7 +2567,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 2, @@ -2582,55 +2582,55 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Make sure Programming PIN user is deleted" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: null - - name: "userUniqueId" + - name: "UserUniqueID" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null - - name: "credentialRule" + - name: "CredentialRule" value: null - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Make sure programming PIN credential is deleted" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 0, CredentialIndex: 0 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null # Test to make sure it's impossible to add more than NumberOfCredentialsSupportedPerUser credentials to a single user @@ -2639,25 +2639,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "000000" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Create second PIN credential and add it to existing user" @@ -2665,25 +2665,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 2 } - - name: "credentialData" + - name: "CredentialData" value: "000001" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "Create third PIN credential and add it to existing user" @@ -2691,25 +2691,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 3 } - - name: "credentialData" + - name: "CredentialData" value: "000002" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 4 - label: "Create fourth PIN credential and add it to existing user" @@ -2717,25 +2717,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 4 } - - name: "credentialData" + - name: "CredentialData" value: "000003" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 5 - label: "Create fifth PIN credential and add it to existing user" @@ -2743,25 +2743,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 5 } - - name: "credentialData" + - name: "CredentialData" value: "000004" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x00 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 6 - label: "Try to create sixth PIN credential and make sure it fails" @@ -2769,25 +2769,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 6 } - - name: "credentialData" + - name: "CredentialData" value: "000005" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x89 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 7 - label: "Final clean-up" @@ -2795,5 +2795,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 diff --git a/src/app/tests/suites/TV_AudioOutputCluster.yaml b/src/app/tests/suites/TV_AudioOutputCluster.yaml index 76bed60d43bfc9..a038c1cc4a2386 100644 --- a/src/app/tests/suites/TV_AudioOutputCluster.yaml +++ b/src/app/tests/suites/TV_AudioOutputCluster.yaml @@ -49,16 +49,16 @@ tests: command: "selectOutput" arguments: values: - - name: "index" + - name: "Index" value: 1 - label: "Rename Output Command" command: "renameOutput" arguments: values: - - name: "index" + - name: "Index" value: 1 - - name: "name" + - name: "Name" value: "HDMI Test" - label: "Read attribute Audio Output list" diff --git a/src/app/tests/suites/TV_ChannelCluster.yaml b/src/app/tests/suites/TV_ChannelCluster.yaml index f0316029d33168..baebfac0fd45ec 100644 --- a/src/app/tests/suites/TV_ChannelCluster.yaml +++ b/src/app/tests/suites/TV_ChannelCluster.yaml @@ -93,27 +93,27 @@ tests: command: "changeChannel" arguments: values: - - name: "match" + - name: "Match" value: "PBS" response: values: - - name: "data" + - name: "Data" value: "data response" - - name: "status" + - name: "Status" value: 0 - label: "Change Channel By Number Command" command: "changeChannelByNumber" arguments: values: - - name: "majorNumber" + - name: "MajorNumber" value: 6 - - name: "minorNumber" + - name: "MinorNumber" value: 0 - label: "Skip Channel Command" command: "skipChannel" arguments: values: - - name: "count" + - name: "Count" value: 1 diff --git a/src/app/tests/suites/TV_KeypadInputCluster.yaml b/src/app/tests/suites/TV_KeypadInputCluster.yaml index e4252a8a60cfa5..99187210c5b3ec 100644 --- a/src/app/tests/suites/TV_KeypadInputCluster.yaml +++ b/src/app/tests/suites/TV_KeypadInputCluster.yaml @@ -32,9 +32,9 @@ tests: command: "sendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 3 response: values: - - name: "status" + - name: "Status" value: 0 diff --git a/src/app/tests/suites/TV_MediaInputCluster.yaml b/src/app/tests/suites/TV_MediaInputCluster.yaml index 153b4aaf99b40c..b03dce843ed47e 100644 --- a/src/app/tests/suites/TV_MediaInputCluster.yaml +++ b/src/app/tests/suites/TV_MediaInputCluster.yaml @@ -58,7 +58,7 @@ tests: command: "selectInput" arguments: values: - - name: "index" + - name: "Index" value: 1 - label: "Hide Input Status Command" @@ -71,9 +71,9 @@ tests: command: "renameInput" arguments: values: - - name: "index" + - name: "Index" value: 1 - - name: "name" + - name: "Name" value: "HDMI Test" - label: "Read attribute media input list" diff --git a/src/app/tests/suites/TV_TargetNavigatorCluster.yaml b/src/app/tests/suites/TV_TargetNavigatorCluster.yaml index ed67e8b9de37d5..de64e9d74db7e8 100644 --- a/src/app/tests/suites/TV_TargetNavigatorCluster.yaml +++ b/src/app/tests/suites/TV_TargetNavigatorCluster.yaml @@ -48,13 +48,13 @@ tests: command: "navigateTarget" arguments: values: - - name: "target" + - name: "Target" value: 1 - - name: "data" + - name: "Data" value: "1" response: values: - - name: "data" + - name: "Data" value: "data response" - - name: "status" + - name: "Status" value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml index 691fd10ca024e1..6d3044f51fab3a 100644 --- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml @@ -47,7 +47,7 @@ tests: command: "SelectOutput" arguments: values: - - name: "index" + - name: "Index" value: Index - label: "Reads the CurrentOutput attribute" diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml index e0f59224ecf2b9..9b07e5dd174193 100644 --- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml @@ -48,9 +48,9 @@ tests: command: "RenameOutput" arguments: values: - - name: "index" + - name: "Index" value: Index - - name: "name" + - name: "Name" value: "CertTest" #Disabled due to issue- #13029 diff --git a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml index 773a701504ba30..9e508a388efa7a 100644 --- a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml @@ -50,9 +50,9 @@ tests: command: "ChangeChannelByNumber" arguments: values: - - name: "majorNumber" + - name: "MajorNumber" value: majornumber - - name: "minorNumber" + - name: "MinorNumber" value: minornumber - label: "Verify that the channel has changed on the device" @@ -71,4 +71,4 @@ tests: command: "readAttribute" attribute: "CurrentChannel" response: - value: [majorNumber: majornumber, minorNumber: minornumber] + value: [MajorNumber: majornumber, MinorNumber: minornumber] diff --git a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml index 517d3c6f2073cc..bf98153f0c4526 100644 --- a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml @@ -59,14 +59,14 @@ tests: command: "readAttribute" attribute: "CurrentChannel" response: - value: [majorNumber: majornumber, minorNumber: minornumber] + value: [MajorNumber: majornumber, MinorNumber: minornumber] - label: "Sends a SkipChannel command to the DUT" PICS: CHANNEL.S.C03.Rsp command: "SkipChannel" arguments: values: - - name: "count" + - name: "Count" value: 1 - label: "Verify that the channel has changed on the device" @@ -85,6 +85,6 @@ tests: command: "readAttribute" attribute: "CurrentChannel" response: - value: [majorNumber: majornumber, minorNumber: minornumber + 1] + value: [MajorNumber: majornumber, MinorNumber: minornumber + 1] constraints: type: ChannelInfoStruct diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml index cac3d69b4898b8..26f4b70bb74a59 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml @@ -36,48 +36,48 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create new PIN credential and lock/unlock user" @@ -85,44 +85,44 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Verify created PIN credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: true - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: @@ -165,7 +165,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: @@ -201,7 +201,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "TH sends Lock Door Command to the DUT without valid PINCode" @@ -210,7 +210,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "645321" response: error: FAILURE @@ -401,7 +401,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Cleanup the created credential" @@ -410,5 +410,5 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_3.yaml index 0073ab9afecac8..2fafc34e861911 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_3.yaml @@ -37,48 +37,48 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create new PIN credential and lock/unlock user" @@ -86,44 +86,44 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Verify created PIN credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: true - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: @@ -166,7 +166,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: @@ -202,7 +202,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "TH sends the unlock Door command to the DUT with invalid PINCode" @@ -211,7 +211,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "1234568" response: error: FAILURE @@ -269,7 +269,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "1234568" response: error: FAILURE @@ -280,7 +280,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "1234568" response: error: FAILURE @@ -291,7 +291,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "1234568" response: error: FAILURE @@ -302,7 +302,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "1234568" response: error: FAILURE @@ -322,7 +322,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "pinCode" + - name: "PINCode" value: "123456" response: error: FAILURE @@ -434,7 +434,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Clean the created credential" @@ -443,5 +443,5 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml index a82baf96777ec5..285f6b6cbb997a 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_4.yaml @@ -38,48 +38,48 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "Create new PIN credential and lock/unlock user" @@ -87,44 +87,44 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "Verify created PIN credential" command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: true - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "TH writes AutoRelockTime attribute value as 60 seconds on the DUT" @@ -149,9 +149,9 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "timeout" + - name: "Timeout" value: 60 - - name: "pinCode" + - name: "PINCode" value: "123456" - label: "Wait 60s" @@ -175,7 +175,7 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Clean the created credential" @@ -184,5 +184,5 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_5.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_5.yaml index 7f95560794e78f..8f028db5922847 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_5.yaml @@ -39,48 +39,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "TH reads NumberOfWeekDay SchedulesSupportedPerUser attribute" @@ -108,19 +108,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 2 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 45 - - name: "endHour" + - name: "EndHour" value: 16 - - name: "endMinute" + - name: "EndMinute" value: 55 #issue #18591 @@ -129,29 +129,29 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "daysMask" + - name: "DaysMask" value: 2 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 45 - - name: "endHour" + - name: "EndHour" constraints: hasValue: true minValue: 16 - - name: "endMinute" + - name: "EndMinute" constraints: hasValue: true minValue: 55 @@ -161,19 +161,19 @@ tests: command: "SetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "daysMask" + - name: "DaysMask" value: 7 - - name: "startHour" + - name: "StartHour" value: 15 - - name: "startMinute" + - name: "StartMinute" value: 45 - - name: "endHour" + - name: "EndHour" value: 16 - - name: "endMinute" + - name: "EndMinute" value: 55 response: error: INVALID_COMMAND @@ -183,31 +183,31 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x85 - - name: "daysMask" + - name: "DaysMask" constraints: hasValue: false - - name: "startHour" + - name: "StartHour" constraints: hasValue: false - - name: "startMinute" + - name: "StartMinute" constraints: hasValue: false - - name: "endHour" + - name: "EndHour" constraints: hasValue: false - - name: "endMinute" + - name: "EndMinute" constraints: hasValue: false @@ -216,9 +216,9 @@ tests: command: "ClearWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "TH sends Get Week Day Schedule Command to DUT" @@ -226,31 +226,31 @@ tests: command: "GetWeekDaySchedule" arguments: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "weekDayIndex" + - name: "WeekDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - - name: "daysMask" + - name: "DaysMask" constraints: hasValue: false - - name: "startHour" + - name: "StartHour" constraints: hasValue: false - - name: "startMinute" + - name: "StartMinute" constraints: hasValue: false - - name: "endHour" + - name: "EndHour" constraints: hasValue: false - - name: "endMinute" + - name: "EndMinute" constraints: hasValue: false @@ -259,5 +259,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml index 1761022dd8014e..dd5dcf11a03eba 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml @@ -50,13 +50,13 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 20 - - name: "localEndTime" + - name: "LocalEndTime" value: 30 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Get Holiday Schedule with HolidayIndex as 1" @@ -64,21 +64,21 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 20 - - name: "localEndTime" + - name: "LocalEndTime" value: 30 constraints: minValue: 21 - - name: "operatingMode" + - name: "OperatingMode" value: 0 - label: "Create Holiday schedule with invalid operating mode" @@ -86,13 +86,13 @@ tests: command: "SetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 20 - - name: "localEndTime" + - name: "LocalEndTime" value: 30 - - name: "operatingMode" + - name: "OperatingMode" value: 5 response: error: INVALID_COMMAND @@ -102,13 +102,13 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 15 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 15 - - name: "status" + - name: "Status" value: 133 - label: "Get Holiday Schedule with the Non-scheduled HolidayIndex" @@ -116,13 +116,13 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 10 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 10 - - name: "status" + - name: "Status" value: 139 - label: "Clear Holiday schedule with 1 index" @@ -130,7 +130,7 @@ tests: command: "ClearHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - label: "Make sure that holiday schedule was deleted" @@ -138,13 +138,13 @@ tests: command: "GetHolidaySchedule" arguments: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 response: values: - - name: "holidayIndex" + - name: "HolidayIndex" value: 1 - - name: "status" + - name: "Status" value: 139 - label: "Cleanup the created user" @@ -152,5 +152,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_7.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_7.yaml index 90f5032b05eafb..2632aed097708f 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_7.yaml @@ -39,48 +39,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: "TH reads NumberOfYearDay SchedulesSupportedPerUser attribute" @@ -108,13 +108,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 960 - - name: "localEndTime" + - name: "LocalEndTime" value: 1980 #issue #18591 @@ -123,21 +123,21 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x0 - - name: "localStartTime" + - name: "LocalStartTime" value: 960 - - name: "localEndTime" + - name: "LocalEndTime" value: 1980 constraints: minValue: 961 @@ -147,13 +147,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 15 - - name: "localStartTime" + - name: "LocalStartTime" value: 1020 - - name: "localEndTime" + - name: "LocalEndTime" value: 2040 response: error: INVALID_COMMAND @@ -163,22 +163,22 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 15 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 15 - - name: "status" + - name: "Status" value: 0x85 - - name: "localStartTime" + - name: "LocalStartTime" constraints: hasValue: false - - name: "localEndTime" + - name: "LocalEndTime" constraints: hasValue: false @@ -187,19 +187,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 5 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "TH sends Get Year Day Schedule Command to DUT" @@ -207,22 +207,22 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: NumberOfYearDaySchedulesSupportedPerUser - - name: "userIndex" + - name: "UserIndex" value: 5 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: NumberOfYearDaySchedulesSupportedPerUser - - name: "userIndex" + - name: "UserIndex" value: 5 - - name: "status" + - name: "Status" value: 0x8B - - name: "localStartTime" + - name: "LocalStartTime" constraints: hasValue: false - - name: "localEndTime" + - name: "LocalEndTime" constraints: hasValue: false @@ -231,9 +231,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "TH sends Get Year Day Schedule Command to DUT" @@ -241,22 +241,22 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x8B - - name: "localStartTime" + - name: "LocalStartTime" constraints: hasValue: false - - name: "localEndTime" + - name: "LocalEndTime" constraints: hasValue: false @@ -265,13 +265,13 @@ tests: command: "SetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "localStartTime" + - name: "LocalStartTime" value: 1080 - - name: "localEndTime" + - name: "LocalEndTime" value: 2100 - label: "TH sends Get Year Day Schedule Command to DUT" @@ -279,21 +279,21 @@ tests: command: "GetYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "status" + - name: "Status" value: 0x00 - - name: "localStartTime" + - name: "LocalStartTime" value: 1080 - - name: "localEndTime" + - name: "LocalEndTime" value: 2100 constraints: minValue: 1081 @@ -303,9 +303,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 0 response: error: INVALID_COMMAND @@ -315,9 +315,9 @@ tests: command: "ClearYearDaySchedule" arguments: values: - - name: "yearDayIndex" + - name: "YearDayIndex" value: 1 - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Cleanup the created user" @@ -325,5 +325,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml index e1d22a529c475b..9f136c6fc9c1bf 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml @@ -39,48 +39,48 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "Read the user back and verify its fields" command: "GetUser" arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 response: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: 6452 - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - - name: "credentials" + - name: "Credentials" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextUserIndex" + - name: "NextUserIndex" value: null - label: @@ -101,25 +101,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "TH sends Get Credential Status Command" @@ -127,20 +127,20 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" constraints: type: boolean - - name: "userIndex" + - name: "UserIndex" value: 1 - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: 1 - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: 1 - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "TH sends Set Credential Command to DUT" @@ -149,25 +149,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 2 } - - name: "credentialData" + - name: "CredentialData" value: "4321" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: 5 - - name: "userType" + - name: "UserType" value: 10 response: values: - - name: "status" + - name: "Status" value: 0x85 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "TH sends Set Credential Command to DUT" @@ -176,32 +176,32 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 2 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: null - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0x02 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 3 - label: "TH sends Set Credential Command to DUT and Verify that the DUT sends Set Credential Response command with status as DUPLICATE or OCCUPIED" verification: | - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 1 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 0 '{ "CredentialType" : 1, "CredentialIndex" : 1 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends Set Credential Response command with response as DUPLICATE or OCCUPIED" on the TH(Chip-tool) Log: @@ -229,7 +229,7 @@ tests: verification: | Mark as not applicable and proceed to next step - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 1 }' 123457 1 null null 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 0 '{ "CredentialType" : 1, "CredentialIndex" : 1 }' 123457 1 null null 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends Set Credential Response command with response as DUPLICATE or OCCUPIED" on the TH(Chip-tool) Log: @@ -258,7 +258,7 @@ tests: verification: | Mark as not applicable and proceed to next step - ./chip-tool doorlock set-credential 2 '{ "credentialType" : 1, "credentialIndex" : 3 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 2 '{ "CredentialType" : 1, "CredentialIndex" : 3 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 Verify "DUT sends Set Credential Response command with response as OCCUPIED" on the TH(Chip-tool) Log: @@ -286,7 +286,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - label: "TH sends Get Credential Status Command to DUT" @@ -294,19 +294,19 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "TH sends Set User Command to DUT" @@ -315,19 +315,19 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userName" + - name: "UserName" value: "xxx" - - name: "userUniqueId" + - name: "UserUniqueID" value: "6452" - - name: "userStatus" + - name: "UserStatus" value: 1 - - name: "userType" + - name: "UserType" value: 0 - - name: "credentialRule" + - name: "CredentialRule" value: 0 - label: "TH sends Set Credential Command to DUT" @@ -336,25 +336,25 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "operationType" + - name: "OperationType" value: 0 - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - name: "credentialData" + - name: "CredentialData" value: "123456" - - name: "userIndex" + - name: "UserIndex" value: 2 - - name: "userStatus" + - name: "UserStatus" value: null - - name: "userType" + - name: "UserType" value: null response: values: - - name: "status" + - name: "Status" value: 0 - - name: "userIndex" + - name: "UserIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: 2 - label: "TH sends Clear Credential Command to DUT" @@ -363,7 +363,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 65534 } - label: "TH sends Get Credential Status Command" @@ -371,19 +371,19 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 65534 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "TH sends Get Credential Status Command" @@ -391,19 +391,19 @@ tests: command: "GetCredentialStatus" arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } response: values: - - name: "credentialExists" + - name: "CredentialExists" value: false - - name: "userIndex" + - name: "UserIndex" value: null - - name: "creatorFabricIndex" + - name: "CreatorFabricIndex" value: null - - name: "lastModifiedFabricIndex" + - name: "LastModifiedFabricIndex" value: null - - name: "nextCredentialIndex" + - name: "NextCredentialIndex" value: null - label: "TH sends Clear Credential Command to DUT" @@ -412,7 +412,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "credential" + - name: "Credential" value: { CredentialType: 8, CredentialIndex: 2 } response: error: INVALID_COMMAND @@ -422,7 +422,7 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 1 - label: "Cleanup the second created user" @@ -430,5 +430,5 @@ tests: timedInteractionTimeoutMs: 10000 arguments: values: - - name: "userIndex" + - name: "UserIndex" value: 2 diff --git a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_2.yaml b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_2.yaml index e6d80210ec9344..eb915a197d5b80 100644 --- a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_2.yaml @@ -36,11 +36,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x0A response: values: - - name: "status" + - name: "Status" value: 0 - label: "TH sends CEC Home Keys(0x09) to DUT" @@ -48,9 +48,9 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x09 response: values: - - name: "status" + - name: "Status" value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_3.yaml b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_3.yaml index 31245513dd75c4..02c3fd5a104551 100644 --- a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_3_3.yaml @@ -36,11 +36,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x21 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers2" @@ -48,11 +48,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x22 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers3" @@ -60,11 +60,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x23 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers4" @@ -72,11 +72,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x24 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers5" @@ -84,11 +84,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x25 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers6" @@ -96,11 +96,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x26 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers7" @@ -108,11 +108,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x27 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers8" @@ -120,11 +120,11 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x28 response: values: - - name: "status" + - name: "Status" value: 0 - label: "Send Numbers9" @@ -132,9 +132,9 @@ tests: command: "SendKey" arguments: values: - - name: "keyCode" + - name: "KeyCode" value: 0x29 response: values: - - name: "status" + - name: "Status" value: 0 diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_11.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_11.yaml index 1dfe4d2ff4478e..b1f1e2dacb6de3 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_11.yaml @@ -48,7 +48,7 @@ tests: command: "SelectInput" arguments: values: - - name: "index" + - name: "Index" value: 1 - label: "Read current input list" diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_13.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_13.yaml index 236ad41225e82d..f2298a9f5d603e 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_13.yaml @@ -46,9 +46,9 @@ tests: command: "RenameInput" arguments: values: - - name: "index" + - name: "Index" value: 1 - - name: "name" + - name: "Name" value: "A1" # Issue 13029 diff --git a/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml b/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml index 10dc1906bf0825..d28d8404bf0a1d 100644 --- a/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml @@ -58,7 +58,7 @@ tests: command: "NavigateTarget" arguments: values: - - name: "target" + - name: "Target" value: targetvalue - label: "Reads the CurrentTarget attribute"