From 36814c53de75a6effcf5395591ae40d3533f1670 Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Tue, 9 Jan 2024 17:25:59 +0530 Subject: [PATCH 1/7] modified files as per latest test-plan. PICS.yaml TC_ACE_1_1 TC_ACE_1_5 TC_ACFREMON_1_1 TC_ACFREMON_2_1 TC_ACL_2_1 TC_ACL_2_10 TC_ACL_2_3 TC_ACL_2_9 TC_AIRQUAL_1_1 TC_AIRQUAL_2_1 TC_ALOGIN_1_12 TC_APBSC_1_10 TC_APBSC_9_1 TC_APPLAUNCHER_1_3 TC_APPLAUNCHER_3_5 TC_APPLAUNCHER_3_7 TC_APPLAUNCHER_3_8 TC_APPLAUNCHER_3_9 TC_AUDIOOUTPUT_1_8 TC_AUDIOOUTPUT_7_1 TC_AUDIOOUTPUT_7_2 TC_BINFO_1_1 TC_BINFO_2_1 TC_BINFO_2_2 TC_BOOL_2_1 TC_BRBINFO_1_1 TC_BRBINFO_2_1 TC_CADMIN_1_10 TC_CADMIN_1_16 TC_CC_2_1 TC_CC_5_1 TC_CC_6_1 TC_CNET_1_3 TC_CNET_4_5 TC_CNET_4_9 TC_CONTENTLAUNCHER_1_11 TC_DD_1_8 TC_DD_3_1 TC_DD_3_2 TC_DGETH_2_1 TC_DGGEN_1_1 TC_DGGEN_2_1 TC_DGGEN_2_3 TC_DGTHREAD_1_1 TC_DGTHREAD_2_4 TC_DGWIFI_2_1 TC_DGWIFI_2_3 TC_DISHM_2_1 TC_DISHM_3_1 TC_DISHM_3_2 TC_DISHM_3_3 TC_DRLK_2_1 TC_DRLK_2_10 TC_DRLK_2_5 TC_DRLK_2_6 TC_DRLK_2_7 TC_DRLK_2_9 TC_FAN_1_1 TC_FAN_2_1 TC_FAN_2_2 TC_FAN_2_3 TC_FAN_2_4 TC_FAN_2_5 TC_FAN_3_1 TC_FAN_3_2 TC_FAN_3_6 TC_FLABEL_1_1 TC_FLABEL_2_1 TC_FLDCONC_1_1 TC_FLDCONC_2_1 TC_FLW_1_1 TC_FLW_2_1 TC_FLW_2_2 TC_GRPKEY_1_1 TC_GRPKEY_2_1 TC_GRPKEY_2_2 TC_G_1_1 TC_G_2_1 TC_G_2_3 TC_G_2_4 TC_HEPAFREMON_1_1 TC_HEPAFREMON_2_1 TC_ICDM_1_1 TC_IDM_1_1 TC_IDM_2_1 TC_IDM_2_2 TC_IDM_3_1 TC_IDM_3_2 TC_ILL_1_1 TC_ILL_2_1 TC_ILL_2_2 TC_I_1_1 TC_I_2_1 TC_I_2_2 TC_I_2_3 TC_KEYPADINPUT_1_2 TC_KEYPADINPUT_3_3 TC_LCFG_1_1 TC_LCFG_2_1 TC_LOWPOWER_1_1 TC_LOWPOWER_2_1 TC_LTIME_1_2 TC_LTIME_3_1 TC_LUNIT_1_2 TC_LUNIT_3_1 TC_LVL_1_1 TC_LVL_2_1 TC_LVL_2_2 TC_LVL_3_1 TC_LVL_4_1 TC_LVL_5_1 TC_LVL_6_1 TC_LVL_7_1 TC_LWM_1_1 TC_LWM_2_1 TC_LWM_3_1 TC_LWM_3_2 TC_LWM_3_3 TC_MEDIAINPUT_1_4 TC_MEDIAINPUT_3_10 TC_MEDIAINPUT_3_11 TC_MEDIAINPUT_3_12 TC_MEDIAINPUT_3_13 TC_MEDIAPLAYBACK_1_7 TC_MEDIAPLAYBACK_6_1 TC_MEDIAPLAYBACK_6_2 TC_MEDIAPLAYBACK_6_3 TC_MEDIAPLAYBACK_6_4 TC_MOD_1_1 TC_MOD_3_1 TC_MOD_3_2 TC_MOD_3_3 TC_MOD_3_4 TC_NDOCONC_1_1 TC_NDOCONC_2_1 TC_OCC_2_3 TC_OCC_3_1 TC_OO_1_1 TC_OO_2_1 TC_OO_2_2 TC_OO_2_3 TC_OO_2_4 TC_OPCREDS_1_2 TC_OPCREDS_3_7 TC_OPSTATE_1_1 TC_OZCONC_1_1 TC_OZCONC_2_1 TC_PRS_1_1 TC_PRS_2_1 TC_PRS_2_2 TC_PSCFG_1_1 TC_PS_1_1 TC_PS_2_1 TC_PS_2_2 TC_REFALM_1_1 TC_REFALM_2_3 TC_RH_1_1 TC_RH_2_1 TC_RH_2_2 TC_RNCONC_1_1 TC_RNCONC_2_1 TC_RVCCLEANM_1_1 TC_RVCCLEANM_3_1 TC_RVCCLEANM_3_3 TC_RVCOPSTATE_1_1 TC_RVCRUNM_1_1 TC_RVCRUNM_3_3 TC_SC_5_1 TC_SMOKECO_2_2 TC_SMOKECO_2_3 TC_SMOKECO_2_4 TC_SMOKECO_2_5 TC_S_1_1 TC_S_2_1 TC_S_2_2 TC_S_2_3 TC_S_2_4 TC_TCCM_1_1 TC_TCCM_3_1 TC_TCCM_3_2 TC_TCCM_3_3 TC_TGTNAV_1_9 TC_TGTNAV_8_1 TC_TIMESYNC_1_1 TC_TMP_1_1 TC_TMP_2_1 TC_TMP_2_2 TC_TSTAT_1_1 TC_TSTAT_2_2 TC_TSUIC_1_1 TC_TSUIC_2_1 TC_TSUIC_2_2 TC_TVOCCONC_1_1 TC_TVOCCONC_2_1 TC_ULABEL_1_1 TC_ULABEL_2_1 TC_ULABEL_2_2 TC_ULABEL_2_3 TC_ULABEL_2_4 TC_WAKEONLAN_1_5 TC_WAKEONLAN_4_1 TC_WASHERCTRL_1_1 TC_WASHERCTRL_2_1 TC_WASHERCTRL_2_2 TC_WNCV_1_1 TC_WNCV_2_1 TC_WNCV_2_2 TC_WNCV_2_3 TC_WNCV_2_4 TC_WNCV_2_5 TC_WNCV_3_1 TC_WNCV_3_2 TC_WNCV_3_3 TC_WNCV_3_4 TC_WNCV_3_5 TC_WNCV_4_1 TC_WNCV_4_2 TC_WNCV_4_3 TC_WNCV_4_4 TC_WNCV_4_5 modified: ci-pics-values --- src/app/tests/suites/certification/PICS.yaml | 53 +- .../suites/certification/Test_TC_ACE_1_1.yaml | 186 +++++-- .../suites/certification/Test_TC_ACE_1_5.yaml | 53 +- .../certification/Test_TC_ACFREMON_1_1.yaml | 26 +- .../certification/Test_TC_ACFREMON_2_1.yaml | 20 +- .../suites/certification/Test_TC_ACL_2_1.yaml | 16 +- .../certification/Test_TC_ACL_2_10.yaml | 20 +- .../suites/certification/Test_TC_ACL_2_3.yaml | 3 +- .../suites/certification/Test_TC_ACL_2_9.yaml | 12 +- .../certification/Test_TC_AIRQUAL_1_1.yaml | 14 +- .../certification/Test_TC_ALOGIN_1_12.yaml | 14 +- .../certification/Test_TC_APBSC_1_10.yaml | 23 +- .../certification/Test_TC_APBSC_9_1.yaml | 16 +- .../Test_TC_APPLAUNCHER_1_3.yaml | 22 +- .../Test_TC_APPLAUNCHER_3_5.yaml | 7 +- .../Test_TC_APPLAUNCHER_3_7.yaml | 7 +- .../Test_TC_APPLAUNCHER_3_8.yaml | 6 +- .../Test_TC_APPLAUNCHER_3_9.yaml | 6 +- .../Test_TC_AUDIOOUTPUT_1_8.yaml | 16 +- .../Test_TC_AUDIOOUTPUT_7_1.yaml | 8 +- .../Test_TC_AUDIOOUTPUT_7_2.yaml | 14 + .../certification/Test_TC_BINFO_1_1.yaml | 23 +- .../certification/Test_TC_BINFO_2_1.yaml | 27 +- .../certification/Test_TC_BINFO_2_2.yaml | 6 +- .../certification/Test_TC_BOOL_2_1.yaml | 2 +- .../certification/Test_TC_BRBINFO_1_1.yaml | 26 +- .../certification/Test_TC_BRBINFO_2_1.yaml | 28 +- .../certification/Test_TC_CADMIN_1_10.yaml | 15 +- .../certification/Test_TC_CADMIN_1_16.yaml | 14 +- .../suites/certification/Test_TC_CC_2_1.yaml | 110 +++-- .../suites/certification/Test_TC_CC_5_1.yaml | 2 +- .../suites/certification/Test_TC_CC_6_1.yaml | 2 +- .../certification/Test_TC_CNET_4_5.yaml | 2 +- .../certification/Test_TC_CNET_4_9.yaml | 6 +- .../Test_TC_CONTENTLAUNCHER_1_11.yaml | 25 +- .../suites/certification/Test_TC_DD_1_8.yaml | 2 +- .../suites/certification/Test_TC_DD_3_1.yaml | 1 + .../suites/certification/Test_TC_DD_3_2.yaml | 3 +- .../certification/Test_TC_DGETH_2_1.yaml | 24 +- .../certification/Test_TC_DGGEN_1_1.yaml | 33 +- .../certification/Test_TC_DGGEN_2_1.yaml | 183 +++++-- .../certification/Test_TC_DGGEN_2_3.yaml | 4 +- .../certification/Test_TC_DGTHREAD_1_1.yaml | 6 +- .../certification/Test_TC_DGTHREAD_2_4.yaml | 4 +- .../certification/Test_TC_DGWIFI_2_1.yaml | 24 +- .../certification/Test_TC_DGWIFI_2_3.yaml | 12 +- .../certification/Test_TC_DISHM_2_1.yaml | 9 +- .../certification/Test_TC_DISHM_3_1.yaml | 7 +- .../certification/Test_TC_DISHM_3_2.yaml | 2 +- .../certification/Test_TC_DISHM_3_3.yaml | 9 +- .../certification/Test_TC_DRLK_2_1.yaml | 43 +- .../certification/Test_TC_DRLK_2_10.yaml | 2 +- .../certification/Test_TC_DRLK_2_5.yaml | 1 + .../certification/Test_TC_DRLK_2_6.yaml | 31 +- .../certification/Test_TC_DRLK_2_7.yaml | 1 + .../certification/Test_TC_DRLK_2_9.yaml | 76 ++- .../suites/certification/Test_TC_FAN_1_1.yaml | 27 +- .../suites/certification/Test_TC_FAN_2_2.yaml | 2 +- .../suites/certification/Test_TC_FAN_2_3.yaml | 2 +- .../suites/certification/Test_TC_FAN_2_4.yaml | 2 +- .../suites/certification/Test_TC_FAN_2_5.yaml | 2 +- .../suites/certification/Test_TC_FAN_3_1.yaml | 6 +- .../suites/certification/Test_TC_FAN_3_2.yaml | 4 +- .../suites/certification/Test_TC_FAN_3_6.yaml | 10 +- .../certification/Test_TC_FLABEL_1_1.yaml | 18 +- .../certification/Test_TC_FLABEL_2_1.yaml | 2 +- .../certification/Test_TC_FLDCONC_1_1.yaml | 33 +- .../suites/certification/Test_TC_FLW_1_1.yaml | 23 +- .../suites/certification/Test_TC_FLW_2_1.yaml | 12 +- .../suites/certification/Test_TC_FLW_2_2.yaml | 14 +- .../certification/Test_TC_GRPKEY_1_1.yaml | 18 +- .../certification/Test_TC_GRPKEY_2_1.yaml | 17 +- .../certification/Test_TC_GRPKEY_2_2.yaml | 113 ++++- .../suites/certification/Test_TC_G_1_1.yaml | 20 +- .../suites/certification/Test_TC_G_2_1.yaml | 3 +- .../suites/certification/Test_TC_G_2_3.yaml | 11 +- .../suites/certification/Test_TC_G_2_4.yaml | 20 +- .../certification/Test_TC_HEPAFREMON_1_1.yaml | 30 +- .../certification/Test_TC_HEPAFREMON_2_1.yaml | 6 +- .../suites/certification/Test_TC_IDM_2_1.yaml | 22 +- .../suites/certification/Test_TC_IDM_2_2.yaml | 8 +- .../suites/certification/Test_TC_IDM_3_1.yaml | 26 +- .../suites/certification/Test_TC_IDM_3_2.yaml | 2 +- .../suites/certification/Test_TC_ILL_1_1.yaml | 23 +- .../suites/certification/Test_TC_ILL_2_1.yaml | 19 +- .../suites/certification/Test_TC_ILL_2_2.yaml | 4 +- .../suites/certification/Test_TC_I_1_1.yaml | 28 +- .../suites/certification/Test_TC_I_2_1.yaml | 4 +- .../suites/certification/Test_TC_I_2_2.yaml | 8 +- .../suites/certification/Test_TC_I_2_3.yaml | 66 +-- .../Test_TC_KEYPADINPUT_1_2.yaml | 17 +- .../Test_TC_KEYPADINPUT_3_3.yaml | 18 +- .../certification/Test_TC_LCFG_1_1.yaml | 20 +- .../certification/Test_TC_LCFG_2_1.yaml | 8 +- .../certification/Test_TC_LOWPOWER_1_1.yaml | 14 +- .../certification/Test_TC_LOWPOWER_2_1.yaml | 3 +- .../certification/Test_TC_LTIME_1_2.yaml | 24 +- .../certification/Test_TC_LTIME_3_1.yaml | 4 +- .../certification/Test_TC_LUNIT_1_2.yaml | 20 +- .../certification/Test_TC_LUNIT_3_1.yaml | 16 +- .../suites/certification/Test_TC_LVL_1_1.yaml | 64 +-- .../suites/certification/Test_TC_LVL_2_1.yaml | 43 +- .../suites/certification/Test_TC_LVL_2_2.yaml | 51 +- .../suites/certification/Test_TC_LVL_3_1.yaml | 70 ++- .../suites/certification/Test_TC_LVL_4_1.yaml | 20 +- .../suites/certification/Test_TC_LVL_5_1.yaml | 25 +- .../suites/certification/Test_TC_LVL_6_1.yaml | 12 +- .../suites/certification/Test_TC_LVL_7_1.yaml | 5 +- .../suites/certification/Test_TC_LWM_1_1.yaml | 11 +- .../suites/certification/Test_TC_LWM_2_1.yaml | 10 +- .../suites/certification/Test_TC_LWM_3_1.yaml | 2 + .../suites/certification/Test_TC_LWM_3_2.yaml | 313 +++++++----- .../suites/certification/Test_TC_LWM_3_3.yaml | 337 ++++++++----- .../certification/Test_TC_MEDIAINPUT_1_4.yaml | 24 +- .../Test_TC_MEDIAINPUT_3_10.yaml | 4 +- .../Test_TC_MEDIAINPUT_3_11.yaml | 4 +- .../Test_TC_MEDIAINPUT_3_12.yaml | 12 +- .../Test_TC_MEDIAINPUT_3_13.yaml | 4 +- .../Test_TC_MEDIAPLAYBACK_1_7.yaml | 55 ++- .../Test_TC_MEDIAPLAYBACK_6_1.yaml | 17 +- .../Test_TC_MEDIAPLAYBACK_6_2.yaml | 27 +- .../Test_TC_MEDIAPLAYBACK_6_3.yaml | 3 +- .../Test_TC_MEDIAPLAYBACK_6_4.yaml | 39 +- .../suites/certification/Test_TC_MOD_1_1.yaml | 22 +- .../suites/certification/Test_TC_MOD_3_1.yaml | 8 +- .../suites/certification/Test_TC_MOD_3_2.yaml | 6 +- .../suites/certification/Test_TC_MOD_3_3.yaml | 3 +- .../suites/certification/Test_TC_MOD_3_4.yaml | 4 +- .../certification/Test_TC_NDOCONC_1_1.yaml | 35 +- .../suites/certification/Test_TC_OCC_2_3.yaml | 8 +- .../suites/certification/Test_TC_OCC_3_1.yaml | 7 +- .../suites/certification/Test_TC_OO_1_1.yaml | 24 +- .../suites/certification/Test_TC_OO_2_1.yaml | 12 +- .../suites/certification/Test_TC_OO_2_2.yaml | 33 +- .../suites/certification/Test_TC_OO_2_3.yaml | 319 ++++++------ .../suites/certification/Test_TC_OO_2_4.yaml | 2 +- .../certification/Test_TC_OPCREDS_1_2.yaml | 22 +- .../certification/Test_TC_OPCREDS_3_7.yaml | 3 +- .../certification/Test_TC_OPSTATE_1_1.yaml | 30 +- .../certification/Test_TC_OZCONC_1_1.yaml | 33 +- .../suites/certification/Test_TC_PRS_1_1.yaml | 37 +- .../suites/certification/Test_TC_PRS_2_1.yaml | 24 +- .../suites/certification/Test_TC_PRS_2_2.yaml | 4 +- .../certification/Test_TC_PSCFG_1_1.yaml | 28 +- .../suites/certification/Test_TC_PS_1_1.yaml | 61 +-- .../suites/certification/Test_TC_PS_2_1.yaml | 28 +- .../suites/certification/Test_TC_PS_2_2.yaml | 32 +- .../certification/Test_TC_REFALM_1_1.yaml | 4 +- .../certification/Test_TC_REFALM_2_3.yaml | 184 ++++--- .../suites/certification/Test_TC_RH_1_1.yaml | 21 +- .../suites/certification/Test_TC_RH_2_1.yaml | 4 +- .../suites/certification/Test_TC_RH_2_2.yaml | 14 +- .../certification/Test_TC_RNCONC_1_1.yaml | 33 +- .../certification/Test_TC_RVCCLEANM_1_1.yaml | 32 +- .../certification/Test_TC_RVCCLEANM_3_1.yaml | 3 + .../certification/Test_TC_RVCCLEANM_3_3.yaml | 3 +- .../certification/Test_TC_RVCOPSTATE_1_1.yaml | 28 +- .../certification/Test_TC_RVCRUNM_1_1.yaml | 28 +- .../certification/Test_TC_RVCRUNM_3_3.yaml | 5 +- .../suites/certification/Test_TC_SC_5_1.yaml | 90 +++- .../certification/Test_TC_SMOKECO_2_2.yaml | 3 + .../certification/Test_TC_SMOKECO_2_3.yaml | 3 + .../certification/Test_TC_SMOKECO_2_4.yaml | 8 + .../certification/Test_TC_SMOKECO_2_5.yaml | 22 + .../suites/certification/Test_TC_S_1_1.yaml | 68 +-- .../suites/certification/Test_TC_S_2_1.yaml | 25 +- .../suites/certification/Test_TC_S_2_2.yaml | 2 +- .../suites/certification/Test_TC_S_2_3.yaml | 18 +- .../suites/certification/Test_TC_S_2_4.yaml | 22 +- .../certification/Test_TC_TCCM_1_1.yaml | 6 +- .../certification/Test_TC_TCCM_3_1.yaml | 10 +- .../certification/Test_TC_TCCM_3_2.yaml | 12 +- .../certification/Test_TC_TCCM_3_3.yaml | 16 +- .../certification/Test_TC_TGTNAV_1_9.yaml | 17 +- .../certification/Test_TC_TGTNAV_8_1.yaml | 8 +- .../certification/Test_TC_TIMESYNC_1_1.yaml | 102 ++-- .../suites/certification/Test_TC_TMP_1_1.yaml | 17 +- .../suites/certification/Test_TC_TMP_2_1.yaml | 10 +- .../suites/certification/Test_TC_TMP_2_2.yaml | 12 +- .../certification/Test_TC_TSTAT_1_1.yaml | 137 +++--- .../certification/Test_TC_TSTAT_2_2.yaml | 458 +++++++++--------- .../certification/Test_TC_TSUIC_1_1.yaml | 4 +- .../certification/Test_TC_TSUIC_2_1.yaml | 10 +- .../certification/Test_TC_TSUIC_2_2.yaml | 32 +- .../certification/Test_TC_TVOCCONC_1_1.yaml | 33 +- .../certification/Test_TC_ULABEL_1_1.yaml | 10 +- .../certification/Test_TC_ULABEL_2_1.yaml | 5 +- .../certification/Test_TC_ULABEL_2_2.yaml | 10 +- .../certification/Test_TC_ULABEL_2_3.yaml | 11 +- .../certification/Test_TC_ULABEL_2_4.yaml | 11 +- .../certification/Test_TC_WAKEONLAN_1_5.yaml | 20 +- .../certification/Test_TC_WAKEONLAN_4_1.yaml | 3 +- .../certification/Test_TC_WASHERCTRL_1_1.yaml | 18 +- .../certification/Test_TC_WASHERCTRL_2_1.yaml | 2 +- .../certification/Test_TC_WASHERCTRL_2_2.yaml | 2 +- .../certification/Test_TC_WNCV_1_1.yaml | 14 +- .../certification/Test_TC_WNCV_2_1.yaml | 83 ++-- .../certification/Test_TC_WNCV_2_2.yaml | 22 +- .../certification/Test_TC_WNCV_2_3.yaml | 2 +- .../certification/Test_TC_WNCV_2_4.yaml | 8 +- .../certification/Test_TC_WNCV_2_5.yaml | 2 +- .../certification/Test_TC_WNCV_3_1.yaml | 16 +- .../certification/Test_TC_WNCV_3_2.yaml | 14 +- .../certification/Test_TC_WNCV_3_3.yaml | 16 +- .../certification/Test_TC_WNCV_3_4.yaml | 14 +- .../certification/Test_TC_WNCV_3_5.yaml | 19 +- .../certification/Test_TC_WNCV_4_1.yaml | 16 +- .../certification/Test_TC_WNCV_4_2.yaml | 14 +- .../certification/Test_TC_WNCV_4_3.yaml | 4 +- .../certification/Test_TC_WNCV_4_4.yaml | 4 +- .../certification/Test_TC_WNCV_4_5.yaml | 3 +- .../tests/suites/certification/ci-pics-values | 24 +- 212 files changed, 3540 insertions(+), 2324 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index c54661aae78564..298a360eebb43a 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -838,6 +838,45 @@ PICS: "Does the DUT support sending the DisableActionWithDuration command?" id: ACT.C.C0b.Tx + # + # server / commandsGenerated + # + - label: "Does the device implement of InstantAction command?" + id: ACT.S.C00.Rsp + + - label: "Does the device implement of InstantActionWithTransition command?" + id: ACT.S.C01.Rsp + + - label: "Does the device implement of StartAction command?" + id: ACT.S.C02.Rsp + + - label: "Does the device implement of StartActionWithDuration command?" + id: ACT.S.C03.Rsp + + - label: "Does the device implement of StopAction command?" + id: ACT.S.C04.Rsp + + - label: "Does the device implement of PauseAction command?" + id: ACT.S.C05.Rsp + + - label: "Does the device implement of PauseActionWithDuration command?" + id: ACT.S.C06.Rsp + + - label: "Does the device implement of ResumeAction command?" + id: ACT.S.C07.Rsp + + - label: "Does the device implement of EnableAction command?" + id: ACT.S.C08.Rsp + + - label: "Does the device implement of EnableActionWithDuration command?" + id: ACT.S.C09.Rsp + + - label: "Does the device implement of DisableAction command?" + id: ACT.S.C0a.Rsp + + - label: "Does the device implement of DisableActionWithDuration command?" + id: ACT.S.C0b.Rsp + # # client / manually # @@ -1807,9 +1846,12 @@ PICS: - label: "Does the device implement the DISHM cluster as a server?" id: DISHM.S - - label: "IDoes the DUT support testing the failed ChangeToMode command?" + - label: "Does the DUT support testing the failed ChangeToMode command?" id: DISHM.S.M.CAN_TEST_MODE_FAILURE + - label: "Can the mode changed by manually control at the device?" + id: DISHM.S.M.CAN_MANUALLY_CONTROLLED + # PIXIT - label: @@ -5326,13 +5368,13 @@ PICS: # server / manually # - label: "Can the DUT be brought into a Wired Fault state?" - id: PS.M.ManualWiredFault + id: PS.S.M.ManualWiredFault - label: "Can the DUT be brought into a Battery Fault state?" - id: PS.M.ManualBatFault + id: PS.S.M.ManualBatFault - label: "Can the DUT be brought into a Battery Charge Fault state?" - id: PS.M.ManualBatChargeFault + id: PS.S.M.ManualBatChargeFault # # client / manually @@ -8837,6 +8879,9 @@ PICS: - label: "Does the DUT support testing the failed ChangeToMode command?" id: LWM.S.M.CAN_TEST_MODE_FAILURE + - label: "Can the mode changed by manually control at the device?" + id: LWM.S.M.CAN_MANUALLY_CONTROLLED + - label: "Id of mode the device will fail to transition to, given its current state" diff --git a/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml index cb8ac2ace99c74..e0728d5eed4b7c 100644 --- a/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 0 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: "Step 1: TH1 commissions DUT using admin node ID N1" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -39,7 +39,13 @@ tests: - name: "nodeId" saveAs: commissionerNodeId - - label: "TP2 - Write ACL giving admin privilege on all EP0" + - label: + "Step 2: TH writes the ACL attribute with a list of + AccessControlEntryStruct entries containing 1 elements, granting + itself administer privileges on all of Endpoint 0 : struct a)Fabric + Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE + (2) d)Subjects field: [N1] e)Targets field: [{Cluster: null, Endpoint: + 0, DeviceType: null}]" command: "writeAttribute" attribute: "ACL" arguments: @@ -55,8 +61,9 @@ tests: ] - label: - "TP3 - Read the NOC attribute (Node operational credentials - requires - administer)" + "Step 3: TH reads the NOCs attribute from the Node Operational + Credentials cluster using a fabric-scoped read (requires administer + privilege)" cluster: "Operational Credentials" command: "readAttribute" attribute: "NOCs" @@ -65,7 +72,9 @@ tests: minLength: 1 maxLength: 1 - - label: "TP4 - Write the location attribute (Basic - requires administer)" + - label: + "Step 4: TH writes the Location attribute in the Basic Information + cluster with 'XX' (requires administer privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "Location" @@ -73,8 +82,9 @@ tests: value: "XX" - label: - "TP5 - Send the UpdateFabricLabel command (Node operational - credentials - requires administer)" + "Step 5: TH sends the UpdateFabricLabel command to the Node + Operational Credentials cluster with the Label field set to + 'TestFabric' (requires administer privilege)" cluster: "Operational Credentials" command: "UpdateFabricLabel" arguments: @@ -82,7 +92,9 @@ tests: - name: "Label" value: "TestFabric" - - label: "TP6 - Write NodeLabel attribute (Basic - requires manage)" + - label: + "Step 6: TH writes the NodeLabel attribute in the Basic Information + cluster with the string 'TestNode' (requires manage privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "NodeLabel" @@ -90,7 +102,11 @@ tests: value: "TestNode" - label: - "TP7 - Send TestEventTrigger (General Diagnostics - requires manage)" + "Step 7: TH sends the TestEventTrigger command to the General + Diagnostics cluster with the EnableKey set to 0 and the EventTrigger + set to 0 (requires manage privilege). Note that this will cause an + error to be returned because the EnableKey is invalid, but still + indicates that the TH passed the ACL check." cluster: "General Diagnostics" command: "TestEventTrigger" arguments: @@ -102,14 +118,24 @@ tests: response: error: CONSTRAINT_ERROR - - label: "TP8 - Tead the VendorID attribute (Basic - requires view)" + - label: + "Step 8: TH reads the VendorID attribute from the Basic Information + cluster (requires view privilege)" cluster: "Basic Information" command: "readAttribute" attribute: "VendorID" # MANAGE - label: - "TP9 - Write ACL giving admin privilege ACL, manage for rest of EP0" + "Step 9: TH writes the ACL attribute with a list of + AccessControlEntryStruct entries containing 2 elements, giving itself + administer privilege only on the Access Control cluster and manage + privilege on everything else on EP0 : 1.Struct : a)Fabric Index:1 + b)Privilege field: Administer (5) c)AuthMode field: CASE (2) + d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: + 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Manage (4) + c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: + [{Endpoint: 0}]" command: "writeAttribute" attribute: "ACL" arguments: @@ -133,15 +159,18 @@ tests: ] - label: - "TP10 - Read the NOC attribute (Node operational credentials - - requires administer)" + "Step 10: TH reads the NOCs attribute from the Node Operational + Credentials cluster using a fabric-filtered read (requires administer + privilege)" cluster: "Operational Credentials" command: "readAttribute" attribute: "NOCs" response: error: UNSUPPORTED_ACCESS - - label: "TP11 - Write the location attribute (Basic - requires administer)" + - label: + "Step 11: TH writes the Location attribute in the Basic Information + cluster with 'XX' (requires administer privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "Location" @@ -151,8 +180,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP12 - Send the UpdateFabricLabel command (Node operational - credentials - requires administer)" + "Step 12: TH sends the UpdateFabricLabel command to the operational + credentials cluster with the Label field set to 'TestFabric' (requires + administer privilege)" cluster: "Operational Credentials" command: "UpdateFabricLabel" arguments: @@ -162,7 +192,7 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP13(6) - Write NodeLabel attribute (Basic - requires manage)" + - label: "Step 13a: Write NodeLabel attribute (Basic - requires manage)" cluster: "Basic Information" command: "writeAttribute" attribute: "NodeLabel" @@ -170,7 +200,7 @@ tests: value: "TestNode" - label: - "TP13(7) - Send TestEventTrigger (General Diagnostics - requires + "Step 13b: Send TestEventTrigger (General Diagnostics - requires manage)" cluster: "General Diagnostics" command: "TestEventTrigger" @@ -183,14 +213,22 @@ tests: response: error: CONSTRAINT_ERROR - - label: "TP13(8) - Tead the VendorID attribute (Basic - requires view)" + - label: "Step 13c: Tead the VendorID attribute (Basic - requires view)" cluster: "Basic Information" command: "readAttribute" attribute: "VendorID" # OPERATE - label: - "TP14 - Write ACL giving admin privilege ACL, operate for rest of EP0" + "Step 14: TH writes the ACL attribute with a list of + AccessControlEntryStruct entries containing 2 elements, giving itself + administer privilege only on the Access Control cluster and operate + privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 + b)Privilege field: Administer (5) c)AuthMode field: CASE (2) + d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: + 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Operate (3) + c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: + [{Endpoint: 0}]" command: "writeAttribute" attribute: "ACL" arguments: @@ -214,8 +252,10 @@ tests: ] - label: - "TP15(10) - Read the NOC attribute (Node operational credentials - - requires administer)" + "Step 15a: Repeat steps 10 to 12 to confirm that TH still does not + have administer privileges step:10 p- TH reads the NOCs attribute from + the Node Operational Credentials cluster using a fabric-filtered read + (requires administer privilege)" cluster: "Operational Credentials" command: "readAttribute" attribute: "NOCs" @@ -223,7 +263,8 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP15(11) - Write the location attribute (Basic - requires administer)" + "Step 15b: Repeat step:11 - TH writes the Location attribute in the + Basic Information cluster with 'XX' (requires administer privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "Location" @@ -233,8 +274,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP15(12) - Send the UpdateFabricLabel command (Node operational - credentials - requires administer)" + "Step 15c: Repeat step:12 - TH sends the UpdateFabricLabel command to + the operational credentials cluster with the Label field set to + 'TestFabric' (requires administer privilege) " cluster: "Operational Credentials" command: "UpdateFabricLabel" arguments: @@ -244,7 +286,9 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP16 - Write NodeLabel attribute (Basic - requires manage)" + - label: + "Step 16: TH writes the NodeLabel attribute in the Basic Information + cluster with the string 'TestNode' (requires manage privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "NodeLabel" @@ -254,7 +298,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP17 - Send TestEventTrigger (General Diagnostics - requires manage)" + "Step 17: TH sends the TestEventTrigger command to the General + Diagnostics cluster with the EnableKey set to 0 and the EventTrigger + set to 0. (requires manage privilege)" cluster: "General Diagnostics" command: "TestEventTrigger" arguments: @@ -266,14 +312,25 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP18(8) - Tead the VendorID attribute (Basic - requires view)" + - label: + "Step 18: Repeat step 8 to confirm that the TH still has view + privileges : Step 8 - TH reads the VendorID attribute from the Basic + Information cluster (requires view privilege)" cluster: "Basic Information" command: "readAttribute" attribute: "VendorID" # VIEW - label: - "TP19 - Write ACL giving admin privilege ACL, operate for rest of EP0" + "Step 19: TH1 writes the ACL attribute with a list of + AccessControlEntryStruct entries containing 2 elements, giving itself + administer privilege only on the Access Control cluster and view + privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 + b)Privilege field: Administer (5) c)AuthMode field: CASE (2) + d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: + 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) + c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: + [{Endpoint: 0}]" command: "writeAttribute" attribute: "ACL" arguments: @@ -297,8 +354,10 @@ tests: ] - label: - "TP20(10) - Read the NOC attribute (Node operational credentials - - requires administer)" + "Step 20a: Repeat steps 10 to 12 to confirm that TH still does not + have administer privileges. Repeat step:10 - TH reads the NOCs + attribute from the Node Operational Credentials cluster using a + fabric-filtered read (requires administer privilege)" cluster: "Operational Credentials" command: "readAttribute" attribute: "NOCs" @@ -306,7 +365,8 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP20(11) - Write the location attribute (Basic - requires administer)" + "Step 20b: Repeat step:11 - TH writes the Location attribute in the + Basic Information cluster with 'XX' (requires administer privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "Location" @@ -316,8 +376,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP20(12) - Send the UpdateFabricLabel command (Node operational - credentials - requires administer)" + "Step 20c: Repeat step:12 - TH sends the UpdateFabricLabel command to + the operational credentials cluster with the Label field set to + 'TestFabric' (requires administer privilege)" cluster: "Operational Credentials" command: "UpdateFabricLabel" arguments: @@ -327,7 +388,11 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP21(16) - Write NodeLabel attribute (Basic - requires manage)" + - label: + "Step 21a: Repeat steps 16 to 17 to confirm that TH still does not + have manage privileges. Step 16 : TH writes the NodeLabel attribute in + the Basic Information cluster with the string 'TestNode' (requires + manage privilege) " cluster: "Basic Information" command: "writeAttribute" attribute: "NodeLabel" @@ -337,8 +402,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP21(17) - Send TestEventTrigger (General Diagnostics - requires - manage)" + "Step 21b: Repeat steps 17 : TH sends the TestEventTrigger command to + the General Diagnostics cluster with the EnableKey set to 0 and the + EventTrigger set to 0. (requires manage privilege)" cluster: "General Diagnostics" command: "TestEventTrigger" arguments: @@ -350,13 +416,19 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP22(8) - Tead the VendorID attribute (Basic - requires view)" + - label: "Step 22: Tead the VendorID attribute (Basic - requires view)" cluster: "Basic Information" command: "readAttribute" attribute: "VendorID" # NO PRIVILEGE - - label: "TP23 - Write ACL giving only admin privilege ACL cluster" + - label: + "Step 23: TH writes the ACL attribute with a list of + AccessControlEntryStruct entries containing a single element, granting + Administer privilege on only the Access Control cluster and no other + access : 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer + (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: + [{Cluster: 0x001F, Endpoint: 0}]" command: "writeAttribute" attribute: "ACL" arguments: @@ -372,8 +444,10 @@ tests: ] - label: - "TP24(10) - Read the NOC attribute (Node operational credentials - - requires administer)" + "Step 24a: Repeat steps 10 to 12 to confirm that TH still does not + have administer privileges. Repeat step:10 - TH reads the NOCs + attribute from the Node Operational Credentials cluster using a + fabric-filtered read (requires administer privilege) " cluster: "Operational Credentials" command: "readAttribute" attribute: "NOCs" @@ -381,7 +455,8 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP24(11) - Write the location attribute (Basic - requires administer)" + "TStep 24b: Repeat step:11 - TH writes the Location attribute in the + Basic Information cluster with 'XX' (requires administer privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "Location" @@ -391,8 +466,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP24(12) - Send the UpdateFabricLabel command (Node operational - credentials - requires administer)" + "Step 24c: Repeat step:12 - TH sends the UpdateFabricLabel command to + the operational credentials cluster with the Label field set to + 'TestFabric' (requires administer privilege)" cluster: "Operational Credentials" command: "UpdateFabricLabel" arguments: @@ -402,7 +478,11 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP25(16) - Write NodeLabel attribute (Basic - requires manage)" + - label: + "Step 25a: Repeat steps 16 to 17 to confirm that TH still does not + have manage privileges. Step 16 : TH writes the NodeLabel attribute in + the Basic Information cluster with the string 'TestNode' (requires + manage privilege)" cluster: "Basic Information" command: "writeAttribute" attribute: "NodeLabel" @@ -412,8 +492,9 @@ tests: error: UNSUPPORTED_ACCESS - label: - "TP25(17) - Send TestEventTrigger (General Diagnostics - requires - manage)" + "Step 25b: Repeat steps 17 : TH sends the TestEventTrigger command to + the General Diagnostics cluster with the EnableKey set to 0 and the + EventTrigger set to 0. (requires manage privilege)" cluster: "General Diagnostics" command: "TestEventTrigger" arguments: @@ -425,14 +506,21 @@ tests: response: error: UNSUPPORTED_ACCESS - - label: "TP26 - Tead the VendorID attribute (Basic - requires view)" + - label: + "Step 26: TH reads the VendorID attribute from the Basic Information + cluster (requires view privilege)" cluster: "Basic Information" command: "readAttribute" attribute: "VendorID" response: error: UNSUPPORTED_ACCESS - - label: "TP27 - Write ACL to restore full access" + - label: + "Step 27: TH writes the ACL attribute with a list of + AccessControlEntryStruct entries containing a single element, + restoring full access to the node. Struct : a)Fabric Index: 1 + b)Privilege field: Administer (5) c)AuthMode field: CASE (2) + d)Subjects field: [N1] e)Targets field: null" command: "writeAttribute" attribute: "ACL" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml b/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml index 05ab09f80501e5..34faee27709d22 100644 --- a/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACE_1_5.yaml @@ -36,7 +36,7 @@ config: defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf" tests: - - label: "Step 1: Wait for the commissioned device to be retrieved for TH1" + - label: "Step 1: TH1 commissions DUT using admin node ID N1" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -81,7 +81,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 2: Open Commissioning Window from alpha" + - label: "Step 2: TH1 opens the commissioning window on the DUT" cluster: "Administrator Commissioning" command: "OpenCommissioningWindow" timedInteractionTimeoutMs: 10000 @@ -108,7 +108,7 @@ tests: - name: "ms" value: waitAfterCommissioning - - label: "Step 3: Commission from TH2" + - label: "Step 3: TH2 commissions DUT using admin node ID N2" identity: "beta" cluster: "CommissionerCommands" command: "PairWithCode" @@ -130,7 +130,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 4: TH2 reads the fabric index" + - label: + "Step 4: TH2 reads its fabric index from the Operational Credentials + cluster CurrentFabricIndex attribute" identity: "beta" PICS: PICS_SDK_CI_ONLY cluster: "Operational Credentials" @@ -169,7 +171,14 @@ tests: saveAs: commissionerNodeIdAlpha - label: - "Step 5: TH1 writes ACL giving view privilege for descriptor cluster" + "Step 5: TH1 writes DUT Endpoint 0 AccessControl cluster ACL + attribute,value is list of AccessControlEntryStruct containing 2 + elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer + (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets + field:[{Cluster: AccessControl (0x001f), Endpoint: 0}] 2.struct : + a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE + (2) d)Subjects field: null e)Targets field: [{Cluster: Descriptor + (0x001d), Endpoint: 0}]" command: "writeAttribute" attribute: "ACL" arguments: @@ -202,7 +211,12 @@ tests: - name: "nodeId" saveAs: commissionerNodeIdBeta - - label: "Step 6: TH2 writes ACL giving view privilge for basic cluster" + - label: + "Step 6: TH2 writes DUT Endpoint 0 AccessControl cluster ACL + attribute,value is list of AccessControlEntryStruct containing 2 + elements 1.Struct : a)Fabric Index: th2FabricIndex b)Privilege field: + Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N2] + e)Targets field: [{Cluster: AccessControl (0x001f), Endpoint: 0}]" identity: beta PICS: PICS_SDK_CI_ONLY command: "writeAttribute" @@ -249,21 +263,25 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 7: TH1 reads descriptor cluster - expect SUCCESS" + - label: + "Step 7: TH1 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList + attribute" command: "readAttribute" cluster: "Descriptor" attribute: "DeviceTypeList" - label: "Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID - attribute - expect UNSUPPORTED_ACCESS" + attribute" command: "readAttribute" cluster: "Basic Information" attribute: "VendorID" response: error: UNSUPPORTED_ACCESS - - label: "Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS" + - label: + "Step 9: TH2 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList + attribute" identity: "beta" PICS: PICS_SDK_CI_ONLY command: "readAttribute" @@ -295,7 +313,7 @@ tests: - label: "Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID - attribute - expect SUCCESS" + attribute" identity: "beta" PICS: PICS_SDK_CI_ONLY command: "readAttribute" @@ -324,7 +342,12 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 11: TH1 resets ACL to default" + - label: + "Step 11: TH1 resets the ACLs to the default value bywriting DUT + Endpoint 0 AccessControl cluster ACL attribute,value is list of + AccessControlEntryStruct containing 1 elements 1.Struct : a)Fabric + Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) + d)Subjects field: [N1] e)Targets field: null" command: "writeAttribute" attribute: "ACL" arguments: @@ -338,7 +361,9 @@ tests: }, ] - - label: "Step 12: TH1 sends RemoveFabric command for TH2" + - label: + "Step 12: TH1 removes the TH2 fabric by sending the RemoveFabric + command to the DUT with the FabricIndex set to th2FabricIndex" cluster: "Operational Credentials" PICS: PICS_SDK_CI_ONLY command: "RemoveFabric" @@ -348,7 +373,9 @@ tests: value: th2FabricIndex #Issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/768 - - label: "Step 12: TH1 sends RemoveFabric command for TH2" + - label: + "Step 12: TH1 removes the TH2 fabric by sending the RemoveFabric + commandto the DUT with the FabricIndex set to th2FabricIndex" verification: | ./chip-tool operationalcredentials remove-fabric 2 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_ACFREMON_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACFREMON_1_1.yaml index a96963ee818858..a354e1c53c1203 100644 --- a/src/app/tests/suites/certification/Test_TC_ACFREMON_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACFREMON_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" PICS: "!ACFREMON.S.F00 && !ACFREMON.S.F01 && !ACFREMON.S.F02" @@ -81,7 +83,7 @@ tests: type: bitmap32 hasMasksSet: [0x4] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -90,7 +92,7 @@ tests: type: list contains: [2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -100,7 +102,7 @@ tests: contains: [2, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the feature dependent(ACFREMON.S.F00) attribute in + "Step 4b: TH reads the feature dependent(ACFREMON.S.F00) attribute in AttributeList" PICS: ACFREMON.S.F00 command: "readAttribute" @@ -111,7 +113,7 @@ tests: contains: [0, 1, 2] - label: - "Step 4c: Read the optional attribute InPlaceIndicator + "Step 4c: TH reads the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList" PICS: ACFREMON.S.A0003 command: "readAttribute" @@ -122,7 +124,7 @@ tests: contains: [3] - label: - "Step 4d: Read the optional attribute LastChangedTime + "Step 4d: TH reads the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList" PICS: ACFREMON.S.A0004 command: "readAttribute" @@ -133,7 +135,7 @@ tests: contains: [4] - label: - "Step 4e: Read the optional attribute ReplacementProductList + "Step 4e: TH reads the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList" PICS: ACFREMON.S.F02 command: "readAttribute" @@ -152,7 +154,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." PICS: "!ACFREMON.S.C00.Rsp" command: "readAttribute" attribute: "AcceptedCommandList" @@ -162,7 +164,7 @@ tests: type: list - label: - "Step 6: Read the optional command (ResetCondition) in + "Step 6b: TH reads the optional command (ResetCondition) in AcceptedCommandList" PICS: ACFREMON.S.C00.Rsp command: "readAttribute" @@ -172,7 +174,7 @@ tests: type: list contains: [0] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml index 797e87c5adfe18..7ae2ff3fb697ad 100644 --- a/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -52,15 +54,23 @@ tests: minValue: 0 maxValue: 1 - - label: "Step 4: TH reads from the DUT the ChangeIndication attribute." - PICS: ACFREMON.S.A0002 + - label: "Step 4a: TH reads from the DUT the ChangeIndication attribute." + PICS: " ACFREMON.S.A0002 && !ACFREMON.S.F01 " command: "readAttribute" attribute: "ChangeIndication" response: constraints: type: enum8 - minValue: 0 - maxValue: 2 + anyOf: [0, 2] + + - label: "Step 4b: TH reads from the DUT the ChangeIndication attribute." + PICS: ACFREMON.S.F01 && ACFREMON.S.A0002 + command: "readAttribute" + attribute: "ChangeIndication" + response: + value: 1 + constraints: + type: enum8 - label: "Step 5: TH reads from the DUT the InPlaceIndicator attribute" PICS: ACFREMON.S.A0003 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml index 7758d8d5c1cdea..98197f93ba4b27 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml @@ -24,7 +24,7 @@ config: endpoint: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: TH1 commissions DUT using admin node ID N1" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -32,7 +32,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT" + - label: + "Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster + SubjectsPerAccessControlEntry attribute" PICS: ACL.S.A0002 command: "readAttribute" attribute: "SubjectsPerAccessControlEntry" @@ -42,7 +44,9 @@ tests: minValue: 4 maxValue: 65535 - - label: "Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT" + - label: + "Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster + TargetsPerAccessControlEntry attribute" PICS: ACL.S.A0003 command: "readAttribute" attribute: "TargetsPerAccessControlEntry" @@ -52,12 +56,14 @@ tests: minValue: 3 maxValue: 65535 - - label: "Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT" + - label: + "Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster + AccessControlEntriesPerFabric attribute" PICS: ACL.S.A0004 command: "readAttribute" attribute: "AccessControlEntriesPerFabric" response: constraints: type: int16u - minValue: 3 + minValue: 4 maxValue: 65535 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml index 2dac5acd518d17..ed5c25008932a6 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml @@ -45,7 +45,7 @@ config: defaultValue: "hex:17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018" tests: - - label: "Step 1:Wait for the commissioned device to be retrieved" + - label: "Step 1:TH1 commissions DUT using admin node ID N1" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -70,7 +70,9 @@ tests: response: saveAs: TH1FabricIndex - - label: "Step 3:TH1 puts DUT into commissioning mode" + - label: + "Step 3:TH1 puts DUT into commissioning mode, TH2 commissions DUT + using admin node ID N2" PICS: PICS_SDK_CI_ONLY && CADMIN.S.C00.Rsp cluster: "Administrator Commissioning" command: "OpenCommissioningWindow" @@ -193,7 +195,12 @@ tests: value: "y" - label: - "Step 5:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute" + "Step 5:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, + value is list of AccessControlEntryStruct containing 2 elements + 1.struct : a)Privilege field: Administer (5) b)AuthMode field: CASE + (2) c)Subjects field: [N1, 1111] d)Targets field: null 2.Struct : + a)Privilege field: Operate (3) b)AuthMode field: Group (3) c)Subjects + field: [3333] d)Targets field: null" PICS: ACL.S.A0000 command: "writeAttribute" attribute: "ACL" @@ -217,7 +224,12 @@ tests: ] - label: - "Step 6:TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute" + "Step 6:TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute + value is list of AccessControlEntryStruct containing 2 elements + 1.Struct : a)Privilege field: Administer (5) b)AuthMode field: CASE + (2) c)Subjects field: [N2, 2222] d)Targets field: null 2.Struct : + a)Privilege field: Operate (3) b)AuthMode field: Group (3) c)Subjects + field: [4444] d)Targets field: null" PICS: ACL.S.A0000 && PICS_SDK_CI_ONLY identity: "beta" command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml index af287a4fa97869..1e769ec3c362ad 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml @@ -17,6 +17,7 @@ name: 133.2.3. [TC-ACL-2.3] Extension attribute PICS: - ACL.S + - ACL.S.A0001 config: nodeId: 0x12344321 @@ -54,7 +55,7 @@ config: defaultValue: "" tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: TH1 commissions DUT using admin node ID N1" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml index 6b8e1d507b5bfd..22ce1c1451f5a4 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml @@ -55,7 +55,10 @@ tests: saveAs: CurrentFabricIndexValue - label: - "Step 2:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute" + "Step 2:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, + value is list of AccessControlEntryStruct containing 1 element + 1.Struct : a)Privilege field: Manage (4) b)AuthMode field: CASE (2) + c)Subjects field: [N1] d)Targets field: null" PICS: ACL.S.A0000 command: "writeAttribute" attribute: "ACL" @@ -80,7 +83,10 @@ tests: error: UNSUPPORTED_ACCESS - label: - "Step 4:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute" + "Step 4:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, + value is list of AccessControlEntryStruct containing 1 element + 1.Struct : a)Privilege field: Administer (5) b)AuthMode field: CASE + (2) c)Subjects field: [N1] d)argets field: null" PICS: ACL.S.A0000 command: "writeAttribute" attribute: "ACL" @@ -109,7 +115,7 @@ tests: - label: "Step 6:TH1 writes DUT Endpoint 0 AccessControl cluster Extension - attribute" + attribute, value is an empty list" PICS: ACL.S.A0001 command: "writeAttribute" attribute: "Extension" diff --git a/src/app/tests/suites/certification/Test_TC_AIRQUAL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_AIRQUAL_1_1.yaml index bf8419269d26a5..5bb595f91fa807 100644 --- a/src/app/tests/suites/certification/Test_TC_AIRQUAL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_AIRQUAL_1_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" PICS: @@ -93,7 +93,7 @@ tests: type: bitmap32 hasMasksSet: [0x8] - - label: "Step 4: Read the global attribute: AttributeList" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -102,7 +102,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: Read the global attribute: AttributeList" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -111,7 +111,7 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH reads EventList attribute from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -120,7 +120,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -128,7 +128,7 @@ tests: type: list contains: [] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml b/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml index b60b6d484f7ce0..83585130d7401d 100644 --- a/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2: Read the global attribute: FeatureMap" + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -49,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3: Read the global attribute: AttributeList" + - label: "Step 3: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -58,7 +58,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -67,7 +67,7 @@ tests: type: list contains: [65528, 65529, 65531, 65532, 65533] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -75,7 +75,7 @@ tests: type: list contains: [0, 2, 3] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -83,7 +83,7 @@ tests: type: list contains: [1] - - label: "Step 6: TH reads EventList attribute from DUT" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml b/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml index 7c79ec9d5a8920..44e11d6cb3b53e 100644 --- a/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2: Read FeatureMap attribute from the DUT" + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -49,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -59,7 +59,7 @@ tests: contains: [2, 4, 5, 6, 7, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -68,7 +68,8 @@ tests: type: list contains: [2, 4, 5, 6, 7, 65528, 65529, 65531, 65532, 65533] - - label: "Step 3b: Read the optional attribute(VendorName) in AttributeList" + - label: + "Step 3b: TH reads the optional attribute(VendorName) in AttributeList" PICS: APBSC.S.A0000 command: "readAttribute" attribute: "AttributeList" @@ -77,7 +78,8 @@ tests: type: list contains: [0] - - label: "Step 3c: Read the optional attribute(VendorID) in AttributeList" + - label: + "Step 3c: TH reads the optional attribute(VendorID) in AttributeList" PICS: APBSC.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -86,7 +88,8 @@ tests: type: list contains: [1] - - label: "Step 3d: Read the optional attribute(ProductID) in AttributeList" + - label: + "Step 3d: TH reads the optional attribute(ProductID) in AttributeList" PICS: APBSC.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -95,7 +98,7 @@ tests: type: list contains: [3] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -103,7 +106,7 @@ tests: constraints: type: list - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -111,7 +114,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml b/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml index b170eb0aec2e02..af5a9e00a57093 100644 --- a/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Reads the VendorName attribute" + - label: "Step 1: TH reads the VendorName attribute from the DUT" PICS: APBSC.S.A0000 command: "readAttribute" attribute: "VendorName" @@ -40,7 +40,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 2: Reads the VendorID attribute" + - label: "Step 2: TH reads the VendorID attribute from the DUT" PICS: APBSC.S.A0001 command: "readAttribute" attribute: "VendorID" @@ -48,7 +48,7 @@ tests: constraints: type: vendor_id - - label: "Step 3: Reads the ApplicationName attribute" + - label: "Step 3: TH reads the ApplicationName attribute from the DUT" PICS: APBSC.S.A0002 command: "readAttribute" attribute: "ApplicationName" @@ -57,7 +57,7 @@ tests: type: long_char_string maxLength: 256 - - label: "Step 4: Reads the ProductID attribute" + - label: "Step 4: TH reads the ProductID attribute from the DUT" PICS: APBSC.S.A0003 command: "readAttribute" attribute: "ProductID" @@ -67,7 +67,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 5: Reads the Application attribute" + - label: "Step 5: TH reads the Application attribute from the DUT" PICS: APBSC.S.A0004 command: "readAttribute" attribute: "Application" @@ -75,7 +75,7 @@ tests: constraints: type: ApplicationStruct - - label: "Step 6: Reads the Status attribute" + - label: "Step 6: TH reads the Status attribute from the DUT" PICS: APBSC.S.A0005 command: "readAttribute" attribute: "Status" @@ -84,7 +84,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 7: Reads the ApplicationVersion attribute" + - label: "Step 7: TH reads the ApplicationVersion attribute from the DUT" PICS: APBSC.S.A0006 command: "readAttribute" attribute: "ApplicationVersion" @@ -93,7 +93,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 8: Reads the AllowedVendorList attribute" + - label: "Step 8: TH reads the AllowedVendorList attribute from the DUT" PICS: APBSC.S.A0007 command: "readAttribute" attribute: "AllowedVendorList" diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml index f1198214bb2ab8..e7f3817a6a8084 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2a: Read the global attribute: FeatureMap" + - label: "Step 2a: TH reads the FeatureMap attribute from the DUT" PICS: APPLAUNCHER.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -50,7 +50,7 @@ tests: constraints: type: bitmap32 - - label: "Step 2b: Read the global attribute: FeatureMap" + - label: "Step 2b: TH reads the FeatureMap attribute from the DUT" PICS: " !APPLAUNCHER.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +59,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +68,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -78,7 +78,8 @@ tests: contains: [65528, 65529, 65531, 65532, 65533] - label: - "Step 3b: Read the optional attribute(CatalogList) in AttributeList" + "Step 3b: TH reads the optional attribute(CatalogList) in + AttributeList" PICS: APPLAUNCHER.S.A0000 command: "readAttribute" attribute: "AttributeList" @@ -87,7 +88,8 @@ tests: type: list contains: [0] - - label: "Step 3c: Read the optional attribute(CurrentApp) in AttributeList" + - label: + "Step 3c: TH reads the optional attribute(CurrentApp) in AttributeList" PICS: APPLAUNCHER.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -96,7 +98,7 @@ tests: type: list contains: [1] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -104,7 +106,7 @@ tests: type: list contains: [0, 1, 2] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -112,7 +114,7 @@ tests: type: list contains: [3] - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_5.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_5.yaml index 20bd5033228d3e..7c01e1891d40ee 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_5.yaml @@ -34,9 +34,10 @@ tests: # Issue 13029 #this step implicitly validating the attribute(CatalogList)constraints, as long as the payload is being parsed successfully - label: - "Step 1: TH reads CatalogList attribute from the DUT and where each - entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit - integer ranging between 0-65536 for the catalog" + "Step 1: TH reads CatalogList attribute from the DUT for the list of + supported application catalogs and where each entry in the list is a + CSA-issued Vendor Id of type unsigned 16 bit integer ranging between + 0-65536 for the catalog" PICS: APPLAUNCHER.S.A0000 command: "readAttribute" attribute: "CatalogList" diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml index d4044cd6077725..f3e01ccc291e7c 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml @@ -12,7 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 19.4.3. [TC-APPLAUNCHER-3.7] Launch Application Verification +name: + 19.4.3. [TC-APPLAUNCHER-3.7] Launch Application Verification (DUT as Client) PICS: - APPLAUNCHER.S @@ -37,7 +38,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Launch an app with the provided a application ID" + - label: + "Step 1: TH sends a LaunchApp command to DUT to launch and bring an + application to the foreground" PICS: APPLAUNCHER.S.C00.Rsp command: "LaunchApp" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml index 94a5bcc223f015..9c749c330fbeab 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml @@ -39,7 +39,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Stop an app with the provided application ID" + - label: + "Step 1a: TH sends a StopApp command to DUT to stop a running + application" PICS: APPLAUNCHER.S.C01.Rsp command: "StopApp" arguments: @@ -55,7 +57,7 @@ tests: - name: "Status" value: 0 - - label: "Step 2: Reads the Status attribute" + - label: "Step 1b: TH reads the Status attribute" endpoint: ApplicationBasic.Endpoint cluster: "Application Basic" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml index a61053a4f1f667..a799e7d3609900 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml @@ -39,7 +39,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH sends HideApp command to DUT" + - label: + "Step 1a: TH sends a HideApp command to DUT to Hide a running and + Active application" PICS: APPLAUNCHER.S.C02.Rsp command: "HideApp" arguments: @@ -51,7 +53,7 @@ tests: ApplicationID: applicationId, } - - label: "Step 2: Reads the Status attribute" + - label: "Step 1b: TH reads the Status attribute" endpoint: ApplicationBasic.Endpoint cluster: "Application Basic" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml index b00040339a5693..49d43cb8a23659 100644 --- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2a: Read the global attribute: FeatureMap" + - label: "Step 2a: TH reads the FeatureMap attribute from the DUT" PICS: AUDIOOUTPUT.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -50,7 +50,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 2b: Read the global attribute: FeatureMap" + - label: "Step 2b: TTH reads the FeatureMap attribute from the DUT" PICS: " !AUDIOOUTPUT.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +59,7 @@ tests: type: bitmap32 hasMasksClear: [0x1] - - label: "Step 3: Read the global attribute: AttributeList" + - label: "Step 3: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +68,7 @@ tests: type: list contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3: Read the global attribute: AttributeList" + - label: "Step 3: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -77,7 +77,7 @@ tests: type: list contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -85,7 +85,7 @@ tests: type: list contains: [0] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -93,7 +93,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" 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 c761f00bc00760..22036e5c7bc7f6 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 @@ -34,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Reads the OutputList attribute" + - label: "Step 1: TH reads the OutputList attribute" PICS: AUDIOOUTPUT.S.A0000 command: "readAttribute" attribute: "OutputList" @@ -42,7 +42,9 @@ tests: constraints: type: list - - label: "Step 2: Sends a SelectAudioOutput command" + - label: + "Step 2: TH sends a SelectAudioOutput command to the DUT with an index + from the list in step 1" PICS: AUDIOOUTPUT.S.C00.Rsp command: "SelectOutput" arguments: @@ -50,7 +52,7 @@ tests: - name: "Index" value: Index - - label: "Step 3: Reads the CurrentOutput attribute" + - label: "Step 3: TH reads the CurrentOutput attribute from the DUT" PICS: AUDIOOUTPUT.S.A0001 && AUDIOOUTPUT.S.C00.Rsp command: "readAttribute" attribute: "CurrentOutput" 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 851185d2a19c77..8c76ce6e07d152 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 @@ -60,7 +60,11 @@ tests: "Step 3: TH reads the OutputList attribute from the DUT. Verify that the output at the index provided in step 2 has the name CertTest" verification: | + The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): ./chip-tool audiooutput read output-list 1 1 + ./chip-tv-casting-app audiooutput read output-list 1 1 + + On TH(chip-tool), Verify that the output at the index provided in step 2 has the name "CertTest". [1651061821.366426][156898:156903] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_050B Attribute 0x0000_0000 DataVersion: 372822880 [1651061821.366510][156898:156903] CHIP:TOO: OutputList: 3 entries [1651061821.366575][156898:156903] CHIP:TOO: [1]: { @@ -68,6 +72,16 @@ tests: [1651061821.366619][156898:156903] CHIP:TOO: OutputType: 0 [1651061821.366635][156898:156903] CHIP:TOO: Name: CertTest [1651061821.366651][156898:156903] CHIP:TOO: } + [1651061821.366675][156898:156903] CHIP:TOO: [2]: { + [1651061821.366690][156898:156903] CHIP:TOO: Index: 2 + [1651061821.366705][156898:156903] CHIP:TOO: OutputType: 0 + [1651061821.366719][156898:156903] CHIP:TOO: Name: HDMI + [1651061821.366734][156898:156903] CHIP:TOO: } + [1651061821.366755][156898:156903] CHIP:TOO: [3]: { + [1651061821.366770][156898:156903] CHIP:TOO: Index: 3 + [1651061821.366785][156898:156903] CHIP:TOO: OutputType: 0 + [1651061821.366799][156898:156903] CHIP:TOO: Name: HDMI + [1651061821.366814][156898:156903] CHIP:TOO: } cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && AUDIOOUTPUT.S.A0001 && AUDIOOUTPUT.S.C01.Rsp diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml index 1f909b06b83b1a..6a9c2eb23074b9 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml @@ -12,9 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: - 12.1.1. [TC-BINFO-1.1] Global Attributes for Basic Information Cluster - [DUT-Server] +name: 12.1.1. [TC-BINFO-1.1] Global Attributes with DUT as Server PICS: - BINFO.S @@ -184,6 +182,17 @@ tests: type: list contains: [18] + - label: + "Step 4j: TH reads optional attribute(ProductAppearance) in + attributeList" + PICS: BINFO.S.A0014 + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [20] + - label: "Step 5a: TH reads EventList from DUT" PICS: " !BINFO.S.E00 && !BINFO.S.E01 && !BINFO.S.E02 && !BINFO.S.A0011 && @@ -195,7 +204,7 @@ tests: constraints: type: list - - label: "Step 5b: Read BINFO.S.E00(StartUp) event in EventList" + - label: "Step 5b: TH reads BINFO.S.E00(StartUp) event in EventList" PICS: BINFO.S.E00 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -204,7 +213,7 @@ tests: type: list contains: [0] - - label: "Step 5c: Read BINFO.S.E01(ShutDown) event in EventList" + - label: "Step 5c: TH reads BINFO.S.E01(ShutDown) event in EventList" PICS: BINFO.S.E01 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -213,7 +222,7 @@ tests: type: list contains: [1] - - label: "Step 5d: Read BINFO.S.E02(Leave) event in EventList" + - label: "Step 5d: TH reads BINFO.S.E02(Leave) event in EventList" PICS: BINFO.S.E02 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -222,7 +231,7 @@ tests: type: list contains: [2] - - label: "Step 5e: Read (ReachableChanged) event in EventList" + - label: "Step 5e: TH reads (ReachableChanged) event in EventList" PICS: BINFO.S.A0011 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml index 77dca1f2a1267d..b3f1cea227d689 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml @@ -98,7 +98,7 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 3: TH writes DataModelRevision from the DUT." + - label: "Step 3: TH writes DataModelRevision as '0x1124' " PICS: BINFO.S.A0000 command: "writeAttribute" attribute: "DataModelRevision" @@ -133,7 +133,7 @@ tests: response: error: UNSUPPORTED_WRITE - - label: "Step 7: reads VendorName from the DUT." + - label: "Step 7: TH reads VendorName from the DUT." PICS: BINFO.S.A0001 command: "readAttribute" attribute: "VendorName" @@ -163,7 +163,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 9: TH writes VendorID from the DUT." + - label: "Step 9: TH writes VendorID as '0x0011' " PICS: BINFO.S.A0002 command: "writeAttribute" attribute: "VendorID" @@ -216,7 +216,7 @@ tests: minValue: 1 maxValue: 65534 - - label: "Step 15: TH writes ProductID from the DUT." + - label: "Step 15: TH writes ProductID as '0x4521' " PICS: BINFO.S.A0004 command: "writeAttribute" attribute: "ProductID" @@ -286,7 +286,10 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 20b: TH write Location from the DUT" + - label: + "Step 20b: TH selects a country code value that is different from the + CountryCode saved from step1 and known to be supported on the DUT. TH + writes this value to Location" PICS: BINFO.S.A0006 command: "writeAttribute" attribute: "Location" @@ -311,7 +314,7 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 22: TH writes HardwareVersion from the DUT." + - label: "Step 22: TH writes HardwareVersion as '0x4531'" PICS: BINFO.S.A0007 command: "writeAttribute" attribute: "HardwareVersion" @@ -377,7 +380,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 28: TH writes SoftwareVersion from the DUT." + - label: "Step 28: TH writes SoftwareVersion as '0x8213'" PICS: BINFO.S.A0009 command: "writeAttribute" attribute: "SoftwareVersion" @@ -403,7 +406,7 @@ tests: minLength: 1 maxLength: 64 - - label: "Step 31: TH writes SoftwareVersionString from the DUT." + - label: "Step 31: TH writes SoftwareVersionString as '1.0'" PICS: BINFO.S.A000a command: "writeAttribute" attribute: "SoftwareVersionString" @@ -443,7 +446,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 34: TH writes ManufacturingDate from the DUT." + - label: "Step 34: TH writes ManufacturingDate as '20210814789452IN'" PICS: BINFO.S.A000b command: "writeAttribute" attribute: "ManufacturingDate" @@ -508,7 +511,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 40: TH writes ProductURL from the DUT." + - label: "Step 40: TH writes ProductURL as 'https://www.example.com'" PICS: BINFO.S.A000d command: "writeAttribute" attribute: "ProductURL" @@ -675,7 +678,9 @@ tests: response: saveAs: CapabilityMinimaValue - - label: "Step 57: TH writes CapabilityMinima from the DUT." + - label: + "Step 57: TH writes the CapabilityMinima value with + CaseSessionsPerFabric set to 4 and SubscriptionsPerFabric set to 4" PICS: BINFO.S.A0013 command: "writeAttribute" attribute: "CapabilityMinima" diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml index e6496d9fa5c29d..2ba9f3527c4f6d 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml @@ -92,7 +92,7 @@ tests: cluster: "SystemCommands" command: "Reboot" - - label: "Step 1: Reboot target device(DUT)" + - label: "Step 1a: Reboot target device(DUT)" verification: | Did the DUT successfully reboot? cluster: "LogCommands" @@ -113,7 +113,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the StartUp event from DUT" + - label: "Step 1b: TH reads the StartUp event from DUT" PICS: BINFO.S.E00 command: "readEvent" event: "StartUp" @@ -132,7 +132,7 @@ tests: value: "y" - label: - "Step 3: TH subscribes to the ShutDown event on the DUT. Shutdown DUT." + "Step 2: TH subscribes to the ShutDown event on the DUT. Shutdown DUT." PICS: BINFO.S.E01 command: "subscribeEvent" event: "ShutDown" diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml index f2ab373668f962..577faef5c282fa 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read mandatory non-global attribute: StateValue" + - label: "Step 2: TH reads the StateValue attribute from the DUT" PICS: BOOL.S.A0000 command: "readAttribute" attribute: "StateValue" diff --git a/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml index 2112bad42bf989..184d167b37c53a 100644 --- a/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml @@ -207,7 +207,27 @@ tests: type: list contains: [18] - - label: "Step 5a: TH reads optional event(StartUp) in EventList" + - label: + "Step 4p: TH reads optional attribute(ProductAppearance) in + AttributeList" + PICS: BRBINFO.S.A0014 + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [20] + + - label: "Step 5a: TH reads from the DUT the EventList attribute" + PICS: PICS_EVENT_LIST_ENABLED + command: "readAttribute" + attribute: "EventList" + response: + constraints: + type: list + contains: [3] + + - label: "Step 5b: TH reads optional event(StartUp) in EventList" PICS: BRBINFO.S.E00 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -216,7 +236,7 @@ tests: type: list contains: [0] - - label: "Step 5b: TH reads optional attribute(ShutDown) in EventList" + - label: "Step 5c: TH reads optional attribute(ShutDown) in EventList" PICS: BRBINFO.S.E01 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -225,7 +245,7 @@ tests: type: list contains: [1] - - label: "Step 5c: TH reads optional attribute(Leave) in EventList" + - label: "Step 5d TH reads optional attribute(Leave) in EventList" PICS: BRBINFO.S.E02 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_BRBINFO_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BRBINFO_2_1.yaml index 8f37c84f6f6811..221cd35b5ed526 100644 --- a/src/app/tests/suites/certification/Test_TC_BRBINFO_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BRBINFO_2_1.yaml @@ -59,7 +59,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 6: TH writes VendorName from the DUT." + - label: "Step 6: TH writes VendorName as 'sample'" PICS: BRBINFO.S.A0001 command: "writeAttribute" attribute: "VendorName" @@ -98,7 +98,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 9: TH writes VendorID from the DUT." + - label: "Step 9: TH writes VendorID as '0x0011'" PICS: BRBINFO.S.A0002 command: "writeAttribute" attribute: "VendorID" @@ -124,7 +124,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 12: TH writes ProductName from the DUT." + - label: "Step 12: TH writes ProductName as 'newproduct'" PICS: BRBINFO.S.A0003 command: "writeAttribute" attribute: "ProductName" @@ -243,7 +243,7 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 22: TH writes HardwareVersion from the DUT." + - label: "Step 22: TH writes HardwareVersion as '0x4531'" PICS: BRBINFO.S.A0007 command: "writeAttribute" attribute: "HardwareVersion" @@ -270,7 +270,7 @@ tests: minLength: 1 maxLength: 64 - - label: "Step 25: TH writes HardwareVersionString from the DUT." + - label: "Step 25: TH writes HardwareVersionString as 'newhardwareversion'" PICS: BRBINFO.S.A0008 command: "writeAttribute" attribute: "HardwareVersionString" @@ -296,7 +296,7 @@ tests: minValue: 0 maxValue: 4294967294 - - label: "Step 28: TH writes SoftwareVersion from the DUT." + - label: "Step 28: TH writes SoftwareVersion as '0x8213'" PICS: BRBINFO.S.A0009 command: "writeAttribute" attribute: "SoftwareVersion" @@ -322,7 +322,7 @@ tests: minLength: 1 maxLength: 64 - - label: "Step 31: TH writes SoftwareVersionString from the DUT." + - label: "Step 31: TH writes SoftwareVersionString as '1.0'" PICS: BRBINFO.S.A000a command: "writeAttribute" attribute: "SoftwareVersionString" @@ -362,7 +362,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 34: TH writes ManufacturingDate from the DUT." + - label: "Step 34: TH writes ManufacturingDate as '20210814789452IN'" PICS: BRBINFO.S.A000b command: "writeAttribute" attribute: "ManufacturingDate" @@ -388,7 +388,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 37: TH writes PartNumber from the DUT." + - label: "Step 37: TH writes PartNumber as 'newpart'" PICS: BRBINFO.S.A000c command: "writeAttribute" attribute: "PartNumber" @@ -427,7 +427,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 40: TH writes ProductURL from the DUT." + - label: "Step 40: TH writes ProductURL as 'https://www.example.com'" PICS: BRBINFO.S.A000d command: "writeAttribute" attribute: "ProductURL" @@ -466,7 +466,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 43: TH writes ProductLabel from the DUT." + - label: "Step 43: TH writes ProductLabel as 'newproductlabel'" PICS: BRBINFO.S.A000e command: "writeAttribute" attribute: "ProductLabel" @@ -492,7 +492,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 46: TH writes SerialNumber from the DUT." + - label: "Step 46: TH writes SerialNumber_test as 'newserialnumber'" PICS: BRBINFO.S.A000f command: "writeAttribute" attribute: "SerialNumber" @@ -535,7 +535,7 @@ tests: - label: "Step 52: TH sends Write request message to DUT to change value of - Reachable to false" + Reachable to 'false'" PICS: BRBINFO.S.A0011 command: "writeAttribute" attribute: "Reachable" @@ -563,7 +563,7 @@ tests: type: char_string maxLength: 32 - - label: "Step 54: TH writes UniqueID from the DUT." + - label: "Step 54: TH writes UniqueID as 'newid'" PICS: BRBINFO.S.A0012 command: "writeAttribute" attribute: "UniqueID" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml index 1b8aef66aa4404..b2aad6249846a5 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml @@ -85,7 +85,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH_CR1 opens a commissioning window on DUT_CE" + - label: + "Step 2: TH_CR1 opens a commissioning window on DUT_CE using a + commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM" cluster: "Administrator Commissioning" command: "OpenBasicCommissioningWindow" PICS: CADMIN.S.C01.Rsp @@ -115,8 +117,10 @@ tests: #As per issue https://github.com/CHIP-Specifications/chip-test-scripts/issues/495 adding --discover-once flag - label: - "Step 4.1: TH_CR2 starts a commissioning process with DUT_CE using - Invalid setup code" + "Step 4.1: Before the expiration of PIXIT.CADMIN.CwDuration set in + step 2, set up a TH_CR2 to start attempting to do PASE to DUT_CE and + failing 20 times. This can be done using a valid onboarding payload + with an incorrect setupcode" identity: "beta" cluster: "CommissionerCommands" command: "PairWithCode" @@ -475,8 +479,9 @@ tests: # This step must match the verification step above where we checked `correctPayload` - label: - "Step 5a: TH_CR2 attempts to do PASE to DUT_CE using the correct - onboarding payload" + "Step 5a: Before the expiration of PIXIT.CADMIN.CwDuration set in step + 2, TH_CR2 attempts to do PASE to DUT_CE using the correct onboarding + payload" identity: "beta" cluster: "CommissionerCommands" command: "PairWithCode" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml index 1fb1a118bbc453..35792712783d56 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml @@ -80,7 +80,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH_CR1 opens a commissioning window on DUT_CE" + - label: + "Step 2: TH_CR1 opens a commissioning window on DUT_CE using a + commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM" identity: "alpha" cluster: "Administrator Commissioning" command: "OpenBasicCommissioningWindow" @@ -122,7 +124,9 @@ tests: - name: "nodeId" value: nodeId2 - - label: "Step 4: TH_CR1 opens a commissioning window on DUT_CE" + - label: + "Step 4: TH_CR1 opens a commissioning window on DUT_CE using a + commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM" identity: "alpha" cluster: "Administrator Commissioning" command: "OpenBasicCommissioningWindow" @@ -142,7 +146,7 @@ tests: - name: "ms" value: waitAfterCommissioning - - label: "Step 5: TH_CR3 Commissions with DUT_CE" + - label: "Step 5: TH_CR3 starts a commissioning process with DUT_CE" PICS: CADMIN.S identity: "gamma" cluster: "CommissionerCommands" @@ -244,7 +248,9 @@ tests: { Label: "", FabricIndex: 3, NodeID: nodeId3 }, ] - - label: "Step 11: TH_CR1 opens a commissioning window on DUT_CE using BCM" + - label: + "Step 11: TH_CR1 opens a commissioning window on DUT_CE using a + commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM" identity: "alpha" PICS: CADMIN.S.C01.Rsp cluster: "Administrator Commissioning" diff --git a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml index 22416e7b4991d8..294cb9a9cc81ee 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads CurrentHue attribute from DUT" + - label: "Step 2: TH reads from the DUT the (0x0000) CurrentHue attribute" PICS: CC.S.A0000 command: "readAttribute" attribute: "CurrentHue" @@ -41,7 +41,9 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 3: TH reads CurrentSaturation attribute from DUT" + - label: + "Step 3: TH reads from the DUT the (0x0001) CurrentSaturation + attribute" PICS: CC.S.A0001 command: "readAttribute" attribute: "CurrentSaturation" @@ -51,7 +53,8 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 4: TH reads RemainingTime attribute from DUT" + - label: + "Step 4: TH reads from the DUT the (0x0002) RemainingTime attribute" PICS: CC.S.A0002 command: "readAttribute" attribute: "RemainingTime" @@ -61,7 +64,7 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 5: TH reads CurrentX attribute from DUT" + - label: "Step 5: TH reads from the DUT the (0x0003) CurrentX attribute" PICS: CC.S.A0003 command: "readAttribute" attribute: "CurrentX" @@ -71,7 +74,7 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 6: TH reads CurrentY attribute from DUT" + - label: "Step 6: TH reads from the DUT the (0x0004) CurrentY attribute" PICS: CC.S.A0004 command: "readAttribute" attribute: "CurrentY" @@ -81,7 +84,9 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 7: TH reads DriftCompensation attribute from DUT" + - label: + "Step 7: TH reads from the DUT the (0x0005) DriftCompensation + attribute" PICS: CC.S.A0005 command: "readAttribute" attribute: "DriftCompensation" @@ -91,7 +96,8 @@ tests: minValue: 0 maxValue: 4 - - label: "Step 8: TH reads CompensationText attribute from DUT" + - label: + "Step 8: TH reads from the DUT the (0x0006) CompensationText attribute" PICS: CC.S.A0006 command: "readAttribute" attribute: "CompensationText" @@ -100,7 +106,9 @@ tests: type: char_string maxLength: 254 - - label: "Step 9: TH reads ColorTemperatureMireds attribute from DUT" + - label: + "Step 9: TH reads from the DUT the (0x0007) ColorTemperatureMireds + attribute" PICS: CC.S.A0007 command: "readAttribute" attribute: "ColorTemperatureMireds" @@ -110,7 +118,7 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 10: TH reads ColorMode attribute from DUT" + - label: "Step 10: TH reads from the DUT the (0x0008) ColorMode attribute" PICS: CC.S.A0008 command: "readAttribute" attribute: "ColorMode" @@ -120,7 +128,7 @@ tests: minValue: 0 maxValue: 2 - - label: "Step 11: TH reads Options attribute from DUT" + - label: "Step 11: TH reads from the DUT the (0x000f) Options attribute" PICS: CC.S.A000f command: "readAttribute" attribute: "Options" @@ -130,7 +138,9 @@ tests: minValue: 0 maxValue: 4 - - label: "Step 12: TH reads EnhancedCurrentHue attribute from DUT" + - label: + "Step 12: TH reads from the DUT the (0x4000) EnhancedCurrentHue + attribute" PICS: CC.S.A4000 command: "readAttribute" attribute: "EnhancedCurrentHue" @@ -140,7 +150,9 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 13: TH reads EnhancedColorMode attribute from DUT" + - label: + "Step 13: TH reads from the DUT the (0x4001) EnhancedColorMode + attribute" PICS: CC.S.A4001 command: "readAttribute" attribute: "EnhancedColorMode" @@ -150,7 +162,8 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 14: TH reads ColorLoopActive attribute from DUT" + - label: + "Step 14:TH reads from the DUT the (0x4002) ColorLoopActive attribute" PICS: CC.S.A4002 command: "readAttribute" attribute: "ColorLoopActive" @@ -160,7 +173,9 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 15: TH reads ColorLoopDirection attribute from DUT" + - label: + "Step 15: TH reads from the DUT the (0x4003) ColorLoopDirection + attribute" PICS: CC.S.A4003 command: "readAttribute" attribute: "ColorLoopDirection" @@ -170,7 +185,8 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 16: TH reads ColorLoopTime attribute from DUT" + - label: + "Step 16: TH reads from the DUT the (0x4004) ColorLoopTime attribute" PICS: CC.S.A4004 command: "readAttribute" attribute: "ColorLoopTime" @@ -180,7 +196,9 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 17: TH reads ColorLoopStartEnhancedHue attribute from DUT" + - label: + "Step 17: TH reads from the DUT the (0x4005) ColorLoopStartEnhancedHue + attribute" PICS: CC.S.A4005 command: "readAttribute" attribute: "ColorLoopStartEnhancedHue" @@ -190,7 +208,9 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 18: TH reads ColorLoopStoredEnhancedHue attribute from DUT" + - label: + "Step 18: TH reads from the DUT the (0x4006) + ColorLoopStoredEnhancedHue attributeT" PICS: CC.S.A4006 command: "readAttribute" attribute: "ColorLoopStoredEnhancedHue" @@ -208,7 +228,9 @@ tests: response: saveAs: FeatureMapValue - - label: "Step 19: TH reads ColorCapabilities attribute from DUT" + - label: + "Step 19: TH reads from the DUT the (0x400a) ColorCapabilities + attribute" PICS: CC.S.A400a command: "readAttribute" attribute: "ColorCapabilities" @@ -219,7 +241,9 @@ tests: minValue: 0 maxValue: 31 - - label: "Step 20: TH reads ColorTempPhysicalMinMireds attribute from DUT" + - label: + "Step 20: TH reads from the DUT the (0x400b) + ColorTempPhysicalMinMireds attribute" PICS: CC.S.A400b command: "readAttribute" attribute: "ColorTempPhysicalMinMireds" @@ -229,7 +253,9 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 21: TH reads ColorTempPhysicalMaxMireds attribute from DUT" + - label: + "Step 21: TH reads from the DUT the (0x400c) + ColorTempPhysicalMaxMireds attribute" PICS: CC.S.A400c command: "readAttribute" attribute: "ColorTempPhysicalMaxMireds" @@ -240,7 +266,8 @@ tests: maxValue: 65279 - label: - "Step 22: TH reads CoupleColorTempToLevelMinMireds attribute from DUT" + "Step 22: TH reads from the DUT the (0x400d) + CoupleColorTempToLevelMinMireds attribute" PICS: CC.S.A400d command: "readAttribute" attribute: "CoupleColorTempToLevelMinMireds" @@ -251,7 +278,8 @@ tests: maxValue: 65279 - label: - "Step 23: TH reads StartUpColorTemperatureMireds attribute from DUT" + "Step 23: TH reads from the DUT the (0x4010) + StartUpColorTemperatureMireds attribute" PICS: CC.S.A4010 command: "readAttribute" attribute: "StartUpColorTemperatureMireds" @@ -262,7 +290,9 @@ tests: maxValue: 65279 #Defined Primaries Information Attribute Set - - label: "Step 24: TH reads NumberOfPrimaries attribute from DUT" + - label: + "Step 24: TH reads from the DUT the (0x0010) NumberOfPrimaries + attribute" PICS: CC.S.A0010 command: "readAttribute" attribute: "NumberOfPrimaries" @@ -671,7 +701,7 @@ tests: value: "y" #Defined Color Points Settings Attribute Set - - label: "Step 43: TH reads WhitePointX attribute from DUT" + - label: "Step 43: TH reads from the DUT the (0x0030) WhitePointX attribute" PICS: CC.S.A0030 command: "readAttribute" attribute: "WhitePointX" @@ -681,7 +711,7 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 44: TH reads WhitePointY attribute from DUT" + - label: "Step 44: TH reads from the DUT the (0x0031) WhitePointY attribute" PICS: CC.S.A0031 command: "readAttribute" attribute: "WhitePointY" @@ -691,7 +721,8 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 45: TH reads ColorPointRX attribute from DUT" + - label: + "Step 45: TH reads from the DUT the (0x0032) ColorPointRX attribute" PICS: CC.S.A0032 command: "readAttribute" attribute: "ColorPointRX" @@ -701,7 +732,8 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 46: TH reads ColorPointRY attribute from DUT" + - label: + "Step 46: TH reads from the DUT the (0x0033) ColorPointRY attribute" PICS: CC.S.A0033 command: "readAttribute" attribute: "ColorPointRY" @@ -711,7 +743,9 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 47: TH reads ColorPointRIntensity attribute from DUT" + - label: + "Step 47: TH reads from the DUT the (0x0034) ColorPointRIntensity + attribute" PICS: CC.S.A0034 command: "readAttribute" attribute: "ColorPointRIntensity" @@ -721,7 +755,8 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 48: TH reads ColorPointGX attribute from DUT" + - label: + "Step 48: TH reads from the DUT the (0x0036) ColorPointGX attribute" PICS: CC.S.A0036 command: "readAttribute" attribute: "ColorPointGX" @@ -731,7 +766,8 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 49: TH reads ColorPointGY attribute from DUT" + - label: + "Step 49: TH reads from the DUT the (0x0037) ColorPointGY attribute" PICS: CC.S.A0037 command: "readAttribute" attribute: "ColorPointGY" @@ -741,7 +777,9 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 50: TH reads ColorPointGIntensity attribute from DUT" + - label: + "Step 50: TH reads from the DUT the (0x0038) ColorPointGIntensity + attribute" PICS: CC.S.A0038 command: "readAttribute" attribute: "ColorPointGIntensity" @@ -751,7 +789,8 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 51: TH reads ColorPointBX attribute from DUT" + - label: + "Step 51: TH reads from the DUT the (0x003a) ColorPointBX attribute" PICS: CC.S.A003a command: "readAttribute" attribute: "ColorPointBX" @@ -761,7 +800,8 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 52: TH reads ColorPointBY attribute from DUT" + - label: + "Step 52: TH reads from the DUT the (0x003b) ColorPointBY attribute" PICS: CC.S.A003b command: "readAttribute" attribute: "ColorPointBY" @@ -771,7 +811,9 @@ tests: minValue: 0 maxValue: 65279 - - label: "Step 53: TH reads ColorPointBIntensity attribute from DUT" + - label: + "Step 53: TH reads from the DUT the (0x003c) ColorPointBIntensity + attribute" PICS: CC.S.A003c command: "readAttribute" attribute: "ColorPointBIntensity" diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml index cd08746ac79df0..41e81a36bdcf55 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml @@ -30,7 +30,7 @@ tests: values: - name: "nodeId" value: nodeId - + - label: "Step 1a: TH writes 0 to the Options attribute" PICS: CC.S.F03 && CC.S.A000f command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml index 746355f0f442f1..d193e9f3e58409 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml @@ -48,7 +48,7 @@ tests: cluster: "On/Off" command: "On" - - label: "Step 1a: H reads ColorTempPhysicalMinMireds attribute from DUT" + - label: "Step 1a: TH reads ColorTempPhysicalMinMireds attribute from DUT" PICS: CC.S.F04 && CC.S.A400b command: "readAttribute" attribute: "ColorTempPhysicalMinMireds" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml index 3d5a732fae831b..0c940ec80085d4 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml @@ -88,7 +88,7 @@ tests: "Step 2: TH sends RemoveNetwork command to the DUT with NetworkID field set to PIXIT.CNET.WIFI_1ST_ACCE SSPOINT_SSID and Breadcrumb field set to 1" - PICS: CNET.S.C04.Rsp + PICS: CNET.S.C02.Rsp && CNET.S.C04.Rsp command: "RemoveNetwork" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml index 341fe7d1cae131..a26524e4b59018 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml @@ -81,7 +81,9 @@ tests: - name: "DebugText" value: "" - - label: "Step 2: TH reads Networks attribute from the DUT " + - label: + "Step 2: TH reads Networks attribute from the DUT and saves the number + of entries as 'NumNetworks' " PICS: CNET.S.A0001 command: "readAttribute" attribute: "Networks" @@ -201,6 +203,7 @@ tests: - label: "Step 10: TH reads Breadcrumb attribute from the General Commissioning cluster of the DUT" + PICS: CNET.S.C04.Rsp cluster: "General Commissioning" command: "readAttribute" attribute: "Breadcrumb" @@ -277,6 +280,7 @@ tests: value: 0 - label: "Step 15: TH sends the CommissioningComplete command to the DUT" + PICS: CNET.S.C04.Rsp cluster: "General Commissioning" command: "CommissioningComplete" response: diff --git a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml index 17ed1badddc10e..6dde4be806ca00 100644 --- a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2a: Read the global attribute: FeatureMap" + - label: "Step 2a: TH reads the FeatureMap attribute from the DUT" PICS: ( !CONTENTLAUNCHER.S.F00 && !CONTENTLAUNCHER.S.F01 ) command: "readAttribute" attribute: "FeatureMap" @@ -72,7 +72,7 @@ tests: type: bitmap32 hasMasksSet: [0x2] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -81,7 +81,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -90,7 +90,8 @@ tests: type: list contains: [65528, 65529, 65531, 65532, 65533] - - label: "Step 3b: Read the optional attribute(AcceptHeader): AttributeList" + - label: + "Step 3b: TH reads the optional attribute(AcceptHeader): AttributeList" PICS: CONTENTLAUNCHER.S.A0000 command: "readAttribute" attribute: "AttributeList" @@ -100,8 +101,8 @@ tests: contains: [0] - label: - "Step 3c: Read the optional attribute(SupportedStreamingProtocols): - AttributeList" + "Step 3c: TH reads the optional + attribute(SupportedStreamingProtocols): AttributeList" PICS: CONTENTLAUNCHER.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -111,7 +112,7 @@ tests: contains: [1] - label: - "Step 4a: Read the optional command(LaunchContent) in + "Step 4a: TH reads the optional command(LaunchContent) in AcceptedCommandList attribute" PICS: CONTENTLAUNCHER.C.C00.Tx command: "readAttribute" @@ -122,8 +123,8 @@ tests: contains: [0] - label: - "Step 4b: Read the optional command(LaunchURL) in AcceptedCommandList - attribute" + "Step 4b: TH reads the optional command(LaunchURL) in + AcceptedCommandList attribute" PICS: CONTENTLAUNCHER.C.C01.Tx command: "readAttribute" attribute: "AcceptedCommandList" @@ -132,7 +133,7 @@ tests: type: list contains: [1] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -140,7 +141,7 @@ tests: type: list contains: [2] - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml index c185e024993d42..29c15069afd787 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml @@ -116,7 +116,7 @@ tests: disabled: true - label: - "Step 3a: Scan the TH Devices QR code (that includes the additional + "Step 3a: Scan the TH Device’s QR code (that includes the additional TLV data) using DUT. Using the example provided above, the payload would be 'MT:-24J029Q00KA064IJ3P0IXZB0DK5N1K8SQ1RYCU1-A40'." PICS: MCORE.DD.SCAN_QR_CODE diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml index 47def58fc08331..bfc80220b4a877 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml @@ -17,6 +17,7 @@ name: 3.3.1. [TC-DD-3.1] Commissioning Flow - Concurrent [DUT - Commissionee] PICS: - MCORE.ROLE.COMMISSIONEE + - "!MCORE.DD.NON_CONCURRENT_CONNECTION" config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml index 58a43e7367e191..4814d35ee82829 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml @@ -18,6 +18,7 @@ name: PICS: - MCORE.ROLE.COMMISSIONEE + - MCORE.DD.NON_CONCURRENT_CONNECTION config: nodeId: 0x12344321 @@ -298,7 +299,7 @@ tests: - label: "Step 9: Commissioner instructs Commissionee to connect to operational - network if not already connected" + network" verification: | Verify in TH(CHIP-TOOL) diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml index 071b07473ddbd0..79a34088252cd1 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read PHYRate attribute constraints" + - label: "Step 2: TH reads PHYRate attribute constraints" PICS: DGETH.S.A0000 command: "readAttribute" attribute: "PHYRate" @@ -40,7 +40,7 @@ tests: type: enum8 anyOf: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, null] - - label: "Step 3: Read FullDuplex attribute constraints" + - label: "Step 3: TH reads FullDuplex attribute constraints" PICS: DGETH.S.A0001 command: "readAttribute" attribute: "FullDuplex" @@ -49,7 +49,7 @@ tests: type: boolean anyOf: [0, 1, null] - - label: "Step 4a: Read PacketRxCount attribute constraints" + - label: "Step 4a: TH reads PacketRxCount attribute constraints" PICS: DGETH.S.A0002 command: "readAttribute" attribute: "PacketRxCount" @@ -101,7 +101,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 5a: Read PacketTxCount attribute constraints" + - label: "Step 5a: TH reads PacketTxCount attribute constraints" PICS: DGETH.S.A0003 command: "readAttribute" attribute: "PacketTxCount" @@ -113,7 +113,7 @@ tests: #Test-plan issue: https://github.com/CHIP-Specifications/chip-test-plans/issues/3413 - label: - "Step 5b: Read PacketTxCount attribute constraints, Upon a node + "Step 5b: TH reads PacketTxCount attribute constraints, Upon a node reboot, the value will be reset to 0" verification: | Upon a node reboot, the value will be reset to 0. @@ -128,8 +128,8 @@ tests: value: "y" - label: - "Step 6: Read TxErrCount attribute constraints, Upon a node reboot, - the value will be reset to 0" + "Step 6: TH reads TxErrCount attribute constraints, Upon a node + reboot, the value will be reset to 0" PICS: DGETH.S.A0004 command: "readAttribute" attribute: "TxErrCount" @@ -139,8 +139,8 @@ tests: type: int64u - label: - "Step 7: Read CollisionCount attribute , Upon a node reboot, the value - will be reset to 0" + "Step 7: TH reads CollisionCount attribute , Upon a node reboot, the + value will be reset to 0" PICS: DGETH.S.A0005 command: "readAttribute" attribute: "CollisionCount" @@ -149,7 +149,7 @@ tests: constraints: type: int64u - - label: "Step 8: Read OverrunCount attribute constraints" + - label: "Step 8: TH reads OverrunCount attribute constraints" PICS: DGETH.S.A0006 command: "readAttribute" attribute: "OverrunCount" @@ -158,7 +158,7 @@ tests: constraints: type: int64u - - label: "Step 9: Read CarrierDetect attribute constraints" + - label: "Step 9: TH reads CarrierDetect attribute constraints" PICS: DGETH.S.A0007 command: "readAttribute" attribute: "CarrierDetect" @@ -167,7 +167,7 @@ tests: type: boolean anyOf: [0, 1, null] - - label: "Step 10: Read TimeSinceReset attribute constraints" + - label: "Step 10: TH reads TimeSinceReset attribute constraints" PICS: DGETH.S.A0008 command: "readAttribute" attribute: "TimeSinceReset" diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml index 147242c5db841e..7342101677e115 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3: Read the global attribute: FeatureMap" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +47,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +56,7 @@ tests: type: list contains: [0, 1, 8, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -68,6 +68,7 @@ tests: - label: "Step 4b: Validate presence of mandatory attribute(UpTime) in AttributeList" + PICS: DGGEN.S.A0002 command: "readAttribute" attribute: "AttributeList" response: @@ -76,7 +77,7 @@ tests: contains: [2] - label: - "Step 4c: Read optional attribute(TotalOperationalHours) in + "Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList" PICS: DGGEN.S.A0003 command: "readAttribute" @@ -86,7 +87,7 @@ tests: type: list contains: [3] - - label: "Step 4d: Read optional attribute(BootReason) in AttributeList" + - label: "Step 4d: TH reads optional attribute(BootReason) in AttributeList" PICS: DGGEN.S.A0004 command: "readAttribute" attribute: "AttributeList" @@ -96,7 +97,7 @@ tests: contains: [4] - label: - "Step 4e: Read optional attribute(ActiveHardwareFaults) in + "Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList" PICS: DGGEN.S.A0005 command: "readAttribute" @@ -107,7 +108,8 @@ tests: contains: [5] - label: - "Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList" + "Step 4f: TH reads optional attribute(ActiveRadioFaults) in + AttributeList" PICS: DGGEN.S.A0006 command: "readAttribute" attribute: "AttributeList" @@ -117,7 +119,7 @@ tests: contains: [6] - label: - "Step 4g: Read optional attribute(ActiveNetworkFaults) in + "Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList" PICS: DGGEN.S.A0007 command: "readAttribute" @@ -127,7 +129,7 @@ tests: type: list contains: [7] - - label: "Step 5a: Read the global attribute: EventList" + - label: "Step 5a: TH reads from the DUT the EventList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -136,7 +138,8 @@ tests: type: list contains: [3] - - label: "Step 5b: Read optional event(HardwareFaultChange) in EventList" + - label: + "Step 5b: TH reads optional event(HardwareFaultChange) in EventList" PICS: DGGEN.S.E00 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -145,7 +148,7 @@ tests: type: list contains: [0] - - label: "Step 5c: Read optional event(RadioFaultChange) in EventList" + - label: "Step 5c: TH reads optional event(RadioFaultChange) in EventList" PICS: DGGEN.S.E01 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -154,7 +157,7 @@ tests: type: list contains: [1] - - label: "Step 5d: Read optional event(NetworkFaultChange) in EventList" + - label: "Step 5d: TH reads optional event(NetworkFaultChange) in EventList" PICS: DGGEN.S.E02 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -163,7 +166,7 @@ tests: type: list contains: [2] - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -171,7 +174,7 @@ tests: type: list contains: [0, 1] - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute" command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml index 1b172f32636cab..b127ce126bcbc4 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml @@ -123,58 +123,151 @@ tests: - label: "Step 3: TH reads NetworkInterfaces structure attribute from DUT." verification: | ./chip-tool generaldiagnostics read network-interfaces 1 0 + On TH(chip-tool), Verify that The NetworkInterfaces attribute SHALL be a list of NetworkInterface structs, i.e The read data type( NetworkInterface struct) must match the value listed below • Name(interface name) - • IsOperational (indicates the node is operational in the fabric) - • OffPremiseServicesReachableIPv4(Ability to reach off-premise services it uses by utilizing IPv4, if not NULL) - • OffPremiseServicesReachableIPv6(Ability to reach off-premise services it uses by utilizing IPv6, if not NULL) + • IsOperational (indicates the node is operational in the fabric) + • OffPremiseServicesReachableIPv4(Ability to reach off-premise services it uses by utilizing IPv4, if not NULL) + • OffPremiseServicesReachableIPv6(Ability to reach off-premise services it uses by utilizing IPv6, if not NULL) • HardwareAddress(MAC-layer address for a 802.3 or IEEE 802.11-2020 network interface, or 802.15.4) - • IPv4Addresses and IPv6Addresses (a list of the unicast IPv6 addresses that are GUA and ULA) + • IPv4Addresses and IPv6Addresses (a list of the unicast IPv6 addresses that are GUA and ULA) • Type(Interface types). Below is the example value which is observed in the RPI platform the value may be differ based on the dut implementation. - - [1685950177.429619][36103:36105] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_0000 DataVersion: 234312508 - [1685950177.429734][36103:36105] CHIP:TOO: NetworkInterfaces: 3 entries - [1685950177.430061][36103:36105] CHIP:TOO: [1]: { - [1685950177.430075][36103:36105] CHIP:TOO: Name: docker0 - [1685950177.430084][36103:36105] CHIP:TOO: IsOperational: FALSE - [1685950177.430105][36103:36105] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1685950177.430114][36103:36105] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1685950177.430124][36103:36105] CHIP:TOO: HardwareAddress: 024238D9D191 - [1685950177.430145][36103:36105] CHIP:TOO: IPv4Addresses: 1 entries - [1685950177.430158][36103:36105] CHIP:TOO: [1]: AC110001 - [1685950177.430168][36103:36105] CHIP:TOO: IPv6Addresses: 1 entries - [1685950177.430177][36103:36105] CHIP:TOO: [1]: - [1685950177.430186][36103:36105] CHIP:TOO: Type: 0 - [1685950177.430194][36103:36105] CHIP:TOO: } - [1685950177.430221][36103:36105] CHIP:TOO: [2]: { - [1685950177.430229][36103:36105] CHIP:TOO: Name: wlp0s20f3 - [1685950177.430236][36103:36105] CHIP:TOO: IsOperational: TRUE - [1685950177.430244][36103:36105] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1685950177.430251][36103:36105] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1685950177.430260][36103:36105] CHIP:TOO: HardwareAddress: 8C1D96786A13 - [1685950177.430269][36103:36105] CHIP:TOO: IPv4Addresses: 1 entries - [1685950177.430280][36103:36105] CHIP:TOO: [1]: C0A80065 - [1685950177.430290][36103:36105] CHIP:TOO: IPv6Addresses: 1 entries - [1685950177.430300][36103:36105] CHIP:TOO: [1]: FE80000000000000E9F62C082794357D - [1685950177.430309][36103:36105] CHIP:TOO: Type: 1 - [1685950177.430316][36103:36105] CHIP:TOO: } - [1685950177.430337][36103:36105] CHIP:TOO: [3]: { - [1685950177.430345][36103:36105] CHIP:TOO: Name: lo - [1685950177.430352][36103:36105] CHIP:TOO: IsOperational: TRUE - [1685950177.430360][36103:36105] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1685950177.430368][36103:36105] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1685950177.430376][36103:36105] CHIP:TOO: HardwareAddress: 000000000000 - [1685950177.430385][36103:36105] CHIP:TOO: IPv4Addresses: 1 entries - [1685950177.430395][36103:36105] CHIP:TOO: [1]: 7F000001 - [1685950177.430405][36103:36105] CHIP:TOO: IPv6Addresses: 1 entries - [1685950177.430415][36103:36105] CHIP:TOO: [1]: 00000000000000000000000000000001 - [1685950177.430424][36103:36105] CHIP:TOO: Type: 0 - [1685950177.430431][36103:36105] CHIP:TOO: } - [1685950177.430535][36103:36105] CHIP:EM: <<< [E:29275i S:57421 M:236457298 (Ack:61012080)] (S) Msg TX to 1:0000000000000001 [6ADE] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1685950177.430558][36103:36105] CHIP:IN: (S) Sending msg 236457298 on secure session with LSID: 57421 + [1692949910.768802][3792:3794] CHIP:DMG: } + [1692949910.769530][3792:3794] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_0000 DataVersion: 131147943 + [1692949910.769722][3792:3794] CHIP:TOO: NetworkInterfaces: 11 entries + [1692949910.769815][3792:3794] CHIP:TOO: [1]: { + [1692949910.769837][3792:3794] CHIP:TOO: Name: veth6419a29 + [1692949910.769856][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.769875][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.769894][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770166][3792:3794] CHIP:TOO: HardwareAddress: 2209DC9A5648 + [1692949910.770207][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770233][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770258][3792:3794] CHIP:TOO: [1]: FE800000000000002009DCFFFE9A5648 + [1692949910.770290][3792:3794] CHIP:TOO: Type: 0 + [1692949910.770309][3792:3794] CHIP:TOO: } + [1692949910.770343][3792:3794] CHIP:TOO: [2]: { + [1692949910.770362][3792:3794] CHIP:TOO: Name: vethdd2acfa + [1692949910.770380][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.770398][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.770416][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770435][3792:3794] CHIP:TOO: HardwareAddress: 4ED603419EAE + [1692949910.770454][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770474][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770497][3792:3794] CHIP:TOO: [1]: FE800000000000004CD603FFFE419EAE + [1692949910.770517][3792:3794] CHIP:TOO: Type: 0 + [1692949910.770535][3792:3794] CHIP:TOO: } + [1692949910.770564][3792:3794] CHIP:TOO: [3]: { + [1692949910.770583][3792:3794] CHIP:TOO: Name: vethdf8d5bd + [1692949910.770601][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.770618][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.770636][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770655][3792:3794] CHIP:TOO: HardwareAddress: 5E39DB1257D2 + [1692949910.770673][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770694][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770717][3792:3794] CHIP:TOO: [1]: FE800000000000005C39DBFFFE1257D2 + [1692949910.770737][3792:3794] CHIP:TOO: Type: 0 + [1692949910.770755][3792:3794] CHIP:TOO: } + [1692949910.770784][3792:3794] CHIP:TOO: [4]: { + [1692949910.770820][3792:3794] CHIP:TOO: Name: veth0c1b827 + [1692949910.770838][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.770856][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.770874][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770893][3792:3794] CHIP:TOO: HardwareAddress: 5200F618FE06 + [1692949910.770913][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770934][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770957][3792:3794] CHIP:TOO: [1]: FE800000000000005000F6FFFE18FE06 + [1692949910.770979][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771001][3792:3794] CHIP:TOO: } + [1692949910.771047][3792:3794] CHIP:TOO: [5]: { + [1692949910.771079][3792:3794] CHIP:TOO: Name: veth95d2688 + [1692949910.771099][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.771119][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.771140][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.771161][3792:3794] CHIP:TOO: HardwareAddress: EE70AD9213F7 + [1692949910.771182][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.771206][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.771231][3792:3794] CHIP:TOO: [1]: FE80000000000000EC70ADFFFE9213F7 + [1692949910.771254][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771274][3792:3794] CHIP:TOO: } + [1692949910.771308][3792:3794] CHIP:TOO: [6]: { + [1692949910.771329][3792:3794] CHIP:TOO: Name: br-78aec9e78929 + [1692949910.771348][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.771368][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.771388][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.771409][3792:3794] CHIP:TOO: HardwareAddress: 024209ABE784 + [1692949910.771431][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.771455][3792:3794] CHIP:TOO: [1]: AC130001 + [1692949910.771478][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.771503][3792:3794] CHIP:TOO: [1]: FE80000000000000004209FFFEABE784 + [1692949910.771526][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771546][3792:3794] CHIP:TOO: } + [1692949910.771579][3792:3794] CHIP:TOO: [7]: { + [1692949910.771600][3792:3794] CHIP:TOO: Name: docker0 + [1692949910.771620][3792:3794] CHIP:TOO: IsOperational: FALSE + [1692949910.771639][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.771659][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.771680][3792:3794] CHIP:TOO: HardwareAddress: 0242AB987D7E + [1692949910.771702][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.771726][3792:3794] CHIP:TOO: [1]: AC110001 + [1692949910.771750][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.771774][3792:3794] CHIP:TOO: [1]: + [1692949910.771796][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771816][3792:3794] CHIP:TOO: } + [1692949910.771973][3792:3794] CHIP:TOO: [8]: { + [1692949910.771999][3792:3794] CHIP:TOO: Name: br-33eb65c97608 + [1692949910.772020][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772041][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772062][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772083][3792:3794] CHIP:TOO: HardwareAddress: 02426545C6AD + [1692949910.772106][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.772130][3792:3794] CHIP:TOO: [1]: AC120001 + [1692949910.772154][3792:3794] CHIP:TOO: IPv6Addresses: 3 entries + [1692949910.772179][3792:3794] CHIP:TOO: [1]: FD006D61747465720000000000000001 + [1692949910.772204][3792:3794] CHIP:TOO: [2]: FE80000000000000004265FFFE45C6AD + [1692949910.772229][3792:3794] CHIP:TOO: [3]: FE800000000000000000000000000001 + [1692949910.772251][3792:3794] CHIP:TOO: Type: 0 + [1692949910.772271][3792:3794] CHIP:TOO: } + [1692949910.772304][3792:3794] CHIP:TOO: [9]: { + [1692949910.772325][3792:3794] CHIP:TOO: Name: wlan0 + [1692949910.772345][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772365][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772385][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772405][3792:3794] CHIP:TOO: HardwareAddress: E45F010F1A01 + [1692949910.772426][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.772450][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.772475][3792:3794] CHIP:TOO: [1]: FE80000000000000E65F01FFFE0F1A01 + [1692949910.772498][3792:3794] CHIP:TOO: Type: 1 + [1692949910.772518][3792:3794] CHIP:TOO: } + [1692949910.772552][3792:3794] CHIP:TOO: [10]: { + [1692949910.772572][3792:3794] CHIP:TOO: Name: eth0 + [1692949910.772592][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772612][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772632][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772653][3792:3794] CHIP:TOO: HardwareAddress: E45F010F19FF + [1692949910.772675][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.772698][3792:3794] CHIP:TOO: [1]: C0A80864 + [1692949910.772721][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.772746][3792:3794] CHIP:TOO: [1]: FE80000000000000E65F01FFFE0F19FF + [1692949910.772769][3792:3794] CHIP:TOO: Type: 2 + [1692949910.772789][3792:3794] CHIP:TOO: } + [1692949910.772821][3792:3794] CHIP:TOO: [11]: { + [1692949910.772842][3792:3794] CHIP:TOO: Name: lo + [1692949910.772862][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772882][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772901][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772922][3792:3794] CHIP:TOO: HardwareAddress: 000000000000 + [1692949910.772944][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.772968][3792:3794] CHIP:TOO: [1]: 7F000001 + [1692949910.772991][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.773016][3792:3794] CHIP:TOO: [1]: 00000000000000000000000000000001 + [1692949910.773039][3792:3794] CHIP:TOO: Type: 0 + [1692949910.773059][3792:3794] CHIP:TOO: } + [1692949910.773294][3792:3794] CHIP:EM: <<< [E:2323i S:55592 M:93290487 (Ack:187838562)] (S) Msg TX to 1:0000000000000001 [3E67] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1692949910.773342][3792:3794] CHIP:IN: (S) Sending msg 93290487 on secure session with LSID: 55592 cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && DGGEN.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml index dfa6f38fd8c582..9690cafcf66c73 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_3.yaml @@ -77,8 +77,8 @@ tests: error: INVALID_COMMAND - label: - "Invoke the TestEventTrigger command with EnableKey field set to - PIXIT.DGGEN.ENABLEKEY and EventTrigger field set to 0." + "Step 4: Invoke the TestEventTrigger command with EnableKey field set + to PIXIT.DGGEN.ENABLEKEY and EventTrigger field set to 0." PICS: DGGEN.S.C00.Rsp command: "TestEventTrigger" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml index e9f93ef1af9f60..68f7f0f74c458d 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml @@ -231,7 +231,7 @@ tests: ] - label: - "Step 4e: Read the optional attribute (ActiveTimestamp) in + "Step 4e: TH reads the optional attribute (ActiveTimestamp) in AttributeList" PICS: DGTHREAD.S.A0038 command: "readAttribute" @@ -242,7 +242,7 @@ tests: contains: [56] - label: - "Step 4f: Read the optional attribute (PendingTimestamp) in + "Step 4f: TH reads the optional attribute (PendingTimestamp) in AttributeList" PICS: DGTHREAD.S.A0039 command: "readAttribute" @@ -252,7 +252,7 @@ tests: type: list contains: [57] - - label: "Step 4g: Read the optional attribute (Delay) in AttributeList" + - label: "Step 4g: TH reads the optional attribute (Delay) in AttributeList" PICS: DGTHREAD.S.A003a command: "readAttribute" attribute: "AttributeList" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_4.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_4.yaml index a3bc084cc305b3..1c9568a85abf02 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_4.yaml @@ -32,11 +32,11 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Sends ResetCounts command" + - label: "Step 2: TH Sends ResetCounts command" command: "ResetCounts" PICS: DGTHREAD.S.C00.Rsp - - label: "Step 3: Read the Overruncount attribute" + - label: "Step 3: TH reads the Overruncount attribute" PICS: DGTHREAD.S.A0006 command: "readAttribute" attribute: "OverrunCount" diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml index 4130f148182ea7..a95db84e1785fb 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml @@ -40,7 +40,7 @@ tests: type: octet_string #issue #13645 - - label: "Step 3: Reads SecurityType attribute constraints" + - label: "Step 3: TH reads SecurityType attribute constraints" PICS: DGWIFI.S.A0001 command: "readAttribute" attribute: "SecurityType" @@ -48,7 +48,7 @@ tests: constraints: type: enum8 - - label: "Step 4: Reads WiFiVersion attribute constraints" + - label: "Step 4: TH reads WiFiVersion attribute constraints" PICS: DGWIFI.S.A0002 command: "readAttribute" attribute: "WiFiVersion" @@ -58,7 +58,7 @@ tests: minValue: 0 maxValue: 5 - - label: "Step 5: Reads ChannelNumber attribute constraints" + - label: "Step 5: TH reads ChannelNumber attribute constraints" PICS: DGWIFI.S.A0003 command: "readAttribute" attribute: "ChannelNumber" @@ -68,7 +68,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 6: Reads RSSI attribute constraints" + - label: "Step 6: TH reads RSSI attribute constraints" PICS: DGWIFI.S.A0004 command: "readAttribute" attribute: "RSSI" @@ -78,7 +78,7 @@ tests: minValue: -120 maxValue: 0 - - label: "Step 7: Reads BeaconLostCount attribute constraints" + - label: "Step 7: TH reads BeaconLostCount attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0005 command: "readAttribute" attribute: "BeaconLostCount" @@ -88,7 +88,7 @@ tests: minValue: 0x0 maxValue: 0xFFFFFFFF - - label: "Step 8: Reads BeaconRxCount attribute constraints" + - label: "Step 8: TH reads BeaconRxCount attribute constraints" PICS: DGWIFI.S.A0006 command: "readAttribute" attribute: "BeaconRxCount" @@ -98,7 +98,7 @@ tests: minValue: 0x0 maxValue: 0xFFFFFFFF - - label: "Step 9: Reads PacketMulticastRxCount attribute constraints" + - label: "Step 9: TH reads PacketMulticastRxCount attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0007 command: "readAttribute" attribute: "PacketMulticastRxCount" @@ -108,7 +108,7 @@ tests: minValue: 0x0 maxValue: 0xFFFFFFFF - - label: "Step 10: Reads PacketMulticastTxCount attribute constraints" + - label: "Step 10: TH reads PacketMulticastTxCount attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0008 command: "readAttribute" attribute: "PacketMulticastTxCount" @@ -118,7 +118,7 @@ tests: minValue: 0x0 maxValue: 0xFFFFFFFF - - label: "Step 11: Reads PacketUnicastRxCount attribute constraints" + - label: "Step 11: TH reads PacketUnicastRxCount attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0009 command: "readAttribute" attribute: "PacketUnicastRxCount" @@ -128,7 +128,7 @@ tests: minValue: 0x0 maxValue: 0xFFFFFFFF - - label: "Step 12: Reads PacketUnicastTxCount attribute constraints" + - label: "Step 12: TH reads PacketUnicastTxCount attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000a command: "readAttribute" attribute: "PacketUnicastTxCount" @@ -138,7 +138,7 @@ tests: minValue: 0x0 maxValue: 0xFFFFFFFF - - label: "Step 13: Reads CurrentMaxRate attribute constraints" + - label: "Step 13: TH reads CurrentMaxRate attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000b command: "readAttribute" attribute: "CurrentMaxRate" @@ -146,7 +146,7 @@ tests: constraints: type: int64u - - label: "Step 14: Reads OverrunCount attribute constraints" + - label: "Step 14: TH reads OverrunCount attribute constraints" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000c command: "readAttribute" attribute: "OverrunCount" diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml index ff9ee8778a6ccb..416b08c79e5499 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml @@ -38,7 +38,7 @@ tests: PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp command: "ResetCounts" - - label: "Step 2a: Reads BeaconLostCount attribute from DUT" + - label: "Step 2a: TH reads BeaconLostCount attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0005 command: "readAttribute" attribute: "BeaconLostCount" @@ -48,7 +48,7 @@ tests: minValue: 0 maxValue: 4294967295 - - label: "Step 2b: Reads BeaconRxCount attribute from DUT" + - label: "Step 2b: TH reads BeaconRxCount attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0006 command: "readAttribute" attribute: "BeaconRxCount" @@ -58,7 +58,7 @@ tests: minValue: 0 maxValue: 4294967295 - - label: "Step 2c: Reads PacketMulticastRxCount attribute from DUT" + - label: "Step 2c: TH reads PacketMulticastRxCount attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0007 command: "readAttribute" attribute: "PacketMulticastRxCount" @@ -68,7 +68,7 @@ tests: minValue: 0 maxValue: 4294967295 - - label: "Step 2d: Reads PacketMulticastTxCount attribute from DUT" + - label: "Step 2d: TH reads PacketMulticastTxCount attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0008 command: "readAttribute" attribute: "PacketMulticastTxCount" @@ -78,7 +78,7 @@ tests: minValue: 0 maxValue: 4294967295 - - label: "Step 2e: Reads PacketUnicastRxCount attribute from DUT" + - label: "Step 2e: TH reads PacketUnicastRxCount attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0009 command: "readAttribute" attribute: "PacketUnicastRxCount" @@ -88,7 +88,7 @@ tests: minValue: 0 maxValue: 4294967295 - - label: "Step 2f: Reads PacketUnicastTxCount attribute from DUT" + - label: "Step 2f: TH reads PacketUnicastTxCount attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A000a command: "readAttribute" attribute: "PacketUnicastTxCount" diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml index 45c1d644226b89..ed27ff8845634c 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.3.1. [TC-DISHM-2.1] ChangeToModeWithStatus Verification DUT as Server +name: 263.3.1. [TC-DISHM-2.1] Change to Mode functionality with DUT as Server PICS: - DISHM.S @@ -108,13 +108,13 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.DISHM.MODE_CHANGE_FAIL" - PICS: DISHM.S.M.CAN_TEST_MODE_FAILURE + PICS: DISHM.S.M.CAN_TEST_MODE_FAILURE && DISHM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required disabled: true - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: DISHM.S.A0001 + PICS: DISHM.S.A0001 && DISHM.S.M.CAN_MANUALLY_CONTROLLED verification: | ./chip-tool dishwashermode read current-mode 1 1 @@ -157,12 +157,13 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.DISHM.MODE_CHANGE_OK" + PICS: DISHM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required disabled: true - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: DISHM.S.A0001 + PICS: DISHM.S.A0001 && DISHM.S.M.CAN_MANUALLY_CONTROLLED verification: | ./chip-tool dishwashermode read current-mode 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml index e4262969f37951..7d00383866d22b 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml @@ -13,10 +13,13 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.4.1. [TC-DISHM-3.1] OnMode verification with DUT as Server +name: 263.4.1. [TC-DISHM-3.1] On Mode functionality with DUT as Server PICS: - - DISHM.S + - DISHM.S.A0003 + - DISHM.S.F00 + - OO.S.C00.Rsp + - OO.S.C01.Rsp config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml index dfb4d8915d4618..76a6a643bdff7b 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml @@ -16,7 +16,7 @@ name: 263.4.2. [TC-DISHM-3.2] StartUpMode verification with DUT as Server PICS: - - DISHM.S + - DISHM.S.A0002 config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml index 2b394a489a86ae..6a34bb32cd7cb2 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml @@ -13,10 +13,15 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 189.3.3.[TC-DISHM-3.3] OnMode overwriting StartUpMode with DUT as Server +name: + 189.3.3.[TC-DISHM-3.3] On Mode and Startup Mode functionality with DUT as + Server PICS: - - DISHM.S + - DISHM.S.A0002 + - DISHM.S.A0003 + - DISHM.S.F00 + - OO.S.A4003 config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index b049f65f8a7d64..a1a9ac16364702 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -160,8 +160,10 @@ tests: response: value: LockStateValue - - label: "Step 1d: TH sends a Lock Door command to the DUT." - PICS: DRLK.S.C00.Rsp && DRLK.S.F00 && DRLK.S.F07 + - label: + "Step 1d: TH sends a Lock Door command to the DUT. If DRLK.S.F00(PIN) + & DRLK.S.F07(COTA), include a Valid PINCode in the Lock Door command." + PICS: DRLK.S.C00.Rsp && DRLK.S.F00 && DRLK.S.F07 && DRLK.S.A0000 command: "LockDoor" timedInteractionTimeoutMs: 1000 arguments: @@ -170,7 +172,7 @@ tests: value: "123456" - label: "Step 1d: TH sends a Lock Door command to the DUT." - PICS: DRLK.S.C00.Rsp && !DRLK.S.F00 && !DRLK.S.F07 + PICS: DRLK.S.C00.Rsp && !DRLK.S.F00 && !DRLK.S.F07 && DRLK.S.A0000 command: "LockDoor" timedInteractionTimeoutMs: 1000 @@ -190,13 +192,16 @@ tests: response: value: 1 - - label: "Step 1e: TH sends a Unlock Door command to the DUT." - PICS: DRLK.S.C01.Rsp && !DRLK.S.F00 && !DRLK.S.F07 + - label: + "Step 1e: TH sends a Unlock Door command to the DUT. If + DRLK.S.F00(PIN) & DRLK.S.F07(COTA), include a Valid PINCode in the + Unlock Door command" + PICS: DRLK.S.C01.Rsp && !DRLK.S.F00 && !DRLK.S.F07 && DRLK.S.A0000 command: "UnlockDoor" timedInteractionTimeoutMs: 1000 - label: "Step 1e: TH sends a Unlock Door command to the DUT." - PICS: DRLK.S.C01.Rsp && DRLK.S.F00 && DRLK.S.F07 + PICS: DRLK.S.C01.Rsp && DRLK.S.F00 && DRLK.S.F07 && DRLK.S.A0000 command: "UnlockDoor" timedInteractionTimeoutMs: 1000 arguments: @@ -602,7 +607,7 @@ tests: - label: "Step 13a: TH reads NumberOfHoliDay SchedulesSupported attribute from DUT" - PICS: DRLK.S.F0b && DRLK.S.A0016 + PICS: DRLK.S.F0b && DRLK.S.A0015 command: "readAttribute" attribute: "NumberOfHolidaySchedulesSupported" response: @@ -1325,8 +1330,8 @@ tests: - label: "Step 31b: TH writes WrongCodeEntryLimit attribute as 8" PICS: - ( DRLK.S.F00 || DRLK.S.F01 ) && - DRLK.S.M.WrongCodeEntryLimitAttributeWritable + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && + DRLK.S.M.WrongCodeEntryLimitAttributeWritable " command: "writeAttribute" attribute: "WrongCodeEntryLimit" arguments: @@ -1334,7 +1339,7 @@ tests: - label: "Step 31b: TH writes WrongCodeEntryLimit attribute as 8" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && !DRLK.S.M.WrongCodeEntryLimitAttributeWritable " command: "writeAttribute" attribute: "WrongCodeEntryLimit" @@ -1345,8 +1350,8 @@ tests: - label: "Step 31c: TH reads WrongCode EntryLimit attribute" PICS: - ( DRLK.S.F00 || DRLK.S.F01 ) && - DRLK.S.M.WrongCodeEntryLimitAttributeWritable + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && + DRLK.S.M.WrongCodeEntryLimitAttributeWritable " command: "readAttribute" attribute: "WrongCodeEntryLimit" response: @@ -1354,7 +1359,7 @@ tests: - label: "Step 31c: TH reads WrongCode EntryLimit attribute" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && !DRLK.S.M.WrongCodeEntryLimitAttributeWritable " command: "readAttribute" attribute: "WrongCodeEntryLimit" @@ -1376,8 +1381,8 @@ tests: - label: "Step 32b: TH writes UserCodeTemporaryDisableTime attribute as 120" PICS: - ( DRLK.S.F00 || DRLK.S.F01 ) && - DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && + DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " command: "writeAttribute" attribute: "UserCodeTemporaryDisableTime" arguments: @@ -1385,7 +1390,7 @@ tests: - label: "Step 32b: TH writes UserCodeTemporaryDisableTime attribute as 120" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && !DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " command: "writeAttribute" attribute: "UserCodeTemporaryDisableTime" @@ -1396,8 +1401,8 @@ tests: - label: "Step 32c: TH reads UserCodeTemporary DisableTime attribute" PICS: - ( DRLK.S.F00 || DRLK.S.F01 ) && - DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && + DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " command: "readAttribute" attribute: "UserCodeTemporaryDisableTime" response: @@ -1405,7 +1410,7 @@ tests: - label: "Step 32c: TH reads UserCodeTemporary DisableTime attribute" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && + " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && !DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " command: "readAttribute" attribute: "UserCodeTemporaryDisableTime" diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml index d6b889127d80a6..321e04f55f3e2a 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml @@ -607,7 +607,7 @@ tests: - label: "Step 5e: TH sends Set Credential Command to DUT with the following - fields: 1.OperationType as 0 2.Credential as 1 1- PIN, Index + fields: 1.OperationType as 0-Add 2.Credential as 1 1- PIN, Index 3.CredentialData as 123456 4.UserIndex as 1 5.UserStatus as null 6.UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx 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 dc14b7b47be313..3f60ff44c4fe49 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 @@ -19,6 +19,7 @@ name: PICS: - DRLK.S + - DRLK.S.F08 config: nodeId: 0x12344321 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 c52167942223ff..ba265fa99075de 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 @@ -46,7 +46,10 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 2: Create Holiday schedule with 1 index" + - label: + "Step 2: TH sends Set Holiday Schedule Command to DUT with the + following values: a)HolidayIndex as 1 b)LocalStartTime as 20 Seconds + c)LocalEndTime as 30 Seconds d)OperatingMode as 0" PICS: DRLK.S.F0b && DRLK.S.C11.Rsp command: "SetHolidaySchedule" arguments: @@ -60,7 +63,9 @@ tests: - name: "OperatingMode" value: 0 - - label: "Step 3a: Get Holiday Schedule with HolidayIndex as 1" + - label: + "Step 3a: TH sends Get Holiday Schedule Command to DUT with + HolidayIndex as 1" PICS: DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx command: "GetHolidaySchedule" arguments: @@ -82,7 +87,10 @@ tests: - name: "OperatingMode" value: 0 - - label: "Step 4: Create Holiday schedule with invalid operating mode" + - label: + "Step 4: TH sends Set Holiday Schedule Command to DUT with the + following values: a)HolidayIndex as 1 b)LocalStartTime as + 20 c)LocalEndTime as 30 d)OperatingMode as 5(Invalid value)" PICS: DRLK.S.C11.Rsp command: "SetHolidaySchedule" arguments: @@ -98,7 +106,9 @@ tests: response: error: INVALID_COMMAND - - label: "Step 5: Get Holiday Schedule with Invalid HolidayIndex 15." + - label: + "Step 5: TH sends Get Holiday Schedule Command to DUT with Invalid + HolidayIndex as 15" PICS: DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx command: "GetHolidaySchedule" arguments: @@ -112,7 +122,10 @@ tests: - name: "Status" value: 133 - - label: "Step 6: Get Holiday Schedule with the Non-scheduled HolidayIndex" + - label: + "Step 6: TH sends Get Holiday Schedule Command to DUT with the + HolidayIndex as 10 (value is in the the range of step 1 but Holiday + Schedule entry not available)" PICS: DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx command: "GetHolidaySchedule" arguments: @@ -126,7 +139,9 @@ tests: - name: "Status" value: 139 - - label: "Step 7: Clear Holiday schedule with 1 index" + - label: + "Step 7: TH send Clear Holiday Schedule Command to DUT with + HolidayIndex as 1" PICS: DRLK.S.F0b && DRLK.S.C13.Rsp command: "ClearHolidaySchedule" arguments: @@ -134,7 +149,9 @@ tests: - name: "HolidayIndex" value: 1 - - label: "Step 8: Make sure that holiday schedule was deleted" + - label: + "Step 8: TH sends Get Holiday Schedule Command to DUT with + HolidayIndex as 1" PICS: DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx command: "GetHolidaySchedule" arguments: 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 86dcd163375afc..56426b220b102a 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 @@ -19,6 +19,7 @@ name: PICS: - DRLK.S + - DRLK.S.F08 config: nodeId: 0x12344321 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 fa960d570a0e47..9f2e34ea6d01ed 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 @@ -95,7 +95,10 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 2: TH sends Set Credential Command to DUT" + - label: + "Step 2: TH sends Set Credential Command to DUT with the following + fields a)OperationType as 0 b)Credential as 1 1 c)CredentialData as + 123456 d)UserIndex as 1 e)UserStatus as null f)UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -122,7 +125,9 @@ tests: - name: "NextCredentialIndex" value: 2 - - label: "Step 3: TH sends Get Credential Status Command" + - label: + "Step 3: TH sends Get Credential Status Command with a)CredentialType + as 1 b)CredentialIndex as 1" PICS: DRLK.S.F08 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: @@ -143,7 +148,11 @@ tests: - name: "NextCredentialIndex" value: null - - label: "Step 4: TH sends Set Credential Command to DUT" + - label: + "Step 4: TH sends Set Credential Command to DUT with the following + fields a)OperationType as 0 b)Credential as 1 2 C)CredentialData as + 4321 D)UserIndex as null e)UserStatus as 5(Invalid value) f)UserType + as 10(Invalid value)" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -168,7 +177,11 @@ tests: - name: "UserIndex" value: null - - label: "Step 5: TH sends Set Credential Command to DUT" + - label: + "Step 5: TH sends Set Credential Command to DUT with the following + fields a)OperationType as 0 b)Credential as 1 2 d)CredentialData as + 123456 (same as step 2) e)UserIndex as null f)UserStatus as null + g)UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -194,9 +207,10 @@ tests: value: null - label: - "Step 6a: TH sends Set Credential Command to DUT and Verify that the - DUT sends Set Credential Response command with status as DUPLICATE or - OCCUPIED" + "Step 6a: TH sends Set Credential Command to DUT with the following + fields a)OperationType as 0 b)Credential as 1 1 (same as step 2) + c)CredentialData as 123456 d)UserIndex as 1 e)UserStatus as null + f)UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -221,9 +235,10 @@ tests: anyOf: [0x2, 0x3] - label: - "Step 6b: TH sends Set Credential Command to DUT and Verify that the - DUT sends Set Credential Response command with status as DUPLICATE or - OCCUPIED." + "Step 6b: TH sends Set Credential Command to DUT with the following + fields: a)OperationType as 0 b)Credential as 1 1 (same as step 2) + c)CredentialData as 123457 d)UserIndex as 1 e)UserStatus as null + f)UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -248,10 +263,9 @@ tests: anyOf: [0x2, 0x3] - label: - "Step 7: TH sends Set Credential Command to DUT and Verify that the - DUT sends Set Credential Response command with status - INVALID_COMMAND(0x85) if the CredentialIndex is not associated with - the UserIndex." + "Step 7: TH sends Set Credential Command to DUT with the following + fields: a)OperationType as 2 b)Credential as 1 3 c)CredentialData as + 1234567 d)UserIndex as 1 e)UserStatus as null f)UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -274,7 +288,9 @@ tests: - name: "Status" value: 0x85 - - label: "Step 8: TH sends Clear Credential Command to DUT" + - label: + "Step 8: TH sends Clear Credential Command to DUT with the following + fields: a)CredentialType as 1 b)CredentialIndex as 1" PICS: DRLK.S.F08 && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 10000 @@ -283,7 +299,9 @@ tests: - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - label: "Step 9: TH sends Get Credential Status Command to DUT" + - label: + "Step 9: TH sends Get Credential command to DUT with the following + fields: a)CredentialType as 1 b)CredentialIndex as 1" PICS: DRLK.S.F08 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: @@ -303,7 +321,10 @@ tests: - name: "NextCredentialIndex" value: null - - label: "Step 10: TH sends Set User Command to DUT" + - label: + "Step 10: TH sends Set User Command to DUT with the following values: + a)OperationType as 0 b)UserIndex as 2 c)UserName as xxx d)UserUniqueID + as 6452 e)UserStatus as 1 f)UserType as 0 g)CredentialRule as 0" PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp command: "SetUser" timedInteractionTimeoutMs: 10000 @@ -324,7 +345,10 @@ tests: - name: "CredentialRule" value: 0 - - label: "Step 11: TH sends Set Credential Command to DUT" + - label: + "Step 11: TH sends Set Credential Command to DUT with the following + fields: a)OperationType as 0 b)Credential as 1 1 c)CredentialData as + 123456 d)UserIndex as 2 e)UserStatus as null f)UserType as null" PICS: DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 10000 @@ -349,7 +373,9 @@ tests: - name: "UserIndex" value: null - - label: "Step 12a: TH sends Clear Credential Command to DUT" + - label: + "Step 12a: TH sends Clear Credential Command to DUT with the following + fields: a)CredentialType as 1 b)CredentialIndex as 0xFFFE" PICS: DRLK.S.F08 && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 10000 @@ -358,7 +384,9 @@ tests: - name: "Credential" value: { CredentialType: 1, CredentialIndex: 65534 } - - label: "Step 12b: TH sends Get Credential Status Command" + - label: + "Step 12b: TH sends Get Credential command to DUT with the following + fields: a)CredentialType as 1 b)CredentialIndex as 0xFFFE" PICS: DRLK.S.F08 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: @@ -378,7 +406,9 @@ tests: - name: "NextCredentialIndex" value: null - - label: "Step 13: TH sends Get Credential Status Command" + - label: + "Step 13: TH sends Get Credential Status Command with a)CredentialType + as 1 b)CredentialIndex as 1" PICS: DRLK.S.F08 && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: @@ -398,7 +428,9 @@ tests: - name: "NextCredentialIndex" value: null - - label: "Step 14: TH sends Clear Credential Command to DUT" + - label: + "Step 14: TH sends Clear Credential Command to DUT with the following + fields: a)CredentialType as 8(Invalid value) b)CredentialIndex as 2" PICS: DRLK.S.F08 && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 10000 diff --git a/src/app/tests/suites/certification/Test_TC_FAN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FAN_1_1.yaml index bcda3fadbe0248..e8986134e769eb 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" PICS: @@ -116,7 +118,7 @@ tests: type: bitmap32 hasMasksSet: [0x20] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -125,7 +127,7 @@ tests: type: list contains: [0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -135,7 +137,7 @@ tests: contains: [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4c: Read the feature dependent FAN.S.F00 (SPD) attribute in + "Step 4c: TH Reads the feature dependent FAN.S.F00 (SPD) attribute in AttributeList" PICS: FAN.S.F00 command: "readAttribute" @@ -146,7 +148,7 @@ tests: contains: [4, 5, 6] - label: - "Step 4d: Read the feature dependent FAN.S.F02(RCK) attribute in + "Step 4d: TH Reads the feature dependent FAN.S.F02(RCK) attribute in AttributeList" PICS: FAN.S.F02 command: "readAttribute" @@ -157,7 +159,7 @@ tests: contains: [7, 8] - label: - "Step 4e: Read the feature dependent FAN.S.F03(WND) attribute in + "Step 4e: TH Reads the feature dependent FAN.S.F03(WND) attribute in AttributeList" PICS: FAN.S.F03 command: "readAttribute" @@ -168,7 +170,7 @@ tests: contains: [9, 10] - label: - "Step 4f: Read the feature dependent FAN.S.F05(DIR) attribute in + "Step 4f: TH Reads the feature dependent FAN.S.F05(DIR) attribute in AttributeList" PICS: FAN.S.F05 command: "readAttribute" @@ -187,7 +189,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6:TH reads from the DUT the AcceptedCommandList attribute." PICS: " !FAN.S.C00.Rsp " command: "readAttribute" attribute: "AcceptedCommandList" @@ -196,7 +198,8 @@ tests: constraints: type: list - - label: "Step 6: Read the optional command (Step) in AcceptedCommandList" + - label: + "Step 6: TH Reads the optional command (Step) in AcceptedCommandList" PICS: FAN.S.C00.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -205,7 +208,7 @@ tests: type: list contains: [0] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_FAN_2_2.yaml b/src/app/tests/suites/certification/Test_TC_FAN_2_2.yaml index ed5f97876bf35f..1993927e143611 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_2_2.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_FAN_2_3.yaml b/src/app/tests/suites/certification/Test_TC_FAN_2_3.yaml index a0978df533d57e..bbc715227a9483 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_2_3.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_FAN_2_4.yaml b/src/app/tests/suites/certification/Test_TC_FAN_2_4.yaml index 0b14ce8825c8f8..18afcd6916cd81 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_2_4.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_FAN_2_5.yaml b/src/app/tests/suites/certification/Test_TC_FAN_2_5.yaml index 1f2d084b49c7b0..ebbb618cb904e2 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_2_5.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml b/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml index 217821b5aebbeb..c242612ec17bc4 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml @@ -26,7 +26,7 @@ config: defaultValue: 30 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -52,7 +52,7 @@ tests: - name: "ms" value: 1000 - - label: "Step 2b: TH reads from the DUT the the FanMode attribute" + - label: "Step 2b: after a few seconds, TH reads from the DUT the the FanMode attribute" PICS: FAN.S.A0000 command: "readAttribute" attribute: "FanMode" @@ -136,7 +136,7 @@ tests: - name: "ms" value: 1000 - - label: "Step 3.1b: TH reads from the DUT the the FanMode attribute" + - label: "Step 3.1b: after a few seconds, TH reads from the DUT the the FanMode attribute" PICS: FAN.S.A0000 command: "readAttribute" attribute: "FanMode" diff --git a/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml b/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml index 4375b03cec064b..c37082983cbf26 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -57,7 +57,7 @@ tests: - name: "ms" value: 1000 - - label: "Step 4: TH reads from the DUT the SpeedSetting attribute" + - label: "Step 4: After a few seconds, TH reads from the DUT the SpeedSetting attribute" PICS: FAN.S.A0005 command: "readAttribute" attribute: "SpeedSetting" diff --git a/src/app/tests/suites/certification/Test_TC_FAN_3_6.yaml b/src/app/tests/suites/certification/Test_TC_FAN_3_6.yaml index e80d49196cb3a8..d75e925192ef73 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_3_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_3_6.yaml @@ -25,7 +25,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -50,8 +50,8 @@ tests: value: 1000 - label: - "Step 3: TH reads from the DUT the AirflowDirection attribute and - check it is forwards" + "Step 3: after a few seconds, TH reads from the DUT the + AirflowDirection attribute" PICS: FAN.S.A000B command: "readAttribute" attribute: "AirflowDirection" @@ -75,8 +75,8 @@ tests: value: 1000 - label: - "Step 5: TH reads from the DUT the AirflowDirection attribute and - check it is reverse" + "Step 5: after a few seconds, TH reads from the DUT the + AirflowDirection attribute" PICS: FAN.S.A000B command: "readAttribute" attribute: "AirflowDirection" diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml index 60c7800c7f5a68..bc66790a65f18f 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap from DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +58,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,7 +67,7 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH reads EventList attribute from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -74,7 +76,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList attribute from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -82,7 +84,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList attribute from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml index b3dc3fc2a062ed..917e5d6017fc6f 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: "Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_FLDCONC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLDCONC_1_1.yaml index e5d341419435f8..14f37e7cbb3e29 100644 --- a/src/app/tests/suites/certification/Test_TC_FLDCONC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLDCONC_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -40,8 +42,8 @@ tests: type: int16u - label: - "Step 3a: Read the global attribute: FeatureMap and check for either - bit 0 or 1 set" + "Step 3a: TH reads from the DUT the FeatureMap attribute. and check + for either bit 0 or 1 set" command: "readAttribute" attribute: "FeatureMap" response: @@ -181,7 +183,7 @@ tests: type: bitmap32 hasMasksClear: [0x20] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: PICS_EVENT_LIST_ENABLED @@ -190,7 +192,7 @@ tests: type: list contains: [9, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" @@ -199,7 +201,8 @@ tests: type: list contains: [9, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute Uncertainty in AttributeList" + - label: + "Step 4b: TH reads the optional attribute Uncertainty in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: FLDCONC.S.A0007 && FLDCONC.S.F00 @@ -220,7 +223,7 @@ tests: excludes: [7] - label: - "Step 4d: Read the optional, feature dependent attributes + "Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList" command: "readAttribute" @@ -244,7 +247,7 @@ tests: excludes: [0, 1, 2, 7, 8] - label: - "Step 4f: Read the optional, feature dependent attributes + "Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -266,7 +269,7 @@ tests: excludes: [3, 4] - label: - "Step 4h: Read the optional, feature dependent attributes + "Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -289,8 +292,8 @@ tests: excludes: [5, 6] - label: - "Step 4j: Read the optional, feature dependent attribute LevelValue in - AttributeList" + "Step 4j: TH reads the optional, feature dependent attribute + LevelValue in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: FLDCONC.S.F01 @@ -310,7 +313,7 @@ tests: type: list excludes: [10] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -319,7 +322,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -327,7 +330,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml index 44c8104241ebb7..c1b3de22020da0 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 33.1.1. [TC-FLW-1.1] Global attributes with server as DUT +name: 33.1.1. [TC-FLW-1.1] Global Attributes with DUT as Server PICS: - FLW.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1:Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: Read the global attribute: FeatureMap" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +58,7 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,7 +67,8 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute(Tolerance) in AttributeList" + - label: + "Step 4b: TH reads the optional attribute(Tolerance) in AttributeList" PICS: FLW.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -74,7 +77,7 @@ tests: type: list contains: [3] - - label: "Step 5: TH reads EventList from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -83,7 +86,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -91,7 +94,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml index bad927c19b6ba6..de073b385ae9e4 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: MinMeasuredValue" + - label: "Step 2: TH reads from the DUT the MinMeasuredValue attribute." PICS: FLW.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" @@ -42,7 +44,7 @@ tests: minValue: 0 maxValue: 65533 - - label: "Step 3: Read the mandatory attribute: MaxMeasuredValue" + - label: "Step 3: TH reads from the DUT the MaxMeasuredValue attribute." PICS: FLW.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" @@ -53,7 +55,7 @@ tests: minValue: MinMeasuredVariable + 1 maxValue: 65534 - - label: "Step 4: Read the mandatory attribute: MeasuredValue" + - label: "Step 4: TH reads from the DUT the MeasuredValue attribute." PICS: FLW.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -63,7 +65,7 @@ tests: minValue: MinMeasuredVariable maxValue: MaxMeasuredVariable - - label: "Step 5: TH reads from the DUT the Tolerance attribute" + - label: "Step 5: TH reads from the DUT the Tolerance attribute." PICS: FLW.S.A0003 command: "readAttribute" attribute: "Tolerance" diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml index 64d7aa8c591812..9586e9e950086d 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: MeasuredValue" + - label: "Step 2: TH reads from the DUT the MeasuredValue attribute." PICS: FLW.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -40,7 +42,7 @@ tests: constraints: type: int16u minValue: 0 - maxValue: 65535 + maxValue: 65534 - label: "Step 3: Operate on device to change the flow significantly" cluster: "LogCommands" @@ -53,7 +55,9 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 4: Read the mandatory attribute: MeasuredValue" + - label: + "Step 4: After a few seconds, TH reads from the DUT the MeasuredValue + attribute." PICS: FLW.S.A0000 && FLW.M.FlowChange command: "readAttribute" attribute: "MeasuredValue" @@ -61,5 +65,5 @@ tests: constraints: type: int16u minValue: 0 - maxValue: 65535 + maxValue: 65534 notValue: ValueBeforeChange diff --git a/src/app/tests/suites/certification/Test_TC_GRPKEY_1_1.yaml b/src/app/tests/suites/certification/Test_TC_GRPKEY_1_1.yaml index 3402a7c6b7bb59..ea77cb6fb19f7d 100644 --- a/src/app/tests/suites/certification/Test_TC_GRPKEY_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_GRPKEY_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads the FeatureMap from DUT" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." PICS: " !GRPKEY.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +61,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +70,7 @@ tests: type: list contains: [0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: " !PICS_EVENT_LIST_ENABLED " command: "readAttribute" attribute: "AttributeList" @@ -77,7 +79,7 @@ tests: type: list contains: [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH1 reads EventList from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -86,7 +88,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -94,7 +96,7 @@ tests: type: list contains: [0, 1, 3, 4] - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml index f6d17635840779..7bc77c9534bbb0 100644 --- a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml @@ -26,7 +26,9 @@ config: Groups.Endpoint: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -67,7 +69,12 @@ tests: - label: "Step 4: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT. GroupKeySet fields are as follows:1)GroupKeySetID: + 0x01a3 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: + d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0:1 5)EpochKey1: + d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -98,7 +105,8 @@ tests: - label: "Step 7a: TH attempts to write to the GroupTable attribute from - GroupKeyManagement cluster on DUT" + GroupKeyManagement cluster on DUT with one entry as follows:1)GroupId: + 0x0104 2)Endpoints: [PIXIT.G.ENDPOINT] 3)GroupName: 'Test Group2'" PICS: GRPKEY.S.A0001 && G.S.F00 command: "writeAttribute" attribute: "GroupTable" @@ -117,7 +125,8 @@ tests: - label: "Step 7b: TH attempts to write to the GroupTable attribute from - GroupKeyManagement cluster on DUT" + GroupKeyManagement cluster on DUT with one entry as follows:1)GroupId: + 0x0104 2)Endpoints: [PIXIT.G.ENDPOINT] 3)GroupName: '' " PICS: GRPKEY.S.A0001 && !G.S.F00 command: "writeAttribute" attribute: "GroupTable" diff --git a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml index 245da43f236450..6397b87906b816 100644 --- a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml @@ -44,7 +44,12 @@ tests: - label: "Step 2: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2:18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -88,7 +93,11 @@ tests: - label: "Step 4: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT on EP0." + cluster to DUT on EP0 with GroupKeySet fields are as + follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst + (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: null 6)EpochStartTime1:null 7)EpochKey2: null + 8)EpochStartTime2:null" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -108,7 +117,12 @@ tests: - label: "Step 5: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT on EP0." + cluster to DUT on EP0 with GroupKeySet fields are as + follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst + (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf + 6)EpochStartTime1:18446744073709551613 7)EpochKey2: null + 8)EpochStartTime2:null" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -128,7 +142,12 @@ tests: - label: "Step 6: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with command fields as follows:1)GroupKeySetID: + 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: null + 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf + 6)EpochStartTime1:18446744073709551613 7)EpochKey2: + d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2:18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -150,7 +169,12 @@ tests: - label: "Step 7: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: null + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -172,7 +196,12 @@ tests: - label: "Step 8: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 0 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2:18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -194,7 +223,12 @@ tests: - label: "Step 9: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: null 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: + d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2:18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -216,7 +250,12 @@ tests: - label: "Step 10: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: null + 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2:18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -238,7 +277,12 @@ tests: - label: "Step 11: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT. Note: EpochStartTime1 is earlier than EpochStartTime0" + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: + 18446744073709551613 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf + 6)EpochStartTime1: 1 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 18446744073709551614" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -260,7 +304,12 @@ tests: - label: "Step 12: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT. Note: EpochKey1 and EpochStartTime1 are null when + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: null 6)EpochStartTime1: null 7)EpochKey2: + d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: + 18446744073709551614 Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" @@ -283,8 +332,13 @@ tests: - label: "Step 13: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT. Note: EpochKey2 is set to null and EpochStartTime2 is - not null" + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: null 8)EpochStartTime2: + 18446744073709551614 Note: EpochKey2 is set to null and + EpochStartTime2 is not null" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -306,8 +360,13 @@ tests: - label: "Step 14: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT. Note: EpochKey2 is not null and EpochStartTime2 is - null" + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: null Note: EpochKey2 is not null and + EpochStartTime2 is null" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -329,7 +388,13 @@ tests: - label: "Step 15: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT. Note: EpochStartTime2 is earlier than EpochStartTime1" + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 6)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 7)EpochStartTime1: + 18446744073709551613 8)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 9)EpochStartTime2: 1 Note: EpochStartTime2 is earlier than + EpochStartTime1" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -351,7 +416,13 @@ tests: - label: "Step 16: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 with GroupKeySet fields are as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d0 4)EpochStartTime0: 1 5)EpochKey1: + d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 1 Note1: Repeat the step by sending EpochKey1 and + EpochKey2 with 1 byte value (< 16 bytes)" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: @@ -553,8 +624,14 @@ tests: - label: "Step 17: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT on EP0. Note: KeySetWrite command is sent with - different EpochKeys,EpochStartTime1 and EpochStartTime2 values" + cluster to DUT on EP0 with GroupKeySet fields as follows: + 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) + 3)EpochKey0: d3d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 + 5)EpochKey1: d4d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 17446744073709551613 7)EpochKey2: d5d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 17446744073709551614 Note: KeySetWrite command is + sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 + values" PICS: GRPKEY.S.C00.Rsp command: "KeySetWrite" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_G_1_1.yaml b/src/app/tests/suites/certification/Test_TC_G_1_1.yaml index f0e103e587b49b..305dc43ae0de62 100644 --- a/src/app/tests/suites/certification/Test_TC_G_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 121.1.1. [TC-G-1.1] Global Attributes [DUT-Server] +name: 121.1.1. [TC-G-1.1] Global Attributes with DUT as Server PICS: - G.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads the FeatureMap from DUT" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." PICS: " !G.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -57,7 +59,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -66,7 +68,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -75,7 +77,7 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH reads EventList from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -84,7 +86,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -92,7 +94,7 @@ tests: type: list contains: [0, 1, 2, 3, 4, 5] - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_G_2_1.yaml b/src/app/tests/suites/certification/Test_TC_G_2_1.yaml index 2a9cf16db1e08b..c6308ffb9b1832 100644 --- a/src/app/tests/suites/certification/Test_TC_G_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_1.yaml @@ -24,7 +24,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_G_2_3.yaml b/src/app/tests/suites/certification/Test_TC_G_2_3.yaml index e2f77bc6401c3a..51fd39f571ef99 100644 --- a/src/app/tests/suites/certification/Test_TC_G_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_3.yaml @@ -48,10 +48,9 @@ tests: cluster to DUT on EP0 using a key that is pre-installed on the TH. GroupKeySet fields are as follows: GroupKeySetID: 1 GroupKeySecurityPolicy: TrustFirst (0) EpochKey0: - d0d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime0: 1 EpochKey1: - d2d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime1: 18446744073709551613 - EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime2: - 18446744073709551614" + d0d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime0: 2220000 EpochKey1: + d1d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime1: 2220001 EpochKey2: + d2d1d2d3d4d5d6d7d8d9dadbdcdddedf EpochStartTime2: 2220002" verification: | ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 1,"groupKeySecurityPolicy": 0, "epochKey0":"d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 1,"epochKey1":"d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 18446744073709551613,"epochKey2":"d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 18446744073709551614 }' 1 0 @@ -1158,7 +1157,7 @@ tests: - label: "Step 19b: TH sends AddGroupIfIdentifying command to DUT on PIXIT.G.ENDPOINT as unicast method with the following fields: GroupID - as 0x0006 + maxgroups, GroupName as Gp123456789123456" + as 0x0006 + maxgroups GroupName as GroupName as Gp123456789123456" PICS: G.S.C05.Rsp && G.S.F00 verification: | ./chip-tool groups add-group-if-identifying 0x0012 Gp123456789123456 1 0 @@ -1188,7 +1187,7 @@ tests: disabled: true - label: - "Step 21a: TH sends Identify command to DUT on PIXIT.I.ENDPOINT with + "Step 21a: TH sends Identify command to DUT on PIXIT.G.ENDPOINT with the IdentifyTime as 0x0000 (stop identifying)" PICS: I.S.C00.Rsp verification: | diff --git a/src/app/tests/suites/certification/Test_TC_G_2_4.yaml b/src/app/tests/suites/certification/Test_TC_G_2_4.yaml index 2941e036caf848..03f9fb23f9df63 100644 --- a/src/app/tests/suites/certification/Test_TC_G_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_4.yaml @@ -32,7 +32,9 @@ config: Groups.Endpoint2: 2 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -58,7 +60,13 @@ tests: - label: "Step 2: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT." + cluster to DUT on EP0 using a key that is pre-installed on the TH. + GroupKeySet fields are as follows: 1)GroupKeySetID: 1 + 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: + d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: + d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 18446744073709551614" PICS: GRPKEY.S.C00.Rsp cluster: "Group Key Management" command: "KeySetWrite" @@ -70,11 +78,11 @@ tests: GroupKeySetID: 1, GroupKeySecurityPolicy: 0, EpochKey0: "hex:d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", - EpochStartTime0: 1, + EpochStartTime0: 2220000, EpochKey1: "hex:d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", - EpochStartTime1: 18446744073709551613, + EpochStartTime1: 2220001, EpochKey2: "hex:d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", - EpochStartTime2: 18446744073709551614, + EpochStartTime2: 2220002, } - label: @@ -102,7 +110,7 @@ tests: - label: "Step 5a: TH sends AddGroup command to DUT on PIXIT.G.ENDPOINT with - the following fields: GroupID as 0x0001,GroupName as 'Gp1'" + the following fields:1) GroupID as 0x0001, 2)GroupName as 'Gp1'" PICS: G.S.C00.Rsp && G.S.C00.Tx endpoint: Groups.Endpoint1 command: "AddGroup" diff --git a/src/app/tests/suites/certification/Test_TC_HEPAFREMON_1_1.yaml b/src/app/tests/suites/certification/Test_TC_HEPAFREMON_1_1.yaml index acc422bd8fc313..5ae91d71678e31 100644 --- a/src/app/tests/suites/certification/Test_TC_HEPAFREMON_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_HEPAFREMON_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" PICS: "!HEPAFREMON.S.F00 && !HEPAFREMON.S.F01 && !HEPAFREMON.S.F02" @@ -81,7 +83,7 @@ tests: type: bitmap32 hasMasksSet: [0x4] - - label: "Step 4: Read the global attribute: AttributeList" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -90,7 +92,7 @@ tests: type: list contains: [2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: Read the global attribute: AttributeList" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -100,8 +102,8 @@ tests: contains: [2, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the feature dependent(HEPAFREMON.S.F00) attribute in - AttributeList" + "Step 4b: TH reads the feature dependent(HEPAFREMON.S.F00) attribute + in AttributeList" PICS: HEPAFREMON.S.F00 command: "readAttribute" attribute: "AttributeList" @@ -111,7 +113,7 @@ tests: contains: [0, 1, 2] - label: - "Step 4c: Read the optional attribute InPlaceIndicator + "Step 4c: TH reads the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList" PICS: HEPAFREMON.S.A0003 command: "readAttribute" @@ -122,7 +124,7 @@ tests: contains: [3] - label: - "Step 4d: Read the optional attribute LastChangedTime + "Step 4d: TH reads the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList" PICS: HEPAFREMON.S.A0004 command: "readAttribute" @@ -133,7 +135,7 @@ tests: contains: [4] - label: - "Step 4e: Read the optional attribute ReplacementProductList + "Step 4e: TH reads the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList" PICS: HEPAFREMON.S.F02 command: "readAttribute" @@ -143,7 +145,7 @@ tests: type: list contains: [5] - - label: "Step 5: TH reads EventList attribute from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -152,7 +154,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." PICS: "!HEPAFREMON.S.C00.Rsp" command: "readAttribute" attribute: "AcceptedCommandList" @@ -162,7 +164,7 @@ tests: type: list - label: - "Step 6: Read the optional command (ResetCondition) in + "Step 6: TH reads the optional command (ResetCondition) in AcceptedCommandList" PICS: HEPAFREMON.S.C00.Rsp command: "readAttribute" @@ -172,7 +174,7 @@ tests: type: list contains: [0] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_HEPAFREMON_2_1.yaml b/src/app/tests/suites/certification/Test_TC_HEPAFREMON_2_1.yaml index d232c3af497b2c..20d078254deeef 100644 --- a/src/app/tests/suites/certification/Test_TC_HEPAFREMON_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_HEPAFREMON_2_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 165.2.1. [TC-HEPAFREMON-2.1] Attributes with server as DUT +name: 165.2.1. [TC-HEPAFREMON-2.1] Attributes with DUT as Server PICS: - HEPAFREMON.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml index ca863787daa7b3..3d9ece02b4c2fb 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.2.1. [TC-IDM-2.1] Read Request Action from DUT to TH. [{DUT_Client}] +name: 3.2.1. [TC-IDM-2.1] Read Request Action from DUT to TH. [DUT as Client] PICS: - MCORE.IDM.C.ReadRequest @@ -306,7 +306,7 @@ tests: - label: "Step 9: DUT sends the Read Request Message to the TH to read an - attribute of data type bool." + attribute of data type bool. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_Bool verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -338,7 +338,7 @@ tests: - label: "Step 10: DUT sends the Read Request Message to the TH to read an - attribute of data type string." + attribute of data type string. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_String verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -370,7 +370,7 @@ tests: - label: "Step 11: DUT sends the Read Request Message to the TH to read an - attribute of data type unsigned integer." + attribute of data type unsigned integer. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_UnsignedInteger verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -403,7 +403,7 @@ tests: - label: "Step 12: DUT sends the Read Request Message to the TH to read an - attribute of data type signed integer." + attribute of data type signed integer. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_SignedInteger verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -435,7 +435,7 @@ tests: - label: "Step 13: DUT sends the Read Request Message to the TH to read an - attribute of data type floating point." + attribute of data type floating point. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_FloatingPoint verification: | DUT implementation required to verify read an attribute of data type Float @@ -445,7 +445,7 @@ tests: - label: "Step 14: DUT sends the Read Request Message to the TH to read an - attribute of data type Octet String." + attribute of data type Octet String. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_OctetString verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -478,7 +478,7 @@ tests: - label: "Step 15: DUT sends the Read Request Message to the TH to read an - attribute of data type Struct." + attribute of data type Struct. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_Struct verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -510,7 +510,7 @@ tests: - label: "Step 16: DUT sends the Read Request Message to the TH to read an - attribute of data type List." + attribute of data type List. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_List verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -545,7 +545,7 @@ tests: - label: "Step 17: DUT sends the Read Request Message to the TH to read an - attribute of data type enum." + attribute of data type enum. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_Enum verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -577,7 +577,7 @@ tests: - label: "Step 18: DUT sends the Read Request Message to the TH to read an - attribute of data type bitmap." + attribute of data type bitmap. +" PICS: MCORE.IDM.C.ReadRequest.Attribute.DataType_Bitmap verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) diff --git a/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml index 1b95d1b59aa9c4..6b4f2c7e7df9a9 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_2_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.2.2. [TC-IDM-2.2] Report Data Action from DUT to TH. [{DUT_Server}] +name: 3.2.2. [TC-IDM-2.2] Report Data Action from DUT to TH. [DUT as Server] PICS: - MCORE.IDM.S @@ -1065,7 +1065,7 @@ tests: "Step 32: TH sends a Read Request Message to the DUT to read a non global attribute from all clusters at that Endpoint AttributePath = [[Endpoint = Specific Endpoint, Attribute = Specific Non Global - Attribute]]" + Attribute]] +" verification: | The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. @@ -1086,7 +1086,7 @@ tests: - label: "Step 33: TH sends a Read Request Message to the DUT to read a non global attribute from all clusters at all Endpoints AttributePath = - [[Attribute = Specific Non Global Attribute]]" + [[Attribute = Specific Non Global Attribute]] +" verification: | The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. @@ -1107,7 +1107,7 @@ tests: "Step 34: TH should have access to only a single cluster at one Endpoint1. TH sends a Read Request Message to the DUT to read all attributes from all clusters at Endpoint1 AttributePath = [[Endpoint = - Specific Endpoint]]" + Specific Endpoint]] +" verification: | The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. diff --git a/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml index 96120d3615893d..edd03255d0d9a5 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_3_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.3.1. [TC-IDM-3.1] Write Request Action from DUT to TH. [DUT Client] +name: 3.3.1. [TC-IDM-3.1] Write Request Action from DUT to TH. [DUT as Client] PICS: - MCORE.IDM.C.WriteRequest @@ -31,7 +31,7 @@ tests: - label: "Step 1: DUT sends the WriteRequestMessage to the TH to modify one - attribute data" + attribute data +" verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -78,7 +78,7 @@ tests: - label: "Step 3: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type bool." + attribute of data type bool. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_Bool verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -119,7 +119,7 @@ tests: - label: "Step 4: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type string." + attribute of data type string. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_String verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -161,7 +161,7 @@ tests: - label: "Step 5: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type unsigned integer." + attribute of data type unsigned integer. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_UnsignedInteger verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -201,7 +201,7 @@ tests: - label: "Step 6: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type signed integer." + attribute of data type signed integer. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_SignedInteger verification: | DUT implementation required to verify write an attribute of data type signed integer. @@ -211,7 +211,7 @@ tests: - label: "Step 7: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type floating point." + attribute of data type floating point. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_FloatingPoint verification: | DUT implementation required to verify write an attribute of data type float @@ -221,7 +221,7 @@ tests: - label: "Step 8: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type Octet String." + attribute of data type Octet String. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_OctetString verification: | DUT implementation required to verify write an attribute of data type Octet String @@ -231,7 +231,7 @@ tests: - label: "Step 9: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type Struct." + attribute of data type Struct. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_Struct verification: | DUT implementation required to verify write an attribute ofdata type Struct @@ -241,7 +241,7 @@ tests: - label: "Step 10: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type List." + attribute of data type List. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_List verification: | DUT implementation required to verify write an attribute of data type List @@ -251,7 +251,7 @@ tests: - label: "Step 11: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type enum." + attribute of data type enum. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_Enum verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -293,7 +293,7 @@ tests: - label: "Step 12: DUT sends the WriteRequestMessage to the TH to write an - attribute of data type bitmap." + attribute of data type bitmap. +" PICS: MCORE.IDM.C.WriteRequest.Attribute.DataType_Bitmap verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) @@ -392,7 +392,7 @@ tests: the attribute values and the dataversions of the clusters. DUT sends a WriteRequestMessage to the DUT to both the clusters with the appropriate dataversions(received in the previous step) to modify the - value of an attribute" + value of an attribute +" verification: | Out of Scope disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml index c1a6c376adf2a2..09982f6851b245 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_3_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 3.3.2. [TC-IDM-3.2] Write Response Action from DUT to TH. [{DUT_Server}] +name: 3.3.2. [TC-IDM-3.2] Write Response Action from DUT to TH. [DUT as Server] PICS: - MCORE.IDM.S diff --git a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml index 91c702b987d5ae..76f371c1145bf5 100644 --- a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: read the global attribute: ClusterRevision" + - label: "Step 2: TH reads the ClusterRevision attribute from the DUT." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: Read the global attribute: FeatureMap" + - label: "Step 3: TH reads the FeatureMap attribute from the DUT." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads the AttributeList attribute from the DUT." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +58,7 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads the AttributeList attribute from the DUT." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,7 +67,8 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute(Tolerance) in AttributeList" + - label: + "Step 4b: TH reads the optional attribute(Tolerance) in AttributeList" PICS: ILL.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -75,7 +78,7 @@ tests: contains: [3] - label: - "Step 4c: Read the optional attribute(LightSensorType) in + "Step 4c: TH reads the optional attribute(LightSensorType) in AttributeList" PICS: ILL.S.A0004 command: "readAttribute" @@ -85,7 +88,7 @@ tests: type: list contains: [4] - - label: "Step 5: Read EventList attribute from the DUT." + - label: "Step 5: TH reads the EventList attribute from the DUT." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -94,7 +97,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads the AcceptedCommandList attribute from the DUT." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -102,7 +105,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads the GeneratedCommandList attribute from the DUT." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml index 33433e7892fab6..6afdb920658f94 100644 --- a/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads MinMeasuredValue attribute from DUT" + - label: + "Step 2: Test Harness Client reads MinMeasuredValue attribute from + DUT." PICS: ILL.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" @@ -41,7 +45,9 @@ tests: minValue: 1 maxValue: 65533 - - label: "Step 3: TH reads MaxMeasuredValue attribute from DUT" + - label: + "Step 3: Test Harness Client reads MaxMeasuredValue attribute from + DUT." PICS: ILL.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" @@ -51,7 +57,8 @@ tests: minValue: 2 maxValue: 65534 - - label: "Step 4: TH reads MeasuredValue attribute from DUT" + - label: + "Step 4: Test Harness Client reads MeasuredValue attribute from DUT." PICS: ILL.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -61,7 +68,7 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 5: TH reads Tolerance attribute from DUT" + - label: "Step 5: TH reads the Tolerance attribute from the DUT." PICS: ILL.S.A0003 command: "readAttribute" attribute: "Tolerance" @@ -71,7 +78,7 @@ tests: minValue: 0 maxValue: 2048 - - label: "Step 6: TH reads LightSensorType attribute from DUT" + - label: "Step 6: TH reads the LightSensorType attribute from the DUT" PICS: ILL.S.A0004 command: "readAttribute" attribute: "LightSensorType" diff --git a/src/app/tests/suites/certification/Test_TC_ILL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_ILL_2_2.yaml index b7817bf216284a..dde389b741dcc9 100644 --- a/src/app/tests/suites/certification/Test_TC_ILL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_ILL_2_2.yaml @@ -24,7 +24,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml index 0794abc3046643..660efd76fb9392 100644 --- a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 57.1.1. [TC-I-1.1] Global attributes with server as DUT +name: 57.1.1. [TC-I-1.1] Global Attributes with DUT as Server PICS: - I.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1:Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -57,7 +59,7 @@ tests: # constraints: # type: bitmap32 - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -66,7 +68,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -75,7 +77,8 @@ tests: type: list contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: Read EventList attribute from the DUT." + #Manufacturer specific event IDs check not possible + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -84,7 +87,7 @@ tests: constraints: type: list - - label: "Step 6a: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -93,7 +96,7 @@ tests: contains: [0] - label: - "Step 6b: Read the optional command(TriggerEffect) in + "Step 6: TH reads the optional command(TriggerEffect) in AcceptedCommandList" PICS: I.S.C40.Rsp command: "readAttribute" @@ -104,7 +107,7 @@ tests: contains: [64] #Commenting out the step IdentifyQuery (0x01) is not supported by Matter 1.0. - #- label: "Read the optional attribute(IdentifyQuery) in AcceptedCommandList" + #- label: "TH reads the optional attribute(IdentifyQuery) in AcceptedCommandList" # PICS: I.S.C01.Rsp # command: "readAttribute" # attribute: "AcceptedCommandList" @@ -113,16 +116,17 @@ tests: # type: list # contains: [1] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: value: [] constraints: type: list + #Commenting out the step IdentifyQueryResponse (0x00) is not supported by Matter 1.0 #- label: - # "Read the optional command(IdentifyQueryResponse) in + # "TH reads the optional command(IdentifyQueryResponse) in # GeneratedCommandList" # PICS: I.S.C00.Tx # command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_I_2_1.yaml b/src/app/tests/suites/certification/Test_TC_I_2_1.yaml index 65a5a6444cd4e1..224224d293e847 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_I_2_2.yaml b/src/app/tests/suites/certification/Test_TC_I_2_2.yaml index d5061b3a8302f8..52bbd1e41bb572 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_2.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1a: Wait for the commissioned device to be retrieved" + - label: + "Step 1a: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -115,8 +117,8 @@ tests: # value: "y" - label: - "Step 4a: TH sends Identify command to DUT, with the IdentifyTime - field set to 0x0000 (stop identifying)." + "Step 4a: Before 60 seconds expire, TH sends Identify command to DUT, + with the identify time field set to 0x0000 (stop identifying)." PICS: I.S.C00.Rsp command: "Identify" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml index b3142302e5cd5a..d3cd0b42003b0a 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml @@ -16,6 +16,8 @@ name: 57.2.3. [TC-I-2.3] Secondary functionality with server as DUT PICS: - I.S + - I.S.C40.Rsp + config: nodeId: 0x12344321 @@ -23,7 +25,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -32,9 +36,9 @@ tests: value: nodeId - label: - "Step 2a: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x00 blink and the effect variant field set to - 0x00 default" + "Step 2a: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x00 (blink) and the effect variant field set + to 0x00 (default)" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -56,9 +60,9 @@ tests: value: "y" - label: - "Step 2b: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x01 breathe and the effect variant field set - to 0x00 default" + "Step 2b: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x01 (breathe) and the effect variant field + set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -80,9 +84,9 @@ tests: value: "y" - label: - "Step 2c: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x02 okay and the effect variant field set to - 0x00 default" + "Step 2c: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x02 (okay) and the effect variant field set + to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -104,9 +108,9 @@ tests: value: "y" - label: - "Step 2d: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x0b channel change and the effect variant - field set to 0x00 default" + "Step 2d:TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x0b (channel change) and the effect variant + field set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -128,9 +132,9 @@ tests: value: "y" - label: - "Step 2e: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x01 breathe and the effect variant field set - to 0x00 default" + "Step 2e: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x01 (breathe) and the effect variant field + set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -152,9 +156,9 @@ tests: value: "y" - label: - "Step 2f: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0xfe finish effect and the effect variant - field set to 0x00 default" + "Step 2f: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0xfe (finish effect) and the effect variant + field set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -176,9 +180,9 @@ tests: value: "y" - label: - "Step 2g: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x01 breathe and the effect variant field set - to 0x00 default" + "Step 2g: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x01 (breathe) and the effect variant field + set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -200,9 +204,9 @@ tests: value: "y" - label: - "Step 2h: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0xff stop effect and the effect variant field - set to 0x00 default" + "Step 2h: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0xff (stop effect) and the effect variant + field set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -224,9 +228,9 @@ tests: value: "y" - label: - "Step 3a: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0x00 blink and the effect variant field set to - 0x42 unknown" + "Step 3a: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0x00 (blink) and the effect variant field set + to 0x42 (unknown)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -248,9 +252,9 @@ tests: value: "y" - label: - "Step 3b: TH sends TriggerEffect command to DUT with the effect - identifier field set to 0xff stop effect and the effect variant field - set to 0x00 default" + "Step 3b: TH sends TriggerEffect command to DUT, with the effect + identifier field set to 0xff (stop effect) and the effect variant + field set to 0x00 (default)." PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml index a13c83a6d3da94..20cd640da5dfd1 100644 --- a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml @@ -25,7 +25,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +42,7 @@ tests: constraints: type: int16u - - label: "Step 2a: Read the global attribute: FeatureMap" + - label: "Step 2a: TH reads the FeatureMap attribute from the DUT" PICS: " !KEYPADINPUT.S.F00 && KEYPADINPUT.S.F01 && !KEYPADINPUT.S.F02 " command: "readAttribute" attribute: "FeatureMap" @@ -83,7 +84,7 @@ tests: type: bitmap32 hasMasksSet: [0x4] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -92,7 +93,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -101,7 +102,7 @@ tests: type: list contains: [65528, 65529, 65531, 65532, 65533] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -109,7 +110,7 @@ tests: type: list contains: [0] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -117,7 +118,7 @@ tests: type: list contains: [1] - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" 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 5cb9d1d94ac061..38306f6089a666 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 @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1a: Send Numbers1" + - label: "Step 1a: TH sends Numbers1" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -43,7 +43,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1b: Send Numbers2" + - label: "Step 1b: TH sends Numbers2" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -55,7 +55,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1c: Send Numbers3" + - label: "Step 1c: TH sends Numbers3" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -67,7 +67,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1d: Send Numbers4" + - label: "Step 1d: TH sends Numbers4" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -79,7 +79,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1e: Send Numbers5" + - label: "Step 1e: TH sends Numbers5" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -91,7 +91,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1f: Send Numbers6" + - label: "Step 1f: TH sends Numbers6" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -103,7 +103,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1g: Send Numbers7" + - label: "Step 1g: TH sends Numbers7" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -115,7 +115,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1h: Send Numbers8" + - label: "Step 1h: TH sends Numbers8" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: @@ -127,7 +127,7 @@ tests: - name: "Status" value: 0 - - label: "Step 1i: Send Numbers9" + - label: "Step 1i: TH sends Numbers9" PICS: KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02 command: "SendKey" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml index 9797c149fd9fbf..6cd288c1a26d5d 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 101.1.1. [TC-LCFG-1.1] Global Attributes [DUT-Server] +name: 101.1.1. [TC-LCFG-1.1] Global Attributes with DUT as Server PICS: - LCFG.S @@ -23,7 +23,9 @@ config: endpoint: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap from DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +58,7 @@ tests: type: list contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,7 +67,7 @@ tests: type: list contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -74,7 +76,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -82,7 +84,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml index fac7434a5dd0f0..2dae158d9874dc 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml @@ -37,7 +37,9 @@ config: defaultValue: "es-ES" tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -46,7 +48,7 @@ tests: value: nodeId - label: "Step 1a: TH reads SupportedLocales attribute from DUT" - PICS: LCFG.S.A0001 + PICS: LCFG.S.A0000 command: "readAttribute" attribute: "SupportedLocales" response: @@ -79,7 +81,7 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 3: TH reads SupportedLocales attribute from DUT" - PICS: LCFG.S.A0001 + PICS: LCFG.S.A0000 command: "readAttribute" attribute: "SupportedLocales" response: diff --git a/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml index 5aca08d6cb6097..c71888c3477df0 100644 --- a/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2: Read the global attribute: FeatureMap" + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -49,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3: Read the global attribute: AttributeList" + - label: "Step 3: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -58,7 +58,7 @@ tests: constraints: type: list - - label: "Step 3: Read the global attribute: AttributeList" + - label: "Step 3: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -67,7 +67,7 @@ tests: constraints: type: list - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -75,7 +75,7 @@ tests: constraints: type: list - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -83,7 +83,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_LOWPOWER_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LOWPOWER_2_1.yaml index 81483b968e4371..d42daa924d769e 100644 --- a/src/app/tests/suites/certification/Test_TC_LOWPOWER_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LOWPOWER_2_1.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml index abf70d8f657e87..cb10e8a1d116f2 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 108.1.2. [TC-LTIME-1.2] Global Attributes [DUT as Server] +name: 108.1.2. [TC-LTIME-1.2] Global Attributes with DUT as Server PICS: - LTIME.S @@ -23,7 +23,9 @@ config: endpoint: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap from DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -48,7 +50,7 @@ tests: minValue: 0 maxValue: 1 - - label: "Step 4a: TH reads AttributeList from DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -57,7 +59,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads AttributeList from DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -67,7 +69,7 @@ tests: contains: [0, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: TH reads feature dependent attribute(ActiveCalendarType) in + "Step 4b: TH reads Feature dependent attribute(ActiveCalendarType) in AttributeList from DUT" PICS: LTIME.S.F00 && LTIME.S.A0001 command: "readAttribute" @@ -78,7 +80,7 @@ tests: contains: [1] - label: - "Step 4c: TH reads feature dependent attribute(SupportedCalendarTypes) + "Step 4c: TH reads Feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT" PICS: LTIME.S.F00 && LTIME.S.A0002 command: "readAttribute" @@ -88,7 +90,7 @@ tests: type: list contains: [2] - - label: "Step 5: TH reads EventList from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -97,7 +99,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -105,7 +107,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml index 65e9e1a3d73365..7e365a9fae6ed5 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml @@ -25,7 +25,9 @@ config: endpoint: 0 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml index fa50e96346d9f3..ab55e650535f86 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 108.1.2. [TC-LUNIT-1.2] Global Attributes [DUT as Server] +name: 108.1.2. [TC-LUNIT-1.2] Global Attributes with DUT as Server PICS: - LUNIT.S @@ -23,7 +23,9 @@ config: endpoint: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap from DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." PICS: " !LUNIT.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +61,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 4a: TH reads AttributeList from DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +70,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads AttributeList from DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -88,7 +90,7 @@ tests: type: list contains: [0] - - label: "Step 5: TH reads EventList from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -97,7 +99,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -105,7 +107,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml index 316518847aee6a..a572f7e143dc43 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH reads TemperatureUnit attribute from DUT" + - label: "Step 1: TH reads from the DUT the TemperatureUnit" PICS: LUNIT.S.A0000 command: "readAttribute" attribute: "TemperatureUnit" @@ -41,7 +41,7 @@ tests: constraints: type: enum8 - - label: "Step 2: TH writes 0 (Fahrenheit) to TemperatureUnit attribute" + - label: "Step 2: TH writes 0 to TemperatureUnit" PICS: LUNIT.S.A0000 && LUNIT.S.M.Fahrenheit cluster: "Unit Localization" command: "writeAttribute" @@ -49,14 +49,14 @@ tests: arguments: value: 0 - - label: "Step 3: TH reads TemperatureUnit attribute" + - label: "Step 3: TH reads from the DUT the TemperatureUnit" PICS: LUNIT.S.A0000 && LUNIT.S.M.Fahrenheit command: "readAttribute" attribute: "TemperatureUnit" response: value: 0 - - label: "Step 4: TH writes 1 (Celsius) to TemperatureUnit attribute" + - label: "Step 4: TH writes 1 to TemperatureUnit" PICS: LUNIT.S.A0000 && LUNIT.S.M.Celsius cluster: "Unit Localization" command: "writeAttribute" @@ -64,14 +64,14 @@ tests: arguments: value: 1 - - label: "Step 5: TH reads TemperatureUnit attribute" + - label: "Step 5: TH reads from the DUT the TemperatureUnit" PICS: LUNIT.S.A0000 && LUNIT.S.M.Celsius command: "readAttribute" attribute: "TemperatureUnit" response: value: 1 - - label: "Step 6: TH writes 2 (Kelvin) to TemperatureUnit attribute" + - label: "Step 6: TH writes 2 to TemperatureUnit" PICS: LUNIT.S.A0000 && LUNIT.S.M.Kelvin cluster: "Unit Localization" command: "writeAttribute" @@ -79,14 +79,14 @@ tests: arguments: value: 2 - - label: "Step 7: TH reads TemperatureUnit attribute" + - label: "Step 7: TH reads from the DUT the TemperatureUnit" PICS: LUNIT.S.A0000 && LUNIT.S.M.Kelvin command: "readAttribute" attribute: "TemperatureUnit" response: value: 2 - - label: "Step 8: TH writes 5 to TemperatureUnit attribute" + - label: "Step 8: TH writes 5 to TemperatureUnit" PICS: LUNIT.S.A0000 cluster: "Unit Localization" command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml index 969f09c8313941..76ca0f322f0e64 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 18.1.1. [TC-LVL-1.1] Global attributes with server as DUT +name: 18.1.1. [TC-LVL-1.1] Global Attributes with DUT as Server PICS: - LVL.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." PICS: " !LVL.S.F00 && !LVL.S.F01 && !LVL.S.F02 " command: "readAttribute" attribute: "FeatureMap" @@ -49,7 +51,7 @@ tests: type: bitmap32 - label: - "Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit + "Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set" PICS: LVL.S.F00 command: "readAttribute" @@ -60,7 +62,7 @@ tests: hasMasksSet: [0x1] - label: - "Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit + "Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set" PICS: LVL.S.F01 command: "readAttribute" @@ -71,7 +73,7 @@ tests: hasMasksSet: [0x2] - label: - "Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit + "Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set" PICS: LVL.S.F02 command: "readAttribute" @@ -81,7 +83,7 @@ tests: type: bitmap32 hasMasksSet: [0x4] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -90,7 +92,7 @@ tests: type: list contains: [0, 15, 17, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -100,7 +102,7 @@ tests: contains: [0, 15, 17, 65528, 65529, 65531, 65532, 65533] - label: - "Step 3b: Read the optional attribute(StartUpCurrentLevel and + "Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList" PICS: LVL.S.F01 command: "readAttribute" @@ -111,8 +113,8 @@ tests: contains: [1, 16384] - label: - "Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency - and MinFrequency) in AttributeList" + "Step 4b: TH reads the optional attribute(CurrentFrequency, + MinFrequency and MinFrequency) in AttributeList" PICS: LVL.S.F02 command: "readAttribute" attribute: "AttributeList" @@ -121,7 +123,8 @@ tests: type: list contains: [4, 5, 6] - - label: "Step 3d: Read the optional attribute(MinLevel) in AttributeList" + - label: + "Step 4c: TH reads the optional attribute(MinLevel) in AttributeList" PICS: LVL.S.A0002 command: "readAttribute" attribute: "AttributeList" @@ -130,7 +133,8 @@ tests: type: list contains: [2] - - label: "Step 3e: Read the optional attribute(MaxLevel) in AttributeList" + - label: + "Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList" PICS: LVL.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -140,7 +144,7 @@ tests: contains: [3] - label: - "Step 3f: Read the optional attribute(OnOffTransitionTime) in + "Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList" PICS: LVL.S.A0010 command: "readAttribute" @@ -151,7 +155,7 @@ tests: contains: [16] - label: - "Step 3g: Read the optional attribute(OnTransitionTime) in + "Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList" PICS: LVL.S.A0012 command: "readAttribute" @@ -162,7 +166,7 @@ tests: contains: [18] - label: - "Step 3h: Read the optional attribute(OffTransitionTime) in + "Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList" PICS: LVL.S.A0013 command: "readAttribute" @@ -173,7 +177,7 @@ tests: contains: [19] - label: - "Step 3i: Read the optional attribute(DefaultMoveRate) in + "Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList" PICS: LVL.S.A0014 command: "readAttribute" @@ -183,7 +187,16 @@ tests: type: list contains: [20] - - label: "Step 4a: Read the global attribute: AcceptedCommandList" + - label: "Step 5: Read the global attribute: EventList" + PICS: PICS_EVENT_LIST_ENABLED + command: "readAttribute" + attribute: "EventList" + response: + value: [] + constraints: + type: list + + - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -192,7 +205,7 @@ tests: contains: [0, 1, 2, 3, 4, 5, 6, 7] - label: - "Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in + "Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList" PICS: LVL.S.F02 command: "readAttribute" @@ -202,19 +215,10 @@ tests: type: list contains: [8] - - label: "Step 4b: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: value: [] constraints: type: list - - - label: "Step 5: Read the global attribute: EventList" - PICS: PICS_EVENT_LIST_ENABLED - command: "readAttribute" - attribute: "EventList" - response: - value: [] - constraints: - type: list diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml index df060ee1d2fb5d..b930badc0971a1 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +32,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Reads the CurrentLevel attribute" + - label: "Step 1: TH reads the CurrentLevel attribute from the DUT" PICS: LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" @@ -42,7 +43,7 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 2: Reads the RemainingTime attribute" + - label: "Step 2: TH reads the RemainingTime attribute from the DUT" PICS: LVL.S.A0001 command: "readAttribute" attribute: "RemainingTime" @@ -52,7 +53,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 3a: Reads the MinLevel attribute" + - label: "Step 3a: TH reads the MinLevel attribute from the DUT" PICS: LVL.S.A0002 && LVL.S.F01 command: "readAttribute" attribute: "MinLevel" @@ -62,7 +63,7 @@ tests: constraints: type: int8u - - label: "Step 3b: Reads the MinLevel attribute" + - label: "Step 3b: TH reads the MinLevel attribute from the DUT" PICS: LVL.S.A0002 && !LVL.S.F01 command: "readAttribute" attribute: "MinLevel" @@ -73,7 +74,7 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 4: Reads the MaxLevel attribute" + - label: "Step 4: TH reads the MaxLevel attribute from the DUT" PICS: LVL.S.A0003 && LVL.S.F01 command: "readAttribute" attribute: "MaxLevel" @@ -84,7 +85,7 @@ tests: type: int8u minValue: MinLevelValue - - label: "Step 4a: Reads the MaxLevel attribute" + - label: "Step 4a: TH reads the MaxLevel attribute from the DUT" PICS: LVL.S.A0003 && !LVL.S.F01 command: "readAttribute" attribute: "MaxLevel" @@ -95,7 +96,7 @@ tests: minValue: MinLevelFeatureMapNotSupportedValue maxValue: 254 - - label: "Step 4b & 4C Reads the CurrentLevel attribute" + - label: "Step 4b & 4C TH reads the CurrentLevel attribute" PICS: LVL.S.F01 && LVL.S.A0002 && LVL.S.A0003 command: "readAttribute" attribute: "CurrentLevel" @@ -105,7 +106,7 @@ tests: minValue: MinLevelValue maxValue: MaxLevelValue - - label: "Step 4b & 4C Reads the CurrentLevel attribute" + - label: "Step 4b & 4C TH reads the CurrentLevel attribute" PICS: LVL.S.A0002 && LVL.S.A0003 && !LVL.S.F01 command: "readAttribute" attribute: "CurrentLevel" @@ -115,7 +116,7 @@ tests: minValue: MinLevelFeatureMapNotSupportedValue maxValue: MaxLevelFeatureMapNotSupportedValue - - label: "Step 5: Reads the CurrentFrequency attribute" + - label: "Step 5: TH reads the CurrentFrequency attribute from the DUT" PICS: LVL.S.A0004 command: "readAttribute" attribute: "CurrentFrequency" @@ -125,7 +126,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 6: Reads the MinFrequency attribute" + - label: "Step 6: TH reads the MinFrequency attribute from the DUT" PICS: LVL.S.A0005 command: "readAttribute" attribute: "MinFrequency" @@ -136,7 +137,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 7: Reads the MaxFrequency attribute" + - label: "Step 7: TH reads the MaxFrequency attribute from the DUT" PICS: LVL.S.A0006 command: "readAttribute" attribute: "MaxFrequency" @@ -147,7 +148,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 7b & 7C Reads the CurrentFrequency attribute" + - label: "Step 7b & 7C TH reads the CurrentFrequency attribute" PICS: LVL.S.A0004 && LVL.S.A0005 && LVL.S.A0006 command: "readAttribute" attribute: "CurrentFrequency" @@ -157,7 +158,7 @@ tests: minValue: MinFrequencyValue maxValue: MaxFrequencyValue - - label: "Step 8: Reads the OnOffTransitionTime attribute" + - label: "Step 8: TH reads the OnOffTransitionTime attribute" PICS: LVL.S.A0010 command: "readAttribute" attribute: "OnOffTransitionTime" @@ -167,7 +168,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 9a: Reads the OnLevel attribute " + - label: "Step 9a: TH reads the OnLevel attribute from the DUT" PICS: LVL.S.F01 && LVL.S.A0011 command: "readAttribute" attribute: "OnLevel" @@ -177,7 +178,7 @@ tests: minValue: MinLevelValue maxValue: MaxLevelValue - - label: "Step 9b: Reads the OnLevel attribute " + - label: "Step 9b: TH reads the OnLevel attribute from the DUT" PICS: LVL.S.A0011 && !LVL.S.F01 command: "readAttribute" attribute: "OnLevel" @@ -187,7 +188,7 @@ tests: minValue: MinLevelFeatureMapNotSupportedValue maxValue: MaxLevelFeatureMapNotSupportedValue - - label: "Step 10: Reads the OnTransitionTime attribute " + - label: "Step 10: TH reads the OnTransitionTime attribute from the DUT" PICS: LVL.S.A0012 command: "readAttribute" attribute: "OnTransitionTime" @@ -197,7 +198,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 11: Reads the OffTransitionTime attribute " + - label: "Step 11: TH reads the OffTransitionTime attribute from the DUT" PICS: LVL.S.A0013 command: "readAttribute" attribute: "OffTransitionTime" @@ -207,7 +208,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 12: Reads the DefaultMoveRate attribute " + - label: "Step 12: TH reads the DefaultMoveRate attribute from the DUT" PICS: LVL.S.A0014 command: "readAttribute" attribute: "DefaultMoveRate" @@ -217,7 +218,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 13: Reads the Options attribute " + - label: "Step 13: TH reads the Options attribute from the DUT" PICS: LVL.S.A000f command: "readAttribute" attribute: "Options" @@ -225,7 +226,7 @@ tests: constraints: type: bitmap8 - - label: "Step 14: Reads the StartUpCurrentLevel attribute " + - label: "Step 14: TH reads the StartUpCurrentLevel attribute from the DUT" PICS: LVL.S.A4000 command: "readAttribute" attribute: "StartUpCurrentLevel" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml index 709efc4985255e..6b7feb98e1445e 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml @@ -41,7 +41,8 @@ config: defaultValue: 5 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -49,7 +50,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1a: Reads the OnOffTransitionTime attribute from the DUT" + - label: "Step 1a: TH reads the OnOffTransitionTime attribute from the DUT" PICS: LVL.S.A0010 command: "readAttribute" attribute: "OnOffTransitionTime" @@ -60,14 +61,16 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 1b: writes the OnOffTransitionTime attribute on the DUT" + - label: + "Step 1b: TH writes the OnOffTransitionTime attribute on the DUT with + a different value than that read in 1a" PICS: LVL.S.A0010 command: "writeAttribute" attribute: "OnOffTransitionTime" arguments: value: OnOffTransitionTimeConfigValue - - label: "Step 1c: Reads the OnOffTransitionTime attribute from the DUT" + - label: "Step 1c: TH reads the OnOffTransitionTime attribute from the DUT" PICS: LVL.S.A0010 command: "readAttribute" attribute: "OnOffTransitionTime" @@ -77,7 +80,7 @@ tests: type: int16u notValue: OnOffTransitionTimeValue - - label: "Step 2a: Reads the OnLevel attribute from the DUT" + - label: "Step 2a: TH reads the OnLevel attribute from the DUT" PICS: LVL.S.A0011 command: "readAttribute" attribute: "OnLevel" @@ -88,14 +91,16 @@ tests: minValue: 0 maxValue: 254 - - label: "Step 2b: writes the OnLevel attribute on the DUT" + - label: + "Step 2b: TH writes the OnLevel attribute on the DUT with a different + value than that read in 2a" PICS: LVL.S.A0011 command: "writeAttribute" attribute: "OnLevel" arguments: value: OnLevelConfigValue - - label: "Step 2c: Reads the OnLevel attribute from the DUT" + - label: "Step 2c: TH reads the OnLevel attribute from the DUT" PICS: LVL.S.A0011 command: "readAttribute" attribute: "OnLevel" @@ -105,7 +110,7 @@ tests: type: int8u notValue: OnLevelValue - - label: "Step 3a: Reads the OnTransitionTime attribute from the DUT" + - label: "Step 3a: TH reads the OnTransitionTime attribute from the DUT" PICS: LVL.S.A0012 command: "readAttribute" attribute: "OnTransitionTime" @@ -116,14 +121,16 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 3b: Writes the OnTransitionTime attribute on the DUT" + - label: + "Step 3b: TH writes the OnTransitionTime attribute on the DUT with a + different value than that read in 3a" PICS: LVL.S.A0012 command: "writeAttribute" attribute: "OnTransitionTime" arguments: value: OnTransitionTimeConfigValue - - label: "Step 3c: Reads the OnTransitionTime attribute from the DUT" + - label: "Step 3c: TH reads the OnTransitionTime attribute from the DUT" PICS: LVL.S.A0012 command: "readAttribute" attribute: "OnTransitionTime" @@ -133,7 +140,7 @@ tests: type: int16u notValue: OnTransitionTimeValue - - label: "Step 4a: Reads the OffTransitionTime attribute from the DUT" + - label: "Step 4a: TH reads the OffTransitionTime attribute from the DUT" PICS: LVL.S.A0013 command: "readAttribute" attribute: "OffTransitionTime" @@ -144,14 +151,16 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 4b: Writes the OffTransitionTime attribute on the DUT" + - label: + "Step 4b: TH writes the OffTransitionTime attribute on the DUT with a + different value than that read in 4a" PICS: LVL.S.A0013 command: "writeAttribute" attribute: "OffTransitionTime" arguments: value: OffTransitionTimeConfigValue - - label: "Step 4c: Reads the OffTransitionTime attribute from the DUT" + - label: "Step 4c: TH reads the OffTransitionTime attribute from the DUT" PICS: LVL.S.A0013 command: "readAttribute" attribute: "OffTransitionTime" @@ -161,7 +170,7 @@ tests: type: int16u notValue: OffTransitionTimeValue - - label: "Step 5a: Reads the DefaultMoveRate attribute from the DUT" + - label: "Step 5a: TH reads the DefaultMoveRate attribute from the DUT" PICS: LVL.S.A0014 command: "readAttribute" attribute: "DefaultMoveRate" @@ -172,14 +181,16 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 5b: Writes the DefaultMoveRate attribute on the DUT" + - label: + "Step 5b: TH writes the DefaultMoveRate attribute on the DUT with a + different value than that read in 5a" PICS: LVL.S.A0014 command: "writeAttribute" attribute: "DefaultMoveRate" arguments: value: DefaultMoveRateConfigValue - - label: "Step 5c: Reads the DefaultMoveRate attribute from the DUT" + - label: "Step 5c: TH reads the DefaultMoveRate attribute from the DUT" PICS: LVL.S.A0014 command: "readAttribute" attribute: "DefaultMoveRate" @@ -189,7 +200,7 @@ tests: type: int8u notValue: DefaultMoveRatevalue - - label: "Step 6a: Reads the StartUpCurrentLevel attribute from the DUT" + - label: "Step 6a: TH reads the StartUpCurrentLevel attribute from the DUT" PICS: LVL.S.A4000 command: "readAttribute" attribute: "StartUpCurrentLevel" @@ -200,14 +211,16 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 6b: Rwrites the StartUpCurrentLevel attribute on the DUT" + - label: + "Step 6b: TH writes the StartUpCurrentLevel attribute on the DUT with + a different value than that read in 6a" PICS: LVL.S.A4000 command: "writeAttribute" attribute: "StartUpCurrentLevel" arguments: value: StartUpCurrentLevelConfigValue - - label: "Step 6c: Rreads the StartUpCurrentLevel attribute from the DUT" + - label: "Step 6c: TH reads the StartUpCurrentLevel attribute from the DUT" PICS: LVL.S.A4000 command: "readAttribute" attribute: "StartUpCurrentLevel" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml index 1f2e84127895d2..c05f2613fbca2e 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -157,7 +158,8 @@ tests: - name: "ms" value: 10000 - - label: "Step 4b: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT" PICS: LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" @@ -174,7 +176,9 @@ tests: - name: "ms" value: 10000 - - label: "Step 4c: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4c: After another 10 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" @@ -191,7 +195,9 @@ tests: - name: "ms" value: 10000 - - label: "Step 4d: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4d:After another 10 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" @@ -208,28 +214,32 @@ tests: - name: "ms" value: 5000 - - label: "Step 4e: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4e: After another 5 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" response: value: 200 - - label: "Step 4f: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4f: TH reads CurrentLevel attribute from DUT (after DUT has + finished the transition)" PICS: LVL.S.C00.Rsp && LVL.S.A0000 && !LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" response: value: 200 - - label: "Step 5a: TH writes 0 to the Options attribute" + - label: "Step 5a: TH writes 0x00 to the Options attribute" PICS: LVL.S.A000f command: "writeAttribute" attribute: "Options" arguments: value: 0 - - label: "Step 5b: TH reads Options attribute" + - label: "Step 5b: TH reads the Options attribute from the DUT" PICS: LVL.S.A000f command: "readAttribute" attribute: "Options" @@ -241,7 +251,10 @@ tests: PICS: OO.S.C01.Rsp command: "On" - - label: "Step 5d: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 5d: TH sends a MoveToLevel command to the DUT with: 1)Level = + 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 + 4)OptionsOverride = 0x00" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -267,7 +280,10 @@ tests: PICS: OO.S.C00.Rsp command: "Off" - - label: "Step 5g: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 5g: TH sends a MoveToLevel command to the DUT with: 1)Level = + 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 + 4)OptionsOverride = 0x00" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -288,7 +304,10 @@ tests: response: value: 100 - - label: "Step 5i: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 5i: TH sends a MoveToLevel command to the DUT with: 1)Level = + 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 + 4)OptionsOverride = 0x00" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -309,7 +328,10 @@ tests: response: value: 100 - - label: "Step 5k: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 5k: TH sends a MoveToLevel command to the DUT with: 1)Level = + 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 + 4)OptionsOverride = 0x01" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -330,14 +352,14 @@ tests: response: value: 160 - - label: "Step 6a: TH writes 1 to the Options attribute" + - label: "Step 6a: TH writes 0x01 to the Options attribute" PICS: LVL.S.A000f command: "writeAttribute" attribute: "Options" arguments: value: 1 - - label: "Step 6b: TH reads Options attribute" + - label: "Step 6b: TH reads the Options attribute from the DUT" PICS: LVL.S.A000f command: "readAttribute" attribute: "Options" @@ -349,7 +371,10 @@ tests: PICS: OO.S.C01.Rsp command: "On" - - label: "Step 6d: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 6d: TH sends a MoveToLevel command to the DUT with: 1)Level = + 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 + 4)OptionsOverride = 0x00" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -375,7 +400,10 @@ tests: PICS: OO.S.C00.Rsp command: "Off" - - label: "Step 6g: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 6g: TH sends a MoveToLevel command to the DUT with: 1)Level = + 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 + 4)OptionsOverride = 0x00" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -396,7 +424,10 @@ tests: response: value: 120 - - label: "Step 6i: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 6i: TH sends a MoveToLevel command to the DUT with: 1)Level = + 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 + 4)OptionsOverride = 0x00" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: @@ -417,7 +448,10 @@ tests: response: value: 120 - - label: "Step 6k: TH sends a MoveToLevel command to the DUT with" + - label: + "Step 6k: TH sends a MoveToLevel command to the DUT with: 1)Level = + 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 + 4)OptionsOverride = 0x01" PICS: LVL.S.C00.Rsp command: "MoveToLevel" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml index a1a8bce694dd39..737f858b64c468 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -116,7 +117,7 @@ tests: - name: "ms" value: 5000 - - label: "Step 2e: TH reads CurrentLevel attribute from DUT" + - label: "Step 2e: After 5 seconds TH reads CurrentLevel attribute from DUT" PICS: LVL.S.C05.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" @@ -177,7 +178,8 @@ tests: - name: "ms" value: 10000 - - label: "Step 4b: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT" PICS: LVL.S.C01.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" @@ -194,7 +196,9 @@ tests: - name: "ms" value: 10000 - - label: "Step 4c: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4c: After another 10 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C01.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" @@ -211,7 +215,9 @@ tests: - name: "ms" value: 10000 - - label: "Step 4d: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4d: After another 10 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C01.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" @@ -228,7 +234,9 @@ tests: - name: "ms" value: 19000 - - label: "Step 4e: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4e: After another 19 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C01.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml index cd0f04a917fea9..5ccbbdefa06789 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -53,7 +54,7 @@ tests: arguments: value: 0 - - label: "Step 1: TH writes 0 to the Options attribute" + - label: "Step 1: TH writes 0x00 to the Options attribute" PICS: LVL.S.A000f command: "writeAttribute" attribute: "Options" @@ -120,8 +121,9 @@ tests: value: 50 - label: - "Step 4a: TH sends a Step command to the DUT with StepMode =0x00 (up), - StepSize =150 and TransitionTime =300" + "Step 4a: TH sends a Step command to the DUT with StepMode_ =0x00 + (up), StepSize =150 and TransitionTime =300 (30 s). This means the + level should increase by 150 units in 30s, so 5 units/s." PICS: LVL.S.C02.Rsp command: "Step" arguments: @@ -145,7 +147,8 @@ tests: - name: "ms" value: 10000 - - label: "Step 4b: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT" PICS: LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" @@ -162,7 +165,9 @@ tests: - name: "ms" value: 10000 - - label: "Step 4c: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4c: After another 10 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" @@ -179,7 +184,9 @@ tests: - name: "ms" value: 10000 - - label: "Step 4d: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4d: After another 10 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" @@ -196,7 +203,9 @@ tests: - name: "ms" value: 5000 - - label: "Step 4e: TH reads CurrentLevel attribute from DUT" + - label: + "Step 4e: After another 5 seconds, TH reads CurrentLevel attribute + from DUT" PICS: LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate command: "readAttribute" attribute: "CurrentLevel" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml index 3c6c68e78ae507..5e66c7728f6560 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml @@ -24,7 +24,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -41,7 +42,7 @@ tests: arguments: value: 0 - - label: "Step 1a: H writes 0 to the Options attribute" + - label: "Step 1a: TH writes 0x00 to the Options attribute" PICS: LVL.S.A000f command: "writeAttribute" attribute: "Options" @@ -100,7 +101,7 @@ tests: - name: "ms" value: 5000 - - label: "Step 3: Sends stop command to DUT" + - label: "Step 3: After 5 seconds, TH sends a Stop command to the DUT" PICS: LVL.S.C03.Rsp command: "Stop" arguments: @@ -154,7 +155,8 @@ tests: - name: "ms" value: 5000 - - label: "Step 6: TH sends a StopWithOnOff command to the DUT" + - label: + "Step 6: After 5 seconds, TH sends a StopWithOnOff command to the DUT" PICS: LVL.S.C07.Rsp command: "StopWithOnOff" arguments: @@ -175,7 +177,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 7: Reads CurrentLevel attribute from DUT" + - label: "Step 7: TH reads CurrentLevel attribute from DUT" PICS: LVL.S.C01.Rsp && LVL.S.C07.Rsp && LVL.S.A0000 command: "readAttribute" attribute: "CurrentLevel" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml index 05fed1f640e8c3..a76ed8ca0d8b3c 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_7_1.yaml @@ -33,7 +33,8 @@ config: defaultValue: 30000 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -50,7 +51,7 @@ tests: arguments: value: 0 - - label: "Step 0a: TH writes 0 to the Options attribute" + - label: "Step 0a: TH writes 0x00 to the Options attribute" PICS: LVL.S.A000f command: "writeAttribute" attribute: "Options" diff --git a/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml index 8932fe0e7506ea..7c7caff3a7ce71 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -40,7 +42,7 @@ tests: type: int16u - label: - "Step 3: TH reads from the DUT the FeatureMap attribute, bit 0: SHALL + "Step 3:TH reads from the DUT the FeatureMap attribute., bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF)" command: "readAttribute" attribute: "FeatureMap" @@ -78,7 +80,8 @@ tests: contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the optional attribute(StartUpMode) in AttributeList" + "Step 4b: TH reads the optional attribute(StartUpMode) in + AttributeList" PICS: LWM.S.A0002 command: "readAttribute" attribute: "AttributeList" @@ -88,7 +91,7 @@ tests: contains: [2] - label: - "Step 4c: Read the Feature dependent attribute(DEPONOFF) in + "Step 4c: TH reads the Feature dependent attribute(DEPONOFF) in AttributeList" PICS: LWM.S.F00 command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml index ebea6a0bbdbf94..a6a916f1b2e2d8 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml @@ -82,7 +82,9 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.LWM.MODE_CHANGE_FAIL" - PICS: LWM.S.M.CAN_TEST_MODE_FAILURE && PICS_SKIP_SAMPLE_APP + PICS: + LWM.S.M.CAN_TEST_MODE_FAILURE && LWM.S.M.CAN_MANUALLY_CONTROLLED && + PICS_SKIP_SAMPLE_APP verification: | Manual operation required cluster: "LogCommands" @@ -95,7 +97,7 @@ tests: value: "y" - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 + PICS: LWM.S.A0001 && LWM.S.M.CAN_MANUALLY_CONTROLLED command: "readAttribute" attribute: "CurrentMode" response: @@ -184,7 +186,7 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.LWM.MODE_CHANGE_OK" - PICS: PICS_SKIP_SAMPLE_APP + PICS: LWM.S.M.CAN_MANUALLY_CONTROLLED && PICS_SKIP_SAMPLE_APP verification: | Manual operation required cluster: "LogCommands" @@ -197,7 +199,7 @@ tests: value: "y" - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 + PICS: LWM.S.M.CAN_MANUALLY_CONTROLLED && LWM.S.A0001 command: "readAttribute" attribute: "CurrentMode" response: diff --git a/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml index 2c394033ef6b39..0b9a36eba56e80 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml @@ -17,6 +17,8 @@ name: 183.3.1. [TC-LWM-3.1] On Mode functionality with DUT as Server PICS: - LWM.S.A0003 - LWM.S.F00 + - OO.S.C00.Rsp + - OO.S.C01.Rsp config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml index fe8ff87e214e18..285c99184c5521 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 183.3.2. [TC-LWM-3.2] Startup Mode functionality with DUT as Server @@ -19,154 +20,234 @@ PICS: config: nodeId: 0x12344321 - cluster: "Laundry Washer Mode" - endpoint: 1 - - new_start_up_mode_th: - type: int8u - defaultValue: 0 - new_mode_th: - type: int8u - defaultValue: 1 + cluster: "Basic Information" + endpoint: 0 tests: + - label: "Preconditions" + verification: | + !LWM.S.F00(DEPONOFF) | OnOff cluster’s StartUpOnOff attribute is NULL | StartUpOnOff is 0 | OnMode is NULL + disabled: true + + - label: "Note" + verification: | + To Execute the TC-LWM-3.2 test case using reboot in raspi device we followed the below suggested way: + + To run a reboot test case on raspi, run the app with --KVS flag with a file in local directory and pass that file to the command to launch the app. Steps + + step-1: create a file using touch command , something like touch mytest.txt + step-2: chmod 777 mytest.txt + step-3: launch the app ./chip-all-clusters-app --KVS ./mytest.txt + + if you launch the app with the above commands and provision the app, even when you reboot the app with 'sudo reboot' , next time you launch the app with 'sudo ./out/all-clusters-app/chip-all-clusters-app --KVS ./mytest.txt' , you can run read/write attribs and commands without reprovisioning the device. + disabled: true + - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)." - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId + verification: | + + disabled: true - label: "Step 2: TH reads from the DUT the StartUpMode attribute." PICS: LWM.S.A0002 - command: "readAttribute" - attribute: "StartUpMode" - response: - saveAs: startup_mode_dut + verification: | + ./chip-tool laundrywashermode read start-up-mode 1 1 - - label: - "Step 2: If startup_mode_dut is null proceed to step 3. Else save - startup_mode_dut as new_start_up_mode_th and proceed to step 5." - PICS: LWM.S.A0002 - cluster: "EqualityCommands" - command: "UnsignedNumberEquals" - arguments: - values: - - name: "Value1" - value: startup_mode_dut - - name: "Value2" - value: null - response: - - values: - - name: "Equals" - saveAs: IsExpectedValue + On TH(chip-tool), Verify StartUpMode attribute value is an integer or null + - Save the value as startup_mode_dut and below is the sample log provided for the raspi platform, Here StartUpMode value is null + + NOTE: if startup_mode_dut is null proceed to step 3. Else save startup_mode_dut as new_start_up_mode_th and proceed to step 5. + + [1690185689.626227][15652:15654] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 869931348 + [1690185689.626269][15652:15654] CHIP:TOO: StartUpMode: null + disabled: true - label: "Step 3: TH reads from the DUT the SupportedModes attribute." - runIf: IsExpectedValue PICS: LWM.S.A0000 - command: "readAttribute" - attribute: "SupportedModes" - response: - saveAs: supported_modes_dut - constraints: - type: list - minLength: 2 + verification: | + ./chip-tool laundrywashermode read supported-modes 1 1 + + On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries + - Verify that the list has two or more entries + - Save the Mode field values as supported_modes_dut + - Select a value from supported_modes_dut and save the value as new_start_up_mode_th, below is the sample log provided for the raspi platform: + + [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 + [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries + [1690185724.484552][15658:15660] CHIP:TOO: [1]: { + [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal + [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 + [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484570][15658:15660] CHIP:TOO: [1]: { + [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 + [1690185724.484576][15658:15660] CHIP:TOO: } + [1690185724.484579][15658:15660] CHIP:TOO: } + [1690185724.484585][15658:15660] CHIP:TOO: [2]: { + [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate + [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 + [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries + [1690185724.484598][15658:15660] CHIP:TOO: [1]: { + [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 + [1690185724.484603][15658:15660] CHIP:TOO: } + [1690185724.484607][15658:15660] CHIP:TOO: [2]: { + [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 + [1690185724.484612][15658:15660] CHIP:TOO: } + [1690185724.484615][15658:15660] CHIP:TOO: [3]: { + [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 + [1690185724.484620][15658:15660] CHIP:TOO: } + [1690185724.484622][15658:15660] CHIP:TOO: } + [1690185724.484627][15658:15660] CHIP:TOO: [3]: { + [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy + [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 + [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries + [1690185724.484639][15658:15660] CHIP:TOO: [1]: { + [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 + [1690185724.484644][15658:15660] CHIP:TOO: } + [1690185724.484647][15658:15660] CHIP:TOO: [2]: { + [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 + [1690185724.484652][15658:15660] CHIP:TOO: } + [1690185724.484654][15658:15660] CHIP:TOO: } + [1690185724.484659][15658:15660] CHIP:TOO: [4]: { + [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites + [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 + [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484670][15658:15660] CHIP:TOO: [1]: { + [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 + [1690185724.484675][15658:15660] CHIP:TOO: } + [1690185724.484678][15658:15660] CHIP:TOO: } + disabled: true + - label: "Step 4: TH writes to the DUT the StartUpMode attribute with the new_start_up_mode_th value" PICS: LWM.S.A0002 - runIf: IsExpectedValue - command: "writeAttribute" - attribute: "StartUpMode" - arguments: - value: new_start_up_mode_th + verification: | + ./chip-tool laundrywashermode write start-up-mode 0 1 1 + + On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: + + [1690185636.156858][15647:15649] CHIP:DMG: StatusIB = + [1690185636.156870][15647:15649] CHIP:DMG: { + [1690185636.156881][15647:15649] CHIP:DMG: status = 0x00 (SUCCESS), + [1690185636.156892][15647:15649] CHIP:DMG: }, + + ./chip-tool laundrywashermode read start-up-mode 1 1 + + On TH(chip-tool), Verify StartUpMode attribute value is 0 and below is the sample log provided for the raspi platform + + [1692168304.773793][2920:2922] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 3179897959 + [1692168304.773865][2920:2922] CHIP:TOO: StartUpMode: 0 + disabled: true - label: "Step 5: TH reads from the DUT the CurrentMode attribute." PICS: LWM.S.A0001 - command: "readAttribute" - attribute: "CurrentMode" - response: - saveAs: old_current_mode_dut + verification: | + ./chip-tool laundrywashermode read current-mode 1 1 - - label: - "Step 5: If startup_mode_dut is equal to old_current_mode_dut proceed - to step 6. Else proceed to step 8." - PICS: LWM.S.A0001 && LWM.S.A0002 - cluster: "EqualityCommands" - command: "UnsignedNumberEquals" - arguments: - values: - - name: "Value1" - value: startup_mode_dut - - name: "Value2" - value: old_current_mode_dut - response: - - values: - - name: "Equals" - saveAs: Step5_IsExpectedValue + On TH(chip-tool), Verify CurrentMode attribute value is an integer, + - Save the value as old_current_mode_dut and below is the sample log provided for the raspi platform, Here CurrentMode value is 0 + + NOTE: If startup_mode_dut is equal to old_current_mode_dut proceed to step 6. Else proceed to step 8. + + [1690185713.364316][15655:15657] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 869931348 + [1690185713.364364][15655:15657] CHIP:TOO: CurrentMode: 0 + disabled: true - label: "Step 6: TH reads from the DUT the SupportedModes attribute." PICS: LWM.S.A0000 - runIf: Step5_IsExpectedValue - command: "readAttribute" - attribute: "SupportedModes" - response: - saveAs: Step6_supported_modes_dut - constraints: - type: list - minLength: 2 + verification: | + ./chip-tool laundrywashermode read supported-modes 1 1 + + On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries + - Verify that the list has two or more entries + - Save the Mode field values as supported_modes_dut + - Select a value from supported_modes_dut different from startup_mode_dut. Save the value as new_mode_th, below is the sample log provided for the raspi platform: + + [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 + [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries + [1690185724.484552][15658:15660] CHIP:TOO: [1]: { + [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal + [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 + [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484570][15658:15660] CHIP:TOO: [1]: { + [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 + [1690185724.484576][15658:15660] CHIP:TOO: } + [1690185724.484579][15658:15660] CHIP:TOO: } + [1690185724.484585][15658:15660] CHIP:TOO: [2]: { + [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate + [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 + [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries + [1690185724.484598][15658:15660] CHIP:TOO: [1]: { + [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 + [1690185724.484603][15658:15660] CHIP:TOO: } + [1690185724.484607][15658:15660] CHIP:TOO: [2]: { + [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 + [1690185724.484612][15658:15660] CHIP:TOO: } + [1690185724.484615][15658:15660] CHIP:TOO: [3]: { + [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 + [1690185724.484620][15658:15660] CHIP:TOO: } + [1690185724.484622][15658:15660] CHIP:TOO: } + [1690185724.484627][15658:15660] CHIP:TOO: [3]: { + [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy + [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 + [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries + [1690185724.484639][15658:15660] CHIP:TOO: [1]: { + [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 + [1690185724.484644][15658:15660] CHIP:TOO: } + [1690185724.484647][15658:15660] CHIP:TOO: [2]: { + [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 + [1690185724.484652][15658:15660] CHIP:TOO: } + [1690185724.484654][15658:15660] CHIP:TOO: } + [1690185724.484659][15658:15660] CHIP:TOO: [4]: { + [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites + [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 + [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484670][15658:15660] CHIP:TOO: [1]: { + [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 + [1690185724.484675][15658:15660] CHIP:TOO: } + [1690185724.484678][15658:15660] CHIP:TOO: } + disabled: true - label: "Step 7: TH sends a ChangeToMode command to the DUT with NewMode set to new_mode_th" PICS: LWM.S.C00.Rsp - runIf: Step5_IsExpectedValue - command: "ChangeToMode" - arguments: - values: - - name: "NewMode" - value: new_mode_th - response: - values: - - name: "Status" - value: 0x00 + verification: | + ./chip-tool laundrywashermode change-to-mode 1 1 1 + + Verify on TH(chip-tool) log, DUT responds contains a ChangeToModeResponse command with a SUCCESS (value 0x00) status response and below is the sample log provided for the raspi platform: + + [1690185742.384243][15661:15663] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Command 0x0000_0001 + [1690185742.384257][15661:15663] CHIP:TOO: ChangeToModeResponse: { + [1690185742.384264][15661:15663] CHIP:TOO: status: 0 + [1690185742.384267][15661:15663] CHIP:TOO: } + disabled: true - label: "Step 8: Physically power cycle the device" verification: | - Physically power cycle the device. - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId + Physically power cycle the device + disabled: true - label: "Step 9: TH reads from the DUT the StartUpMode attribute." - PICS: LWM.S.A0002 && PICS_USER_PROMPT - command: "readAttribute" - attribute: "StartUpMode" - response: - saveAs: new_start_up_mode_dut - constraints: - anyOf: [startup_mode_dut, new_start_up_mode_th] + PICS: LWM.S.A0002 + verification: | + ./chip-tool laundrywashermode read start-up-mode 1 1 + + On TH(chip-tool), Verify StartUpMode attribute value is an integer value + - Save the value as new_start_up_mode_dut and is equal to new_start_up_mode_th, below is the sample log provided for the raspi platform, Here StartUpMode value is 0 + + [1690185689.626227][15652:15654] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 869931348 + [1690185689.626269][15652:15654] CHIP:TOO: StartUpMode: 0 + disabled: true - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 && PICS_USER_PROMPT - command: "readAttribute" - attribute: "CurrentMode" - response: - value: new_start_up_mode_dut + PICS: LWM.S.A0001 + verification: | + ./chip-tool laundrywashermode read current-mode 1 1 + + On TH(chip-tool), Verify that CurrentMode attribute value is an integer value and is equal to new_start_up_mode_dut, below is the sample log provided for the raspi platform, Here CurrentMode attribute value is 0 + + [1690185777.021610][15671:15673] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 2000229067 + [1690185777.021664][15671:15673] CHIP:TOO: CurrentMode: 0 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml index 8250418368643d..a723cfd4a0248b 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 183.3.3. [TC-LWM-3.3] On Mode and Startup Mode functionality with DUT as @@ -24,166 +25,266 @@ PICS: config: nodeId: 0x12344321 - cluster: "Laundry Washer Mode" - endpoint: 1 - - new_start_up_mode_th: - type: int8u - defaultValue: 0 - new_mode_th: - type: int8u - defaultValue: 1 + cluster: "Basic Information" + endpoint: 0 tests: + - label: "Note" + verification: | + To Execute the TC-LWM-3.3 test case using reboot in raspi device we followed the below suggested way: + + To run a reboot test case on raspi, run the app with --KVS flag with a file in local directory and pass that file to the command to launch the app. Steps + + step-1: create a file using touch command , something like touch mytest.txt + step-2: chmod 777 mytest.txt + step-3: launch the app ./chip-all-clusters-app --KVS ./mytest.txt + + if you launch the app with the above commands and provision the app, even when you reboot the app with 'sudo reboot' , next time you launch the app with 'sudo ./out/all-clusters-app/chip-all-clusters-app --KVS ./mytest.txt' , you can run read/write attribs and commands without reprovisioning the device. + disabled: true + - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)." - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId + verification: | + + disabled: true - label: "Step 2: TH reads from the DUT the StartUpMode attribute." PICS: LWM.S.A0002 - command: "readAttribute" - attribute: "StartUpMode" - response: - saveAs: startup_mode_dut + verification: | + ./chip-tool laundrywashermode read start-up-mode 1 1 - - label: - "Step 2: If startup_mode_dut is null proceed to step 3. Else save - startup_mode_dut as new_start_up_mode_th and proceed to step 5." - PICS: LWM.S.A0002 - cluster: "EqualityCommands" - command: "UnsignedNumberEquals" - arguments: - values: - - name: "Value1" - value: startup_mode_dut - - name: "Value2" - value: null - response: - - values: - - name: "Equals" - saveAs: IsExpectedValue + On TH(chip-tool), Verify StartUpMode attribute value is an integer value or null + - Save the value as startup_mode_dut and below is the sample log provided for the raspi platform, Here StartUpMode value is null + + NOTE: if startup_mode_dut is null proceed to step 3. Else save startup_mode_dut as new_start_up_mode_th and proceed to step 5. + + [1690185689.626227][15652:15654] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 869931348 + [1690185689.626269][15652:15654] CHIP:TOO: StartUpMode: null + disabled: true - label: "Step 3: TH reads from the DUT the SupportedModes attribute." - runIf: IsExpectedValue PICS: LWM.S.A0000 - command: "readAttribute" - attribute: "SupportedModes" - response: - saveAs: supported_modes_dut - constraints: - type: list - minLength: 2 + verification: | + ./chip-tool laundrywashermode read supported-modes 1 1 + + On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries + - Verify that the list has two or more entries + - Save the Mode field values as supported_modes_dut + - Select a value from supported_modes_dut and save the value as new_start_up_mode_th, below is the sample log provided for the raspi platform: + + [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 + [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries + [1690185724.484552][15658:15660] CHIP:TOO: [1]: { + [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal + [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 + [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484570][15658:15660] CHIP:TOO: [1]: { + [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 + [1690185724.484576][15658:15660] CHIP:TOO: } + [1690185724.484579][15658:15660] CHIP:TOO: } + [1690185724.484585][15658:15660] CHIP:TOO: [2]: { + [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate + [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 + [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries + [1690185724.484598][15658:15660] CHIP:TOO: [1]: { + [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 + [1690185724.484603][15658:15660] CHIP:TOO: } + [1690185724.484607][15658:15660] CHIP:TOO: [2]: { + [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 + [1690185724.484612][15658:15660] CHIP:TOO: } + [1690185724.484615][15658:15660] CHIP:TOO: [3]: { + [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 + [1690185724.484620][15658:15660] CHIP:TOO: } + [1690185724.484622][15658:15660] CHIP:TOO: } + [1690185724.484627][15658:15660] CHIP:TOO: [3]: { + [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy + [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 + [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries + [1690185724.484639][15658:15660] CHIP:TOO: [1]: { + [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 + [1690185724.484644][15658:15660] CHIP:TOO: } + [1690185724.484647][15658:15660] CHIP:TOO: [2]: { + [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 + [1690185724.484652][15658:15660] CHIP:TOO: } + [1690185724.484654][15658:15660] CHIP:TOO: } + [1690185724.484659][15658:15660] CHIP:TOO: [4]: { + [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites + [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 + [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484670][15658:15660] CHIP:TOO: [1]: { + [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 + [1690185724.484675][15658:15660] CHIP:TOO: } + [1690185724.484678][15658:15660] CHIP:TOO: } + disabled: true - label: "Step 4: TH writes to the DUT the StartUpMode attribute with the new_start_up_mode_th value" PICS: LWM.S.A0002 - runIf: IsExpectedValue - command: "writeAttribute" - attribute: "StartUpMode" - arguments: - value: new_start_up_mode_th + verification: | + ./chip-tool laundrywashermode write start-up-mode 0 1 1 + + On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: + + [1690185636.156858][15647:15649] CHIP:DMG: StatusIB = + [1690185636.156870][15647:15649] CHIP:DMG: { + [1690185636.156881][15647:15649] CHIP:DMG: status = 0x00 (SUCCESS), + [1690185636.156892][15647:15649] CHIP:DMG: }, + + ./chip-tool laundrywashermode read start-up-mode 1 1 + + On TH(chip-tool), Verify StartUpMode attribute value is 0 and below is the sample log provided for the raspi platform, + + [1692165008.700475][2609:2611] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 1273636449 + [1692165008.700550][2609:2611] CHIP:TOO: StartUpMode: 0 + disabled: true - label: "Step 5: TH reads from the DUT the OnMode attribute." PICS: LWM.S.A0003 && LWM.S.A0002 - command: "readAttribute" - attribute: "OnMode" - response: - saveAs: old_on_mode_dut + verification: | + As default value of OnMode attribute is NULL. Set the OnMode to any mode value listed in the SupportedModes entries. - - label: - "Step 5: If startup_mode_dut is equal to old_on_mode_dut proceed to - step 6. Else proceed to step 8." - PICS: LWM.S.A0002 - cluster: "EqualityCommands" - command: "UnsignedNumberEquals" - arguments: - values: - - name: "Value1" - value: old_on_mode_dut - - name: "Value2" - value: startup_mode_dut - response: - - values: - - name: "Equals" - saveAs: Step5_IsExpectedValue + ./chip-tool laundrywashermode write on-mode 0 1 1 + + On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: + + [1692164726.392055][2590:2592] CHIP:DMG: StatusIB = + [1692164726.392093][2590:2592] CHIP:DMG: { + [1692164726.392128][2590:2592] CHIP:DMG: status = 0x00 (SUCCESS), + [1692164726.392163][2590:2592] CHIP:DMG: }, + + + ./chip-tool laundrywashermode read on-mode 1 1 + + On TH(chip-tool), Verify that OnMode attribute value is an integer + - Save the value as on_mode_dut and below is the sample log provided for the raspi platform, here OnMode value is 0 + + NOTE: If startup_mode_dut is equal to old_on_mode_dut proceed to step 6. Else proceed to step 8. + + [1692164858.854889][2600:2602] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0003 DataVersion: 1273636449 + [1692164858.854947][2600:2602] CHIP:TOO: OnMode: 0 + disabled: true - label: "Step 6: TH reads from the DUT the SupportedModes attribute." PICS: LWM.S.A0000 && LWM.S.A0002 - runIf: Step5_IsExpectedValue - command: "readAttribute" - attribute: "SupportedModes" - response: - saveAs: Step6_supported_modes_dut - constraints: - type: list - minLength: 2 + verification: | + ./chip-tool laundrywashermode read supported-modes 1 1 + + On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries + - Verify that the list has two or more entries + - Save the Mode field values as supported_modes_dut + - Select a value from supported_modes_dut different from startup_mode_dut. Save the value as new_mode_th. below is the sample log provided for the raspi platform: + + [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 + [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries + [1690185724.484552][15658:15660] CHIP:TOO: [1]: { + [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal + [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 + [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484570][15658:15660] CHIP:TOO: [1]: { + [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 + [1690185724.484576][15658:15660] CHIP:TOO: } + [1690185724.484579][15658:15660] CHIP:TOO: } + [1690185724.484585][15658:15660] CHIP:TOO: [2]: { + [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate + [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 + [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries + [1690185724.484598][15658:15660] CHIP:TOO: [1]: { + [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 + [1690185724.484603][15658:15660] CHIP:TOO: } + [1690185724.484607][15658:15660] CHIP:TOO: [2]: { + [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 + [1690185724.484612][15658:15660] CHIP:TOO: } + [1690185724.484615][15658:15660] CHIP:TOO: [3]: { + [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 + [1690185724.484620][15658:15660] CHIP:TOO: } + [1690185724.484622][15658:15660] CHIP:TOO: } + [1690185724.484627][15658:15660] CHIP:TOO: [3]: { + [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy + [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 + [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries + [1690185724.484639][15658:15660] CHIP:TOO: [1]: { + [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 + [1690185724.484644][15658:15660] CHIP:TOO: } + [1690185724.484647][15658:15660] CHIP:TOO: [2]: { + [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 + [1690185724.484652][15658:15660] CHIP:TOO: } + [1690185724.484654][15658:15660] CHIP:TOO: } + [1690185724.484659][15658:15660] CHIP:TOO: [4]: { + [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites + [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 + [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries + [1690185724.484670][15658:15660] CHIP:TOO: [1]: { + [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 + [1690185724.484675][15658:15660] CHIP:TOO: } + [1690185724.484678][15658:15660] CHIP:TOO: } + disabled: true - label: "Step 7: TH writes to the DUT the OnMode attribute with the new_mode_th value" PICS: LWM.S.A0003 - runIf: Step5_IsExpectedValue - command: "writeAttribute" - attribute: "OnMode" - arguments: - value: new_mode_th + verification: | + ./chip-tool laundrywashermode write on-mode 1 1 1 + + On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: + + [1692165331.674699][2630:2632] CHIP:DMG: StatusIB = + [1692165331.674760][2630:2632] CHIP:DMG: { + [1692165331.674829][2630:2632] CHIP:DMG: status = 0x00 (SUCCESS), + [1692165331.674891][2630:2632] CHIP:DMG: }, + disabled: true - label: "Step 8: TH reads from the DUT the OnMode attribute." PICS: LWM.S.A0003 && LWM.S.F00 - command: "readAttribute" - attribute: "OnMode" - response: - saveAs: new_on_mode_dut + verification: | + ./chip-tool laundrywashermode read on-mode 1 1 + + On TH(chip-tool), Verify that OnMode attribute value is an integer value + - Save the value as new_on_mode_dut and is equal to new_mode_th, below is the sample log provided for the raspi platform, here OnMode value is 1 + + [1692165455.305858][2637:2639] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0003 DataVersion: 1273636452 + [1692165455.305928][2637:2639] CHIP:TOO: OnMode: 1 + disabled: true - label: "Step 9: TH writes to the DUT the StartUpOnOff attribute with the value 1." PICS: OO.S.A4003 - cluster: "On/Off" - command: "writeAttribute" - attribute: "StartUpOnOff" - arguments: - value: 1 + verification: | + ./chip-tool onoff write start-up-on-off 1 1 1 + + On TH(chip-tool) log, Verify DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: + + [1651101661960] [90832:7598169] CHIP: [DMG] { + [1651101661960] [90832:7598169] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651101661960] [90832:7598169] CHIP: [DMG] }, + disabled: true - label: "Step 10: Physically power cycle the device" verification: | Physically power cycle the device. - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId + disabled: true - label: "Step 11: TH reads from the DUT the StartUpMode attribute." - PICS: LWM.S.A0002 && PICS_USER_PROMPT - command: "readAttribute" - attribute: "StartUpMode" - response: - constraints: - anyOf: [new_start_up_mode_th, startup_mode_dut] + PICS: LWM.S.A0002 + verification: | + ./chip-tool laundrywashermode read start-up-mode 1 1 + + On TH(chip-tool), Verify StartUpMode attribute value is an integer value and is equal to new_start_up_mode_th, below is the sample log provided for the raspi platform, Here StartUpMode value is 0 + + [1692165692.521150][2715:2717] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 3179897958 + [1692165692.521214][2715:2717] CHIP:TOO: StartUpMode: 0 + disabled: true - label: "Step 12: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 && PICS_USER_PROMPT - command: "readAttribute" - attribute: "CurrentMode" - response: - value: new_on_mode_dut + PICS: LWM.S.A0001 + verification: | + ./chip-tool laundrywashermode read current-mode 1 1 + + On TH(chip-tool), Verify that CurrentMode attribute value is an integer value and is new_on_mode_dut, below is the sample log provided for the raspi platform, here CurrentMode attribute value is 1 + + [1690185481.653384][15610:15612] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 3936986766 + [1690185481.653431][15610:15612] CHIP:TOO: CurrentMode: 1 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml index 19f5ac35d7d12a..793d412532a3bd 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml @@ -25,7 +25,9 @@ config: endpoint: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +35,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +43,7 @@ tests: constraints: type: int16u - - label: "Step 2: Read the global attribute: FeatureMap" + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" PICS: " !MEDIAINPUT.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -61,7 +63,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -70,7 +72,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -79,7 +81,8 @@ tests: type: list contains: [65528, 65529, 65531, 65532, 65533] - - label: "Step 3b: Read the optional attribute(InputList) in AttributeList" + - label: + "Step 3b: TH reads the optional attribute(InputList) in AttributeList" PICS: MEDIAINPUT.S.A0000 command: "readAttribute" attribute: "AttributeList" @@ -89,7 +92,8 @@ tests: contains: [0] - label: - "Step 3c: Read the optional attribute(CurrentInput) in AttributeList" + "Step 3c: TH reads the optional attribute(CurrentInput) in + AttributeList" PICS: MEDIAINPUT.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -98,7 +102,7 @@ tests: type: list contains: [1] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -106,7 +110,7 @@ tests: type: list contains: [0, 1, 2, 3] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -114,7 +118,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_10.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_10.yaml index 40abecb427e62b..ff1763395255e7 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_10.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: 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 d4df6406ae9e18..89e97f3527625f 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 @@ -26,7 +26,9 @@ config: defaultValue: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_12.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_12.yaml index ac25e0ee8c926d..984a484a99f98e 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_3_12.yaml @@ -24,7 +24,9 @@ config: endpoint: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -44,10 +46,14 @@ tests: command: "readAttribute" attribute: "InputList" - - label: "Step 2: Show Input Status Command" + - label: + "Step 2: TH sends ShowInputStatus command to DUT to show active status + of the input list" PICS: MEDIAINPUT.S.C01.Rsp command: "ShowInputStatus" - - label: "Step 3: Hide Input Status Command" + - label: + "Step 3: TH sends HideInputStatus command to DUT to hide active status + of the input list" PICS: MEDIAINPUT.S.C02.Rsp command: "HideInputStatus" 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 64efa6c5663959..e4c6702809b1bb 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 @@ -27,7 +27,9 @@ config: defaultValue: 1 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml index 18b9fde6dcd66e..f1befc5d736971 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml @@ -25,7 +25,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +42,7 @@ tests: constraints: type: int16u - - label: "Step 2a: Read the global attribute: FeatureMap" + - label: "Step 2a: TH reads the FeatureMap attribute from the DUT" PICS: " !MEDIAPLAYBACK.S.F00 && !MEDIAPLAYBACK.S.F01 " command: "readAttribute" attribute: "FeatureMap" @@ -72,7 +73,7 @@ tests: type: bitmap32 hasMasksSet: [0x2] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -81,7 +82,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -90,7 +91,8 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 3b: Read the optional attribute(StartTime) in AttributeList" + - label: + "Step 3b: TH reads the optional attribute(StartTime) in AttributeList" PICS: MEDIAPLAYBACK.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -99,7 +101,8 @@ tests: type: list contains: [1] - - label: "Step 3c: Read the optional attribute(Duration) in AttributeList" + - label: + "Step 3c: TH reads the optional attribute(Duration) in AttributeList" PICS: MEDIAPLAYBACK.S.A0002 command: "readAttribute" attribute: "AttributeList" @@ -109,7 +112,7 @@ tests: contains: [2] - label: - "Step 3d: Read the optional attribute(SampledPosition) in + "Step 3d: TH reads the optional attribute(SampledPosition) in AttributeList" PICS: MEDIAPLAYBACK.S.A0003 command: "readAttribute" @@ -120,7 +123,8 @@ tests: contains: [3] - label: - "Step 3e: Read the optional attribute(PlaybackSpeed) in AttributeList" + "Step 3e: TH reads the optional attribute(PlaybackSpeed) in + AttributeList" PICS: MEDIAPLAYBACK.S.A0004 command: "readAttribute" attribute: "AttributeList" @@ -130,7 +134,8 @@ tests: contains: [4] - label: - "Step 3f: Read the optional attribute(SeekRangeEnd) in AttributeList" + "Step 3f: TH reads the optional attribute(SeekRangeEnd) in + AttributeList" PICS: MEDIAPLAYBACK.S.A0005 command: "readAttribute" attribute: "AttributeList" @@ -140,7 +145,8 @@ tests: contains: [5] - label: - "Step 3g: Read the optional attribute(SeekRangeStart) in AttributeList" + "Step 3g: TH reads the optional attribute(SeekRangeStart) in + AttributeList" PICS: MEDIAPLAYBACK.S.A0006 command: "readAttribute" attribute: "AttributeList" @@ -149,7 +155,7 @@ tests: type: list contains: [6] - - label: "Step 4a: Read the global attribute: AcceptedCommandList" + - label: "Step 4a: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -158,7 +164,8 @@ tests: contains: [0, 1, 2] - label: - "Step 4b: Read the optional command(StartOver) in AcceptedCommandList" + "Step 4b: TH reads the optional command(StartOver) in + AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C03.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -168,7 +175,8 @@ tests: contains: [3] - label: - "Step 4c: Read the optional command(Previous) in AcceptedCommandList" + "Step 4c: TH reads the optional command(Previous) in + AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C04.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -177,7 +185,8 @@ tests: type: list contains: [4] - - label: "Step 4d: Read the optional command(Next) in AcceptedCommandList" + - label: + "Step 4d: TH reads the optional command(Next) in AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C05.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -186,7 +195,8 @@ tests: type: list contains: [5] - - label: "Step 4e: Read the optional command(Rewind) in AcceptedCommandList" + - label: + "Step 4e: TH reads the optional command(Rewind) in AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C06.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -196,7 +206,7 @@ tests: contains: [6] - label: - "Step 4f: Read the optional command(FastForward) in + "Step 4f: TH reads the optional command(FastForward) in AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C07.Rsp command: "readAttribute" @@ -207,7 +217,7 @@ tests: contains: [7] - label: - "Step 4g: Read the optional command(SkipForward) in + "Step 4g: TH reads the optional command(SkipForward) in AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C08.Rsp command: "readAttribute" @@ -218,7 +228,7 @@ tests: contains: [8] - label: - "Step 4h: Read the optional command(SkipBackward) in + "Step 4h: TH reads the optional command(SkipBackward) in AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C09.Rsp command: "readAttribute" @@ -228,7 +238,8 @@ tests: type: list contains: [9] - - label: "Step 4i: Read the optional command(Seek) in AcceptedCommandList" + - label: + "Step 4i: TH reads the optional command(Seek) in AcceptedCommandList" PICS: MEDIAPLAYBACK.S.C0b.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -237,7 +248,7 @@ tests: type: list contains: [11] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -245,7 +256,7 @@ tests: type: list contains: [10] - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_1.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_1.yaml index 830fdd3f7d9aed..5379c8a2c68fd3 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_1.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -41,14 +42,14 @@ tests: - name: "Status" value: 0 - - label: "Step 1: Reads the CurrentState attribute" + - label: "Step 1: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C01.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 1 - - label: "Step 2: Sends a Play command" + - label: "Step 2: TH sends a Play command to the DUT" PICS: MEDIAPLAYBACK.S.C00.Rsp command: "Play" response: @@ -67,14 +68,14 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 3: Reads the CurrentState attribute" + - label: "Step 3: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C00.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 0 - - label: "Step 4: sends a Pause command" + - label: "Step 4: TH sends a Pause command to the DUT" PICS: MEDIAPLAYBACK.S.C01.Rsp command: "Pause" response: @@ -93,14 +94,14 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 5: Reads the CurrentState attribute" + - label: "Step 5: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.C01.Rsp && MEDIAPLAYBACK.S.A0000 command: "readAttribute" attribute: "CurrentState" response: value: 1 - - label: "Step 6: Sends a Stop command" + - label: "Step 6: TH sends a Stop command to the DUT" PICS: MEDIAPLAYBACK.S.C02.Rsp command: "Stop" response: @@ -119,7 +120,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 7: Reads the CurrentState attribute" + - label: "Step 7: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C02.Rsp command: "readAttribute" attribute: "CurrentState" diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_2.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_2.yaml index a91b2a2df7a010..ed01f01af52b95 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_2.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -41,14 +42,14 @@ tests: - name: "Status" value: 0 - - label: "Step 1: Reads the CurrentState attribute from the DUT" + - label: "Step 1: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C01.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 1 - - label: "Step 2: Sends a Play command to the DUT" + - label: "Step 2: TH sends a Play command to the DUT" PICS: MEDIAPLAYBACK.S.C00.Rsp command: "Play" response: @@ -67,14 +68,14 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 3: Reads the CurrentState attribute" + - label: "Step 3: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C00.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 0 - - label: "Step 4: Sends a StartOver command to the DUT" + - label: "Step 4: TH sends a StartOver command to the DUT" PICS: MEDIAPLAYBACK.S.C03.Rsp command: "StartOver" response: @@ -93,7 +94,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 5: Sends a Next command to the DUT" + - label: "Step 5: TH sends a Next command to the DUT" PICS: MEDIAPLAYBACK.S.C05.Rsp command: "Next" response: @@ -113,7 +114,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 6: Sends a Previous command to the DUT" + - label: "Step 6: TH sends a Previous command to the DUT" PICS: MEDIAPLAYBACK.S.C04.Rsp command: "Previous" response: @@ -134,7 +135,9 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 7: Sends a SkipForward command to the DUT " + - label: + "Step 7: TH sends a SkipForward command to the DUT with a + DeltaPositionMilliseconds value of 10000" PICS: MEDIAPLAYBACK.S.C08.Rsp command: "SkipForward" arguments: @@ -158,14 +161,16 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 8: Reads the SampledPosition attribute from the DUT" + - label: "Step 8: TH reads the SampledPosition attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0003 && MEDIAPLAYBACK.S.C08.Rsp command: "readAttribute" attribute: "SampledPosition" response: value: { "Position": 10000 } - - label: "Step 9: Sends a SkipBackward command to the DUT " + - label: + "Step 9: TH sends a SkipBackward command to the DUT with a + DeltaPositionMilliseconds value of 10000" PICS: MEDIAPLAYBACK.S.C09.Rsp command: "SkipBackward" arguments: @@ -189,7 +194,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 10: Reads the SampledPosition attribute from the DUT" + - label: "Step 10: TH reads the SampledPosition attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0003 && MEDIAPLAYBACK.S.C09.Rsp command: "readAttribute" attribute: "SampledPosition" diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml index 261a0ed8eb27f0..6a0c11bd6d4113 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml @@ -26,7 +26,8 @@ config: defaultValue: 100000000 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_4.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_4.yaml index 3c7835cf57f46a..77d8d44fb294e1 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_4.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -41,21 +42,21 @@ tests: - name: "Status" value: 0 - - label: "Step 1: Reads the CurrentState attribute from the DUT" + - label: "Step 1: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C01.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 1 - - label: "Step 2: Reads the PlaybackSpeed attribute from the DUT" + - label: "Step 2: TH reads the PlaybackSpeed attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C01.Rsp command: "readAttribute" attribute: "PlaybackSpeed" response: value: 0 - - label: "Step 3: Sends a FastForward command" + - label: "Step 3: TH sends a FastForward command to the DUT" PICS: MEDIAPLAYBACK.S.C07.Rsp command: "FastForward" response: @@ -74,21 +75,21 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 4: Reads the CurrentState attribute" + - label: "Step 4: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C07.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 0 - - label: "Step 5: Reads the PlaybackSpeed attribute from the DUT" + - label: "Step 5: TH reads the PlaybackSpeed attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C07.Rsp command: "readAttribute" attribute: "PlaybackSpeed" response: value: 1 - - label: "Step 6: Sends a FastForward command" + - label: "Step 6: TH sends a FastForward command to the DUT" PICS: MEDIAPLAYBACK.S.C07.Rsp command: "FastForward" response: @@ -107,14 +108,14 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 7: Reads the PlaybackSpeed attribute from the DUT" + - label: "Step 7: TH reads the PlaybackSpeed attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C07.Rsp command: "readAttribute" attribute: "PlaybackSpeed" response: value: 2 - - label: "Step 8: Sends a Rewind command to the DUT" + - label: "Step 8: TH sends a Rewind command to the DUT" PICS: MEDIAPLAYBACK.S.C06.Rsp command: "Rewind" response: @@ -133,21 +134,21 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 9: Reads the CurrentState attribute" + - label: "Step 9: TH reads the CurrentState attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C06.Rsp command: "readAttribute" attribute: "CurrentState" response: value: 0 - - label: "Step 10: Reads the PlaybackSpeed attribute from the DUT" + - label: "Step 10: TH reads the PlaybackSpeed attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C06.Rsp command: "readAttribute" attribute: "PlaybackSpeed" response: value: -1 - - label: "Step 11: Sends a Rewind command to the DUT" + - label: "Step 11: TH sends a Rewind command to the DUT" PICS: MEDIAPLAYBACK.S.C06.Rsp command: "Rewind" response: @@ -171,14 +172,14 @@ tests: value: "y" #Issue 19800 - - label: "Step 12: Reads the PlaybackSpeed attribute from the DUT" + - label: "Step 12: TH reads the PlaybackSpeed attribute from the DUT" PICS: MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C06.Rsp command: "readAttribute" attribute: "PlaybackSpeed" response: value: -2 - - label: "Step 13: Sends a Play command" + - label: "Step 13: TH sends a Play command to the DUT" PICS: MEDIAPLAYBACK.S.C00.Rsp command: "Play" response: @@ -201,7 +202,7 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 14: Reads the PlaybackSpeed attribute from the DUT" + - label: "Step 14: TH reads the PlaybackSpeed attribute from the DUT" command: "readAttribute" attribute: "PlaybackSpeed" PICS: MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C00.Rsp @@ -209,7 +210,9 @@ tests: value: 1 #Issue 10988 - - label: "Step 15: Sends consecutive FastForward commands" + - label: + "Step 15: STH sends consecutive FastForward commands up to the + manufacturer defined max speed" verification: | Send below command consecutively multiple times to get error code as 4 @@ -235,7 +238,9 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 16: Sends consecutive Rewind commands" + - label: + "Step 16: TH sends consecutive Rewind commands up to the manufacturer + defined max speed" verification: | Send below command consecutively multiple times to get error code as 4 diff --git a/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml b/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml index e741451e4f215c..dc00d3b0f2a39f 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." PICS: MOD.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -48,7 +50,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." PICS: " !MOD.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -57,7 +59,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -66,7 +68,7 @@ tests: type: list contains: [0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -87,7 +89,7 @@ tests: contains: [4] - label: - "Step 4c: TH reads the feature dependent attribute(OnMode) in + "Step 4c: TH reads the Feature dependent attribute(OnMode) in AttributeList from the DUT" PICS: MOD.S.F00 && MOD.S.A0005 command: "readAttribute" @@ -97,7 +99,7 @@ tests: type: list contains: [5] - - label: "Step 5: TH reads from the DUT the EventList attribute" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -106,7 +108,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList attribute from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -114,7 +116,7 @@ tests: type: list contains: [0] - - label: "Step 7: TH reads GeneratedCommandList attribute from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_MOD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_MOD_3_1.yaml index f475ac57da0c16..d195874dafda40 100755 --- a/src/app/tests/suites/certification/Test_TC_MOD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_3_1.yaml @@ -31,7 +31,9 @@ config: defaultValue: 5000 tests: - - label: "Step 0:Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -39,14 +41,14 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH reads the OnMode attribute from the DUT" + - label: "Step 1: TH reads from the DUT the OnMode attribute." PICS: MOD.S.A0005 && MOD.S.F00 command: "readAttribute" attribute: "OnMode" response: saveAs: on_mode_dut - - label: "Step 2a: TH reads the CurrentMode attribute from the DUT" + - label: "Step 2a: TH reads from the DUT the CurrentMode attribute." PICS: MOD.S.A0003 && MOD.S.F00 command: "readAttribute" attribute: "CurrentMode" diff --git a/src/app/tests/suites/certification/Test_TC_MOD_3_2.yaml b/src/app/tests/suites/certification/Test_TC_MOD_3_2.yaml index 0490c2f22949b5..509fa1db9789f4 100755 --- a/src/app/tests/suites/certification/Test_TC_MOD_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_3_2.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 80.5.2. [TC-MOD-3.2] StartUpMode verification with DUT as Server +name: 80.5.2. [TC-MOD-3.2] StartUpMode Verification (DUT as Server) PICS: - MOD.S.A0004 @@ -27,7 +27,9 @@ config: defaultValue: 7 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml b/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml index dd0f76b778635d..67743d603243c4 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml @@ -27,7 +27,8 @@ config: defaultValue: 7 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml b/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml index fb585c8e5c2ea2..5395367d7d0b37 100755 --- a/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml @@ -29,7 +29,9 @@ config: defaultValue: 4 tests: - - label: "Step 0: Wait for the commissioned device to be retrieved" + - label: + "Step 0: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_NDOCONC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_NDOCONC_1_1.yaml index e9cb92ea0d2b4f..a28dae650950a7 100644 --- a/src/app/tests/suites/certification/Test_TC_NDOCONC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_NDOCONC_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -40,8 +42,8 @@ tests: type: int16u - label: - "Step 3a: Read the global attribute: FeatureMap and check for either - bit 0 or 1 set" + "Step 3a: TH reads from the DUT the FeatureMap attribute. and check + for either bit 0 or 1 set" command: "readAttribute" attribute: "FeatureMap" response: @@ -181,7 +183,7 @@ tests: type: bitmap32 hasMasksClear: [0x20] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: PICS_EVENT_LIST_ENABLED @@ -190,7 +192,7 @@ tests: type: list contains: [9, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -199,7 +201,8 @@ tests: type: list contains: [9, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute Uncertainty in AttributeList" + - label: + "Step 4b: TH reads the optional attribute Uncertainty in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: NDOCONC.S.A0007 && NDOCONC.S.F00 @@ -220,7 +223,7 @@ tests: excludes: [7] - label: - "Step 4d: Read the optional, feature dependent attributes + "Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList" command: "readAttribute" @@ -244,7 +247,7 @@ tests: excludes: [0, 1, 2, 7, 8] - label: - "Step 4f: Read the optional, feature dependent attributes + "Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -266,7 +269,7 @@ tests: excludes: [3, 4] - label: - "Step 4h: Read the optional, feature dependent attributes + "Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -277,7 +280,7 @@ tests: contains: [5, 6] - label: - "Step 4i: Check that AverageMeasuredValue and + "Step 4i: TH reads that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set" command: "readAttribute" @@ -289,8 +292,8 @@ tests: excludes: [5, 6] - label: - "Step 4j: Read the optional, feature dependent attribute LevelValue in - AttributeList" + "Step 4j: TH reads the optional, feature dependent attribute + LevelValue in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: NDOCONC.S.F01 @@ -310,7 +313,7 @@ tests: type: list excludes: [10] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." command: "readAttribute" attribute: "EventList" PICS: PICS_EVENT_LIST_ENABLED @@ -319,7 +322,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -327,7 +330,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml index 0ef5e9f5b668c2..ae96e2e6309955 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_3.yaml @@ -26,7 +26,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -34,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Reads mandatory attribute constrains: OccupancySensorType" + - label: "Step 2: TH reads OccupancySensorType attribute from DUT" PICS: OCC.S.A0001 command: "readAttribute" attribute: "OccupancySensorType" @@ -44,9 +44,7 @@ tests: minValue: 0 maxValue: 3 - - label: - "Step 3: Reads mandatory attribute constrains: - OccupancySensorTypeBitmap" + - label: "Step 3: TH reads OccupancySensorTypeBitmap attribute from DUT" PICS: OCC.S.A0002 command: "readAttribute" attribute: "OccupancySensorTypeBitmap" diff --git a/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml index 82a6f84f108590..c246342b18a448 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_3_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Reads Occupancy attribute from DUT" + - label: "Step 2: TH reads Occupancy attribute from DUT" PICS: OCC.S.A0000 command: "readAttribute" attribute: "Occupancy" @@ -49,7 +49,8 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 4: Reads back Occupancy attribute from DUT after few seconds" + - label: + "Step 4: after a few seconds, TH reads Occupancy attribute from DUT" PICS: OCC.S.A0000 && OCC.M.OccupancyChange command: "readAttribute" attribute: "Occupancy" diff --git a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml index 8673de5a78012e..13ab0235c84c4a 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 4.1.1. [TC-OO-1.1] Global attributes with server as DUT +name: 4.1.1. [TC-OO-1.1] Global Attributes with DUT as Server PICS: - OO.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -40,7 +42,7 @@ tests: minValue: 5 maxValue: 6 - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" PICS: ( !OO.S.F00 && !OO.S.F01 ) @@ -69,7 +71,7 @@ tests: type: bitmap32 hasMasksSet: [0x2] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -78,7 +80,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -88,7 +90,7 @@ tests: contains: [0, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the feature dependent(OO.S.F00) attribute in + "Step 4b: TH reads the feature dependent(OO.S.F00) attribute in AttributeList" PICS: OO.S.F00 command: "readAttribute" @@ -98,7 +100,7 @@ tests: type: list contains: [16384, 16385, 16386, 16387] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -107,7 +109,7 @@ tests: constraints: type: list - - label: "Step 6a: Read the global attribute: AcceptedCommandList" + - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -116,7 +118,7 @@ tests: contains: [0, 1, 2] - label: - "Step 6b: Read the feature dependent(OO.S.F00) commands in + "Step 6b: TH reads the feature dependent(OO.S.F00) commands in AcceptedCommandList" command: "readAttribute" attribute: "AcceptedCommandList" @@ -126,7 +128,7 @@ tests: type: list contains: [64, 65, 66] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml index d16199cbdf4e74..89d84218aef428 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: OnOff" + - label: "Step 2: TH reads the OnOff attribute from the DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" @@ -39,7 +39,7 @@ tests: constraints: type: boolean - - label: "Step 3: Read LT attribute: GlobalSceneControl" + - label: "Step 3: TH reads the GlobalSceneControl attribute from the DUT" PICS: OO.S.A4000 command: "readAttribute" attribute: "GlobalSceneControl" @@ -47,7 +47,7 @@ tests: constraints: type: boolean - - label: "Step 4: Read LT attribute: OnTime" + - label: "Step 4: TH reads the OnTime attribute from the DUT" PICS: OO.S.A4001 command: "readAttribute" attribute: "OnTime" @@ -57,7 +57,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 5: Read LT attribute: OffWaitTime" + - label: "Step 5: TH reads the OffWaitTime attribute from the DUT" PICS: OO.S.A4002 command: "readAttribute" attribute: "OffWaitTime" @@ -67,7 +67,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 6: Read LT attribute: StartUpOnOff" + - label: "Step 6: TH reads the StartUpOnOff attribute from the DUT" PICS: OO.S.A4003 command: "readAttribute" attribute: "StartUpOnOff" diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_2.yaml index f8433a20993410..c477d542e8a7d9 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_2.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,62 +31,62 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2a: Send Off Command" + - label: "Step 2a: TH sends Off command to DUT" PICS: OO.S.C00.Rsp command: "Off" - - label: "Step 2b: Check on/off attribute value is false after off command" + - label: "Step 2b: after a few seconds, TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 0 - - label: "Step 3a: Send On Command" + - label: "Step 3a: TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" - - label: "Step 3b: Check on/off attribute value is true after on command" + - label: "Step 3b: after a few seconds, TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 1 - - label: "Step 3c: Send On Command" + - label: "Step 3c: TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" - - label: "Step 3d: Check on/off attribute value is true after on command" + - label: "Step 3d: after a few seconds, TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 1 - - label: "Step 4a: Send Off Command" + - label: "Step 4a: TH sends Off command to DUT" PICS: OO.S.C00.Rsp command: "Off" - - label: "Step 4b: Check on/off attribute value is false after off command" + - label: "Step 4b: after a few seconds, TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 0 - - label: "Step 4c: Send Off Command" + - label: "Step 4c: TH sends Off command to DUT" PICS: OO.S.C00.Rsp command: "Off" - - label: "Step 4d: Check on/off attribute value is false after off command" + - label: "Step 4d: after a few seconds, TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 0 - - label: "Step 5c: Send Toggle Command" + - label: "Step 5c: TH sends Toggle command to DUT" PICS: OO.S.C02.Rsp command: "Toggle" @@ -98,15 +98,14 @@ tests: - name: "ms" value: 1000 - - label: - "Step 5d: Check on/off attribute value is true after toggle command" + - label: "Step 5d: after a few seconds, TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 1 - - label: "Send Toggle Command" + - label: "TH sends Toggle command to DUT" PICS: OO.S.C02.Rsp command: "Toggle" @@ -137,7 +136,7 @@ tests: value: "y" # Skipped this step because the above test need manual input - - label: "Step 6b: Check on/off attribute value is true after on command" + - label: "Step 6b: after a few seconds, TH reads OnOff attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && OO.S.A0000 && OO.M.ManuallyControlled command: "readAttribute" attribute: "OnOff" @@ -156,7 +155,7 @@ tests: value: "y" # Skipped the step because the above test need manual input - - label: "Step 6d: Check on/off attribute value is false after off command" + - label: "Step 6d: after a few seconds, TH reads OnOff attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && OO.S.A0000 && OO.M.ManuallyControlled command: "readAttribute" attribute: "OnOff" diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml index 92515bbca22187..d0e4a407be27c0 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml @@ -24,12 +24,8 @@ config: timeout: 400 endpoint: 1 - PIXIT.OO.MaxCommunicationTurnaround: - type: int16u - defaultValue: 10 - tests: - - label: "1: Wait for the commissioned device to be retrieved" + - label: "1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -37,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "2a: Send On Command" + - label: "2a: TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" @@ -49,21 +45,23 @@ tests: - name: "ms" value: 1000 - - label: "2b: Reads OnOff attribute from DUT" + - label: "2b: after a few seconds,TH reads OnOff attribute from DUT" PICS: OO.S.A0000 command: "readAttribute" attribute: "OnOff" response: value: 1 - - label: "2b:Reads GlobalSceneControl attribute from DUT" + - label: "2b: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 response: value: 1 - - label: "3a:Sends OffWithEffect command to DUT" + - label: + "3a: TH sends OffWithEffect command to DUT with EffectIdentifier and + EffectVariant both set to 0x00" command: "OffWithEffect" PICS: OO.S.C40.Rsp arguments: @@ -81,22 +79,21 @@ tests: - name: "ms" value: 1000 - - label: "3b:Reads OnOff attribute from DUT" + - label: "3b: after a few seconds,TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C40.Rsp response: value: 0 - - label: "3b:Reads GlobalSceneControl attribute from DUT" + - label: "3b: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C40.Rsp response: value: 0 - - label: "4a:Sends OnWithRecallGlobalScene command to DUT" - command: "OnWithRecallGlobalScene" + - label: "4a: TH sends OnWithRecallGlobalScene command to DUT" PICS: OO.S.C41.Rsp - label: "Wait 1000ms" @@ -107,21 +104,23 @@ tests: - name: "ms" value: 1000 - - label: "4b:Reads OnOff attribute from DUT" + - label: "4b: after a few seconds,TH Reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C41.Rsp response: value: 1 - - label: "4b:Reads GlobalSceneControl attribute from DUT" + - label: "4b: TH Reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C41.Rsp response: value: 1 - - label: "5a:Sends OffWithEffect command to DUT" + - label: + "5a: TH sends OffWithEffect command to DUT with EffectIdentifier and + EffectVariant both set to 0x00" command: "OffWithEffect" PICS: OO.S.C40.Rsp arguments: @@ -139,21 +138,21 @@ tests: - name: "ms" value: 1000 - - label: "5b:Reads OnOff attribute from DUT" + - label: "5b: after a few seconds, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C40.Rsp response: value: 0 - - label: "5b:Reads GlobalSceneControl attribute from DUT" + - label: "5b: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C40.Rsp response: value: 0 - - label: "5c:Send On Command" + - label: "5c: TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" @@ -165,21 +164,23 @@ tests: - name: "ms" value: 1000 - - label: "5d:Reads OnOff attribute from DUT" + - label: "5d: after a few seconds, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C01.Rsp response: value: 1 - - label: "5d:Reads GlobalSceneControl attribute from DUT" + - label: "5d: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C01.Rsp response: value: 1 - - label: "6a:Sends OffWithEffect command to DUT" + - label: + "6a: TH sends OffWithEffect command to DUT with EffectIdentifier set + to 0x01 (dying light) and EffectVariant set to 0x00" command: "OffWithEffect" PICS: OO.S.C40.Rsp arguments: @@ -197,21 +198,21 @@ tests: - name: "ms" value: 1000 - - label: "6b:Reads OnOff attribute from DUT" + - label: "6b: after a few seconds, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C40.Rsp response: value: 0 - - label: "6b:Reads GlobalSceneControl attribute from DUT" + - label: "6b: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C40.Rsp response: value: 0 - - label: "7a:Send On Command" + - label: "7a: TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" @@ -223,21 +224,21 @@ tests: - name: "ms" value: 1000 - - label: "7b:Reads OnOff attribute from DUT" + - label: "7b: after a few seconds, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C01.Rsp response: value: 1 - - label: "7b:Reads GlobalSceneControl attribute from DUT" + - label: "7b: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C01.Rsp response: value: 1 - - label: "7c:Sends OnWithRecallGlobalScene command to DUT" + - label: "7c: TH sends OnWithRecallGlobalScene command to DUT" command: "OnWithRecallGlobalScene" PICS: OO.S.C41.Rsp @@ -249,35 +250,37 @@ tests: - name: "ms" value: 1000 - - label: "7d:Reads OnOff attribute from DUT" + - label: "7d: after a few seconds, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C41.Rsp response: value: 1 - - label: "7d:Reads GlobalSceneControl attribute from DUT" + - label: "7d: TH reads GlobalSceneControl attribute from DUT" command: "readAttribute" attribute: "GlobalSceneControl" PICS: OO.S.A4000 && OO.S.C41.Rsp response: value: 1 - - label: "8:Reads OnTime attribute from DUT" + - label: "8: TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 response: value: 0 - - label: "8:Reads OffWaitTime attribute from DUT" + - label: "8: TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 response: value: 0 - - label: "9a:Sends OnWithTimedOff command to DUT" + - label: + "9a:TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x01 + (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -296,24 +299,25 @@ tests: response: value: 1 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404396743 - - label: "9b:Reads OnTime attribute from DUT" + - label: "9b: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - - label: "9b:Reads OffWaitTime attribute from DUT" + - label: "9b: TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp response: value: 300 - - label: "10a:Sends OnWithTimedOff command to DUT" + - label: + "10a: TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x01 + (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -333,7 +337,10 @@ tests: - name: "ms" value: 10000 - - label: "10b:Sends OnWithTimedOff command to DUT" + - label: + "10b: After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -353,7 +360,10 @@ tests: - name: "ms" value: 10000 - - label: "10c:Sends OnWithTimedOff command to DUT" + - label: + "10c: After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -373,7 +383,10 @@ tests: - name: "ms" value: 10000 - - label: "10d:Sends OnWithTimedOff command to DUT" + - label: + "10d: After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s) " command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -385,24 +398,23 @@ tests: - name: "OffWaitTime" value: 300 - - label: "10e:Reads OnOff attribute from DUT" + - label: "10e: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 1 - #Refer comment: https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404397738 - - label: "10e:Reads OnTime attribute from DUT" + - label: "10e: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - - label: "10e:Reads OffWaitTime attribute from DUT" + - label: "10e: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp @@ -417,7 +429,9 @@ tests: - name: "ms" value: 10000 - - label: "11a:Sends OffWithEffect command to DUT" + - label: + "11a: After 10s, TH sends OffWithEffect command to DUT with + EffectIdentifier and EffectVariant both set to 0x00" command: "OffWithEffect" PICS: OO.S.C40.Rsp arguments: @@ -427,29 +441,28 @@ tests: - name: "EffectVariant" value: 0 - - label: "11b:Reads OnOff attribute from DUT" + - label: "11b: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C40.Rsp response: value: 0 - - label: "11b:Reads OnTime attribute from DUT" + - label: "11b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C40.Rsp response: value: 0 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404400479 - - label: "11b:Reads OffWaitTime attribute from DUT" + - label: "11b: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C40.Rsp response: constraints: - minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - label: "Wait 10000ms" cluster: "DelayCommands" @@ -459,7 +472,10 @@ tests: - name: "ms" value: 10000 - - label: "12a:Sends OnWithTimedOff command to DUT" + - label: + "12a:After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -471,29 +487,28 @@ tests: - name: "OffWaitTime" value: 300 - - label: "12b:Reads OnOff attribute from DUT" + - label: "12b: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 0 - - label: "12b:Reads OnTime attribute from DUT" + - label: "12b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: value: 0 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404406872 - - label: "12b:Reads OffWaitTime attribute from DUT" + - label: "12b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp response: constraints: - minValue: 185 - ( 7 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 215 + minValue: 170 + maxValue: 230 - label: "Wait 10000ms" cluster: "DelayCommands" @@ -503,25 +518,25 @@ tests: - name: "ms" value: 10000 - - label: "13a:Send On Command" + - label: "13a:After 10s, TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" - - label: "13b:Reads OnOff attribute from DUT" + - label: "13b:Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C01.Rsp response: value: 1 - - label: "13b:Reads OnTime attribute from DUT" + - label: "13b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C01.Rsp response: value: 0 - - label: "13b:Reads OffWaitTime attribute from DUT" + - label: "13b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C01.Rsp @@ -536,7 +551,10 @@ tests: - name: "ms" value: 10000 - - label: "14a:Sends OnWithTimedOff command to DUT" + - label: + "14a: After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -556,33 +574,32 @@ tests: - name: "ms" value: 10000 - - label: "14b:Send Off Command" + - label: "14b:After 10s, TH sends Off command to DUT" command: "Off" PICS: OO.S.C00.Rsp - - label: "14c:Reads OnOff attribute from DUT" + - label: "14c:Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C00.Rsp response: value: 0 - - label: "14c:Reads OnTime attribute from DUT" + - label: "14c:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C00.Rsp response: value: 0 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404423488 - - label: "14c:Reads OffWaitTime attribute from DUT" + - label: "14c:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: constraints: - minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - label: "Wait 30000ms" cluster: "DelayCommands" @@ -592,21 +609,21 @@ tests: - name: "ms" value: 30000 - - label: "15:Reads OnOff attribute from DUT" + - label: "15:After 30s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 response: value: 0 - - label: "15:Reads OnTime attribute from DUT" + - label: "15:TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 response: value: 0 - - label: "15:Reads OffWaitTime attribute from DUT" + - label: "15: TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 @@ -621,7 +638,10 @@ tests: - name: "ms" value: 10000 - - label: "16a:Sends OnWithTimedOff command to DUT" + - label: + "16a:After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -633,28 +653,28 @@ tests: - name: "OffWaitTime" value: 300 - - label: "16b:Reads OnOff attribute from DUT" + - label: "16b: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 0 - - label: "16b:Reads OnTime attribute from DUT" + - label: "16b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: value: 0 - - label: "16b:Reads OffWaitTime attribute from DUT" + - label: "16b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp response: value: 0 - - label: "17a:Send On Command" + - label: "17a: TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" @@ -666,7 +686,10 @@ tests: - name: "ms" value: 10000 - - label: "17b:Sends OnWithTimedOff command to DUT" + - label: + "17b: After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -678,24 +701,23 @@ tests: - name: "OffWaitTime" value: 300 - - label: "17c:Reads OnOff attribute from DUT" + - label: "17c:Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 1 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404424832 - - label: "17c:Reads OnTime attribute from DUT" + - label: "17c:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - - label: "17c:Reads OffWaitTime attribute from DUT" + - label: "17c:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp @@ -710,21 +732,21 @@ tests: - name: "ms" value: 40000 - - label: "17d:Reads OnOff attribute from DUT" + - label: "17d:After 40s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 0 - - label: "17d:Reads OnTime attribute from DUT" + - label: "17d:TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: value: 0 - - label: "17d:Reads OffWaitTime attribute from DUT" + - label: "17d:TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp @@ -739,7 +761,10 @@ tests: - name: "ms" value: 10000 - - label: "18a:Sends OnWithTimedOff command to DUT" + - label: + "18a:After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 0) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -751,31 +776,32 @@ tests: - name: "OffWaitTime" value: 300 - - label: "18b:Reads OnOff attribute from DUT" + - label: "18b:Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 1 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404425845 - - label: "18b:Reads OnTime attribute from DUT" + - label: "18b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - - label: "18b:Reads OffWaitTime attribute from DUT" + - label: "18b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp response: value: 300 - - label: "19a:Sends OnWithTimedOff command to DUT" + - label: + "19a: TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x00 + (AcceptOnlyWhenOn 0) 2)OnTime: 0x012c (30s) 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -795,7 +821,10 @@ tests: - name: "ms" value: 10000 - - label: "19b:Sends OnWithTimedOff command to DUT" + - label: + "19b: After 10s,TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x00 (AcceptOnlyWhenOn 0) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -815,59 +844,59 @@ tests: - name: "ms" value: 10000 - - label: "19c:Reads OnOff attribute from DUT" + - label: "19c:After 10s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 1 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404428940 - - label: "19c:Reads OnTime attribute from DUT" + - label: "19c: TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 185 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 215 + minValue: 170 + maxValue: 230 - - label: "19c:Reads OffWaitTime attribute from DUT" + - label: "19c: TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp response: value: 300 - - label: "20a:Send Off Command" + - label: "20a: TH sends Off command to DUT" command: "Off" PICS: OO.S.C00.Rsp - - label: "20b:Reads OnOff attribute from DUT" + - label: "20b: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C00.Rsp response: value: 0 - - label: "20b:Reads OnTime attribute from DUT" + - label: "20b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C00.Rsp response: value: 0 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404430203 - - label: "20b:Reads OffWaitTime attribute from DUT" + - label: "20b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: constraints: - minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - - label: "21a:Sends OnWithTimedOff command to DUT" + - label: + "21a:TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x00 + (AcceptOnlyWhenOn 0) 2)OnTime: 0x012c (30s) 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -887,49 +916,48 @@ tests: - name: "ms" value: 10000 - - label: "21b:Reads OnOff attribute from DUT" + - label: "21b:After 10s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 0 - - label: "21b:Reads OnTime attribute from DUT" + - label: "21b:TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: value: 0 - #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404431785 - - label: "21b:Reads OffWaitTime attribute from DUT" + - label: "21b:TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && PICS_SKIP_SAMPLE_APP && OO.S.C42.Rsp response: constraints: - minValue: 185 - ( 7 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 215 + minValue: 170 + maxValue: 230 - - label: "22a:Send On Command" + - label: "22a:TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" - - label: "22b:Reads OnOff attribute from DUT" + - label: "22b:Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C01.Rsp response: value: 1 - - label: "22b:Reads OnTime attribute from DUT" + - label: "22b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C01.Rsp response: value: 0 - - label: "22b:Reads OffWaitTime attribute from DUT" + - label: "22b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C01.Rsp @@ -944,7 +972,10 @@ tests: - name: "ms" value: 10000 - - label: "23a:Sends OnWithTimedOff command to DUT" + - label: + "23a:After 10s, TH sends OnWithTimedOff command to DUT with + 1)OnOffControl: 0x00 (AcceptOnlyWhenOn 0) 2)OnTime: 0x012c (30s) + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -956,7 +987,7 @@ tests: - name: "OffWaitTime" value: 300 - - label: "23b:Send Off Command" + - label: "23b:TH sends Off command to DUT" command: "Off" PICS: OO.S.C00.Rsp @@ -967,21 +998,21 @@ tests: response: value: 0 - - label: "23c:Reads OnTime attribute from DUT" + - label: "23c:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C00.Rsp response: value: 0 - - label: "23c:Reads OffWaitTime attribute from DUT" + - label: "23c:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: constraints: - minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - label: "Wait 40000ms" cluster: "DelayCommands" @@ -991,28 +1022,30 @@ tests: - name: "ms" value: 40000 - - label: "23d:Reads OnOff attribute from DUT" + - label: "23d:After 40s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C00.Rsp response: value: 0 - - label: "23d:Reads OnTime attribute from DUT" + - label: "23d:TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C00.Rsp response: value: 0 - - label: "23d:Reads OffWaitTime attribute from DUT" + - label: "23d:TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: value: 0 - - label: "24a:Sends OnWithTimedOff command to DUT" + - label: + "24a:TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x00 + (AcceptOnlyWhenOn 0) 2)OnTime: 0x012c (30s) 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -1024,23 +1057,23 @@ tests: - name: "OffWaitTime" value: 300 - - label: "24b:Reads OnOff attribute from DUT" + - label: "24b:Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 1 - - label: "24b:Reads OnTime attribute from DUT" + - label: "24b:Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) - maxValue: 300 + minValue: 255 + maxValue: 345 - - label: "24b:Reads OffWaitTime attribute from DUT" + - label: "24b:Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp @@ -1055,21 +1088,21 @@ tests: - name: "ms" value: 40000 - - label: "24c:Reads OnOff attribute from DUT" + - label: "24c:After 40s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 response: value: 0 - - label: "24c:Reads OnTime attribute from DUT" + - label: "24c:TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 response: value: 0 - - label: "24c:Reads OffWaitTime attribute from DUT" + - label: "24c:TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml index cd1cc9caf78ffa..219161c2290535 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_4.yaml @@ -24,7 +24,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml index c578c96d6bb0ab..cce8acd22655ca 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_1_2.yaml @@ -13,9 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 11.1.2. [TC-OPCREDS-1.2] Global Attributes for Node Operational Credentials - Cluster [DUT-Server] +name: 11.1.2. [TC-OPCREDS-1.2] Global Attributes with DUT as Server PICS: - OPCREDS.S @@ -26,7 +24,9 @@ config: endpoint: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -34,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision from DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -42,7 +42,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap from DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -50,7 +50,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -73,7 +73,7 @@ tests: 0x05, ] - - label: "Step 4: TH reads AttributeList from DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -95,7 +95,7 @@ tests: 0x05, ] - - label: "Step 5: TH reads EventList from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -104,7 +104,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -112,7 +112,7 @@ tests: type: list contains: [0x00, 0x02, 0x04, 0x06, 0x07, 0x09, 0x0a, 0x0b] - - label: "Step 7: TH reads GeneratedCommandList from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml index 531fdf492ac3e2..d74827b753538d 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml @@ -66,7 +66,8 @@ tests: - label: "Step 3.2: TH1 does a non-fabric-filtered read of the Fabrics - attribute from the Node Operational Credentials cluster." + attribute from the Node Operational Credentials cluster. Save the + FabricIndex for TH1 as TH1_Fabric_Index for future use." PICS: OPCREDS.S.A0001 identity: "alpha" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_OPSTATE_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OPSTATE_1_1.yaml index c55cafcfef2b4a..21d6c7e9785e07 100644 --- a/src/app/tests/suites/certification/Test_TC_OPSTATE_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPSTATE_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute" command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute" command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -57,7 +59,7 @@ tests: contains: [0, 1, 3, 4, 5, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -77,7 +79,7 @@ tests: type: list contains: [2] - - label: "Step 5a: TH reads from the DUT the EventList attribute." + - label: "Step 5a: TH reads from the DUT the EventList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -97,7 +99,8 @@ tests: type: list contains: [0x01] - - label: "Step 6a: Read the optional command(Start) in AcceptedCommandList" + - label: + "Step 6a: TH reads the optional command(Start) in AcceptedCommandList" PICS: OPSTATE.S.C02.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -106,7 +109,8 @@ tests: type: list contains: [1, 2] - - label: "Step 6b: Read the optional command(Stop) in AcceptedCommandList" + - label: + "Step 6b: TH reads the optional command(Stop) in AcceptedCommandList" PICS: OPSTATE.S.C01.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -115,7 +119,8 @@ tests: type: list contains: [1] - - label: "Step 6c: Read the optional command(Pause) in AcceptedCommandList" + - label: + "Step 6c: TH reads the optional command(Pause) in AcceptedCommandList" PICS: OPSTATE.S.C00.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -124,7 +129,8 @@ tests: type: list contains: [0, 3] - - label: "Step 6d: Read the optional command(Resume) in AcceptedCommandList" + - label: + "Step 6d: TH reads the optional command(Resume) in AcceptedCommandList" PICS: OPSTATE.S.C03.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -133,7 +139,7 @@ tests: type: list contains: [0, 3] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the AcceptedCommandList attribute" PICS: "!OPSTATE.S.C00.Rsp && !OPSTATE.S.C01.Rsp && !OPSTATE.S.C02.Rsp && !OPSTATE.S.C03.Rsp" @@ -144,7 +150,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute" PICS: (OPSTATE.S.C00.Rsp || OPSTATE.S.C01.Rsp || OPSTATE.S.C02.Rsp || OPSTATE.S.C03.Rsp) diff --git a/src/app/tests/suites/certification/Test_TC_OZCONC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OZCONC_1_1.yaml index e73dcc4305e9da..25b6e3af2d0d57 100644 --- a/src/app/tests/suites/certification/Test_TC_OZCONC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OZCONC_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -40,8 +42,8 @@ tests: type: int16u - label: - "Step 3a: Read the global attribute: FeatureMap and check for either - bit 0 or 1 set" + "Step 3a: TH reads from the DUT the FeatureMap attribute and check for + either bit 0 or 1 set" command: "readAttribute" attribute: "FeatureMap" response: @@ -181,7 +183,7 @@ tests: type: bitmap32 hasMasksClear: [0x20] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: PICS_EVENT_LIST_ENABLED @@ -190,7 +192,7 @@ tests: type: list contains: [9, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" @@ -199,7 +201,8 @@ tests: type: list contains: [9, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute Uncertainty in AttributeList" + - label: + "Step 4b: TH reads the optional attribute Uncertainty in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: OZCONC.S.A0007 && OZCONC.S.F00 @@ -220,7 +223,7 @@ tests: excludes: [7] - label: - "Step 4d: Read the optional, feature dependent attributes + "Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList" command: "readAttribute" @@ -244,7 +247,7 @@ tests: excludes: [0, 1, 2, 7, 8] - label: - "Step 4f: Read the optional, feature dependent attributes + "Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -266,7 +269,7 @@ tests: excludes: [3, 4] - label: - "Step 4h: Read the optional, feature dependent attributes + "Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -289,8 +292,8 @@ tests: excludes: [5, 6] - label: - "Step 4j: Read the optional, feature dependent attribute LevelValue in - AttributeList" + "Step 4j: TH reads the optional, feature dependent attribute + LevelValue in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: OZCONC.S.F01 @@ -310,7 +313,7 @@ tests: type: list excludes: [10] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." command: "readAttribute" attribute: "EventList" PICS: PICS_EVENT_LIST_ENABLED @@ -319,7 +322,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -327,7 +330,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml index 8fa8d9d522dda2..3d6f49e133bdd4 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 36.1.1. [TC-PRS-1.1] Global attributes with server as DUT +name: 36.1.1. [TC-PRS-1.1] Global Attributes with DUT as Server PICS: - PRS.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: Read the global attribute: FeatureMap" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." PICS: " !PRS.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +61,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 4a: Read the global mandatory attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +70,7 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global mandatory attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -78,7 +80,8 @@ tests: contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the optional attribute(ScaledValue) in AttributeList" + "Step 4b: TH reads the optional attribute(ScaledValue) in + AttributeList" PICS: PRS.S.A0010 command: "readAttribute" attribute: "AttributeList" @@ -88,7 +91,8 @@ tests: contains: [16] - label: - "Step 4c: Read the optional attribute(MinScaledValue) in AttributeList" + "Step 4c: TH reads the optional attribute(MinScaledValue) in + AttributeList" PICS: PRS.S.A0011 command: "readAttribute" attribute: "AttributeList" @@ -98,7 +102,8 @@ tests: contains: [17] - label: - "Step 4d: Read the optional attribute(MaxScaledValue) in AttributeList" + "Step 4d: TH reads the optional attribute(MaxScaledValue) in + AttributeList" PICS: PRS.S.A0012 command: "readAttribute" attribute: "AttributeList" @@ -107,7 +112,7 @@ tests: type: list contains: [18] - - label: "Step 4e: Read the optional attribute(Scale) in AttributeList" + - label: "Step 4e: TH reads the optional attribute(Scale) in AttributeList" PICS: PRS.S.A0014 command: "readAttribute" attribute: "AttributeList" @@ -116,7 +121,8 @@ tests: type: list contains: [20] - - label: "Step 4f: Read the optional attribute(Tolerance) in AttributeList" + - label: + "Step 4f: TH reads the optional attribute(Tolerance) in AttributeList" PICS: PRS.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -126,7 +132,7 @@ tests: contains: [3] - label: - "Step 4g: Read the optional attribute(ScaledTolerance) in + "Step 4g: TH reads the optional attribute(ScaledTolerance) in AttributeList" PICS: PRS.S.A0013 command: "readAttribute" @@ -136,7 +142,7 @@ tests: type: list contains: [19] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -145,7 +151,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -153,7 +159,8 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: + "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml index e025d856390ec3..112f84f45f82a1 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,8 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: - "Step 2: Read the mandatory attribute constraints: MinMeasuredValue" + - label: "Step 2: TH reads from the DUT the MinMeasuredValue attribute." PICS: PRS.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" @@ -43,8 +44,7 @@ tests: minValue: -32767 maxValue: 32766 - - label: - "Step 3: Read the mandatory attribute constraints: MaxMeasuredValue" + - label: "Step 3: TH reads from the DUT the MaxMeasuredValue attribute." PICS: PRS.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" @@ -55,7 +55,7 @@ tests: minValue: MinMeasuredValueValue maxValue: 32767 - - label: "Step 4: Read the mandatory attribute constraints: MeasuredValue" + - label: "Step 4: TH reads from the DUT the MeasuredValue attribute." PICS: PRS.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -65,7 +65,7 @@ tests: minValue: MinMeasuredValueValue maxValue: MaxMeasuredValueValue - - label: "Step 5: Read the optional attribute: Tolerance" + - label: "Step 5: TH reads from the DUT the Tolerance attribute." PICS: PRS.S.A0003 command: "readAttribute" attribute: "Tolerance" @@ -75,7 +75,7 @@ tests: minValue: 0 maxValue: 2048 - - label: "Step 6: Read the optional attribute: MinScaledValue" + - label: "Step 6: TH reads from the DUT the MinScaledValue attribute." PICS: PRS.S.A0011 command: "readAttribute" attribute: "MinScaledValue" @@ -86,7 +86,7 @@ tests: minValue: -32767 maxValue: 32766 - - label: "Step 7: Read the optional attribute: MaxScaledValue" + - label: "Step 7: TH reads from the DUT the MaxScaledValue attribute." PICS: PRS.S.A0012 command: "readAttribute" attribute: "MaxScaledValue" @@ -97,7 +97,7 @@ tests: minValue: MinScaledValueValue maxValue: 32767 - - label: "Step 8: Read the optional attribute: ScaledValue" + - label: "Step 8: TH reads from the DUT the ScaledValue attribute." PICS: PRS.S.A0010 command: "readAttribute" attribute: "ScaledValue" @@ -107,7 +107,7 @@ tests: minValue: MinScaledValueValue maxValue: MaxScaledValueValue - - label: "Step 9: Read the optional attribute: ScaledTolerance" + - label: "Step 9: TH reads from the DUT the ScaledTolerance attribute." PICS: PRS.S.A0013 command: "readAttribute" attribute: "ScaledTolerance" @@ -117,7 +117,7 @@ tests: minValue: 0 maxValue: 2048 - - label: "Step 10: Read the optional attribute: Scale" + - label: "Step 10: TH reads from the DUT the Scale attribute." PICS: PRS.S.A0014 command: "readAttribute" attribute: "Scale" diff --git a/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml index 8025fc1800b1c3..441e706d8865f1 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_2_2.yaml @@ -24,7 +24,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml index ed8d6ddd8a5a54..d3ec7430f62bfe 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 63.1.1. [TC-PSCFG-1.1] Global attributes with server as DUT +name: 63.1.1. [TC-PSCFG-1.1] Global Attributes with DUT as Server PICS: - PSCFG.S @@ -23,7 +23,9 @@ config: endpoint: 0 tests: - - label: "Step 1: Commission DUT to TH" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4: TH reads the AttributeList attribute from the DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +58,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads the AttributeList attribute from the DUT" + - label: "Step 4: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,26 +67,26 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH reads the AcceptedCommandList attribute from the DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." + PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" - attribute: "AcceptedCommandList" + attribute: "EventList" response: value: [] constraints: type: list - - label: "Step 6: TH reads the GeneratedCommandList attribute from the DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" - attribute: "GeneratedCommandList" + attribute: "AcceptedCommandList" response: value: [] constraints: type: list - - label: "Step 7: Read EventList attribute from the DUT." - PICS: PICS_EVENT_LIST_ENABLED + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" - attribute: "EventList" + attribute: "GeneratedCommandList" response: value: [] constraints: diff --git a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml index dca6317802a6c4..f0ac68665894fb 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 62.1.1. [TC-PS-1.1] Global attributes with server as DUT +name: 62.1.1. [TC-PS-1.1] Global Attributes with DUT as Server PICS: - PS.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: Test Harness Client reads ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." PICS: " !PS.S.F00 && !PS.S.F01 && !PS.S.F02 && !PS.S.F03 " command: "readAttribute" attribute: "FeatureMap" @@ -92,7 +94,7 @@ tests: type: bitmap32 hasMasksSet: [0x2, 0x8] - - label: "Step 4: Read the global attribute: AttributeList" + - label: "Step 4: Test Harness Client reads AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -102,7 +104,7 @@ tests: contains: [0, 1, 2, 0x1f, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: Read the global attribute: AttributeList" + - label: "Step 4: Test Harness Client reads AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -112,7 +114,7 @@ tests: contains: [0, 1, 2, 0x1f, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in + "Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList" PICS: PS.S.F00 command: "readAttribute" @@ -123,7 +125,7 @@ tests: contains: [5] - label: - "Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in + "Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList" PICS: PS.S.F01 command: "readAttribute" @@ -134,7 +136,7 @@ tests: contains: [14, 15, 16] - label: - "Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in + "Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList" PICS: PS.S.F02 command: "readAttribute" @@ -145,7 +147,7 @@ tests: contains: [26, 28] - label: - "Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in + "Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList" PICS: PS.S.F03 command: "readAttribute" @@ -155,54 +157,55 @@ tests: type: list contains: [19, 25] - - label: "Step 5: Read the global attribute: AcceptedCommandList" + - label: "Step 5a: Test Harness Client reads EventList attribute." + PICS: "PICS_EVENT_LIST_ENABLED && !PS.S.E00 && !PS.S.E01 && !PS.S.E02 " command: "readAttribute" - attribute: "AcceptedCommandList" + attribute: "EventList" response: value: [] constraints: type: list - - label: "Step 6: Read the global attribute: GeneratedCommandList" + - label: "Step 5b: TH reads PS.S.E00(WiredFaultChange) event in EventList" + PICS: PICS_EVENT_LIST_ENABLED && PS.S.E00 command: "readAttribute" - attribute: "GeneratedCommandList" + attribute: "EventList" response: - value: [] constraints: type: list + contains: [0] - - label: "Step 7a: Read the global attribute: EventList" - PICS: "PICS_EVENT_LIST_ENABLED && !PS.S.E00 && !PS.S.E01 && !PS.S.E02 " + - label: "Step 5c: TH reads PS.S.E01(BatFaultChange) event in EventList" + PICS: PICS_EVENT_LIST_ENABLED && PS.S.E01 command: "readAttribute" attribute: "EventList" response: - value: [] constraints: type: list + contains: [1] - - label: "Step 7b: Read PS.S.E00(WiredFaultChange) event in EventList" - PICS: PICS_EVENT_LIST_ENABLED && PS.S.E00 + - label: + "Step 5d: TH reads PS.S.E02(BatChargeFaultChange) event in EventList" + PICS: PICS_EVENT_LIST_ENABLED && PS.S.E02 command: "readAttribute" attribute: "EventList" response: constraints: type: list - contains: [0] + contains: [2] - - label: "Step 7c: Read PS.S.E01(BatFaultChange) event in EventList" - PICS: PICS_EVENT_LIST_ENABLED && PS.S.E01 + - label: "Step 6: Test Harness Client reads AcceptedCommandList attribute." command: "readAttribute" - attribute: "EventList" + attribute: "AcceptedCommandList" response: + value: [] constraints: type: list - contains: [1] - - label: "Step 7d: Read PS.S.E02(BatChargeFaultChange) event in EventList" - PICS: PICS_EVENT_LIST_ENABLED && PS.S.E02 + - label: "Step 7: Test Harness Client reads GeneratedCommandList attribute." command: "readAttribute" - attribute: "EventList" + attribute: "GeneratedCommandList" response: + value: [] constraints: type: list - contains: [2] diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml index f03d09dd85779d..fe3da007d9683e 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,8 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: - "Step 2: Test Harness Client reads Status attribute from Server DUT" + - label: "Step 2: Test Harness Client reads Status from server DUT" PICS: PS.S.A0000 command: "readAttribute" attribute: "Status" @@ -42,7 +41,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 3: Test Harness Client reads Order attribute from Server DUT" + - label: "Step 3: Test Harness Client reads Order from server DUT" PICS: PS.S.A0001 command: "readAttribute" attribute: "Order" @@ -52,9 +51,7 @@ tests: minValue: 0 maxValue: 255 - - label: - "Step 4: Test Harness Client reads Description attribute from Server - DUT" + - label: "Step 4: Test Harness Client reads Order from server DUT" PICS: PS.S.A0002 command: "readAttribute" attribute: "Description" @@ -64,8 +61,8 @@ tests: maxLength: 60 - label: - "Step 5: Test Harness Client reads WiredAssessedInputVoltage attribue - from Server DUT" + "Step 5: Test Harness Client reads WiredAssessedInputVoltage from + server DUT" PICS: PS.S.A0003 command: "readAttribute" attribute: "WiredAssessedInputVoltage" @@ -76,8 +73,8 @@ tests: maxValue: 0xFFFFFFFF - label: - "Step 6: Test Harness Client reads WiredAssessedInputFrequency - attribute from Server DUT" + "Step 6: Test Harness Client reads WiredAssessedInputFrequencyfrom + server DUT" PICS: PS.S.A0004 command: "readAttribute" attribute: "WiredAssessedInputFrequency" @@ -88,8 +85,7 @@ tests: maxValue: 65535 - label: - "Step 7: Test Harness Client reads WiredCurrentType attribute from - Server DUT" + "Step 7: Test Harness Client reads WiredCurrentType from server DUT" PICS: PS.S.A0005 command: "readAttribute" attribute: "WiredCurrentType" @@ -100,8 +96,8 @@ tests: maxValue: 1 - label: - "Step 8: Test Harness Client reads WiredAssessedCurrent attribute from - Server DUT" + "Step 8: Test Harness Client reads WiredAssessedCurrent from server + DUT" PICS: PS.S.A0006 command: "readAttribute" attribute: "WiredAssessedCurrent" @@ -112,7 +108,7 @@ tests: maxValue: 0xFFFFFFFF - label: - "Step 9: Test Harness Client reads WiredNominalVoltage from Server DUT" + "Step 9: Test Harness Client reads WiredNominalVoltage from server DUT" PICS: PS.S.A0007 command: "readAttribute" attribute: "WiredNominalVoltage" diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml index 06681fa416abd7..1728c467455aa3 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml @@ -51,7 +51,7 @@ tests: disabled: true - label: "Step 3a: Set up subscription to WiredFaultChange event" - PICS: PS.S.E00 && PS.M.ManualWiredFault + PICS: PS.S.E00 && PS.S.M.ManualWiredFault verification: | Please use Interactive mode to Verify subscription test step Here the command to enter interactive mode:-- ./chip-tool interactive start @@ -93,12 +93,13 @@ tests: disabled: true - label: "Step 3b: Bring the DUT into a wired fault state." + PICS: PS.S.E00 && PS.S.M.ManualWiredFault verification: | DUT ACTION REQUIRED disabled: true - label: "Step 4: TH reads the ActiveWiredFaults attribute from the DUT" - PICS: PS.S.A000a && PS.M.ManualWiredFault + PICS: PS.S.A000a && PS.S.M.ManualWiredFault verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -109,8 +110,14 @@ tests: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true + - label: "Step 5: The Current field of Step 3b has to be the same as the value of Step 4." + PICS: PS.S.E00 && PS.S.A000a && PS.S.M.ManualWiredFault + verification: | + + disabled: true + - label: "Step 6: Bring the DUT back into a clean state." - PICS: PS.S.E00 && PS.M.ManualWiredFault + PICS: PS.S.E00 && PS.S.M.ManualWiredFault verification: | DUT ACTION REQUIRED disabled: true @@ -133,7 +140,7 @@ tests: disabled: true - label: "Step 8a: Set up subscription to BatFaultChange event" - PICS: PS.S.E01 && PS.M.ManualBatFault + PICS: PS.S.E01 && PS.S.M.ManualBatFault verification: | Please use Interactive mode to Verify subscription test step Here the command to enter interactive mode:-- ./chip-tool interactive start @@ -174,12 +181,13 @@ tests: disabled: true - label: "Step 8b: Bring the DUT into a battery fault state." + PICS: PS.S.E01 && PS.S.M.ManualBatFault verification: | DUT ACTION REQUIRED disabled: true - label: "Step 9: TH reads the ActiveBatFaults attribute from the DUT" - PICS: PS.S.A0012 && PS.M.ManualBatFault + PICS: PS.S.A0012 && PS.S.M.ManualBatFault verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -190,7 +198,7 @@ tests: disabled: true - label: "Step 11: Bring the DUT back into a clean state." - PICS: PS.S.E01 && PS.M.ManualBatFault + PICS: PS.S.E01 && PS.S.M.ManualBatFault verification: | DUT ACTION REQUIRED disabled: true @@ -203,6 +211,7 @@ tests: - label: "Step 12b: TH reads the ActiveBatChargeFaults attribute from the DUT" + PICS: PS.S.A001e verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -213,7 +222,7 @@ tests: disabled: true - label: "Step 13a: Set up subscription to BatChargeFaultChange event" - PICS: PS.S.E02 && PS.M.ManualBatChargeFault + PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault verification: | ./chip-tool interactive start @@ -253,6 +262,7 @@ tests: disabled: true - label: "Step 13b: Bring the DUT into a charge fault state." + PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault verification: | DUT ACTION REQUIRED disabled: true @@ -269,8 +279,14 @@ tests: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true + - label: "Step 5: The Current field of Step 13b has to be the same as the value of Step 14." + PICS: PS.S.E02 && PS.S.A001e && PS.S.M.ManualWiredFault + verification: | + + disabled: true + - label: "Step 16: Bring the DUT back into a clean state." - PICS: PS.S.E02 && PS.M.ManualBatChargeFault + PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault verification: | DUT ACTION REQUIRED disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_REFALM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_REFALM_1_1.yaml index bb3afba61f47b0..fd9a44944b8b49 100644 --- a/src/app/tests/suites/certification/Test_TC_REFALM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_REFALM_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml b/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml index d47f46e00c1a1a..0e5ef4f42dec05 100644 --- a/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 217.2.3. [TC-REFALM-2.3] Local suppression of the door alarm with DUT as @@ -18,127 +19,114 @@ name: PICS: - REFALM.S - - REFALM.S.M.LocalSuppress config: nodeId: 0x12344321 - cluster: "Refrigerator Alarm" - endpoint: 1 - PIXIT.REFALM.AlarmThreshold: - type: int16u - defaultValue: 5 + cluster: "Basic Information" + endpoint: 0 tests: + - label: "Note" + verification: | + This is a simulated example log for instructional purposes only. In real scenarios, the actual log may vary depending on the feature implementation in Reference App. + disabled: true + - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId + verification: | + + disabled: true - label: "Step 2: Ensure that the door on the DUT is closed" verification: | Ensure that the door on the DUT is closed - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Step 3:TH reads from the DUT the State attribute" - command: "readAttribute" - attribute: "State" + disabled: true + + - label: "Step 3: TH reads from the DUT the State attribute" PICS: REFALM.S.A0002 - response: - constraints: - type: bitmap32 - hasMasksClear: [0x1] - - - label: "Step 4:TH reads from the DUT the Mask attribute" - command: "readAttribute" - attribute: "Mask" + verification: | + ./chip-tool refrigeratoralarm read state 1 1 + On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. + + [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 + [1688447820.603415][4247:4249] CHIP:TOO: State: 0 + [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) + disabled: true + + - label: "Step 4: TH reads from the DUT the Mask attribute" PICS: REFALM.S.A0000 - response: - constraints: - type: bitmap32 - hasMasksSet: [0x1] + verification: | + ./chip-tool refrigeratoralarm read mask 1 1 + On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. + + [1688447677.832882][4229:4231] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0000 DataVersion: 1795162772 + [1688447677.833165][4229:4231] CHIP:TOO: Mask: 1 + [1688447677.833494][4229:4231] CHIP:EM: <<< [E:27636i S:5449 M:199797248 (Ack:151091416)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) + disabled: true - label: "Step 5: Manually open the door on the DUT" verification: | Manually open the door on the DUT - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + disabled: true - label: "Step 6: Wait for the time defined in PIXIT.REFALM.AlarmThreshold" - cluster: "DelayCommands" - PICS: PICS_USER_PROMPT - command: "WaitForMs" - arguments: - values: - - name: "ms" - value: PIXIT.REFALM.AlarmThreshold * 1000 - - - label: "Step 7:TH reads from the DUT the State attribute" - command: "readAttribute" - attribute: "State" - PICS: REFALM.S.A0002 && PICS_USER_PROMPT - response: - constraints: - type: bitmap32 - hasMasksSet: [0x1] + verification: | + Wait for the time defined in PIXIT.REFALM.AlarmThreshold + disabled: true + + - label: "Step 7: TH reads from the DUT the State attribute" + PICS: REFALM.S.A0002 + verification: | + ./chip-tool refrigeratoralarm read state 1 1 + On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. + + [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 + [1688447820.603415][4247:4249] CHIP:TOO: State: 1 + [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) + disabled: true - label: "Step 8: Invoke the on DUT sequence to suppress the alarm, do not close the door" verification: | Invoke the on DUT sequence to suppress the alarm, do not close the door - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Step 9:TH reads from the DUT the State attribute" - command: "readAttribute" - attribute: "State" - PICS: REFALM.S.A0002 && PICS_USER_PROMPT - response: - constraints: - type: bitmap32 - hasMasksClear: [0x1] - - - label: "Step 10:TH reads from the DUT the Mask attribute" - command: "readAttribute" - attribute: "Mask" - PICS: REFALM.S.A0000 && PICS_USER_PROMPT - response: - constraints: - type: bitmap32 - hasMasksClear: [0x1] - - - label: "Step 11:TH reads from the DUT the Supported attribute" - command: "readAttribute" - attribute: "Supported" - PICS: REFALM.S.A0003 && PICS_USER_PROMPT - response: - constraints: - type: bitmap32 - hasMasksSet: [0x1] + disabled: true + + - label: "Step 9: TH reads from the DUT the State attribute" + PICS: REFALM.S.A0002 + verification: | + ./chip-tool refrigeratoralarm read state 1 1 + On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. + + [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 + [1688447820.603415][4247:4249] CHIP:TOO: State: 0 + [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) + disabled: true + + - label: "Step 10: TH reads from the DUT the Mask attribute" + PICS: REFALM.S.A0000 + verification: | + ./chip-tool refrigeratoralarm read mask 1 1 + On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. + + [1688447677.832882][4229:4231] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0000 DataVersion: 1795162772 + [1688447677.833165][4229:4231] CHIP:TOO: Mask: 0 + [1688447677.833494][4229:4231] CHIP:EM: <<< [E:27636i S:5449 M:199797248 (Ack:151091416)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) + disabled: true + + - label: "Step 11: TH reads from the DUT the Supported attribute" + PICS: REFALM.S.A0003 + verification: | + ./chip-tool refrigeratoralarm read supported 1 1 + On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. + + [1689677642.708638][18413:18415] CHIP:DMG: SuppressResponse = true, + [1689677642.708645][18413:18415] CHIP:DMG: InteractionModelRevision = 1 + [1689677642.708651][18413:18415] CHIP:DMG: } + [1689677642.708726][18413:18415] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0003 DataVersion: 1517282962 + [1689677642.708773][18413:18415] CHIP:TOO: Supported: 1 + [1689677642.708845][18413:18415] CHIP:EM: <<< [E:32432i S:53289 M:29829407 (Ack:142651059)] (S) Msg TX to 1:0000000000000001 [BFDE] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1689677642.708859][18413:18415] CHIP:IN: (S) Sending msg 29829407 on secure session with LSID: 53289 + [1689677642.708900][18413:18415] CHIP:EM: Flushed pending ack for MessageCounter:142651059 on exchange 32432i + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml index 64a169b23d5a2b..8281fc20386d14 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads the ClusterRevision attribute from the DUT." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: Read FeatureMap attribute from the DUT" + - label: "Step 3: TH reads the FeatureMap attribute from the DUT." command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads the AttributeList attribute from the DUT." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +58,7 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads the AttributeList attribute from the DUT." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,7 +67,8 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute(Tolerance) in AttributeList" + - label: + "Step 4b: TH reads the optional attribute(Tolerance) in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: RH.S.A0003 @@ -74,7 +77,7 @@ tests: type: list contains: [3] - - label: "Step 5: Read the global attribute: AcceptedCommandList" + - label: "Step 5: TH reads the AcceptedCommandList attribute from the DUT." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -82,7 +85,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: GeneratedCommandList" + - label: "Step 6: TH reads the GeneratedCommandList attribute from the DUT." command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -90,7 +93,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: EventList" + - label: "Step 7: TH reads the EventList attribute from the DUT." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml index 5e6ac9becd140c..2c8851a8b878d0 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml index a57dbd393c3c02..30ae85d10c4c2e 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Reads constraints of attribute: MinMeasuredValue" + - label: "Step 2: TH reads MinMeasuredValue attribute from DUT." PICS: RH.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" @@ -41,7 +43,7 @@ tests: minValue: 0 maxValue: 9999 - - label: "Step 3: Reads constraints of attribute: MaxMeasuredValue" + - label: "Step 3: TH reads MaxMeasuredValue attribute from DUT." PICS: RH.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" @@ -51,7 +53,7 @@ tests: minValue: 1 maxValue: 10000 - - label: "Step 4: Reads MeasuredValue attribute from DUT" + - label: "Step 4: TH reads MeasuredValue attribute from DUT." command: "readAttribute" attribute: "MeasuredValue" PICS: RH.S.A0000 @@ -75,7 +77,9 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 6: Read the mandatory attribute: MeasuredValue" + - label: + "Step 6: after a few seconds, TH reads MeasuredValue attribute from + DUT." command: "readAttribute" attribute: "MeasuredValue" PICS: RH.S.A0000 && RH.M.ManuallyControlled diff --git a/src/app/tests/suites/certification/Test_TC_RNCONC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RNCONC_1_1.yaml index 697f4099a492d0..8efffd3ec61792 100644 --- a/src/app/tests/suites/certification/Test_TC_RNCONC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RNCONC_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -40,8 +42,8 @@ tests: type: int16u - label: - "Step 3a: Read the global attribute: FeatureMap and check for either - bit 0 or 1 set" + "Step 3a: TH reads from the DUT the FeatureMap attribute and check for + either bit 0 or 1 set" command: "readAttribute" attribute: "FeatureMap" response: @@ -181,7 +183,7 @@ tests: type: bitmap32 hasMasksClear: [0x20] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: PICS_EVENT_LIST_ENABLED @@ -190,7 +192,7 @@ tests: type: list contains: [9, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" @@ -199,7 +201,8 @@ tests: type: list contains: [9, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute Uncertainty in AttributeList" + - label: + "Step 4b: TH reads the optional attribute Uncertainty in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: RNCONC.S.A0007 && RNCONC.S.F00 @@ -220,7 +223,7 @@ tests: excludes: [7] - label: - "Step 4d: Read the optional, feature dependent attributes + "Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList" command: "readAttribute" @@ -244,7 +247,7 @@ tests: excludes: [0, 1, 2, 7, 8] - label: - "Step 4f: Read the optional, feature dependent attributes + "Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -266,7 +269,7 @@ tests: excludes: [3, 4] - label: - "Step 4h: Read the optional, feature dependent attributes + "Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -289,8 +292,8 @@ tests: excludes: [5, 6] - label: - "Step 4j: Read the optional, feature dependent attribute LevelValue in - AttributeList" + "Step 4j: TH reads the optional, feature dependent attribute + LevelValue in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: RNCONC.S.F01 @@ -310,7 +313,7 @@ tests: type: list excludes: [10] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute." command: "readAttribute" attribute: "EventList" PICS: PICS_EVENT_LIST_ENABLED @@ -319,7 +322,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -327,7 +330,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_1_1.yaml index 2415830c81adc0..9d1a151003549b 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 78.1.1. [TC-RVCCLEANM-1.1] Global attributes with server as DUT +name: 78.1.1. [TC-RVCCLEANM-1.1] Global attributes with DUT as Server PICS: - RVCCLEANM.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." PICS: " !RVCCLEANM.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +61,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +70,7 @@ tests: type: list contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -89,8 +91,8 @@ tests: contains: [2] - label: - "Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and - optional attribute(OnMode) is in AttributeList from the DUT" + "Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) + and optional attribute(OnMode) is in AttributeList from the DUT" PICS: RVCCLEANM.S.F00 command: "readAttribute" attribute: "AttributeList" @@ -100,8 +102,8 @@ tests: contains: [3] - label: - "Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and - optional attribute(OnMode) is not in AttributeList from the DUT" + "Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) + and optional attribute(OnMode) is not in AttributeList from the DUT" PICS: " !RVCCLEANM.S.F00 " command: "readAttribute" attribute: "AttributeList" @@ -110,7 +112,7 @@ tests: type: list excludes: [3] - - label: "Step 5: Read the global attribute: EventList from the DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -120,8 +122,8 @@ tests: type: list - label: - "Step 6: Read the global attribute AcceptedCommandList. Check if it - contains id 0x0 (ChangeToMode)" + "Step 6: TH reads from the DUT the AcceptedCommandList attribute. + Check if it contains id 0x0 (ChangeToMode)" PICS: RVCCLEANM.S.C00.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -131,8 +133,8 @@ tests: type: list - label: - "Step 7: Read the global attribute: GeneratedCommandList. Check if it - contains id 0x1 (ChangeToModeResponse)" + "Step 7: TH reads from the DUT the GeneratedCommandList attribute. + Check if it contains id 0x1 (ChangeToModeResponse)" PICS: RVCCLEANM.S.C01.Tx command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml index 83634fa0c29635..9aba7fca737792 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml @@ -16,6 +16,9 @@ name: 92.4.1. [TC-RVCCLEANM-3.1] On Mode functionality with DUT as Server PICS: - RVCCLEANM.S + - RVCCLEANM.S.F00 + - OO.S.C00.Rsp + - OO.S.C01.Rsp config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml index 7fa5f670b18342..9b4981a192349d 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml @@ -21,7 +21,8 @@ PICS: - RVCCLEANM.S.A0002 - RVCCLEANM.S.A0003 - RVCCLEANM.S.F00 - + - OO.S.A4003 + config: nodeId: 0x12344321 cluster: "Basic Information" diff --git a/src/app/tests/suites/certification/Test_TC_RVCOPSTATE_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RVCOPSTATE_1_1.yaml index 2dd8e49519a21a..ce4e4e35b87467 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCOPSTATE_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCOPSTATE_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute" command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute" command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -57,7 +59,7 @@ tests: contains: [0, 1, 3, 4, 5, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -97,7 +99,8 @@ tests: type: list contains: [0x01] - - label: "Step 6a: Read the optional command(Pause) in AcceptedCommandList" + - label: + "Step 6a: TH reads the optional command(Pause) in AcceptedCommandList" PICS: RVCOPSTATE.S.C00.Rsp || RVCOPSTATE.S.C03.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -106,7 +109,8 @@ tests: type: list contains: [0, 3] - - label: "Step 6b: Read the optional command(Stop) in AcceptedCommandList" + - label: + "Step 6b: TH reads the optional command(Stop) in AcceptedCommandList" PICS: RVCOPSTATE.S.C01.Rsp || RVCOPSTATE.S.C02.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -115,7 +119,8 @@ tests: type: list contains: [1, 2] - - label: "Step 6c: Read the optional command(Start) in AcceptedCommandList" + - label: + "Step 6c: TH reads the optional command(Start) in AcceptedCommandList" PICS: RVCOPSTATE.S.C02.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -124,7 +129,8 @@ tests: type: list contains: [2] - - label: "Step 6d: Read the optional command(Resume) in AcceptedCommandList" + - label: + "Step 6d: TH reads the optional command(Resume) in AcceptedCommandList" PICS: RVCOPSTATE.S.C03.Rsp || RVCOPSTATE.S.C00.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -133,7 +139,7 @@ tests: type: list contains: [0, 3] - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute" PICS: " !RVCOPSTATE.S.C00.Rsp && !RVCOPSTATE.S.C01.Rsp && !RVCOPSTATE.S.C02.Rsp && !RVCOPSTATE.S.C03.Rsp " @@ -144,7 +150,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute" PICS: " RVCOPSTATE.S.C00.Rsp || RVCOPSTATE.S.C01.Rsp || RVCOPSTATE.S.C02.Rsp || RVCOPSTATE.S.C03.Rsp " diff --git a/src/app/tests/suites/certification/Test_TC_RVCRUNM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RVCRUNM_1_1.yaml index ad7ff4866e2c32..783ae7a860c7fc 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCRUNM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCRUNM_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 78.1.1. [TC-RVCRUNM-1.1] Global attributes with server as DUT +name: 78.1.1. [TC-RVCRUNM-1.1] Global attributes with DUT as Server PICS: - RVCRUNM.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads the FeatureMap attribute from the DUT" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." PICS: " !RVCRUNM.S.F00 " command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +61,7 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -68,7 +70,7 @@ tests: type: list contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads the AttributeList attribute from the DUT" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -89,7 +91,7 @@ tests: contains: [2] - label: - "Step 4c: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and + "Step 4c: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT" PICS: RVCRUNM.S.F00 command: "readAttribute" @@ -100,7 +102,7 @@ tests: contains: [3] - label: - "Step 4d: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and + "Step 4d: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT" PICS: " !RVCRUNM.S.F00 " command: "readAttribute" @@ -110,7 +112,7 @@ tests: type: list excludes: [3] - - label: "Step 5: Read the global attribute: EventList from the DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -120,8 +122,8 @@ tests: type: list - label: - "Step 6: Read the global attribute AcceptedCommandList. Check if it - contains id 0x0 (ChangeToMode)" + "Step 6: TH reads from the DUT the AcceptedCommandList attribute. + Check if it contains id 0x0 (ChangeToMode)" PICS: RVCRUNM.S.C00.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -131,8 +133,8 @@ tests: type: list - label: - "Step 7: Read the global attribute: GeneratedCommandList. Check if it - contains id 0x1 (ChangeToModeResponse)" + "Step 7: TH reads from the DUT the GeneratedCommandList attribute. + Check if it contains id 0x1 (ChangeToModeResponse)" PICS: RVCRUNM.S.C01.Tx command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml index 76b1bec0a3fdc4..2d609c8531c7bb 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml @@ -18,7 +18,10 @@ name: Server PICS: - - RVCRUNM.S + - RVCRUNM.S.A0002 + - RVCRUNM.S.A0003 + - RVCRUNM.S.F00 + - OO.S.A4003 config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml b/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml index 7bfb258663ed7c..091e22f1674e50 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml @@ -45,7 +45,15 @@ tests: - name: "nodeId" saveAs: commissionerNodeId - - label: "Step 1: TH adds ACL Operate privileges for Group 0x0103" + - label: + "Step 1: TH writes the ACL attribute in the Access Control cluster to + add Operate privileges for group 0x0103 and maintain the current + administrative privileges for the TH. The following access control + list shall be used : List item 1 (TH admin): a)Privilege: Administer + (5) b)AuthMode: CASE (2) c)Subjects: TH node id ([N1]) d)Targets: all + (null) List item 2 (group operate access): a)Privilege: Operate (3) + b)AuthMode: Group (3) c)Subjects: group 0x0103 ([0x0103]) d)Targets: + all (null)" cluster: "Access Control" command: "writeAttribute" attribute: "ACL" @@ -68,7 +76,15 @@ tests: }, ] - - label: "Step 2a: TH sends KeySetWrite command with incorrect key" + - label: + "Step 2a: TH sends KeySetWrite command in the GroupKeyManagement + cluster to DUT using a key that is NOT installed on the TH. This is + intended to test that the key set is correctly updated in the next + step. GroupKeySet fields are as follows : 1)GroupKeySetID: 0x01a3 + 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: + 00000000000000000000000000000001 4)EpochStartTime0: 111 5)EpochKey1: + 00000000000000000000000000000002 6)EpochStartTime1: 222 7)EpochKey2: + 00000000000000000000000000000003 8)EpochStartTime2: 333" cluster: "Group Key Management" command: "KeySetWrite" arguments: @@ -86,7 +102,15 @@ tests: EpochStartTime2: 333, } - - label: "Step 2b: TH sends KeySetWrite command with TH key" + - label: + "Step 2b: TH sends KeySetWrite command in the GroupKeyManagement + cluster to DUT using a key that is pre-installed on the TH. + GroupKeySet fields are as follows : 1)GroupKeySetID: 0x01a3 + 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: + d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: + d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 18446744073709551614" cluster: "Group Key Management" command: "KeySetWrite" arguments: @@ -104,7 +128,11 @@ tests: EpochStartTime2: 18446744073709551614, } - - label: "Step 3: TH binds GroupId to GroupKeySet" + - label: + "Step 3: TH binds GroupId 0x0103 with GroupKeySetID 0x01a3 in the + GroupKeyMap attribute list on GroupKeyManagement cluster by writing + the GroupKeyMap attribute with one entry as follows: List item 1: + a)GroupId: 0x0103 b)GroupKeySetId: 0x01a3" cluster: "Group Key Management" command: "writeAttribute" attribute: "GroupKeyMap" @@ -117,7 +145,9 @@ tests: endpoint: Groups.Endpoint command: "RemoveAllGroups" - - label: "Step 5: TH sends AddGroup command to DUT on PIXIT.G.ENDPOINT" + - label: + "Step 5: TH sends AddGroup Command to DUT on PIXIT.G.ENDPOINT with the + the following settings : 1)GroupID: 0x0103 2)GroupName: 'Test Group'" endpoint: Groups.Endpoint command: "AddGroup" arguments: @@ -127,7 +157,9 @@ tests: - name: GroupName value: "Test Group" - - label: "Step 6a: TH sends ViewGroup command to DUT on PIXIT.G.ENDPOINT" + - label: + "Step 6a: TH sends ViewGroup command with the GroupID to the Group + cluster on the DUT on PIXIT.G.ENDPOINT" PICS: G.S.F00 endpoint: Groups.Endpoint command: "ViewGroup" @@ -144,7 +176,9 @@ tests: - name: GroupName value: "Test Group" - - label: "Step 6b: TH sends ViewGroup command to DUT on PIXIT.G.ENDPOINT" + - label: + "Step 6b: TH sends ViewGroup command with the GroupID to the Group + cluster on the DUT on PIXIT.G.ENDPOINT" PICS: "!(G.S.F00)" endpoint: Groups.Endpoint command: "ViewGroup" @@ -161,7 +195,9 @@ tests: - name: GroupName value: "" - - label: "Step 7: TH sends KeySetRead" + - label: + "Step 7: TH sends KeySetRead command to GroupKeyManagement cluster + with GroupKeySetID as 0x01a3" cluster: "Group Key Management" command: "KeySetRead" arguments: @@ -185,14 +221,16 @@ tests: - label: "Step 8: TH reads GroupKeyMap Attribute from the GroupKeyManagement - cluster" + cluster from DUT" cluster: "Group Key Management" command: "readAttribute" attribute: "GroupKeyMap" response: value: [{ FabricIndex: 1, GroupId: 0x0103, GroupKeySetID: 0x01a3 }] - - label: "Step 9a: TH reads GroupTable attribute" + - label: + "Step 9a: TH reads GroupTable attribute from GroupKeyManagement + cluster on DUT using a fabric-filtered read" cluster: "Group Key Management" PICS: G.S.F00 command: "readAttribute" @@ -207,7 +245,9 @@ tests: }, ] - - label: "Step 9b: TH reads GroupTable attribute" + - label: + "Step 9b: TH reads GroupTable attribute from GroupKeyManagement + cluster on DUT using a fabric-filtered read" cluster: "Group Key Management" PICS: " !G.S.F00 " command: "readAttribute" @@ -216,7 +256,10 @@ tests: value: [{ GroupId: 0x0103, Endpoints: [Groups.Endpoint], GroupName: "" }] - - label: "Step 10: TH removes the GroupKeySet" + - label: + "Step 10: TH removes the Group key set that was added by sending a + KeySetRemove command to the GroupKeyManagement cluster with the + GroupKeySetID field set to 0x01a3" cluster: "Group Key Management" command: "KeySetRemove" arguments: @@ -225,8 +268,10 @@ tests: value: 0x01a3 - label: - "Step 11: TH verifies the corresponding GroupKeyMap entry has been - removed" + "Step 11: TH verifies that the key set removal in step 10 also removed + the corresponding entries in the GroupKeyMap by Reading the + GroupKeyMap attribute from the GroupKeyManagement cluster using a + fabric-filtered read." cluster: "Group Key Management" command: "readAttribute" attribute: "GroupKeyMap" @@ -234,19 +279,28 @@ tests: value: [] - label: - "Step 12: TH cleans up groups using RemoveAllGroups command to the DUT - on PIXIT.G.ENDPOINT" + "Step 12: TH cleans up the groups by sending the RemoveAllGroups + command to the DUT on PIXIT.G.ENDPOINT" endpoint: Groups.Endpoint command: "RemoveAllGroups" - - label: "Step 13: TH verifies the group has been removed in the GroupTable" + - label: + "Step 13: TH reads verifies the group has been removed by reading the + GroupTable attribute from GroupKeyManagement cluster on DUT using a + fabric-filtered read." cluster: "Group Key Management" command: "readAttribute" attribute: "GroupTable" response: value: [] - - label: "Step 14: TH removes ACL Operate privileges for Group 0x0103" + - label: + "Step 14: TH writes the ACL attribute in the Access Control cluster to + remove Operate privileges for group 0x0103 and maintain the current + administrative privileges for the TH. The following access control + list shall be used : List item 1 (TH admin): a)Privilege: Administer + (5) b)AuthMode: CASE (2) c)Subjects: TH node id ([N1]) d)Targets: all + (null)" cluster: "Access Control" command: "writeAttribute" attribute: "ACL" diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml index 8a38c7cd50a750..37b3eb074031ac 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml @@ -109,6 +109,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 1 + [1689664630.513112][46175:46177] CHIP:EM: <<< [E:20916i S:3567 M:7458867 (Ack:19624350)] (S) Msg TX to 1:0000000000000001 [7A4E] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -195,6 +196,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 2 + [1689664630.513112][46175:46177] CHIP:EM: <<< [E:20916i S:3567 M:7458867 (Ack:19624350)] (S) Msg TX to 1:0000000000000001 [7A4E] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -246,6 +248,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 0 + [1689664630.513112][46175:46177] CHIP:EM: <<< [E:20916i S:3567 M:7458867 (Ack:19624350)] (S) Msg TX to 1:0000000000000001 [7A4E] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml index fe0dcfb4f70b9a..3947ecad5fdd02 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml @@ -108,6 +108,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 1 + [1692339184.860796][1750:1752] CHIP:EM: <<< [E:53304i S:33644 M:118115310 (Ack:191893921)] (S) Msg TX to 1:0000000000000001 [4D97] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -194,6 +195,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 2 + [1692339184.860796][1750:1752] CHIP:EM: <<< [E:53304i S:33644 M:118115310 (Ack:191893921)] (S) Msg TX to 1:0000000000000001 [4D97] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -245,6 +247,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 0 + [1692339184.860796][1750:1752] CHIP:EM: <<< [E:53304i S:33644 M:118115310 (Ack:191893921)] (S) Msg TX to 1:0000000000000001 [4D97] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml index 96002edde3cb38..f453614b7d8e19 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml @@ -121,6 +121,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 1 + [1692340991.009882][1860:1862] CHIP:EM: <<< [E:56796i S:13603 M:58223585 (Ack:16238538)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -172,6 +173,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 2 + [1692340991.009882][1860:1862] CHIP:EM: <<< [E:56796i S:13603 M:58223585 (Ack:16238538)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -223,6 +225,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 0 + [1692340991.009882][1860:1862] CHIP:EM: <<< [E:56796i S:13603 M:58223585 (Ack:16238538)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -285,6 +288,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0006 DataVersion: 1795725838 [TOO] HardwareFaultAlert: TRUE + [1692341722.458322][1923:1925] CHIP:EM: <<< [E:13580i S:23647 M:42886390 (Ack:222437492)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -337,6 +341,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0006 DataVersion: 1795725838 [TOO] HardwareFaultAlert: FALSE + [1692341722.458322][1923:1925] CHIP:EM: <<< [E:13580i S:23647 M:42886390 (Ack:222437492)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -399,6 +404,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0007 DataVersion: 1795725838 [TOO] EndOfServiceAlert: 1 + [1692342076.348701][1956:1958] CHIP:EM: <<< [E:51164i S:58720 M:186716445 (Ack:135114063)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -451,6 +457,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0007 DataVersion: 1795725838 [TOO] EndOfServiceAlert: 0 + [1692342076.348701][1956:1958] CHIP:EM: <<< [E:51164i S:58720 M:186716445 (Ack:135114063)] (S) Msg TX to 1:0000000000000001 [3304] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -583,6 +590,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0005 DataVersion: 1795725838 [TOO] TestInProgress: TRUE + [1690268959.715817][13732:13734] CHIP:EM: <<< [E:12324i S:6365 M:86298174 (Ack:6158737)] (S) Msg TX to 1:0000000000000001 [D1BB] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml index 8fb355e1ed18dd..c9de09f10e4314 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml @@ -156,6 +156,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838 [TOO] InterconnectSmokeAlarm: 1 + [1692347356.664341][2311:2313] CHIP:EM: <<< [E:44547i S:37350 M:57275061 (Ack:90753262)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -208,6 +209,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838 [TOO] InterconnectSmokeAlarm: 0 + [1692347356.664341][2311:2313] CHIP:EM: <<< [E:44547i S:37350 M:57275061 (Ack:90753262)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -279,6 +281,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838 [TOO] InterconnectCOAlarm: 1 + [1692347783.137318][2349:2351] CHIP:EM: <<< [E:27521i S:62929 M:152911121 (Ack:73193021)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -331,6 +334,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838 [TOO] InterconnectCOAlarm: 0 + [1692347783.137318][2349:2351] CHIP:EM: <<< [E:27521i S:62929 M:152911121 (Ack:73193021)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -396,6 +400,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 2 + [1692348096.518517][2379:2381] CHIP:EM: <<< [E:58566i S:46219 M:91979742 (Ack:78967986)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -431,6 +436,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 0 + [1692348096.518517][2379:2381] CHIP:EM: <<< [E:58566i S:46219 M:91979742 (Ack:78967986)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -466,6 +472,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 1 + [1692348096.518517][2379:2381] CHIP:EM: <<< [E:58566i S:46219 M:91979742 (Ack:78967986)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -501,6 +508,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 0 + [1692348096.518517][2379:2381] CHIP:EM: <<< [E:58566i S:46219 M:91979742 (Ack:78967986)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -548,6 +556,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 0 + [1692348402.151948][2411:2413] CHIP:EM: <<< [E:29308i S:32670 M:242614750 (Ack:166603333)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -583,6 +592,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 1 + [1692348402.151948][2411:2413] CHIP:EM: <<< [E:29308i S:32670 M:242614750 (Ack:166603333)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -618,6 +628,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 2 + [1692348402.151948][2411:2413] CHIP:EM: <<< [E:29308i S:32670 M:242614750 (Ack:166603333)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -653,6 +664,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 1 + [1692348402.151948][2411:2413] CHIP:EM: <<< [E:29308i S:32670 M:242614750 (Ack:166603333)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -720,6 +732,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 1 + [1692349339.825752][2459:2461] CHIP:EM: <<< [E:61294i S:49169 M:238949431 (Ack:140762876)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -761,6 +774,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 1 + [1692349531.738337][2468:2470] CHIP:EM: <<< [E:36895i S:26369 M:202373918 (Ack:162425969)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -804,6 +818,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 0 + [1692349531.738337][2468:2470] CHIP:EM: <<< [E:36895i S:26369 M:202373918 (Ack:162425969)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -855,6 +870,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 2 + [1692349914.493176][2494:2497] CHIP:EM: <<< [E:61720i S:1516 M:195353256 (Ack:30443186)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -932,6 +948,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 0 + [1692349914.493176][2494:2497] CHIP:EM: <<< [E:61720i S:1516 M:195353256 (Ack:30443186)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -988,6 +1005,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 1 + [1692350209.108525][2516:2518] CHIP:DMG: MoveToState ReadClient[0xffffa0011050]: Moving to [AwaitingSu] arguments: values: - name: "message" @@ -1029,6 +1047,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 1 + [1692349531.738337][2468:2470] CHIP:EM: <<< [E:36895i S:26369 M:202373918 (Ack:162425969)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -1072,6 +1091,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 0 + [1692349531.738337][2468:2470] CHIP:EM: <<< [E:36895i S:26369 M:202373918 (Ack:162425969)] (S) Msg TX to 1:0000000000000001 [D134] --- Type 0000:10 (SecureChannel:StandaloneAck) arguments: values: - name: "message" @@ -1123,6 +1143,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 2 + [1692350209.108525][2516:2518] CHIP:DMG: MoveToState ReadClient[0xffffa0011050]: Moving to [AwaitingSu] arguments: values: - name: "message" @@ -1200,6 +1221,7 @@ tests: [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 0 + [1692350209.108525][2516:2518] CHIP:DMG: MoveToState ReadClient[0xffffa0011050]: Moving to [AwaitingSu] arguments: values: - name: "message" diff --git a/src/app/tests/suites/certification/Test_TC_S_1_1.yaml b/src/app/tests/suites/certification/Test_TC_S_1_1.yaml index 08cb955a312fc4..c120603fe89559 100644 --- a/src/app/tests/suites/certification/Test_TC_S_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 123.1.1. [TC-S-1.1] Global attributes with server as DUT +name: 123.1.1. [TC-S-1.1] Global attributes with DUT as Server PICS: - S.S @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read ClusterRevision (global attribute 65533)" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,8 @@ tests: constraints: type: int16u - - label: "Step 3a: Read FeatureMap NameSupport bit (global attribute 65532)" + - label: + "Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532)" PICS: (!S.S.F00) command: "readAttribute" attribute: "FeatureMap" @@ -50,7 +51,8 @@ tests: type: bitmap32 hasMasksClear: [0x1] - - label: "Step 3a: Read FeatureMap NameSupport bit (global attribute 65532)" + - label: + "Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532)" PICS: S.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -59,7 +61,8 @@ tests: type: bitmap32 hasMasksSet: [0x1] - - label: "Step 3b: Read FeatureMap Explicit bit (global attribute 65532)" + - label: + "Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532)" PICS: (!S.S.F01) command: "readAttribute" attribute: "FeatureMap" @@ -68,7 +71,8 @@ tests: type: bitmap32 hasMasksClear: [0x2] - - label: "Step 3b: Read FeatureMap Explicit bit (global attribute 65532)" + - label: + "Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532)" PICS: S.S.F01 command: "readAttribute" attribute: "FeatureMap" @@ -77,7 +81,8 @@ tests: type: bitmap32 hasMasksSet: [0x2] - - label: "Step 3c: Read FeatureMap TableSize bit (global attribute 65532)" + - label: + "Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532)" PICS: (!S.S.F02) command: "readAttribute" attribute: "FeatureMap" @@ -86,7 +91,8 @@ tests: type: bitmap32 hasMasksClear: [0x4] - - label: "Step 3c: Read FeatureMap TableSize bit (global attribute 65532)" + - label: + "Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532)" PICS: S.S.F02 command: "readAttribute" attribute: "FeatureMap" @@ -95,7 +101,8 @@ tests: type: bitmap32 hasMasksSet: [0x4] - - label: "Step 3d: Read FeatureMap FabricScene bit (global attribute 65532)" + - label: + "Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532)" PICS: (!S.S.F03) command: "readAttribute" attribute: "FeatureMap" @@ -104,7 +111,8 @@ tests: type: bitmap32 hasMasksClear: [0x8] - - label: "Step 3d: Read FeatureMap FabricScene bit (global attribute 65532)" + - label: + "Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532)" PICS: S.S.F03 command: "readAttribute" attribute: "FeatureMap" @@ -113,9 +121,7 @@ tests: type: bitmap32 hasMasksSet: [0x8] - - label: - "Step 4: Read Mandatory attributes in AttributeList (global attribute - 65531)" + - label: "Step 4: TH reads from the DUT the AttributeList attribute" PICS: S.S command: "readAttribute" attribute: "AttributeList" @@ -125,7 +131,7 @@ tests: contains: [4, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read optional attributes(SceneCount, CurrentScene, + "Step 4b: TH reads optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531)" PICS: (!S.S.F03) command: "readAttribute" @@ -136,8 +142,8 @@ tests: contains: [0, 1, 2, 3] - label: - "Step 4c: Read optinnal attribute(LastConfiguredBy) in AttributeList - (global attribute 65531)" + "Step 4c: TH reads optinnal attribute(LastConfiguredBy) in + AttributeList (global attribute 65531)" PICS: S.S.A0005 command: "readAttribute" attribute: "AttributeList" @@ -147,8 +153,8 @@ tests: contains: [5] - label: - "Step 4d: Read optionnal attribute(SceneTableSize) in AttributeList - (global attribute 65531)" + "Step 4d: TH reads optionnal attribute(SceneTableSize) in + AttributeList (global attribute 65531)" PICS: S.S.F02 command: "readAttribute" attribute: "AttributeList" @@ -158,8 +164,8 @@ tests: contains: [6] - label: - "Step 4e: Read optional attribute(FabricSceneInfo) in AttributeList - (global attribute 65531)" + "Step 4e: TH reads optional attribute(FabricSceneInfo) in + AttributeList (global attribute 65531)" PICS: S.S.F03 command: "readAttribute" attribute: "AttributeList" @@ -168,7 +174,7 @@ tests: type: list contains: [7] - - label: "Step 5: Read EventList (global attribute 65530)" + - label: "Step 5: TH reads from the DUT the EventList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -177,9 +183,7 @@ tests: type: list contains: [] - - label: - "Step 6a: Read Mandatory commands in AcceptedCommandList (global - attribute 65529)" + - label: "Step 6a:TH reads from the DUT the AcceptedCommandList attribute" PICS: S.S command: "readAttribute" attribute: "AcceptedCommandList" @@ -189,7 +193,7 @@ tests: contains: [0, 1, 2, 3, 4, 5, 6] - label: - "Step 6b: Read optional command(EnhancedAddSceneResponse) + "Step 6b: TH reads optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529)" PICS: S.S.C40.Rsp command: "readAttribute" @@ -200,7 +204,7 @@ tests: contains: [64] - label: - "Step 6c: Read optional command(EnhancedViewSceneResponse) + "Step 6c: TH reads optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529)" PICS: S.S.C41.Rsp command: "readAttribute" @@ -211,8 +215,8 @@ tests: contains: [65] - label: - "Step 6d: Read optional command(CopySceneResponse) AcceptedCommandList - (global attribute 65529)" + "Step 6d: TH reads optional command(CopySceneResponse) + AcceptedCommandList (global attribute 65529)" PICS: S.S.C42.Rsp command: "readAttribute" attribute: "AcceptedCommandList" @@ -221,7 +225,7 @@ tests: type: list contains: [66] - - label: "Step 7a: Read GeneratedCommandList (global attribute 65528)" + - label: "Step 7a: TH reads from the DUT the GeneratedCommandList attribute" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -230,7 +234,7 @@ tests: contains: [0, 1, 2, 3, 4, 6] - label: - "Step 7b: Read optional command(EnhancedAddSceneResponse) in + "Step 7b: TH reads optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528)" PICS: S.S.C40.Rsp command: "readAttribute" @@ -241,7 +245,7 @@ tests: contains: [64] - label: - "Step 7c: Read optional command(EnhancedViewSceneResponse) in + "Step 7c: TH reads optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528)" PICS: S.S.C41.Rsp command: "readAttribute" @@ -252,7 +256,7 @@ tests: contains: [65] - label: - "Step 7d: Read optional command(CopySceneResponse) in + "Step 7d: TH reads optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528)" PICS: S.S.C42.Rsp command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_S_2_1.yaml b/src/app/tests/suites/certification/Test_TC_S_2_1.yaml index 97f3c0a23a1892..b4cf135366a8b4 100644 --- a/src/app/tests/suites/certification/Test_TC_S_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 123.2.1. [TC-S-2.1] Attributes with server as DUT +name: 123.2.1. [TC-S-2.1] Attributes with DUT as Server PICS: - S.S @@ -26,7 +26,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -34,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the (0x0000) SceneCount attribute" + - label: "Step 2: TH reads from the DUT the SceneCount attribute" PICS: S.S.A0000 && (!S.S.F03) command: "readAttribute" attribute: "SceneCount" @@ -42,7 +42,7 @@ tests: constraints: type: int8u - - label: "Step 3: TH reads from the DUT the (0x0001) CurrentScene attribute" + - label: "Step 3: TH reads from the DUT the CurrentScene attribute" PICS: S.S.A0001 && (!S.S.F03) command: "readAttribute" attribute: "CurrentScene" @@ -50,7 +50,7 @@ tests: constraints: type: int8u - - label: "Step 4: TH reads from the DUT the (0x0002) CurrentGroup attribute" + - label: "Step 4: TH reads from the DUT the CurrentGroup attribute" PICS: S.S.A0002 && (!S.S.F03) command: "readAttribute" attribute: "CurrentGroup" @@ -58,7 +58,7 @@ tests: constraints: type: group_id - - label: "Step 5: TH reads from the DUT the (0x0003) SceneValid attribute" + - label: "Step 5: TH reads from the DUT the SceneValid attribute" PICS: S.S.A0003 && (!S.S.F03) command: "readAttribute" attribute: "SceneValid" @@ -66,7 +66,7 @@ tests: constraints: type: boolean - - label: "Step 6: TH reads from the DUT the (0x0004) NameSupport attribute" + - label: "Step 6: TH reads from the DUT the NameSupport attribute" PICS: S.S.A0004 && S.S.F00 command: "readAttribute" attribute: "NameSupport" @@ -75,7 +75,7 @@ tests: constraints: type: bitmap8 - - label: "Step 6: TH reads from the DUT the (0x0004) NameSupport attribute" + - label: "Step 6: TH reads from the DUT the NameSupport attribute" PICS: S.S.A0004 && (!S.S.F00) command: "readAttribute" attribute: "NameSupport" @@ -84,8 +84,7 @@ tests: constraints: type: bitmap8 - - label: - "Step 7: TH reads from the DUT the (0x0005) LastConfiguredBy attribute" + - label: "Step 7: TH reads from the DUT the LastConfiguredBy attribute" PICS: S.S.A0005 command: "readAttribute" attribute: "LastConfiguredBy" @@ -93,8 +92,7 @@ tests: constraints: type: node_id - - label: - "Step 8: TH reads from the DUT the (0x0006) SceneTableSize attribute" + - label: "Step 8: TH reads from the DUT the SceneTableSize attribute" PICS: S.S.A0006 command: "readAttribute" attribute: "SceneTableSize" @@ -102,8 +100,7 @@ tests: constraints: type: int16u - - label: - "Step 9: TH reads from the DUT the (0x0007) FabricSceneInfo attribute" + - label: "Step 9: TH reads from the DUT the FabricSceneInfo attribute" PICS: S.S.A0007 command: "readAttribute" attribute: "FabricSceneInfo" diff --git a/src/app/tests/suites/certification/Test_TC_S_2_2.yaml b/src/app/tests/suites/certification/Test_TC_S_2_2.yaml index 5601e168d5ab34..c02547a22fef76 100644 --- a/src/app/tests/suites/certification/Test_TC_S_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_2_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 123.2.2. [TC-S-2.2] Primary functionality with server as DUT +name: 123.2.2. [TC-S-2.2] Primary functionality with DUT as Server PICS: - S.S diff --git a/src/app/tests/suites/certification/Test_TC_S_2_3.yaml b/src/app/tests/suites/certification/Test_TC_S_2_3.yaml index a125b004025505..95c6348f7ea02d 100644 --- a/src/app/tests/suites/certification/Test_TC_S_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_2_3.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 123.2.3. [TC-S-2.3] Secondary functionality with server as DUT +name: 123.2.3. [TC-S-2.3] Secondary functionality with DUT as Server PICS: - S.S @@ -75,8 +75,14 @@ tests: value: maxScenesMinusOne / 2 - label: - "Step 0a: preparation step for using commands from Groups cluster: Add - KeySet" + "Step 0a: TH sends KeySetWrite command in the GroupKeyManagement + cluster to DUT using a key that is pre-installed on the TH. + GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a1 + 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: + d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 2220000 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 2220001 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 2220002" cluster: "Group Key Management" endpoint: 0 command: "KeySetWrite" @@ -96,8 +102,10 @@ tests: } - label: - "Step 0b: Preparation step for using commands from Groups cluster: - Write Group Keys" + "Step 0b: TH binds GroupId G1 with GroupKeySetID 0x01a1 in the + GroupKeyMap attribute list on GroupKeyManagement cluster by writing + the GroupKeyMap attribute with one entry as follows: List item 1: + 1)FabricIndex: 1 2)GroupId :_G1_ 3)GroupKeySetId: 0x01a1" cluster: "Group Key Management" endpoint: 0 command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_S_2_4.yaml b/src/app/tests/suites/certification/Test_TC_S_2_4.yaml index 6ee1346ce93e0a..1024fd2b9aaaaa 100644 --- a/src/app/tests/suites/certification/Test_TC_S_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_2_4.yaml @@ -13,7 +13,9 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 123.2.4. [TC-S-2.4] Recall scene with transition time functionality +name: + 123.2.4. [TC-S-2.4] Recall scene with transition time functionality with DUT + as Server PICS: - S.S @@ -36,8 +38,14 @@ tests: value: nodeId - label: - "Step 0a: preparation step for using commands from Groups cluster: Add - KeySet" + "Step 0a: TH sends KeySetWrite command in the GroupKeyManagement + cluster to DUT using a key that is pre-installed on the TH. + GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a1 + 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: + d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 2220000 + 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: + 2220001 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf + 8)EpochStartTime2: 2220002" cluster: "Group Key Management" endpoint: 0 command: "KeySetWrite" @@ -57,8 +65,10 @@ tests: } - label: - "Step 0b: Preparation step for using commands from Groups cluster: - Write Group Keys" + "Step 0b: TH binds GroupId 0x0001 with GroupKeySetID 0x01a1 in the + GroupKeyMap attribute list on GroupKeyManagement cluster by writing + the GroupKeyMap attribute with one entry as follows: List item 1: + 1)FabricIndex: 1 2)GroupId: 0x0001 3)GroupKeySetId: 0x01a1" cluster: "Group Key Management" endpoint: 0 command: "writeAttribute" @@ -109,7 +119,7 @@ tests: - label: "Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to - 0x0001 and a set of extension fields appropriate to AC1." + 0x0014 (20s) and no extension field sets." PICS: S.S.C00.Rsp command: "AddScene" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml index a9e64fb9ae44e7..c3cd45da41d4db 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml index 779fbd12afe7ec..d491fe62cb825d 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml @@ -17,6 +17,8 @@ name: 219.3.1. [TC-TCCM-3.1] On Mode functionality with DUT as Server PICS: - TCCM.S.A0003 - TCCM.S.F00 + - OO.S.C00.Rsp + - OO.S.C01.Rsp config: nodeId: 0x12344321 @@ -31,7 +33,9 @@ config: defaultValue: 0 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -48,14 +52,14 @@ tests: arguments: value: nonNull_OnMode_value - - label: "Step 2: TH reads the OnMode attribute from the DUT" + - label: "Step 2: TH reads from the DUT the OnMode attribute." PICS: TCCM.S.A0003 && TCCM.S.F00 command: "readAttribute" attribute: "OnMode" response: saveAs: on_mode_dut - - label: "Step 3a: TH reads the CurrentMode attribute from the DUT" + - label: "Step 3a: TH reads from the DUT the CurrentMode attribute." PICS: TCCM.S.A0001 && TCCM.S.F00 command: "readAttribute" attribute: "CurrentMode" diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_3_2.yaml index fa0db91e224883..b89db6a41925c2 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_3_2.yaml @@ -40,7 +40,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the StartUpMode attribute from the DUT" + - label: "Step 2: TH reads from the DUT the StartUpMode attribute." PICS: TCCM.S.A0002 command: "readAttribute" attribute: "StartUpMode" @@ -66,7 +66,7 @@ tests: - name: "Equals" saveAs: IsExpectedValue - - label: "Step 3: TH reads the SupportedModes attribute from the DUT" + - label: "Step 3: TH reads from the DUT the SupportedModes attribute." runIf: IsExpectedValue PICS: TCCM.S.A0000 command: "readAttribute" @@ -87,7 +87,7 @@ tests: arguments: value: new_start_up_mode_th - - label: "Step 5: TH reads the CurrentMode attribute from the DUT" + - label: "Step 5: TH reads from the DUT the CurrentMode attribute." PICS: TCCM.S.A0001 command: "readAttribute" attribute: "CurrentMode" @@ -113,7 +113,7 @@ tests: - name: "Equals" saveAs: Step5_IsExpectedValue - - label: "Step 6: TH reads the SupportedModes attribute from the DUT" + - label: "Step 6: TH reads from the DUT the SupportedModes attribute." runIf: Step5_IsExpectedValue PICS: TCCM.S.A0000 command: "readAttribute" @@ -156,7 +156,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 9: TH reads the StartUpMode attribute from the DUT" + - label: "Step 9: TH reads from the DUT the StartUpMode attribute." PICS: TCCM.S.A0002 && PICS_SKIP_SAMPLE_APP command: "readAttribute" attribute: "StartUpMode" @@ -166,7 +166,7 @@ tests: type: int8u anyOf: [new_start_up_mode_th, startup_mode_dut] - - label: "Step 10: TH reads the CurrentMode attribute from the DUT" + - label: "Step 10: TH reads from the DUT the CurrentMode attribute." PICS: TCCM.S.A0001 && PICS_SKIP_SAMPLE_APP command: "readAttribute" attribute: "CurrentMode" diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_3_3.yaml index f6f3eb978c5b0f..ae92d1723cb6be 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_3_3.yaml @@ -35,7 +35,9 @@ config: defaultValue: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -43,7 +45,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads the StartUpMode attribute from the DUT" + - label: "Step 2: TH reads from the DUT the SupportedModes attribute." PICS: TCCM.S.A0002 command: "readAttribute" attribute: "StartUpMode" @@ -69,7 +71,7 @@ tests: - name: "Equals" saveAs: IsExpectedValue - - label: "Step 3: TH reads the SupportedModes attribute from the DUT" + - label: "Step 3: TH reads from the DUT the SupportedModes attribute." runIf: IsExpectedValue PICS: TCCM.S.A0000 command: "readAttribute" @@ -90,7 +92,7 @@ tests: arguments: value: new_start_up_mode_th - - label: "Step 5: TH reads the OnMode attribute from the DUT" + - label: "Step 5: TH reads from the DUT the OnMode attribute." PICS: TCCM.S.A0003 && TCCM.S.A0002 command: "readAttribute" attribute: "OnMode" @@ -137,7 +139,7 @@ tests: arguments: value: new_mode_th - - label: "Step 8: TH reads the OnMode attribute from the DUT" + - label: "Step 8: TH reads from the DUT the OnMode attribute." PICS: TCCM.S.A0003 && TCCM.S.F00 command: "readAttribute" attribute: "OnMode" @@ -177,7 +179,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 11: TH reads the StartUpMode attribute from the DUT" + - label: "Step 11: TH reads from the DUT the StartUpMode attribute." PICS: TCCM.S.A0002 && PICS_SKIP_SAMPLE_APP command: "readAttribute" attribute: "StartUpMode" @@ -185,7 +187,7 @@ tests: constraints: anyOf: [new_start_up_mode_th, startup_mode_dut] - - label: "Step 12: TH reads the CurrentMode attribute from the DUT" + - label: "Step 12: TH reads from the DUT the CurrentMode attribute." PICS: TCCM.S.A0001 && PICS_SKIP_SAMPLE_APP command: "readAttribute" attribute: "CurrentMode" diff --git a/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml b/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml index 636477d18707dd..925fd0aad7848c 100644 --- a/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml @@ -33,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 2: Read the global attribute: FeatureMap" + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -49,7 +49,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -58,7 +58,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -68,7 +68,8 @@ tests: contains: [0, 65528, 65529, 65531, 65532, 65533] - label: - "Step 3b: Read the optional attribute(CurrentTarget) in AttributeList" + "Step 3b: TH reads the optional attribute(CurrentTarget) in + AttributeList" PICS: TGTNAV.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -77,7 +78,7 @@ tests: type: list contains: [1] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -85,7 +86,7 @@ tests: type: list contains: [0] - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -93,7 +94,7 @@ tests: type: list contains: [1] - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the EventList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" 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 1c9eb883f50dc2..55a645fbbef13d 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 @@ -34,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1a: Reads the CurrentTarget attribute" + - label: "Step 1a: TH reads the CurrentTarget attribute" PICS: TGTNAV.S.A0001 command: "readAttribute" attribute: "CurrentTarget" @@ -44,7 +44,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 1b: Reads the TargetList attribute" + - label: "Step 1b: TH reads the TargetList attribute" PICS: TGTNAV.S.A0000 command: "readAttribute" attribute: "TargetList" @@ -53,7 +53,7 @@ tests: constraints: type: list - - label: "Step 2a: Sends a NavigateTarget command" + - label: "Step 2a: TH Sends a NavigateTarget command" PICS: TGTNAV.S.C00.Rsp command: "NavigateTarget" arguments: @@ -61,7 +61,7 @@ tests: - name: "Target" value: targetvalue - - label: "Step 2b: Reads the CurrentTarget attribute" + - label: "Step 2b: TH reads the CurrentTarget attribute" PICS: TGTNAV.S.A0001 && TGTNAV.S.C00.Rsp command: "readAttribute" attribute: "CurrentTarget" diff --git a/src/app/tests/suites/certification/Test_TC_TIMESYNC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TIMESYNC_1_1.yaml index 6b2a81dd1ba3a7..f9384780f54269 100644 --- a/src/app/tests/suites/certification/Test_TC_TIMESYNC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TIMESYNC_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 0 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -34,7 +36,7 @@ tests: ########################## # TS 2: Cluster revision ########################## - - label: "TS2: read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -44,9 +46,7 @@ tests: # TS 3: Feature map ########################## # TZ - - label: - "TS3: Given TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit - set" + - label: "Step 3: TH reads from the DUT the FeatureMap attribute." PICS: TIMESYNC.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -56,8 +56,8 @@ tests: hasMasksSet: [0x1] - label: - "TS3: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit - clear" + "Step 3b: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct + bit clear" PICS: "!TIMESYNC.S.F00" command: "readAttribute" attribute: "FeatureMap" @@ -67,8 +67,8 @@ tests: hasMasksClear: [0x1] # NTPC - label: - "TS3: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit - set" + "Step 3c: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct + bit set" PICS: TIMESYNC.S.F01 command: "readAttribute" attribute: "FeatureMap" @@ -78,8 +78,8 @@ tests: hasMasksSet: [0x2] - label: - "TS3: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct - bit clear" + "Step 3d: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the + correct bit clear" PICS: "!TIMESYNC.S.F01" command: "readAttribute" attribute: "FeatureMap" @@ -90,8 +90,8 @@ tests: # NTPS - label: - "TS3: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit - set" + "Step 3e: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct + bit set" PICS: TIMESYNC.S.F02 command: "readAttribute" attribute: "FeatureMap" @@ -101,8 +101,8 @@ tests: hasMasksSet: [0x4] - label: - "TS3: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct - bit clear" + "Step 3f: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the + correct bit clear" PICS: "!TIMESYNC.S.F02" command: "readAttribute" attribute: "FeatureMap" @@ -113,8 +113,8 @@ tests: # TSC - label: - "TS3: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit - set" + "Step 3g: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct + bit set" PICS: TIMESYNC.S.F03 command: "readAttribute" attribute: "FeatureMap" @@ -124,8 +124,8 @@ tests: hasMasksSet: [0x8] - label: - "TS3: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit - clear" + "Step 3h: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct + bit clear" PICS: "!TIMESYNC.S.F03" command: "readAttribute" attribute: "FeatureMap" @@ -138,7 +138,7 @@ tests: # TS 3: Feature map ########################## # Mandatory entries - - label: "TS4: Check for mandatory attributes in AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -156,7 +156,7 @@ tests: 0xFFFD, ] - - label: "TS4: Check for mandatory attributes in AttributeList" + - label: "Step 4b: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -165,7 +165,7 @@ tests: contains: [0x0000, 0x0001, 0xFFF8, 0xFFF9, 0xFFFB, 0xFFFC, 0xFFFD] # Optional - - label: "TS4: Check for optional attribute TimeSource in AttributeList" + - label: "Step 4c: Check for optional attribute TimeSource in AttributeList" PICS: TIMESYNC.S.A0002 command: "readAttribute" attribute: "AttributeList" @@ -173,7 +173,8 @@ tests: constraints: contains: [0x0002] - - label: "TS4: Check for optional attribute TimeSource not in AttributeList" + - label: + "Step 4d: Check for optional attribute TimeSource not in AttributeList" PICS: "!TIMESYNC.S.A0002" command: "readAttribute" attribute: "AttributeList" @@ -182,7 +183,7 @@ tests: excludes: [0x0002] # Feature TZ - - label: "TS4: Check for TZ feature-based attributes in AttributeList" + - label: "Step 4e: Check for TZ feature-based attributes in AttributeList" PICS: TIMESYNC.S.F00 command: "readAttribute" attribute: "AttributeList" @@ -190,7 +191,8 @@ tests: constraints: contains: [0x0005, 0x0006, 0x0007, 0x0008, 0x000A, 0x000B] - - label: "TS4: Check for TZ feature-based attributes not in AttributeList" + - label: + "Step 4f: Check for TZ feature-based attributes not in AttributeList" PICS: "!TIMESYNC.S.F00" command: "readAttribute" attribute: "AttributeList" @@ -199,7 +201,7 @@ tests: excludes: [0x0005, 0x0006, 0x0007, 0x0008, 0x000A, 0x000B] # Feature NTPC - - label: "TS4: Check for NTPC feature-based attributes in AttributeList" + - label: "Step 4g: Check for NTPC feature-based attributes in AttributeList" PICS: TIMESYNC.S.F01 command: "readAttribute" attribute: "AttributeList" @@ -207,7 +209,8 @@ tests: constraints: contains: [0x0004, 0x000C] - - label: "TS4: Check for NTPC feature-based attributes not in AttributeList" + - label: + "Step 4h: Check for NTPC feature-based attributes not in AttributeList" PICS: "!TIMESYNC.S.F01" command: "readAttribute" attribute: "AttributeList" @@ -216,7 +219,7 @@ tests: excludes: [0x0004, 0x000C] # Feature NTPS - - label: "TS4: Check for NTPS feature-based attributes in AttributeList" + - label: "Step 4i: Check for NTPS feature-based attributes in AttributeList" PICS: TIMESYNC.S.F02 command: "readAttribute" attribute: "AttributeList" @@ -224,7 +227,8 @@ tests: constraints: contains: [0x0009] - - label: "TS4: Check for NTPS feature-based attributes not in AttributeList" + - label: + "Step 4j: Check for NTPS feature-based attributes not in AttributeList" PICS: "!TIMESYNC.S.F02" command: "readAttribute" attribute: "AttributeList" @@ -233,7 +237,7 @@ tests: excludes: [0x0009] # Feature TSC - - label: "TS4: Check for TSC feature-based attributes in AttributeList" + - label: "Step 4k: Check for TSC feature-based attributes in AttributeList" PICS: TIMESYNC.S.F03 command: "readAttribute" attribute: "AttributeList" @@ -241,7 +245,8 @@ tests: constraints: contains: [0x0003] - - label: "TS4: Check for TSC feature-based attributes not in AttributeList" + - label: + "Step 4l: Check for TSC feature-based attributes not in AttributeList" PICS: "!TIMESYNC.S.F03" command: "readAttribute" attribute: "AttributeList" @@ -255,7 +260,7 @@ tests: # TS 5: Event list - NOTE: disabled ########################## # mandatory - - label: "TS5: Check for mandatory events in EventList" + - label: "Step 5a: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -264,7 +269,7 @@ tests: contains: [0x03] #Feature TZ - - label: "TS5: Check for TZ feature-based events in EventList" + - label: "Step 5b: Check for TZ feature-based events in EventList" PICS: PICS_EVENT_LIST_ENABLED && TIMESYNC.S.F00 command: "readAttribute" attribute: "EventList" @@ -272,7 +277,7 @@ tests: constraints: contains: [0x00, 0x01, 0x02] - - label: "TS5: Check for TZ feature-based events not in EventList" + - label: "Step 5c: Check for TZ feature-based events not in EventList" PICS: "PICS_EVENT_LIST_ENABLED && !TIMESYNC.S.F00" command: "readAttribute" attribute: "EventList" @@ -281,7 +286,7 @@ tests: excludes: [0x00, 0x01, 0x02] #Feature TSC - - label: "TS5: Check for TSC feature-based events in EventList" + - label: "Step 5d: Check for TSC feature-based events in EventList" PICS: PICS_EVENT_LIST_ENABLED && TIMESYNC.S.F03 command: "readAttribute" attribute: "EventList" @@ -289,7 +294,7 @@ tests: constraints: contains: [0x04] - - label: "TS5: Check for TSC feature-based events not in EventList" + - label: "Step 5e: Check for TSC feature-based events not in EventList" PICS: "PICS_EVENT_LIST_ENABLED && !TIMESYNC.S.F03" command: "readAttribute" attribute: "EventList" @@ -303,7 +308,7 @@ tests: # TS 6: AcceptedCommandList ########################## # mandatory - - label: "TS6: Check for mandatory commands in AcceptedCommandList" + - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -311,7 +316,8 @@ tests: contains: [0x00] # Feature TZ - - label: "TS6: Check for TZ feature-based commands in AcceptedCommandList" + - label: + "Step 6b: Check for TZ feature-based commands in AcceptedCommandList" PICS: TIMESYNC.S.F00 command: "readAttribute" attribute: "AcceptedCommandList" @@ -320,7 +326,8 @@ tests: contains: [0x02, 0x04] - label: - "TS6: Check for TZ feature-based commands in not AcceptedCommandList" + "Step 6c: Check for TZ feature-based commands in not + AcceptedCommandList" PICS: "!TIMESYNC.S.F00" command: "readAttribute" attribute: "AcceptedCommandList" @@ -329,7 +336,8 @@ tests: excludes: [0x02, 0x04] # Feature NTPC - - label: "TS6: Check for NTPC feature-based commands in AcceptedCommandList" + - label: + "Step 6d: Check for NTPC feature-based commands in AcceptedCommandList" PICS: TIMESYNC.S.F01 command: "readAttribute" attribute: "AcceptedCommandList" @@ -338,7 +346,8 @@ tests: contains: [0x05] - label: - "TS6: Check for NTPC feature-based commands in not AcceptedCommandList" + "Step 6e: Check for NTPC feature-based commands in not + AcceptedCommandList" PICS: "!TIMESYNC.S.F01" command: "readAttribute" attribute: "AcceptedCommandList" @@ -347,7 +356,8 @@ tests: excludes: [0x05] # Feature TSC - - label: "TS6: Check for TSC feature-based commands in AcceptedCommandList" + - label: + "Step 6f: Check for TSC feature-based commands in AcceptedCommandList" PICS: TIMESYNC.S.F03 command: "readAttribute" attribute: "AcceptedCommandList" @@ -356,7 +366,8 @@ tests: contains: [0x01] - label: - "TS6: Check for TSC feature-based commands in not AcceptedCommandList" + "Step 6g: Check for TSC feature-based commands in not + AcceptedCommandList" PICS: "!TIMESYNC.S.F03" command: "readAttribute" attribute: "AcceptedCommandList" @@ -370,7 +381,7 @@ tests: # TS 7: GeneratedCommandList ########################## # Feature TZ - - label: "TS7: Check for TZ feature-based commands in GeneratedCommandList" + - label: "Step 7a: TH reads from the DUT the GeneratedCommandList attribute" PICS: TIMESYNC.S.F00 command: "readAttribute" attribute: "GeneratedCommandList" @@ -379,7 +390,8 @@ tests: contains: [0x03] - label: - "TS7: Check for TZ feature-based commands in not GeneratedCommandList" + "Step 7b: Check for TZ feature-based commands in not + GeneratedCommandList" PICS: "!TIMESYNC.S.F00" command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml index 609d4eb81d6374..48eea5b8d29552 100644 --- a/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read ClusterRevision attribute from the DUT" + - label: "Step 2: TH reads ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3: Read FeatureMap attribute from the DUT" + - label: "Step 3: TH reads FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +47,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads the global attribute: AttributeList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +56,7 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads the global attribute: AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -65,7 +65,8 @@ tests: type: list contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute(Tolerance) in AttributeList" + - label: + "Step 4b: TH reads the optional attribute(Tolerance) in AttributeList" PICS: TMP.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -74,7 +75,7 @@ tests: type: list contains: [3] - - label: "Step 5: Read AcceptedCommandList attribute from the DUT" + - label: "Step 5: TH reads AcceptedCommandList attribute from the DUT" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -82,7 +83,7 @@ tests: constraints: type: list - - label: "Step 6: Read GeneratedCommandList attribute from the DUT" + - label: "Step 6: TH reads GeneratedCommandList attribute from the DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -90,7 +91,7 @@ tests: constraints: type: list - - label: "Step 7: Read EventList attribute from the DUT." + - label: "Step 7: TH reads EventList attribute from the DUT." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml index c01a1b97d86911..7f0af0d3bb9f03 100644 --- a/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: MinMeasuredValue" + - label: "Step 2: TH reads the MinMeasuredValue attribute from the DUT" PICS: TMP.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" @@ -42,7 +42,7 @@ tests: minValue: -27315 maxValue: 32766 - - label: "Step 3: Read the mandatory attribute: MaxMeasuredValue" + - label: "Step 3: TH reads the MaxMeasuredValue attribute from the DUT" PICS: TMP.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" @@ -53,7 +53,7 @@ tests: minValue: CurrentMinMeasured maxValue: 32767 - - label: "Step 4: Read the mandatory attribute: MeasuredValue" + - label: "Step 4: TH reads the MeasuredValue attribute from the DUT" PICS: TMP.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -63,7 +63,7 @@ tests: minValue: CurrentMinMeasured maxValue: CurrentMaxMeasured - - label: "Step 6: Read the optional attribute: Tolerance" + - label: "Step 5: TH reads the Tolerance attribute from the DUT" PICS: TMP.S.A0003 command: "readAttribute" attribute: "Tolerance" diff --git a/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml index a016b6e640b9e8..35d96100b98bf4 100644 --- a/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: MinMeasuredValue" + - label: "Step 2: TH reads MinMeasuredValue attribute from DUT" PICS: TMP.S.A0001 command: "readAttribute" attribute: "MinMeasuredValue" @@ -41,7 +41,7 @@ tests: minValue: -27315 maxValue: 32766 - - label: "Step 3: Read the mandatory attribute: MaxMeasuredValue" + - label: "Step 3: TH reads MaxMeasuredValue attribute from DUT" PICS: TMP.S.A0002 command: "readAttribute" attribute: "MaxMeasuredValue" @@ -51,7 +51,7 @@ tests: minValue: -27314 maxValue: 32767 - - label: "Step 4: Reads MeasuredValue attribute from DUT" + - label: "Step 4: TH reads MeasuredValue attribute from DUT" PICS: TMP.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -73,7 +73,9 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 6: Read the mandatory attribute: MeasuredValue" + - label: + "Step 6: After a few seconds, TH reads MeasuredValue attribute from + DUT" command: "readAttribute" attribute: "MeasuredValue" PICS: TMP.S.A0000 && TMP.M.ManuallyControlled diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml index 2081e133f84876..b2bf2a111ebffd 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 42.1.1. [TC-TSTAT-1.1] Global attributes with server as DUT +name: 42.1.1. [TC-TSTAT-1.1] Global Attributes with DUT as Server PICS: - TSTAT.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." PICS: "!TSTAT.S.F00 && !TSTAT.S.F01 && !TSTAT.S.F02 && !TSTAT.S.F03 && !TSTAT.S.F04 && !TSTAT.S.F05" @@ -127,7 +129,7 @@ tests: type: bitmap32 hasMasksSet: [0x40] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -136,7 +138,7 @@ tests: type: list contains: [0, 27, 28, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -146,8 +148,8 @@ tests: contains: [0, 27, 28, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in - AttributeList" + "Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute + in AttributeList" PICS: TSTAT.S.F00 command: "readAttribute" attribute: "AttributeList" @@ -156,8 +158,8 @@ tests: type: list contains: [18] - label: - "Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in - AttributeList" + "Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute + in AttributeList" PICS: TSTAT.S.F01 command: "readAttribute" attribute: "AttributeList" @@ -167,8 +169,8 @@ tests: contains: [17] - label: - "Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in - AttributeList" + "Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute + in AttributeList" PICS: TSTAT.S.F02 command: "readAttribute" attribute: "AttributeList" @@ -178,7 +180,7 @@ tests: contains: [2] - label: - "Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & + "Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.F02 command: "readAttribute" @@ -189,7 +191,7 @@ tests: contains: [20] - label: - "Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & + "Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.F02 command: "readAttribute" @@ -200,8 +202,8 @@ tests: contains: [19] - label: - "Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in - AttributeList" + "Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute + in AttributeList" PICS: TSTAT.S.F05 command: "readAttribute" attribute: "AttributeList" @@ -211,8 +213,8 @@ tests: contains: [17, 18, 25] - label: - "Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in - AttributeList" + "Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute + in AttributeList" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "AttributeList" @@ -222,7 +224,7 @@ tests: contains: [32, 33, 34] - label: - "Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in + "Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList" PICS: TSTAT.S.F04 command: "readAttribute" @@ -233,7 +235,7 @@ tests: contains: [52, 53, 54] - label: - "Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & + "Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList" PICS: TSTAT.S.F04 && TSTAT.S.F02 command: "readAttribute" @@ -243,7 +245,7 @@ tests: type: list contains: [55, 56, 57] - - label: "Step 4k: Read the optional attribute in AttributeList" + - label: "Step 4k: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -252,7 +254,7 @@ tests: type: list contains: [1] - - label: "Step 4l: Read the optional attribute in AttributeList" + - label: "Step 4l: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0009 command: "readAttribute" attribute: "AttributeList" @@ -261,7 +263,7 @@ tests: type: list contains: [9] - - label: "Step 4m: Read the optional attribute in AttributeList" + - label: "Step 4m: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0010 command: "readAttribute" attribute: "AttributeList" @@ -270,7 +272,7 @@ tests: type: list contains: [16] - - label: "Step 4n: Read the optional attribute in AttributeList" + - label: "Step 4n: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A001a command: "readAttribute" attribute: "AttributeList" @@ -279,7 +281,7 @@ tests: type: list contains: [26] - - label: "Step 4o: Read the optional attribute in AttributeList" + - label: "Step 4o: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A001d command: "readAttribute" attribute: "AttributeList" @@ -288,7 +290,7 @@ tests: type: list contains: [29] - - label: "Step 4p: Read the optional attribute in AttributeList" + - label: "Step 4p: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0023 command: "readAttribute" attribute: "AttributeList" @@ -297,7 +299,7 @@ tests: type: list contains: [35] - - label: "Step 4q: Read the optional attribute in AttributeList" + - label: "Step 4q: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0024 command: "readAttribute" attribute: "AttributeList" @@ -306,7 +308,7 @@ tests: type: list contains: [36] - - label: "Step 4r: Read the optional attribute in AttributeList" + - label: "Step 4r: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0025 command: "readAttribute" attribute: "AttributeList" @@ -315,7 +317,7 @@ tests: type: list contains: [37] - - label: "Step 4s: Read the optional attribute in AttributeList" + - label: "Step 4s: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0029 command: "readAttribute" attribute: "AttributeList" @@ -324,7 +326,7 @@ tests: type: list contains: [41] - - label: "Step 4t: Read the optional attribute in AttributeList" + - label: "Step 4t: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0030 command: "readAttribute" attribute: "AttributeList" @@ -333,7 +335,7 @@ tests: type: list contains: [48] - - label: "Step 4u: Read the optional attribute in AttributeList" + - label: "Step 4u: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0031 command: "readAttribute" attribute: "AttributeList" @@ -342,7 +344,7 @@ tests: type: list contains: [49] - - label: "Step 4x: Read the optional attribute in AttributeList" + - label: "Step 4x: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0032 command: "readAttribute" attribute: "AttributeList" @@ -351,7 +353,7 @@ tests: type: list contains: [50] - - label: "Step 5y: Read the optional attribute: AttributeList" + - label: "Step 4y: TH reads the optional attribute: AttributeList" PICS: TSTAT.S.A003a command: "readAttribute" attribute: "AttributeList" @@ -360,7 +362,7 @@ tests: type: list contains: [58] - - label: "Step 4z: Read the optional attribute in AttributeList" + - label: "Step 4z: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0040 command: "readAttribute" attribute: "AttributeList" @@ -369,7 +371,7 @@ tests: type: list contains: [64] - - label: "Step 4A: Read the optional attribute in AttributeList" + - label: "Step 4A: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0041 command: "readAttribute" attribute: "AttributeList" @@ -378,7 +380,7 @@ tests: type: list contains: [65] - - label: "Step 4B: Read the optional attribute in AttributeList" + - label: "Step 4B: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0042 command: "readAttribute" attribute: "AttributeList" @@ -387,7 +389,7 @@ tests: type: list contains: [66] - - label: "Step 4C: Read the optional attribute in AttributeList" + - label: "Step 4C: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0043 command: "readAttribute" attribute: "AttributeList" @@ -396,7 +398,7 @@ tests: type: list contains: [67] - - label: "Step 5D: Read the optional attribute: AttributeList" + - label: "Step 4D: TH reads the optional attribute: AttributeList" PICS: TSTAT.S.A0044 command: "readAttribute" attribute: "AttributeList" @@ -405,7 +407,7 @@ tests: type: list contains: [68] - - label: "Step 4E: Read the optional attribute in AttributeList" + - label: "Step 4E: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0045 command: "readAttribute" attribute: "AttributeList" @@ -414,7 +416,7 @@ tests: type: list contains: [69] - - label: "Step 4F: Read the optional attribute in AttributeList" + - label: "Step 4F: TH reads the optional attribute in AttributeList" PICS: TSTAT.S.A0046 command: "readAttribute" attribute: "AttributeList" @@ -423,7 +425,7 @@ tests: type: list contains: [70] - - label: "Step 5G: Read the optional attribute: AttributeList" + - label: "Step 4g: TH reads the optional attribute: AttributeList" PICS: TSTAT.S.A0047 command: "readAttribute" attribute: "AttributeList" @@ -433,7 +435,7 @@ tests: contains: [71] - label: - "Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0003 command: "readAttribute" @@ -444,7 +446,7 @@ tests: contains: [3] - label: - "Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0004 command: "readAttribute" @@ -455,7 +457,7 @@ tests: contains: [4] - label: - "Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0008 command: "readAttribute" @@ -466,7 +468,7 @@ tests: contains: [8] - label: - "Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0015 command: "readAttribute" @@ -477,7 +479,7 @@ tests: contains: [21] - label: - "Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0016 command: "readAttribute" @@ -488,7 +490,7 @@ tests: contains: [22] - label: - "Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0005 command: "readAttribute" @@ -499,7 +501,7 @@ tests: contains: [5] - label: - "Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0007 command: "readAttribute" @@ -510,7 +512,7 @@ tests: contains: [6] - label: - "Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0007 command: "readAttribute" @@ -521,7 +523,7 @@ tests: contains: [7] - label: - "Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0017 command: "readAttribute" @@ -532,7 +534,7 @@ tests: contains: [23] - label: - "Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0018 command: "readAttribute" @@ -543,7 +545,7 @@ tests: contains: [24] - label: - "Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional + "Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList" PICS: TSTAT.S.F05 && TSTAT.S.A001e command: "readAttribute" @@ -553,7 +555,16 @@ tests: type: list contains: [30] - - label: "Step 5a: Read the mandatory commands in AcceptedCommandList" + - label: "Step 5: TH reads EventList attribute from the DUT." + PICS: PICS_EVENT_LIST_ENABLED + command: "readAttribute" + attribute: "EventList" + response: + value: [] + constraints: + type: list + + - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -562,7 +573,7 @@ tests: contains: [0] - label: - "Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in + "Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList" PICS: TSTAT.S.F03 command: "readAttribute" @@ -573,7 +584,7 @@ tests: contains: [1, 2, 3] - label: - "Step 5c: Read the optional (GetRelayStatusLog) command in + "Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList" PICS: TSTAT.S.C04.Rsp command: "readAttribute" @@ -583,7 +594,8 @@ tests: type: list contains: [4] - - label: "Step 6a: Read the global attribute: GeneratedCommandList" + - label: + "Step 7a: TH reads from the DUT the GeneratedCommandList attribute." PICS: " !TSTAT.S.C04.Rsp && !TSTAT.S.C02.Rsp " command: "readAttribute" attribute: "GeneratedCommandList" @@ -593,7 +605,7 @@ tests: type: list - label: - "Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in + "Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList" PICS: TSTAT.S.F03 command: "readAttribute" @@ -604,7 +616,7 @@ tests: contains: [0] - label: - "Step 6c: Read optional command (GetRelayStatusLogResponse) in + "Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList" PICS: TSTAT.S.C04.Rsp command: "readAttribute" @@ -613,12 +625,3 @@ tests: constraints: type: list contains: [1] - - - label: "Step 7: Read EventList attribute from the DUT." - PICS: PICS_EVENT_LIST_ENABLED - command: "readAttribute" - attribute: "EventList" - response: - value: [] - constraints: - type: list diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml index 4d4ee2d4c7b70b..11be3889e4d9f7 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -132,7 +132,9 @@ tests: saveAs: AbsMaxCoolSetpointLimitValue #Using saved values when optional attributes are available - - label: "Step 2a: Read attribute OccupiedCoolingSetpoint from the DUT" + - label: + "Step 2a: Test Harness Client reads attribute OccupiedCoolingSetpoint + from the DUT" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 command: "readAttribute" attribute: "OccupiedCoolingSetpoint" @@ -144,8 +146,8 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 2a: Reads OccupiedCoolingSetpoint attribute from Server DUT and - verifies that the value is within range" + "Step 2a: Test Harness Client reads OccupiedCoolingSetpoint attribute + from Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018 @@ -156,8 +158,8 @@ tests: maxValue: 3200 - label: - "Step 2a: Writes a value back that is different but valid for - OccupiedCoolingSetpoint attribute" + "Step 2a: Test Harness Client then attempts Writes a value back that + is different but valid for OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 @@ -165,8 +167,8 @@ tests: value: 2500 - label: - "Step 2a: Reads it back again to confirm the successful write of - OccupiedCoolingSetpoint attribute" + "Step 2a: Test Harness Client reads it back again to confirm the + successful write of OccupiedCoolingSetpoint attribute" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 @@ -174,8 +176,8 @@ tests: value: 2500 - label: - "Step 2b: Writes OccupiedCoolingSetpoint to value below the - MinCoolSetpointLimit" + "Step 2b: Test Harness Client then attempts Writes + OccupiedCoolingSetpoint to value below the MinCoolSetpointLimit" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 @@ -186,8 +188,8 @@ tests: #MinCoolSetPointLimit might be negative if not checked before decrement - label: - "Step 2b: Writes OccupiedCoolingSetpoint to value below the - MinCoolSetpointLimit" + "Step 2b: Test Harness Writes OccupiedCoolingSetpoint to value below + the MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && PICS_SKIP_SAMPLE_APP verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. @@ -210,8 +212,8 @@ tests: value: "y" - label: - "Step 2b: Writes OccupiedCoolingSetpoint to value above the - MaxCoolSetpointLimit" + "Step 2b: Test Harness Writes OccupiedCoolingSetpoint to value above + the MaxCoolSetpointLimit" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 @@ -221,8 +223,8 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 2b: Writes OccupiedCoolingSetpoint to value above the - MaxCoolSetpointLimit" + "Step 2b: Test Harness Writes OccupiedCoolingSetpoint to value above + the MaxCoolSetpointLimit" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 && TSTAT.S.A0017 @@ -232,7 +234,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 2c: Writes the limit of MaxCoolSetpointLimit to + "Step 2c: Test Harness Writes the limit of MaxCoolSetpointLimit to OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" @@ -241,7 +243,7 @@ tests: value: 3200 - label: - "Step 2c: Writes the limit of MaxCoolSetpointLimit to + "Step 2c: Test Harness Writes the limit of MaxCoolSetpointLimit to OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" @@ -250,7 +252,7 @@ tests: value: MaxCoolSetpointLimitValue - label: - "Step 2c: Writes the limit of MinCoolSetpointLimit to + "Step 2c: Test Harness Writes the limit of MinCoolSetpointLimit to OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" @@ -259,7 +261,7 @@ tests: value: 1600 - label: - "Step 2c: Writes the limit of MinCoolSetpointLimit to + "Step 2c: Test Harness Writes the limit of MinCoolSetpointLimit to OccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedCoolingSetpoint" @@ -269,7 +271,7 @@ tests: #LowerLimit = Max(MinCoolSetpointLimit,(OccupiedHeatingSetpoint + MinSetpointDeadBand)) not possible in YAML - label: - "Step 2c: Writes If TSTAT.S.F05(AUTO) LowerLimit = + "Step 2c: Test Harness Writes If TSTAT.S.F05(AUTO) LowerLimit = Max(MinCoolSetpointLimit, (OccupiedHeatingSetpoint + MinSetpointDeadBand)) to OccupiedCoolingSetpoint attribute when Auto is enabled" @@ -295,8 +297,8 @@ tests: #Using saved values when optional attributes are available - label: - "Step 3a: Reads OccupiedHeatingSetpoint attribute from Server DUT and - verifies that the value is within range" + "Step 3a: Test Harness Reads OccupiedHeatingSetpoint attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 @@ -308,8 +310,8 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 3a: Reads OccupiedHeatingSetpoint attribute from Server DUT and - verifies that the value is within range" + "Step 3a: Test Harness Reads OccupiedHeatingSetpoint attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0015 && !TSTAT.S.A0016 @@ -320,8 +322,8 @@ tests: maxValue: 3000 - label: - "Step 3a: Writes a value back that is different but valid for - OccupiedHeatingSetpoint attribute" + "Step 3a: Test Harness Writes a value back that is different but + valid for OccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 @@ -329,8 +331,8 @@ tests: value: 2100 - label: - "Step 3a: Reads it back again to confirm the successful write of - OccupiedHeatingSetpoint attribute" + "Step 3a: Test Harness Reads it back again to confirm the successful + write of OccupiedHeatingSetpoint attribute" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 @@ -338,8 +340,8 @@ tests: value: 2100 - label: - "Step 3b: Writes OccupiedHeatingSetpoint to value below the - MinHeatSetpointLimit" + "Step 3b: Test Harness Writes OccupiedHeatingSetpoint to value below + the MinHeatSetpointLimit" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0015 @@ -350,8 +352,8 @@ tests: #MinHeatSetpointLimit might be negative if not checked before decrement - label: - "Step 3b: Writes OccupiedHeatingSetpoint to value below the - MinHeatSetpointLimit" + "Step 3b: Test Harness Writes OccupiedHeatingSetpoint to value below + the MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && PICS_SKIP_SAMPLE_APP verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. @@ -373,8 +375,8 @@ tests: value: "y" - label: - "Step 3b: Writes OccupiedHeatingSetpoint to value above the - MaxHeatSetpointLimit" + "Step 3b: Test Harness Writes OccupiedHeatingSetpoint to value above + the MaxHeatSetpointLimit" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && !TSTAT.S.A0016 @@ -384,8 +386,8 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 3b: Writes OccupiedHeatingSetpoint to value above the - MaxHeatSetpointLimit" + "Step 3b: Test Harness Writes OccupiedHeatingSetpoint to value above + the MaxHeatSetpointLimit" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 && TSTAT.S.A0016 @@ -395,7 +397,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 3c: Writes the limit of MaxHeatSetpointLimit to + "Step 3c: Test Harness Writes the limit of MaxHeatSetpointLimit to OccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" @@ -404,7 +406,7 @@ tests: value: 3000 - label: - "Step 3c: Writes the limit of MaxHeatSetpointLimit to + "Step 3c: Test Harness Writes the limit of MaxHeatSetpointLimit to OccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" @@ -413,7 +415,7 @@ tests: value: MaxHeatSetpointLimitValue - label: - "Step 3c: Writes the limit of MaxHeatSetpointLimit to + "Step 3c: Test Harness Writes the limit of MaxHeatSetpointLimit to OccupiedHeatingSetpoint attribute If TSTAT.S.F05 is true" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" @@ -425,7 +427,7 @@ tests: #UpperLimit = Min(MaxHeatSetpointLimit,(OccupiedCoolingSetpoint - MinSetpointDeadBand)) not possible in YAML - label: - "Step 3c: Writes If TSTAT.S.F05(AUTO) UpperLimit = + "Step 3c: Test Harness Writes If TSTAT.S.F05(AUTO) UpperLimit = Min(MaxHeatSetpointLimit, (OccupiedCoolingSetpoint - MinSetpointDeadBand)) to OccupiedHeatingSetpoint attribute when Auto is enabled" @@ -463,7 +465,7 @@ tests: value: "y" - label: - "Step 3c: Writes the limit of MinHeatSetpointLimit to + "Step 3c: Test Harness Writes the limit of MinHeatSetpointLimit to OccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" @@ -472,7 +474,7 @@ tests: value: 700 - label: - "Step 3c: Writes the limit of MinHeatSetpointLimit to + "Step 3c: Test Harness Writes the limit of MinHeatSetpointLimit to OccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "OccupiedHeatingSetpoint" @@ -481,8 +483,8 @@ tests: value: MinHeatSetpointLimitValue - label: - "Step 4a: Reads UnoccupiedCoolingSetpoint attribute from Server DUT - and verifies that the value is within range" + "Step 4a: Test Harness Reads UnoccupiedCoolingSetpoint attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 @@ -493,8 +495,8 @@ tests: maxValue: MaxCoolSetpointLimitValue - label: - "Step 4a: Reads UnoccupiedCoolingSetpoint attribute from Server DUT - and verifies that the value is within range" + "Step 4a: Test Harness Reads UnoccupiedCoolingSetpoint attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018 @@ -505,8 +507,8 @@ tests: maxValue: 3200 - label: - "Step 4a: Writes a value back that is different but valid for - UnoccupiedCoolingSetpoint attribute" + "Step 4a: Test Harness Writes a value back that is different but + valid for UnoccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 @@ -514,8 +516,8 @@ tests: value: 2500 - label: - "Step 4a: Reads it back again to confirm the successful write of - UnoccupiedCoolingSetpoint attribute" + "Step 4a: Test Harness Reads it back again to confirm the successful + write of UnoccupiedCoolingSetpoint attribute" command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 @@ -523,8 +525,8 @@ tests: value: 2500 - label: - "Step 4b: Writes UnoccupiedCoolingSetpoint to value below the - MinCoolSetpointLimit" + "Step 4b: Test Harness Writes UnoccupiedCoolingSetpoint to value + below the MinCoolSetpointLimit" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0017 @@ -535,8 +537,8 @@ tests: #MinCoolSetpointLimit might be negative if not checked before decrement - label: - "Step 4b: Writes UnoccupiedCoolingSetpoint to value below the - MinCoolSetpointLimit" + "Step 4b: Test Harness Writes UnoccupiedCoolingSetpoint to value + below the MinCoolSetpointLimit" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0017 && PICS_SKIP_SAMPLE_APP verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. @@ -558,8 +560,8 @@ tests: value: "y" - label: - "Step 4b: Writes UnoccupiedCoolingSetpoint to value above the - MaxCoolSetpointLimit" + "Step 4b: Test Harness Writes UnoccupiedCoolingSetpoint to value + above the MaxCoolSetpointLimit" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && !TSTAT.S.A0018 @@ -569,8 +571,8 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 4b: Writes UnoccupiedCoolingSetpoint to value above the - MaxCoolSetpointLimit" + "Step 4b: Test Harness Writes UnoccupiedCoolingSetpoint to value + above the MaxCoolSetpointLimit" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F01 && TSTAT.S.A0018 @@ -580,7 +582,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 4c: Writes the limit of MaxCoolSetpointLimit to + "Step 4c: Test Harness Writes the limit of MaxCoolSetpointLimit to UnoccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -589,7 +591,7 @@ tests: value: 3200 - label: - "Step 4c: Writes the limit of MaxCoolSetpointLimit to + "Step 4c: Test Harness Writes the limit of MaxCoolSetpointLimit to UnoccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -599,7 +601,7 @@ tests: #LowerLimit = Max(MinCoolSetpointLimit,(UnoccupiedCoolingSetpoint + MinSetpointDeadBand)) not possible in YAML - label: - "Step 4c: Writes If TSTAT.S.F05(AUTO) LowerLimit = + "Step 4c: Test Harness Writes If TSTAT.S.F05(AUTO) LowerLimit = Max(MinCoolSetpointLimit, (UnoccupiedCoolingSetpoint + MinSetpointDeadBand)) to UnoccupiedCoolingSetpoint attribute" PICS: @@ -627,7 +629,7 @@ tests: value: "y" - label: - "Step 4c: Writes the limit of MinCoolSetpointLimit to + "Step 4c: Test Harness Writes the limit of MinCoolSetpointLimit to UnoccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -636,7 +638,7 @@ tests: value: 1600 - label: - "Step 4c: Writes the limit of MinCoolSetpointLimit to + "Step 4c: Test Harness Writes the limit of MinCoolSetpointLimit to UnoccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -647,7 +649,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 4c: Writes the limit of MinCoolSetpointLimit to + "Step 4c: Test Harness Writes the limit of MinCoolSetpointLimit to UnoccupiedCoolingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -657,8 +659,8 @@ tests: #Using saved values when optional attributes are available - label: - "Step 5a: Reads UnoccupiedHeatingSetpoint attribute from Server DUT - and verifies that the value is within range" + "Step 5a: Test Harness Reads UnoccupiedHeatingSetpoint attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 @@ -670,8 +672,8 @@ tests: #Using hardcoded values when optional attributes are not available - label: - "Step 5a: Reads UnoccupiedHeatingSetpoint attribute from Server DUT - and verifies that the value is within range" + "Step 5a: Test Harness Reads UnoccupiedHeatingSetpoint attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0015 && !TSTAT.S.A0016 @@ -682,8 +684,8 @@ tests: maxValue: 3000 - label: - "Step 5a: Writes a value back that is different but valid for - UnoccupiedHeatingSetpoint attribute" + "Step 5a: Test Harness Writes a value back that is different but + valid for UnoccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 @@ -691,8 +693,8 @@ tests: value: 2500 - label: - "Step 5a: Reads it back again to confirm the successful write of - UnoccupiedHeatingSetpoint attribute" + "Step 5a: Test Harness Reads it back again to confirm the successful + write of UnoccupiedHeatingSetpoint attribute" command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 @@ -700,8 +702,8 @@ tests: value: 2500 - label: - "Step 5b: Writes UnoccupiedHeatingSetpoint to value below the - MinHeatSetpointLimit" + "Step 5b: Test Harness Writes UnoccupiedHeatingSetpoint to value + below the MinHeatSetpointLimit" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0015 @@ -712,8 +714,8 @@ tests: #MinHeatSetpointLimit might be negative if not checked before decrement - label: - "Step 5b: Writes UnoccupiedHeatingSetpoint to value below the - MinHeatSetpointLimit" + "Step 5b: Test Harness Writes UnoccupiedHeatingSetpoint to value + below the MinHeatSetpointLimit" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0015 && PICS_SKIP_SAMPLE_APP verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE. Below is the log of RPI the result may be vary on the basis of dut implementation. @@ -737,8 +739,8 @@ tests: value: "y" - label: - "Step 5b: Writes UnoccupiedHeatingSetpoint to value above the - MaxHeatSetpointLimit" + "Step 5b: Test Harness Writes UnoccupiedHeatingSetpoint to value + above the MaxHeatSetpointLimit" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && !TSTAT.S.A0016 @@ -748,8 +750,8 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 5b: Writes UnoccupiedHeatingSetpoint to value above the - MaxHeatSetpointLimit" + "Step 5b: Test Harness Writes UnoccupiedHeatingSetpoint to value + above the MaxHeatSetpointLimit" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" PICS: TSTAT.S.F02 && TSTAT.S.F00 && TSTAT.S.A0016 @@ -759,7 +761,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 5c: Writes the limit of MaxHeatSetpointLimit to + "Step 5c: Test Harness Writes the limit of MaxHeatSetpointLimit to UnoccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -768,7 +770,7 @@ tests: value: 3000 - label: - "Step 5c: Writes the limit of MaxHeatSetpointLimit to + "Step 5c: Test Harness Writes the limit of MaxHeatSetpointLimit to UnoccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -777,7 +779,7 @@ tests: value: MaxHeatSetpointLimitValue - label: - "Step 5c: Writes the limit of MaxHeatSetpointLimit to + "Step 5c: Test Harness Writes the limit of MaxHeatSetpointLimit to UnoccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -789,7 +791,7 @@ tests: #UpperLimit = Min(MaxHeatSetpointLimit,(UnoccupiedCoolingSetpoint - MinSetpointDeadBand)) not possible in YAML - label: - "Step 5c: Writes If TSTAT.S.F05(AUTO) UpperLimit = + "Step 5c: Test Harness Writes If TSTAT.S.F05(AUTO) UpperLimit = Min(MaxHeatSetpointLimit, (UnoccupiedCoolingSetpoint - MinSetpointDeadBand)) to UnoccupiedHeatingSetpoint attribute when Auto is enabled." @@ -820,7 +822,7 @@ tests: value: "y" - label: - "Step 5c: Writes the limit of MinHeatSetpointLimit to + "Step 5c: Test Harness Writes the limit of MinHeatSetpointLimit to UnoccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -829,7 +831,7 @@ tests: value: 700 - label: - "Step 5c: Writes the limit of MinHeatSetpointLimit to + "Step 5c: Test Harness Writes the limit of MinHeatSetpointLimit to UnoccupiedHeatingSetpoint attribute" command: "writeAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -839,8 +841,8 @@ tests: #Using saved values when optional attributes are available - label: - "Step 6a: Reads MinHeatSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 6a: Test Harness Reads MinHeatSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0016 && TSTAT.S.A0003 @@ -852,8 +854,8 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 6a: Reads MinHeatSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 6a: Test Harness Reads MinHeatSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0016 && !TSTAT.S.A0003 @@ -864,8 +866,8 @@ tests: maxValue: 3000 - label: - "Step 6a: Writes a value back that is different but valid for - MinHeatSetpointLimit attribute" + "Step 6a: Test Harness Writes a value back that is different but valid + for MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 @@ -873,8 +875,8 @@ tests: value: 800 - label: - "Step 6a: Reads it back again to confirm the successful write of - MinHeatSetpointLimit attribute" + "Step 6a: Test Harness Reads it back again to confirm the successful + write of MinHeatSetpointLimit attribute" command: "readAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 @@ -882,8 +884,8 @@ tests: value: 800 - label: - "Step 6b: Writes a value back that is different but violates the - deadband" + "Step 6b: Test Harness Writes a value back that is different but + violates the deadband" command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.A0015 && TSTAT.S.F05 @@ -893,7 +895,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 6b: Writes MinHeatSetpointLimit to value below the + "Step 6b: Test Harness Writes MinHeatSetpointLimit to value below the AbsMinHeatSetpointLimit " command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -905,7 +907,7 @@ tests: #AbsMinHeatSetpointLimit might be negative if not checked before decrement - label: - "Step 6b: Writes MinHeatSetpointLimit to value below the + "Step 6b: Test Harness Writes MinHeatSetpointLimit to value below the AbsMinHeatSetpointLimit " PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0003 && PICS_SKIP_SAMPLE_APP @@ -928,7 +930,7 @@ tests: value: "y" - label: - "Step 6b: Writes MinHeatSetpointLimit to value above the + "Step 6b: Test Harness Writes MinHeatSetpointLimit to value above the AbsMaxHeatSetpointLimit " command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -939,7 +941,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 6b: Writes MinHeatSetpointLimit to value above the + "Step 6b: Test Harness Writes MinHeatSetpointLimit to value above the AbsMaxHeatSetpointLimit " command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -950,7 +952,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 6c: Writes the limit of MaxHeatSetpointLimit to + "Step 6c: Test Harness Writes the limit of MaxHeatSetpointLimit to MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -959,7 +961,7 @@ tests: value: 3000 - label: - "Step 6c: Writes the limit of MaxHeatSetpointLimit to + "Step 6c: Test Harness Writes the limit of MaxHeatSetpointLimit to MinHeatSetpointimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -969,7 +971,7 @@ tests: #UpperLimit = Min(MaxHeatSetpointLimit,(MinCoolSetpointLimit - MinSetpointDeadBand)) not possible in YAML - label: - "Step 6c: Writes If TSTAT.S.F05(AUTO) UpperLimit = + "Step 6c: Test Harness Writes If TSTAT.S.F05(AUTO) UpperLimit = Min(MaxHeatSetpointLimit, (MinCoolSetpointLimit - MinSetpointDeadBand)) to MinHeatSetpointLimit attribute when Auto is enabled" @@ -1001,7 +1003,7 @@ tests: value: "y" - label: - "Step 6c: Writes the limit of AbsMinHeatSetpointLimit to + "Step 6c: Test Harness Writes the limit of AbsMinHeatSetpointLimit to MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -1010,7 +1012,7 @@ tests: value: 700 - label: - "Step 6c: Writes the limit of AbsMinHeatSetpointLimit to + "Step 6c: Test Harness Writes the limit of AbsMinHeatSetpointLimit to MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -1020,8 +1022,8 @@ tests: #Using saved values when optional attributes are available - label: - "Step 7a: Reads MaxHeatSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 7a: Test Harness Reads MaxHeatSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MaxHeatSetpointLimit" PICS: @@ -1035,8 +1037,8 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 7a: Reads MaxHeatSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 7a: Test Harness Reads MaxHeatSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MaxHeatSetpointLimit" PICS: @@ -1049,7 +1051,7 @@ tests: maxValue: 3000 - label: - "Step 7b: Writes the limit of AbsMinHeatSetpointLimit to + "Step 7b: Test Harness Writes the limit of AbsMinHeatSetpointLimit to MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -1058,7 +1060,7 @@ tests: value: 700 - label: - "Step 7b: Writes the limit of AbsMaxHeatSetpointLimit to + "Step 7b: Test Harness Writes the limit of AbsMaxHeatSetpointLimit to MinHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MinHeatSetpointLimit" @@ -1069,8 +1071,8 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 7b: Writes a value back that is different but valid for - MaxHeatSetpointLimit attribute" + "Step 7b: Test Harness Writes a value back that is different but valid + for MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 @@ -1078,8 +1080,8 @@ tests: value: 2900 - label: - "Step 7b: Reads it back again to confirm the successful write of - MaxHeatSetpointLimit attribute" + "Step 7b: Test Harness Reads it back again to confirm the successful + write of MaxHeatSetpointLimit attribute" command: "readAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 @@ -1087,7 +1089,7 @@ tests: value: 2900 - label: - "Step 7b: Writes MaxHeatSetpointLimit to value below the + "Step 7b: Test Harness Writes MaxHeatSetpointLimit to value below the AbsMinHeatSetpointLimit " command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1099,7 +1101,7 @@ tests: #MinHeatSetpointLimit might be negative if not checked before decrement - label: - "Step 7b: Writes MaxHeatSetpointLimit to value below the + "Step 7b: Test Harness Writes MaxHeatSetpointLimit to value below the MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.A0015 && PICS_SKIP_SAMPLE_APP @@ -1122,7 +1124,7 @@ tests: value: "y" - label: - "Step 7b: Writes MaxHeatSetpointLimit to value above the + "Step 7b: Test Harness Writes MaxHeatSetpointLimit to value above the AbsMaxHeatSetpointLimit " command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1133,7 +1135,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 7b: Writes MaxHeatSetpointLimit to value above the + "Step 7b: Test Harness Writes MaxHeatSetpointLimit to value above the AbsMaxHeatSetpointLimit " command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1144,7 +1146,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 7c: Writes the limit of AbsMaxHeatSetpointLimit to + "Step 7c: Test Harness Writes the limit of AbsMaxHeatSetpointLimit to MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1153,7 +1155,7 @@ tests: value: 3000 - label: - "Step 7c: Writes the limit of AbsMaxHeatSetpointLimit to + "Step 7c: Test Harness Writes the limit of AbsMaxHeatSetpointLimit to MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1163,7 +1165,7 @@ tests: #UpperLimit = Min(AbsMaxHeatSetpointLimit,(MaxCoolSetpointLimit - MinSetpointDeadBand)) not possible in YAML - label: - "Step 7c: Writes If TSTAT.S.F05(AUTO) UpperLimit = + "Step 7c: Test Harness Writes If TSTAT.S.F05(AUTO) UpperLimit = Min(AbsMaxHeatSetpointLimit, (MaxCoolSetpointLimit - MinSetpointDeadBand)) to MaxHeatSetpointLimit attribute" PICS: @@ -1199,7 +1201,7 @@ tests: value: "y" - label: - "Step 7c: Writes the limit of MinHeatSetpointLimit to + "Step 7c: Test Harness Writes the limit of MinHeatSetpointLimit to MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1208,7 +1210,7 @@ tests: value: 700 - label: - "Step 7c: Writes the limit of MinHeatSetpointLimit to + "Step 7c: Test Harness Writes the limit of MinHeatSetpointLimit to MaxHeatSetpointLimit attribute" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" @@ -1218,8 +1220,8 @@ tests: #Using saved values when optional attributes are available - label: - "Step 8a: Reads MinCoolSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 8a: Test Harness Reads MinCoolSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 && TSTAT.S.A0005 @@ -1231,8 +1233,8 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 8a: Reads MinCoolSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 8a: Test Harness Reads MinCoolSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0018 && !TSTAT.S.A0005 @@ -1243,8 +1245,8 @@ tests: maxValue: 3200 - label: - "Step 8a: Writes a value back that is different but valid for - MinCoolSetpointLimit attribute" + "Step 8a: Test Harness Writes a value back that is different but valid + for MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 @@ -1252,8 +1254,8 @@ tests: value: 2000 - label: - "Step 8a: Reads it back again to confirm the successful write of - MinCoolSetpointLimit attribute" + "Step 8a: Test Harness Reads it back again to confirm the successful + write of MinCoolSetpointLimit attribute" command: "readAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 @@ -1261,7 +1263,7 @@ tests: value: 2000 - label: - "Step 8b: Writes MinCoolSetpointLimit to value below the + "Step 8b: Test Harness Writes MinCoolSetpointLimit to value below the AbsMinCoolSetpointLimit " command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1273,7 +1275,7 @@ tests: #AbsMinCoolSetpointLimit might be negative if not checked before decrement - label: - "Step 8b: Writes MinCoolSetpointLimit to value below the + "Step 8b: Test Harness Writes MinCoolSetpointLimit to value below the AbsMinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0005 && PICS_SKIP_SAMPLE_APP @@ -1298,7 +1300,7 @@ tests: - name: "expectedValue" value: "y" - label: - "Step 8b: Writes MinCoolSetpointLimit to value above the + "Step 8b: Test Harness Writes MinCoolSetpointLimit to value above the MaxCoolSetpointLimit " command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1309,7 +1311,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 8b: Writes MinCoolSetpointLimit to value above the + "Step 8b: Test Harness Writes MinCoolSetpointLimit to value above the MaxCoolSetpointLimit " command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1320,7 +1322,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 8c: Writes the limit of MaxCoolSetpointLimit to + "Step 8c: Test Harness Writes the limit of MaxCoolSetpointLimit to MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1329,7 +1331,7 @@ tests: value: 3200 - label: - "Step 8c: Writes the limit of MaxCoolSetpointLimit to + "Step 8c: Test Harness Writes the limit of MaxCoolSetpointLimit to MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1338,7 +1340,7 @@ tests: value: MaxCoolSetpointLimitValue - label: - "Step 8c: Writes the limit of AbsMinCoolSetpointLimit to + "Step 8c: Test Harness Writes the limit of AbsMinCoolSetpointLimit to MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1347,7 +1349,7 @@ tests: value: 1600 - label: - "Step 8c: Writes the limit of AbsMinCoolSetpointLimit to + "Step 8c: Test Harness Writes the limit of AbsMinCoolSetpointLimit to MinCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MinCoolSetpointLimit" @@ -1357,7 +1359,7 @@ tests: #LowerLimit = Max(AbsMinCoolSetpointLimit,(MinHeatSetpointLimit + MinSetpointDeadBand)) not possible in YAML - label: - "Step 8c: Writes If TSTAT.S.F05(AUTO) LowerLimit = + "Step 8c: Test Harness Writes If TSTAT.S.F05(AUTO) LowerLimit = Max(AbsMinCoolSetpointLimit, (MinHeatSetpointLimit + MinSetpointDeadBand)) to MinCoolSetpointLimit attribute" PICS: @@ -1390,8 +1392,8 @@ tests: #Using saved values when optional attributes are available - label: - "Step 9a: Reads MaxCoolSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 9a: Test Harness Reads MaxCoolSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0017 && TSTAT.S.A0006 @@ -1403,8 +1405,8 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 9a: Reads MaxCoolSetpointLimit attribute from Server DUT and - verifies that the value is within range" + "Step 9a: Test Harness Reads MaxCoolSetpointLimit attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0017 && !TSTAT.S.A0006 @@ -1415,8 +1417,8 @@ tests: maxValue: 3200 - label: - "Step 9a: Writes a value back that is different but valid for - MaxCoolSetpointLimit attribute" + "Step 9a: Test Harness Writes a value back that is different but valid + for MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.F05 @@ -1424,8 +1426,8 @@ tests: value: 2000 - label: - "Step 9a: Reads it back again to confirm the successful write of - MaxCoolSetpointLimit attribute" + "Step 9a: Test Harness Reads it back again to confirm the successful + write of MaxCoolSetpointLimit attribute" command: "readAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.F05 @@ -1433,7 +1435,7 @@ tests: value: 2000 - label: - "Step 9b: Writes MaxCoolSetpointLimit to value below the + "Step 9b: Test Harness Writes MaxCoolSetpointLimit to value below the AbsMinCoolSetpointLimit " command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1445,7 +1447,7 @@ tests: #AbsMinCoolSetpointLimit might be negative if not checked before decrement - label: - "Step 9b: Writes MaxCoolSetpointLimit to value below the + "Step 9b: Test Harness Writes MaxCoolSetpointLimit to value below the AbsMinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0017 && PICS_SKIP_SAMPLE_APP @@ -1471,7 +1473,7 @@ tests: value: "y" - label: - "Step 9b: Writes MaxCoolSetpointLimit to value above the + "Step 9b: Test Harness Writes MaxCoolSetpointLimit to value above the MaxCoolSetpointLimit " command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1482,7 +1484,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 9b: Writes MaxCoolSetpointLimit to value above the + "Step 9b: Test Harness Writes MaxCoolSetpointLimit to value above the MaxCoolSetpointLimit " command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1493,7 +1495,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 9c: Writes the limit of AbsMaxCoolSetpointLimit to + "Step 9c: Test Harness Writes the limit of AbsMaxCoolSetpointLimit to MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1502,7 +1504,7 @@ tests: value: 3200 - label: - "Step 9c: Writes the limit of AbsMaxCoolSetpointLimit to + "Step 9c: Test Harness Writes the limit of AbsMaxCoolSetpointLimit to MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1511,7 +1513,7 @@ tests: value: AbsMaxCoolSetpointLimitValue - label: - "Step 9c: Writes the limit of MinCoolSetpointLimit to + "Step 9c: Test Harness Writes the limit of MinCoolSetpointLimit to MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1520,7 +1522,7 @@ tests: value: 1600 - label: - "Step 9c: Writes the limit of MinCoolSetpointLimit to + "Step 9c: Test Harness Writes the limit of MinCoolSetpointLimit to MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1531,7 +1533,7 @@ tests: error: CONSTRAINT_ERROR - label: - "Step 9c: Writes the limit of MinCoolSetpointLimit to + "Step 9c: Test Harness Writes the limit of MinCoolSetpointLimit to MaxCoolSetpointLimit attribute" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" @@ -1541,7 +1543,7 @@ tests: #LowerLimit = Max(MinCoolSetpointLimit,(MaxHeatSetpointLimit + MinSetpointDeadBand)) not possible in YAML - label: - "Step 9c: Writes If TSTAT.S.F05(AUTO) LowerLimit = + "Step 9c: Test Harness Writes If TSTAT.S.F05(AUTO) LowerLimit = Max(MinCoolSetpointLimit, (MaxHeatSetpointLimit + MinSetpointDeadBand)) to MaxCoolSetpointLimit attribute" PICS: @@ -1574,7 +1576,8 @@ tests: value: "y" - label: - "Step 10a: Writes (sets back) default value of MinHeatSetpointLimit" + "Step 10a: Test Harness Writes (sets back) default value of + MinHeatSetpointLimit" command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0003 @@ -1582,21 +1585,26 @@ tests: value: AbsMinHeatSetpointLimitValue - label: - "Step 10a: Writes (sets back) default value of MinHeatSetpointLimit" + "Step 10a: Test Harness Writes (sets back) default value of + MinHeatSetpointLimit" command: "writeAttribute" attribute: "MinHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0003 arguments: value: 700 - - label: "Step 10a: Writes (sets back)default value of MaxHeatSetpointLimit" + - label: + "Step 10a: Test Harness Writes (sets back)default value of + MaxHeatSetpointLimit" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && TSTAT.S.A0004 arguments: value: AbsMaxHeatSetpointLimitValue - - label: "Step 10a: Writes (sets back)default value of MaxHeatSetpointLimit" + - label: + "Step 10a: Test Harness Writes (sets back)default value of + MaxHeatSetpointLimit" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && !TSTAT.S.A0004 @@ -1604,7 +1612,8 @@ tests: value: 3000 - label: - "Step 10a: Writes MaxHeatSetpointLimit That meets the deadband of 2.5C" + "Step 10a: Test Harness Writes MaxHeatSetpointLimit That meets the + deadband of 2.5C" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.F05 @@ -1612,7 +1621,8 @@ tests: value: 2950 - label: - "Step 10b: Writes (sets back) default value of MinCoolSetpointLimit" + "Step 10b: Test Harness Writes (sets back) default value of + MinCoolSetpointLimit" command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0005 @@ -1620,7 +1630,8 @@ tests: value: AbsMinCoolSetpointLimitValue - label: - "Step 10b: Writes (sets back) default value of MinCoolSetpointLimit" + "Step 10b: Test Harness Writes (sets back) default value of + MinCoolSetpointLimit" command: "writeAttribute" attribute: "MinCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && !TSTAT.S.A0005 @@ -1628,7 +1639,8 @@ tests: value: 1600 - label: - "Step 10b: Writes (sets back) default value of MaxCoolSetpointLimit" + "Step 10b: Test Harness Writes (sets back) default value of + MaxCoolSetpointLimit" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && TSTAT.S.A0006 @@ -1636,7 +1648,8 @@ tests: value: AbsMaxCoolSetpointLimitValue - label: - "Step 10b: Writes (sets back) default value of MaxCoolSetpointLimit" + "Step 10b: Test Harness Writes (sets back) default value of + MaxCoolSetpointLimit" command: "writeAttribute" attribute: "MaxCoolSetpointLimit" PICS: TSTAT.S.F01 && TSTAT.S.A0018 && !TSTAT.S.A0006 @@ -1644,8 +1657,8 @@ tests: value: 3200 - label: - "Step 11a: Reads MinSetpointDeadBand attribute from Server DUT and - verifies that the value is within range" + "Step 11a: Test Harness Reads MinSetpointDeadBand attribute from + Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 @@ -1656,8 +1669,8 @@ tests: maxValue: 25 - label: - "Step 11a: Writes a value back that is different but valid for - MinSetpointDeadBand attribute" + "Step 11a: Test Harness Writes a value back that is different but + valid for MinSetpointDeadBand attribute" command: "writeAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 && TSTAT.S.M.MinSetpointDeadBandWritable @@ -1665,15 +1678,15 @@ tests: value: 5 - label: - "Step 11a: Reads it back again to confirm the successful write of - MinSetpointDeadBand attribute" + "Step 11a: Test Harness Reads it back again to confirm the successful + write of MinSetpointDeadBand attribute" command: "readAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 && TSTAT.S.M.MinSetpointDeadBandWritable response: value: 5 - - label: "Step 11b: Writes the value below MinSetpointDeadBand" + - label: "Step 11b: Test Harness Writes the value below MinSetpointDeadBand" command: "writeAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 && TSTAT.S.M.MinSetpointDeadBandWritable @@ -1682,7 +1695,8 @@ tests: response: error: CONSTRAINT_ERROR - - label: "Step 11b: Writes the value above MinSetpointDeadBand " + - label: + "Step 11b: Test Harness Writes the value above MinSetpointDeadBand " command: "writeAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 && TSTAT.S.M.MinSetpointDeadBandWritable @@ -1691,14 +1705,16 @@ tests: response: error: CONSTRAINT_ERROR - - label: "Step 11c: Writes the min limit of MinSetpointDeadBand" + - label: + "Step 11c: Test Harness Writes the min limit of MinSetpointDeadBand" command: "writeAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 && TSTAT.S.M.MinSetpointDeadBandWritable arguments: value: 0 - - label: "Step 11c: Writes the max limit of MinSetpointDeadBand" + - label: + "Step 11c: Test Harness Writes the max limit of MinSetpointDeadBand" command: "writeAttribute" attribute: "MinSetpointDeadBand" PICS: TSTAT.S.F05 && TSTAT.S.M.MinSetpointDeadBandWritable @@ -1706,8 +1722,8 @@ tests: value: 25 - label: - "Step 12: Reads ControlSequenceOfOperation from Server DUT, if - TSTAT.S.F01 is true" + "Step 12: Test Harness Reads ControlSequenceOfOperation from Server + DUT, if TSTAT.S.F01 is true" command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F01 && !TSTAT.S.F00 @@ -1716,8 +1732,8 @@ tests: anyOf: [0, 1] - label: - "Step 12: Reads ControlSequenceOfOperation from Server DUT, if - TSTAT.S.F00 is true" + "Step 12: Test Harness Reads ControlSequenceOfOperation from Server + DUT, if TSTAT.S.F00 is true" command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 && !TSTAT.S.F01 @@ -1726,8 +1742,8 @@ tests: anyOf: [2, 3] - label: - "Step 12: Reads ControlSequenceOfOperation from Server DUT, if both - TSTAT.S.F01 and TSTAT.S.F01 are true" + "Step 12: Test Harness Reads ControlSequenceOfOperation from Server + DUT, if both TSTAT.S.F01 and TSTAT.S.F01 are true" command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 && TSTAT.S.F01 @@ -1736,15 +1752,18 @@ tests: anyOf: [4, 5] - label: - "Step 12: TH writes value 1 for attribute ControlSequenceOfOperation. - If TSTAT.S.F01 is true & TSTAT.S.F00 is false" + "Step 12: Test Harness writes value 1 for attribute + ControlSequenceOfOperation. If TSTAT.S.F01 is true & TSTAT.S.F00 is + false" command: "writeAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F01 && !TSTAT.S.F00 arguments: value: 1 - - label: "Step 12: Read it back again to confirm the successful write" + - label: + "Step 12: Test Harness Read it back again to confirm the successful + write" command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F01 && !TSTAT.S.F00 @@ -1752,15 +1771,18 @@ tests: value: 1 - label: - "Step 12: TH writes value 3 for attribute ControlSequenceOfOperation. - If TSTAT.S.F00 is true & TSTAT.S.F01 is false" + "Step 12: Test Harness writes value 3 for attribute + ControlSequenceOfOperation. If TSTAT.S.F00 is true & TSTAT.S.F01 is + false" command: "writeAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 && !TSTAT.S.F01 arguments: value: 3 - - label: "Step 12: Read it back again to confirm the successful write" + - label: + "Step 12: Test Harness Read it back again to confirm the successful + write" command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 && !TSTAT.S.F01 @@ -1768,15 +1790,17 @@ tests: value: 3 - label: - "Step 12: TH writes value 4 for attribute ControlSequenceOfOperation. - If TSTAT.S.F01 & TSTAT.S.F00 are true" + "Step 12: Test Harness writes value 4 for attribute + ControlSequenceOfOperation. If TSTAT.S.F01 & TSTAT.S.F00 are true" command: "writeAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 && TSTAT.S.F01 arguments: value: 4 - - label: "Step 12: Read it back again to confirm the successful write" + - label: + "Step 12: Test Harness Read it back again to confirm the successful + write" command: "readAttribute" attribute: "ControlSequenceOfOperation" PICS: TSTAT.S.F00 && TSTAT.S.F01 @@ -1784,8 +1808,8 @@ tests: value: 4 - label: - "Writes MaxHeatSetpointLimit attribute to default value of 2950 to - meet deadband constraint" + "Test Harness Writes MaxHeatSetpointLimit attribute to default value + of 2950 to meet deadband constraint" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.F05 @@ -1817,8 +1841,8 @@ tests: value: -30 - label: - "Step 13: Reads back OccupiedHeatingSetpoint to confirm the success of - the write" + "Step 13: Test Harness Reads back OccupiedHeatingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 @@ -1832,7 +1856,7 @@ tests: arguments: value: 2000 - - label: "Step 14: Sends SetpointRaise Command Heat Only" + - label: "Step 14: Test Harness Sends SetpointRaise Command Heat Only" PICS: TSTAT.S.F00 command: "SetpointRaiseLower" arguments: @@ -1843,15 +1867,15 @@ tests: value: 30 - label: - "Step 14: Reads back OccupiedHeatingSetpoint to confirm the success of - the write" + "Step 14: Test Harness Reads back OccupiedHeatingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 response: value: 2300 - - label: "Step 15: Sends SetpointRaise Command Cool Only" + - label: "Step 15: Test Harness Sends SetpointRaise Command Cool Only" PICS: TSTAT.S.F01 command: "SetpointRaiseLower" arguments: @@ -1862,8 +1886,8 @@ tests: value: -30 - label: - "Step 15: Reads back OccupiedCoolingSetpoint to confirm the success of - the write" + "Step 15: Test Harness Reads back OccupiedCoolingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 @@ -1877,7 +1901,7 @@ tests: arguments: value: 2600 - - label: "Step 16: Sends SetpointRaise Command Cool Only" + - label: "Step 16: Test Harness Sends SetpointRaise Command Cool Only" PICS: TSTAT.S.F01 command: "SetpointRaiseLower" arguments: @@ -1888,8 +1912,8 @@ tests: value: 30 - label: - "Step 16: Reads back OccupiedCoolingSetpoint to confirm the success of - the write" + "Step 16: Test Harness Reads back OccupiedCoolingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 @@ -1910,7 +1934,7 @@ tests: arguments: value: 2000 - - label: "Step 17: Sends SetpointRaise Command Heat & Cool" + - label: "Step 17: Test Harness Sends SetpointRaise Command Heat & Cool" PICS: TSTAT.S.F00 || TSTAT.S.F01 command: "SetpointRaiseLower" arguments: @@ -1921,8 +1945,8 @@ tests: value: -30 - label: - "Step 17: Reads back OccupiedCoolingSetpoint to confirm the success of - the write" + "Step 17: Test Harness Reads back OccupiedCoolingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 @@ -1930,8 +1954,8 @@ tests: value: 2300 - label: - "Step 17: Reads back OccupiedHeatingSetpoint to confirm the success of - the write" + "Step 17: Test Harness Reads back OccupiedHeatingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 @@ -1952,7 +1976,7 @@ tests: arguments: value: 2000 - - label: "Step 18: Sends SetpointRaise Command Heat & Cool" + - label: "Step 18: Test Harness Sends SetpointRaise Command Heat & Cool" PICS: TSTAT.S.F00 || TSTAT.S.F01 command: "SetpointRaiseLower" arguments: @@ -1963,8 +1987,8 @@ tests: value: 30 - label: - "Step 18: Reads back OccupiedCoolingSetpoint to confirm the success of - the write" + "Step 18: Test Harness Reads back OccupiedCoolingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedCoolingSetpoint" PICS: TSTAT.S.F01 @@ -1972,8 +1996,8 @@ tests: value: 2900 - label: - "Step 18: Reads back OccupiedHeatingSetpoint to confirm the success of - the write" + "Step 18: Test Harness Reads back OccupiedHeatingSetpoint to confirm + the success of the write" command: "readAttribute" attribute: "OccupiedHeatingSetpoint" PICS: TSTAT.S.F00 diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml index 56d387720a5e23..4ed2aee6616993 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 12.1.1. [TC-TSUIC-1.1] Global attributes with server as DUT +name: 12.1.1. [TC-TSUIC-1.1] Global attributes with DUT as Server PICS: - TSUIC.S @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml index 8f4059c724a46e..7b6ba022be98b1 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +31,8 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: TemperatureDisplayMode" + - label: + "Step 2: TH reads the TemperatureDisplayMode attribute from the DUT" PICS: TSUIC.S.A0000 command: "readAttribute" attribute: "TemperatureDisplayMode" @@ -41,7 +42,7 @@ tests: minValue: 0 maxValue: 1 - - label: "Step 3: Read the mandatory attribute: KeypadLockout" + - label: "Step 3: TH reads the KeypadLockout attribute from the DUT" PICS: TSUIC.S.A0001 command: "readAttribute" attribute: "KeypadLockout" @@ -52,7 +53,8 @@ tests: maxValue: 5 - label: - "Step 4: Read the optional attribute: ScheduleProgrammingVisibility" + "Step 4: TH reads the ScheduleProgrammingVisibility attribute from the + DUT" PICS: TSUIC.S.A0002 command: "readAttribute" attribute: "ScheduleProgrammingVisibility" diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml index c374301d5fa46d..936ee0715ea3ae 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_2_2.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -32,8 +32,8 @@ tests: value: nodeId - label: - "Step 2a: Writes a value of 0 to TemperatureDisplayMode attribute of - DUT" + "Step 2a: TH writes a value of 0 to TemperatureDisplayMode attribute + of DUT" PICS: TSUIC.S.A0000 command: "writeAttribute" attribute: "TemperatureDisplayMode" @@ -59,8 +59,8 @@ tests: value: 0 - label: - "Step 2c: Writes a value of 1 to TemperatureDisplayMode attribute of - DUT" + "Step 2c: TH writes a value of 1 to TemperatureDisplayMode attribute + of DUT" PICS: TSUIC.S.A0000 command: "writeAttribute" attribute: "TemperatureDisplayMode" @@ -86,8 +86,8 @@ tests: value: 1 - label: - "Step 2e: Writes a value of greater than 1 to TemperatureDisplayMode - attribute of DUT" + "Step 2e: TH writes a value of greater than 1 to + TemperatureDisplayMode attribute of DUT" PICS: TSUIC.S.A0000 command: "writeAttribute" attribute: "TemperatureDisplayMode" @@ -103,7 +103,7 @@ tests: response: value: 1 - - label: "Step 3a: Writes a value of 0 to KeypadLockout attribute of DUT" + - label: "Step 3a: TH writes a value of 0 to KeypadLockout attribute of DUT" PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "KeypadLockout" @@ -128,7 +128,7 @@ tests: response: value: 0 - - label: "Step 3c: Writes a value of 1 to KeypadLockout attribute of DUT" + - label: "Step 3c: TH writes a value of 1 to KeypadLockout attribute of DUT" PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "KeypadLockout" @@ -153,7 +153,7 @@ tests: response: value: 1 - - label: "Step 3e: Writes a value of 2 to KeypadLockout attribute of DUT" + - label: "Step 3e: TH writes a value of 2 to KeypadLockout attribute of DUT" PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "KeypadLockout" @@ -178,7 +178,7 @@ tests: response: value: 2 - - label: "Step 3g: Writes a value of 3 to KeypadLockout attribute of DUT" + - label: "Step 3g: TH writes a value of 3 to KeypadLockout attribute of DUT" PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "KeypadLockout" @@ -203,7 +203,7 @@ tests: response: value: 3 - - label: "Step 3i: Writes a value of 4 to KeypadLockout attribute of DUT" + - label: "Step 3i: TH writes a value of 4 to KeypadLockout attribute of DUT" PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "KeypadLockout" @@ -228,7 +228,7 @@ tests: response: value: 4 - - label: "Step 3k: Writes a value of 5 to KeypadLockout attribute of DUT" + - label: "Step 3k: TH writes a value of 5 to KeypadLockout attribute of DUT" PICS: TSUIC.S.A0001 command: "writeAttribute" attribute: "KeypadLockout" @@ -272,7 +272,7 @@ tests: value: 5 - label: - "Step 4a: Writes a value of 0 to ScheduleProgrammingVisibility + "Step 4a: TH writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT" PICS: TSUIC.S.A0002 command: "writeAttribute" @@ -302,7 +302,7 @@ tests: value: 0 - label: - "Step 4c: Writes a value of 1 to ScheduleProgrammingVisibility + "Step 4c: TH writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT" PICS: TSUIC.S.A0002 command: "writeAttribute" @@ -332,7 +332,7 @@ tests: value: 1 - label: - "Step 4e: Writes a value of greater than 1 to + "Step 4e: TH writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT" PICS: TSUIC.S.A0002 command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_TVOCCONC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TVOCCONC_1_1.yaml index 8b585acada6a31..8ccf1825791667 100644 --- a/src/app/tests/suites/certification/Test_TC_TVOCCONC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TVOCCONC_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: @@ -40,8 +42,8 @@ tests: type: int16u - label: - "Step 3a: Read the global attribute: FeatureMap and check for either - bit 0 or 1 set" + "Step 3a: TH reads from the DUT the FeatureMap attribute and check for + either bit 0 or 1 set" command: "readAttribute" attribute: "FeatureMap" response: @@ -181,7 +183,7 @@ tests: type: bitmap32 hasMasksClear: [0x20] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" command: "readAttribute" attribute: "AttributeList" PICS: PICS_EVENT_LIST_ENABLED @@ -190,7 +192,7 @@ tests: type: list contains: [9, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute." command: "readAttribute" attribute: "AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" @@ -199,7 +201,8 @@ tests: type: list contains: [9, 65528, 65529, 65531, 65532, 65533] - - label: "Step 4b: Read the optional attribute Uncertainty in AttributeList" + - label: + "Step 4b: TH reads the optional attribute Uncertainty in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: TVOCCONC.S.A0007 && TVOCCONC.S.F00 @@ -220,7 +223,7 @@ tests: excludes: [7] - label: - "Step 4d: Read the optional, feature dependent attributes + "Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList" command: "readAttribute" @@ -244,7 +247,7 @@ tests: excludes: [0, 1, 2, 7, 8] - label: - "Step 4f: Read the optional, feature dependent attributes + "Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -266,7 +269,7 @@ tests: excludes: [3, 4] - label: - "Step 4h: Read the optional, feature dependent attributes + "Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList" command: "readAttribute" attribute: "AttributeList" @@ -289,8 +292,8 @@ tests: excludes: [5, 6] - label: - "Step 4j: Read the optional, feature dependent attribute LevelValue in - AttributeList" + "Step 4j: TH reads the optional, feature dependent attribute + LevelValue in AttributeList" command: "readAttribute" attribute: "AttributeList" PICS: TVOCCONC.S.F01 @@ -310,7 +313,7 @@ tests: type: list excludes: [10] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the EventList attribute" command: "readAttribute" attribute: "EventList" PICS: PICS_EVENT_LIST_ENABLED @@ -319,7 +322,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: AcceptedCommandList" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -327,7 +330,7 @@ tests: constraints: type: list - - label: "Step 7: Read the global attribute: GeneratedCommandList" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml index 10210d6cbf777c..e78f650215c24f 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -65,7 +67,7 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH reads EventList attribute from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -74,7 +76,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList attribute from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -82,7 +84,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList attribute from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_2_1.yaml index 0b1388b4778454..932780bc3e4078 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_2_1.yaml @@ -24,7 +24,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -32,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH reads LabelList attribute of the DUT" + - label: "Step 1: TH reads LabelList from the DUT" PICS: ULABEL.S.A0000 command: "readAttribute" attribute: "LabelList" diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_2_2.yaml index f87164cb396b80..a6a4d2c120287f 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_2_2.yaml @@ -23,7 +23,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +32,10 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH writes LabelList attribute from the DUT" + - label: + "Step 1: TH writes LabelList attribute on the DUT with following + entry: 'roomName':'master bedroom 1','orientation':'east', + 'floor':'2', 'roomType':'bedroom'" PICS: ULABEL.S.A0000 command: "writeAttribute" attribute: "LabelList" @@ -44,7 +48,7 @@ tests: { Label: "roomType", Value: "bedroom" }, ] - - label: "Step 2: TH reads LabelList attribute from the DUT" + - label: "Step 2: TH reads LabelList attribute of the DUT" PICS: ULABEL.S.A0000 command: "readAttribute" attribute: "LabelList" diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_2_3.yaml index e1febef45be3a9..42e698f2ab2992 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_2_3.yaml @@ -26,7 +26,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -34,7 +35,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH writes LabelList attribute of the DUT" + - label: + "Step 1: TH writes LabelList attribute of the DUT by setting + 'room':'17_bytesIsTooLong'" PICS: ULABEL.S.A0000 command: "writeAttribute" attribute: "LabelList" @@ -49,7 +52,9 @@ tests: response: error: CONSTRAINT_ERROR - - label: "Step 2: TH writes LabelList attribute of the DUT" + - label: + "Step 2: TH writes LabelList attribute of the DUT by setting + '17_bytesIsTooLong':'foobar'" PICS: ULABEL.S.A0000 command: "writeAttribute" attribute: "LabelList" diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_2_4.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_2_4.yaml index ae8a204a879de5..206b74260ccd01 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_2_4.yaml @@ -26,7 +26,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -34,7 +35,9 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: TH writes LabelList attribute of the DUT" + - label: + "Step 1: TH writes LabelList attribute of the DUT with entry as + following: 'room':'bedroom 1','orientation':'east' " PICS: ULABEL.S.A0000 command: "writeAttribute" attribute: "LabelList" @@ -56,7 +59,9 @@ tests: { Label: "Orientation", Value: "east" }, ] - - label: "Step 3: TH writes LabelList attribute of the DUT" + - label: + "Step 3: TH writes LabelList attribute of the DUT with an entry as + empty values in the list" PICS: ULABEL.S.A0000 command: "writeAttribute" attribute: "LabelList" diff --git a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml index 49dda66b14df29..59de9edbd7a636 100644 --- a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml @@ -25,7 +25,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +34,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 1: Read the global attribute: ClusterRevision" + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +42,7 @@ tests: constraints: type: int16u - - label: "Step 2: Read the global attribute: FeatureMap" + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -49,7 +50,7 @@ tests: constraints: type: bitmap32 - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -58,7 +59,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 3a: Read the global attribute: AttributeList" + - label: "Step 3a: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -67,7 +68,8 @@ tests: type: list contains: [65528, 65529, 65531, 65532, 65533] - - label: "Step 3b: Read the optional attribute(MACAddress) in AttributeList" + - label: + "Step 3b: TH reads the optional attribute(MACAddress) in AttributeList" PICS: WAKEONLAN.S.A0000 command: "readAttribute" attribute: "AttributeList" @@ -76,7 +78,7 @@ tests: type: list contains: [0] - - label: "Step 4: Read the global attribute: AcceptedCommandList" + - label: "Step 4: TH reads the global attribute: AcceptedCommandList" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -84,7 +86,7 @@ tests: constraints: type: list - - label: "Step 5: Read the global attribute: GeneratedCommandList" + - label: "Step 5: TH reads the global attribute: GeneratedCommandList" command: "readAttribute" attribute: "GeneratedCommandList" response: @@ -92,7 +94,7 @@ tests: constraints: type: list - - label: "Step 6: Read the global attribute: EventList" + - label: "Step 6: TH reads the global attribute: EventList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_4_1.yaml b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_4_1.yaml index 6243fb7ab24ccc..eb36c1a41801d4 100644 --- a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_4_1.yaml @@ -24,7 +24,8 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: + "Commission DUT to TH (can be skipped if done in a preceding test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_WASHERCTRL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_WASHERCTRL_1_1.yaml index 2ef928d704b76f..61e4f130dca7dd 100644 --- a/src/app/tests/suites/certification/Test_TC_WASHERCTRL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WASHERCTRL_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 186.1.1. [TC-WASHERCTRL-1.1] Global attributes with server as DUT +name: 186.1.1. [TC-WASHERCTRL-1.1] Global Attributes with DUT as Server PICS: - WASHERCTRL.S @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Wait for the commissioned device to be retrieved" + - label: "Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -93,8 +93,8 @@ tests: contains: [65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read the feature dependent(WASHERCTRL.S.F00) attributes in - AttributeList from DUT." + "Step 4b: TH reads the feature dependent(WASHERCTRL.S.F00) attributes + in AttributeList from DUT." PICS: WASHERCTRL.S.F00 command: "readAttribute" attribute: "AttributeList" @@ -104,8 +104,8 @@ tests: contains: [0, 1] - label: - "Step 4c: Read the feature dependent(WASHERCTRL.S.F01) attributes in - AttributeList from DUT." + "Step 4c: TH reads the feature dependent(WASHERCTRL.S.F01) attributes + in AttributeList from DUT." PICS: WASHERCTRL.S.F01 command: "readAttribute" attribute: "AttributeList" @@ -114,7 +114,7 @@ tests: type: list contains: [2, 3] - - label: "Step 5: TH reads EventList attribute from DUT" + - label: "Step 5: TH reads from the DUT the EventList attribute." PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -123,7 +123,7 @@ tests: constraints: type: list - - label: "Step 6: TH reads AcceptedCommandList attribute from DUT" + - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -131,7 +131,7 @@ tests: constraints: type: list - - label: "Step 7: TH reads GeneratedCommandList attribute from DUT" + - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_1.yaml index cc33e0685fea1f..c70dbe6ab49f33 100644 --- a/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_1.yaml @@ -31,7 +31,7 @@ config: defaultValue: 17 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_2.yaml index 06b1b2445130df..be22b8bc5e4121 100644 --- a/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WASHERCTRL_2_2.yaml @@ -30,7 +30,7 @@ config: defaultValue: 5 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml index b8417fe63a2046..cde5ae4934b20d 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: Window Covering [TC-WNCV-1.1] Global attributes with server as DUT +name: Window Covering [TC-WNCV-1.1] Global attributes [DUT as Server] PICS: - WNCV.S @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -142,7 +142,7 @@ tests: contains: [26] - label: - "Step 4c: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & + "Step 4c: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList" PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.F03 command: "readAttribute" @@ -153,7 +153,7 @@ tests: contains: [16, 17] - label: - "Step 4d: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) + "Step 4d: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList" PICS: WNCV.S.F00 && WNCV.S.F02 command: "readAttribute" @@ -164,7 +164,7 @@ tests: contains: [11, 14] - label: - "Step 4e: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & + "Step 4e: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList" PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.F03 command: "readAttribute" @@ -175,7 +175,7 @@ tests: contains: [18, 19] - label: - "Step 4f: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) + "Step 4f: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList" PICS: WNCV.S.F01 && WNCV.S.F04 command: "readAttribute" @@ -185,7 +185,7 @@ tests: type: list contains: [12, 15] - - label: "Step 5: Read the global attribute: EventList" + - label: "Step 5: TH reads from the DUT the (0xFFFA) EventList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml index cf66e2031267d7..9cd3c8e595f79c 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml @@ -14,7 +14,7 @@ # TODO : WindowCovering Test WNCV_2_1 add/complete some Conditional test using the FeatureMap (dynamics Mandatory and Optional attributes) -name: Window Covering [TC-WNCV-2.1] Attributes with server as DUT +name: Window Covering [TC-WNCV-2.1] Attributes [DUT as Server] PICS: - WNCV.S @@ -36,7 +36,7 @@ tests: ### MANDATORY Attributes ### 1 MANDATORY Attributes ### Attribute[ 0]: Type ======================================= - - label: "Step 1a: read the RO mandatory attribute default: Type" + - label: "Step 1a: TH reads from the DUT the ( 0) Type attribute" command: "readAttribute" attribute: "Type" PICS: WNCV.S.A0000 @@ -47,7 +47,7 @@ tests: maxValue: 9 ### Attribute[ 7]: ConfigStatus =============================== - - label: "Step 1b: read the RO mandatory attribute default: ConfigStatus" + - label: "Step 1b: TH reads from the DUT the ( 7) ConfigStatus attribute" command: "readAttribute" attribute: "ConfigStatus" PICS: WNCV.S.A0007 @@ -59,7 +59,8 @@ tests: ### Attribute[ 10]: OperationalStatus ========================== - label: - "Step 1c: read the RO mandatory attribute default: OperationalStatus" + "Step 1c: TH reads from the DUT the (10) OperationalStatus attribute: + OperationalStatus" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a @@ -70,7 +71,7 @@ tests: maxValue: 127 ### Attribute[ 13]: EndProductType ============================== - - label: "Step 1d: read the RO mandatory attribute default: EndProductType" + - label: "Step 1d: TH reads from the DUT the (13) EndProductType attribute" command: "readAttribute" attribute: "EndProductType" PICS: WNCV.S.A000d @@ -81,7 +82,7 @@ tests: maxValue: 23 ### Attribute[ 23]: Mode ======================================== - - label: "Step 1e: read the RW mandatory attribute default: Mode" + - label: "Step 1e: TH reads from the DUT the (23) Mode attribute" command: "readAttribute" attribute: "Mode" PICS: WNCV.S.A0017 @@ -91,7 +92,7 @@ tests: minValue: 0 maxValue: 15 - - label: "Step 1f: write a value into the RW mandatory attribute:: Mode" + - label: "Step 1f: TH writes to (23) Mode attribute the value 0" command: "writeAttribute" attribute: "Mode" PICS: WNCV.S.A0017 @@ -101,8 +102,8 @@ tests: ### 2 CONDITIONALLY MANDATORY Attributes ### Attribute[ 11]: TargetPositionLiftPercent100ths ==================== - label: - "Step 2a: read the RO optional attribute default: - TargetPositionLiftPercent100ths" + "Step 2a: TH reads from the DUT the (11) + TargetPositionLiftPercent100ths attribute" command: "readAttribute" attribute: "TargetPositionLiftPercent100ths" PICS: WNCV.S.A000b @@ -114,8 +115,8 @@ tests: ### Attribute[ 12]: TargetPositionTiltPercent100ths ==================== - label: - "Step 2b: read the RO optional attribute default: - TargetPositionTiltPercent100ths" + "Step 2b: TH reads from the DUT the (12) + TargetPositionTiltPercent100ths attribute" command: "readAttribute" attribute: "TargetPositionTiltPercent100ths" PICS: WNCV.S.A000c @@ -127,8 +128,8 @@ tests: ### Attribute[ 14]: CurrentPositionLiftPercent100ths ==================== - label: - "Step 2c: read the RO optional attribute default: - CurrentPositionLiftPercent100ths" + "Step 2c: TH reads from the DUT the (14) + CurrentPositionLiftPercent100ths attribute" command: "readAttribute" attribute: "CurrentPositionLiftPercent100ths" PICS: WNCV.S.A000e @@ -140,8 +141,8 @@ tests: ### Attribute[ 15]: CurrentPositionTiltPercent100ths ==================== - label: - "Step 2d: read the RO optional attribute default: - CurrentPositionTiltPercent100ths" + "Step 2d: TH reads from the DUT the (15) + CurrentPositionTiltPercent100ths attribute" command: "readAttribute" attribute: "CurrentPositionTiltPercent100ths" PICS: WNCV.S.A000f @@ -153,8 +154,8 @@ tests: ### Attribute[ 16]: InstalledOpenLimitLift ==================== - label: - "Step 2e: read the RO optional attribute default: - InstalledOpenLimitLift" + "Step 2e: TH reads from the DUT the (16) InstalledOpenLimitLift + attribute" command: "readAttribute" attribute: "InstalledOpenLimitLift" PICS: WNCV.S.A0010 @@ -167,8 +168,8 @@ tests: ### Attribute[ 17]: InstalledClosedLimitLift ==================== - label: - "Step 2f: read the RO optional attribute default: - InstalledClosedLimitLift" + "Step 2f: TH reads from the DUT the (17) InstalledClosedLimitLift + attribute" command: "readAttribute" attribute: "InstalledClosedLimitLift" PICS: WNCV.S.A0011 @@ -181,8 +182,8 @@ tests: ### Attribute[ 18]: InstalledOpenLimitTilt ==================== - label: - "Step 2g: read the RO optional attribute default: - InstalledOpenLimitTilt" + "Step 2g: TH reads from the DUT the (18) InstalledOpenLimitTilt + attribute" command: "readAttribute" attribute: "InstalledOpenLimitTilt" PICS: WNCV.S.A0012 @@ -195,8 +196,8 @@ tests: ### Attribute[ 19]: InstalledClosedLimitTilt ==================== - label: - "Step 2h: read the RO optional attribute default: - InstalledClosedLimitTilt" + "Step 2h: TH reads from the DUT the (19) InstalledClosedLimitTilt + attribute" command: "readAttribute" attribute: "InstalledClosedLimitTilt" PICS: WNCV.S.A0013 @@ -209,7 +210,7 @@ tests: ### 3 CONDITIONALLY and PURELY OPTIONAL Attributes ### Attribute[ 26]: SafetyStatus ========================== - - label: "Step 3a: read the RO mandatory attribute default: SafetyStatus" + - label: "Step 3a: TH reads from the DUT the (26) SafetyStatus attribute" command: "readAttribute" attribute: "SafetyStatus" PICS: WNCV.S.A001a @@ -221,8 +222,8 @@ tests: ### Attribute[ 1]: PhysicalClosedLimitLift ==================== - label: - "Step 3b: read the RO optional attribute default: - PhysicalClosedLimitLift" + "Step 3b: TH reads from the DUT the ( 1) PhysicalClosedLimitLift + attribute" command: "readAttribute" attribute: "PhysicalClosedLimitLift" PICS: WNCV.S.A0001 @@ -234,8 +235,8 @@ tests: ### Attribute[ 2]: PhysicalClosedLimitTilt ==================== - label: - "Step 3c: read the RO optional attribute default: - PhysicalClosedLimitTilt" + "Step 3c: TH reads from the DUT the ( 2) PhysicalClosedLimitTilt + attribute" command: "readAttribute" attribute: "PhysicalClosedLimitTilt" PICS: WNCV.S.A0002 @@ -247,7 +248,7 @@ tests: ### Attribute[ 3]: CurrentPositionLift ==================== - label: - "Step 3d: read the RO optional attribute default: CurrentPositionLift" + "Step 3d: TH reads from the DUT the ( 3) CurrentPositionLift attribute" command: "readAttribute" attribute: "CurrentPositionLift" PICS: WNCV.S.A0003 && !WNCV.S.A0010 && !WNCV.S.A0011 @@ -259,7 +260,8 @@ tests: ### Attribute[ 3]: CurrentPositionLift ==================== - label: - "Step 3d: read the RO optional attribute default: CurrentPositionLift" + "Step 3d: TH reads the RO optional attribute default: + CurrentPositionLift" command: "readAttribute" attribute: "CurrentPositionLift" PICS: WNCV.S.A0003 && WNCV.S.A0010 && WNCV.S.A0011 @@ -271,7 +273,7 @@ tests: ### Attribute[ 4]: CurrentPositionTilt ==================== - label: - "Step 3e: read the RO optional attribute default: CurrentPositionTilt" + "Step 3e: TH reads from the DUT the ( 4) CurrentPositionTilt attribute" command: "readAttribute" attribute: "CurrentPositionTilt" PICS: WNCV.S.A0004 && !WNCV.S.A0012 && !WNCV.S.A0013 @@ -283,7 +285,8 @@ tests: ### Attribute[ 4]: CurrentPositionTilt ==================== - label: - "Step 3e: read the RO optional attribute default: CurrentPositionTilt" + "Step 3e: TH reads the RO optional attribute default: + CurrentPositionTilt" command: "readAttribute" attribute: "CurrentPositionTilt" PICS: WNCV.S.A0004 && WNCV.S.A0012 && WNCV.S.A0013 @@ -295,8 +298,8 @@ tests: ### Attribute[ 5]: NumberOfActuationsLift ==================== - label: - "Step 3f: read the RO optional attribute default: - NumberOfActuationsLift" + "Step 3f: TH reads from the DUT the ( 5) NumberOfActuationsLift + attribute" command: "readAttribute" attribute: "NumberOfActuationsLift" PICS: WNCV.S.A0005 @@ -308,8 +311,8 @@ tests: ### Attribute[ 6]: NumberOfActuationsTilt ==================== - label: - "Step 3g: read the RO optional attribute default: - NumberOfActuationsTilt" + "Step 3g: TH reads from the DUT the ( 6) NumberOfActuationsTilt + attribute" command: "readAttribute" attribute: "NumberOfActuationsTilt" PICS: WNCV.S.A0006 @@ -321,8 +324,8 @@ tests: ### Attribute[ 8]: CurrentPositionLiftPercentage ==================== - label: - "Step 3h: read the RO optional attribute default: - CurrentPositionLiftPercentage" + "Step 3h: TH reads from the DUT the ( 8) CurrentPositionLiftPercentage + attribute" command: "readAttribute" attribute: "CurrentPositionLiftPercentage" PICS: WNCV.S.A0008 @@ -334,8 +337,8 @@ tests: ### Attribute[ 9]: CurrentPositionTiltPercentage ==================== - label: - "Step 3i:read the RO optional attribute default: - CurrentPositionTiltPercentage" + "Step 3i: TH reads from the DUT the ( 9) CurrentPositionTiltPercentage + attribute" command: "readAttribute" attribute: "CurrentPositionTiltPercentage" PICS: WNCV.S.A0009 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml index 6bfe2e2dfa8a16..25ea5b5dd207c9 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_2.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 39.2.2. [TC-WNCV-2.2] ConfigStatus Attribute with server as DUT +name: 39.2.2. [TC-WNCV-2.2] ConfigStatus attribute [DUT as Server] PICS: - WNCV.S @@ -32,8 +32,8 @@ tests: value: nodeId - label: - "Step 1a: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & - WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b" + "Step 1a: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) + & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b" command: "readAttribute" attribute: "ConfigStatus" PICS: WNCV.S.A0007 && WNCV.S.F00 && WNCV.S.F02 @@ -43,8 +43,8 @@ tests: hasMasksSet: [0x8] - label: - "Step 1b: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & - WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b" + "Step 1b: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) + & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b" command: "readAttribute" attribute: "ConfigStatus" PICS: WNCV.S.A0007 && !WNCV.S.F00 && !WNCV.S.F02 @@ -54,8 +54,8 @@ tests: hasMasksClear: [0x8] - label: - "Step 1c: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & - WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b," + "Step 1c: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) + & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b," command: "readAttribute" attribute: "ConfigStatus" PICS: WNCV.S.A0007 && WNCV.S.F01 && WNCV.S.F04 @@ -65,8 +65,8 @@ tests: hasMasksSet: [0x10] - label: - "Step 1d: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & - WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b," + "Step 1d: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) + & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b," command: "readAttribute" attribute: "ConfigStatus" PICS: WNCV.S.A0007 && !WNCV.S.F01 && !WNCV.S.F04 @@ -76,8 +76,8 @@ tests: hasMasksClear: [0x10] - label: - "Step 1e: Reads ConfigStatus attribute from DUT, value of bit 0 must - be 1b (operational)" + "Step 1e: TH reads ConfigStatus attribute from DUT, value of bit 0 + must be 1b (operational)" command: "readAttribute" attribute: "ConfigStatus" PICS: WNCV.S.A0007 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_3.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_3.yaml index f684d75b906809..1e771b8864d101 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_3.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 36.2.3. [TC-WNCV-2.3] Mode Attribute with server as DUT +name: 36.2.3. [TC-WNCV-2.3] Mode attribute [DUT as Server] PICS: - WNCV.S diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml index 17479bb92ddcbc..3c7a64a32cdaa8 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_4.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 39.2.4. [TC-WNCV-2.4] Type Attribute with server as DUT +name: 39.2.4. [TC-WNCV-2.4] Type attribute [DUT as Server] PICS: - WNCV.S @@ -32,7 +32,7 @@ tests: value: nodeId - label: - "Step 1a: Reads Type attribute from DUT, If (WNCV.S.F00(LF) & + "Step 1a: TH reads Type attribute from DUT, If (WNCV.S.F00(LF) & !WNCV.S.F01(TL)) value must be between [min=0, max=5] or equals to 9" command: "readAttribute" attribute: "Type" @@ -44,7 +44,7 @@ tests: maxValue: 9 - label: - "Step 1b: Reads Type attribute from DUT, If (!WNCV.S.F00(LF) & + "Step 1b: TH reads Type attribute from DUT, If (!WNCV.S.F00(LF) & WNCV.S.F01(TL)) value must be only equal to 7" command: "readAttribute" attribute: "Type" @@ -55,7 +55,7 @@ tests: type: enum8 - label: - "Step 1c: Reads Type attribute from DUT, If (WNCV.S.F00(LF) & + "Step 1c: TH reads Type attribute from DUT, If (WNCV.S.F00(LF) & WNCV.S.F01(TL)) value is either 6 or 8" command: "readAttribute" attribute: "Type" diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml index f172a85ef99528..525f8a172c11c1 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_5.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 39.2.5. [TC-WNCV-2.5] EndProductType Attribute with server as DUT +name: 39.2.5. [TC-WNCV-2.5] EndProductType attribute [DUT as Server] PICS: - WNCV.S diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml index 2941b7225a7a4e..9a7da4b4354736 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml @@ -14,7 +14,7 @@ name: Window Covering [TC-WNCV-3.1] UpOrOpen command & OperationalStatus attribute - Verification DUT_Server + Verification [DUT as Server] PICS: - WNCV.S @@ -130,7 +130,7 @@ tests: PICS: WNCV.S.C00.Rsp ### Depending on the DUT specs we might prefer a arguments here - - label: "Step 2b: DUT updates its attributes" + - label: "Step 2b: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -158,7 +158,7 @@ tests: response: value: 0 - - label: "Step 2e: TH leave the device moving for 1-5 seconds" + - label: "Step 2e: TH waits for 1-5 seconds movement(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -310,9 +310,7 @@ tests: command: "StopMotion" PICS: WNCV.S.C02.Rsp - - label: - "Step 4b: TH waits for 3 seconds the end of inertial movement(s) on - the device" + - label: "Step 4b: TH waits for 1-5 seconds end of motion(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -322,9 +320,7 @@ tests: ### Must Be ZERO # The value of bit 0..1 must be 00b & if (LF) value of bit 2..3 must be 00b & if (TL) value of bit 4..5 must be 00b - - label: - "Step 4c: Verify DUT update OperationalStatus attribute to TH after a - StopMotion" + - label: "Step 4c: TH reads OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a @@ -332,7 +328,7 @@ tests: value: 0 ### Step 5x -> Check Stop Motion longer period effect - - label: "Step 5a: TH waits for x seconds attributes update on the device" + - label: "Step 5a: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml index ec3a1bdf761686..020477537210c1 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml @@ -14,7 +14,7 @@ name: Window Covering [TC-WNCV-3.2] DownOrClose command & OperationalStatus - attribute Verification [DUT_Server] + attribute Verification [DUT as Server] PICS: - WNCV.S @@ -130,7 +130,7 @@ tests: PICS: WNCV.S.C01.Rsp ### Depending on the DUT specs we might prefer a arguments here - - label: "Step 2b: DUT updates its attributes" + - label: "Step 2b: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -310,9 +310,7 @@ tests: command: "StopMotion" PICS: WNCV.S.C02.Rsp - - label: - "Step 4b: TH waits for 3 seconds the end of inertial movement(s) on - the device" + - label: "Step 4b: TH waits for 1-5 seconds end of motion(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -322,9 +320,7 @@ tests: ### Must Be ZERO # The value of bit 0..1 must be 00b & if (LF) value of bit 2..3 must be 00b & if (TL) value of bit 4..5 must be 00b - - label: - "Step 4c: Verify DUT update OperationalStatus attribute to TH after a - StopMotion" + - label: "Step 4c: TH reads OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a @@ -332,7 +328,7 @@ tests: value: 0 ### Step 5x -> Check Stop Motion longer period effect - - label: "Step 5a: TH waits for x seconds attributes update on the device" + - label: "Step 5a: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml index a96dfed6848565..00bf4bc19f6b95 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml @@ -14,7 +14,7 @@ name: Window Covering [TC-WNCV-3.3] StopMotion command & OperationalStatus - attribute Verification [DUT_Server] + attribute Verification [DUT as Server] PICS: - WNCV.S @@ -44,7 +44,7 @@ tests: command: "DownOrClose" PICS: WNCV.S.C01.Rsp - - label: "Step 1b: TH Waits for 6-8 seconds movement(s) on the device" + - label: "Step 1b: TH waits for 6-8 seconds movement(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -58,7 +58,7 @@ tests: command: "UpOrOpen" PICS: WNCV.S.C00.Rsp - - label: "Step 1d: TH Waits for 2 seconds movement(s) on the device" + - label: "Step 1d: TH waits for 1-5 seconds revert motion(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -74,7 +74,7 @@ tests: constraints: notValue: 0 - - label: "Step 1d: TH Waits for 2 seconds movement(s) on the device" + - label: "Step 1f: TH waits for 2 seconds" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -100,9 +100,7 @@ tests: PICS: WNCV.S.C02.Rsp ### DUT Slow down and stop - - label: - "Step 2b: TH waits for 3 seconds the end of inertial movement(s) on - the device" + - label: "Step 2b: TH waits for 1-5 seconds end of motion(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -112,9 +110,7 @@ tests: ### Must Be ZERO # The value of bit 0..1 must be 00b & if (LF) value of bit 2..3 must be 00b & if (TL) value of bit 4..5 must be 00b - - label: - "Step 2c: TH reads OperationalStatus attribute from DUT after a - StopMotion" + - label: "Step 2c: TH reads OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml index 7f0951646ba01b..c93ce3056311bd 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml @@ -13,8 +13,8 @@ # limitations under the License. name: - Window Covering [TC-WNCV-3.4] UpOrOpen Long-Run Verification with server as - DUT + Window Covering [TC-WNCV-3.4] UpOrOpen command Long-Run Verification [DUT as + Server] PICS: - WNCV.S @@ -50,9 +50,7 @@ tests: ### DUT adjusts to a non-open position ### Testers should input the fastMotionDuration parameter that match their DUT behavior - - label: - "Step 1b: TH Waits for fastMotionDuration seconds movement(s) on the - device" + - label: "Step 1b: TH waits for 5-15 seconds movement(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -69,9 +67,7 @@ tests: ### DUT move toward its fully-open position ### Testers should input the fullMotionDuration parameter that match their DUT behavior - - label: - "Step 2b: TH Waits for fullMotionDuration seconds movement(s) on the - device" + - label: "Step 2b: TH waits for PIXIT.WNCV.FULLMOTION on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -79,7 +75,7 @@ tests: - name: "ms" value: fullMotionDuration - - label: "Step 2c: TH reads OperationalStatus attribute from DUT" + - label: "Step 2c: TH checks OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml index 735fb0aaff648f..b1ab57e8fb81ac 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml @@ -13,9 +13,8 @@ # limitations under the License. name: - Window Covering [TC-WNCV-3.5] DownOrClose Long-Run Verification with server - as DUT - + Window Covering [TC-WNCV-3.5] DownOrClose command Long-Run Verification [DUT + as Server] PICS: - WNCV.S @@ -42,17 +41,13 @@ tests: ################ Position Init Phase ############# ### Step 1x -> Initialize the Covering position before any testing ### MANDATORY Init Commands - - label: - "Step 1a: TH sends UpOrOpen command to preposition the DUT in the - opposite direction" + - label: "Step 1a: TH sends UpOrOpen command to DUT" command: "UpOrOpen" PICS: WNCV.S.C00.Rsp ### DUT adjusts to a non-closed position ### Testers should input the fastMotionDuration parameter that match their DUT behavior - - label: - "Step 1b: TH Waits for fastMotionDuration seconds movement(s) on the - device" + - label: "Step 1b: TH waits for 5-15 seconds movement(s) on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -69,9 +64,7 @@ tests: ### DUT move toward its fully-closed position ### Testers should input the fullMotionDuration parameter that match their DUT behavior - - label: - "Step 2b: TH Waits for fullMotionDuration seconds movement(s) on the - device" + - label: "Step 2b: TH waits for PIXIT.WNCV.FULLMOTION on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -79,7 +72,7 @@ tests: - name: "ms" value: fullMotionDuration - - label: "Step 2c: TH reads OperationalStatus attribute from DUT" + - label: "Step 2c: TH checks OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml index 8b48bc5a3b83be..2e2f29b16ae2be 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml @@ -13,8 +13,8 @@ # limitations under the License. name: - Window Covering [TC-WNCV-4.1] GoToLiftPercentage Long-Run Verification with - server as DUT + Window Covering [TC-WNCV-4.1] GoToLiftPercentage command Long-Run + Verification [DUT as Server] PICS: - WNCV.S @@ -77,7 +77,7 @@ tests: value: 2500 ### Depends on a sleep/wait command how to do this with a real device for CI keep at 100ms - - label: "Step 2b: DUT updates its attributes" + - label: "Step 2b: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -97,7 +97,7 @@ tests: ### Step 3x -> Verify the DUT has reached its 25% ### DUT moves toward its 25% position - - label: "Step 3a: TH set a timeout of X minutes for failure" + - label: "Step 3a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -106,7 +106,7 @@ tests: value: fullMotionDuration ### Check for END OF MOVEMENTs - - label: "Step 3b: TH reads OperationalStatus attribute from DUT" + - label: "Step 3b: TH checks OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a @@ -146,7 +146,7 @@ tests: value: 7520 ### Depends on a sleep/wait command how to do this with a real device for CI keep at 100ms - - label: "Step 4b: DUT updates its attributes" + - label: "Step 4b: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -166,7 +166,7 @@ tests: ### Step 5x -> Verify the DUT has reached its 75.2% ### DUT moves toward its 75.2% position - - label: "Step 5a: TH waits for x seconds movement(s) on the DUT" + - label: "Step 5a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -175,7 +175,7 @@ tests: value: fullMotionDuration ### Check for END OF MOVEMENTs - - label: "Step 5b: TH reads OperationalStatus attribute from DUT" + - label: "Step 5b: TH checks OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml index 381ed5906a3a92..3290453635fee0 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml @@ -13,8 +13,8 @@ # limitations under the License. name: - Window Covering [TC-WNCV-4.2] GoToTiltPercentage Long-Run Verification with - server as DUT + Window Covering [TC-WNCV-4.2] GoToTiltPercentage command Long-Run + Verification [DUT as Server] PICS: - WNCV.S @@ -77,7 +77,7 @@ tests: value: 3000 ### Depends on a sleep/wait command how to do this with a real device for CI keep at 100ms - - label: "Step 2b: DUT updates its attributes" + - label: "Step 2b: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -97,7 +97,7 @@ tests: ### Step 3x -> Verify the DUT has reached its 30% ### DUT moves toward its 30% position - - label: "Step 3a: TH set a timeout of X minutes for failure" + - label: "Step 3a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -106,7 +106,7 @@ tests: value: fullMotionDuration ### Check for END OF MOVEMENTs - - label: "Step 3b: TH reads OperationalStatus attribute from DUT" + - label: "Step 3b: TH checks OperationalStatus attribute from DUT" command: "readAttribute" attribute: "OperationalStatus" PICS: WNCV.S.A000a @@ -146,7 +146,7 @@ tests: value: 6005 ### Depends on a sleep/wait command how to do this with a real device for CI keep at 100ms - - label: "Step 4b: DUT updates its attributes" + - label: "Step 4b: TH waits for 100-1000 ms" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -166,7 +166,7 @@ tests: ### Step 5x -> Verify the DUT has reached its 60.2% ### DUT moves toward its 60.2% position - - label: "Step 5a: TH waits for x seconds movement(s) on the DUT" + - label: "Step 5a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT" cluster: "DelayCommands" command: "WaitForMs" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_3.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_3.yaml index 9e09a33d511ddb..4c1260e51c8ae7 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_3.yaml @@ -13,8 +13,8 @@ # limitations under the License. name: - Window Covering [TC-WNCV-4.3] GoToLiftPercentage Limits Verification with - server as DUT + Window Covering [TC-WNCV-4.3] GoToLiftPercentage command Limits Verification + [DUT as Server] PICS: - WNCV.S diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_4.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_4.yaml index dbc52d07d1cbc0..30d548836129d9 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_4.yaml @@ -13,8 +13,8 @@ # limitations under the License. name: - Window Covering [TC-WNCV-4.4] GoToTiltPercentage Limits Verification with - server as DUT + Window Covering [TC-WNCV-4.4] GoToTiltPercentage command Limits Verification + [DUT as Server] PICS: - WNCV.S diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml index 46d46eca4ed94f..77d959b26c4639 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_5.yaml @@ -14,8 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - Window Covering [TC-WNCV-4.5] Positions Storage Verification with server as - DUT + Window Covering [TC-WNCV-4.5] Positions Storage Verification [DUT as Server] PICS: - WNCV.S diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 50aff04b195f72..1323cbbaf5d0dd 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -334,6 +334,7 @@ DISHM.S.C01.Tx=1 #Manual controllable DISHM.S.M.CAN_TEST_MODE_FAILURE=1 +DISHM.S.M.CAN_MANUALLY_CONTROLLED=0 #PIXIT PIXIT.DISHM.MODE_CHANGE_FAIL=1 @@ -749,8 +750,10 @@ PIXIT.LWM.MODE_CHANGE_FAIL=1 PIXIT.LWM.MODE_CHANGE_OK=1 LWM.S.M.CAN_TEST_MODE_FAILURE=1 +LWM.S.M.CAN_MANUALLY_CONTROLLED=1 # Time Format Localization Cluster +LTIME.S.F00=1 LTIME.S=1 LTIME.S.A0000=1 LTIME.S.A0001=1 @@ -1015,9 +1018,9 @@ PS.S.F00=0 PS.S.F01=1 PS.S.F02=0 PS.S.F03=0 -PS.M.ManualWiredFault=1 -PS.M.ManualBatFault=1 -PS.M.ManualBatChargeFault=1 +PS.S.M.ManualWiredFault=1 +PS.S.M.ManualBatFault=1 +PS.S.M.ManualBatChargeFault=1 PS.C=0 PS.C.AM-READ=0 @@ -1201,6 +1204,19 @@ ACT.C.C09.Tx=0 ACT.C.C0a.Tx=0 ACT.C.C0b.Tx=0 +ACT.S.C00.Rsp=0 +ACT.S.C01.Rsp=0 +ACT.S.C02.Rsp=0 +ACT.S.C03.Rsp=0 +ACT.S.C04.Rsp=0 +ACT.S.C05.Rsp=0 +ACT.S.C06.Rsp=0 +ACT.S.C07.Rsp=0 +ACT.S.C08.Rsp=0 +ACT.S.C09.Rsp=0 +ACT.S.C0a.Rsp=0 +ACT.S.C0b.Rsp=0 + # Boolean State Cluster BOOL.S=1 BOOL.S.A0000=1 @@ -2134,7 +2150,7 @@ HEPAFREMON.S.C00.Rsp=1 ACFREMON.S=1 ACFREMON.C=0 ACFREMON.S.F00=1 -ACFREMON.S.F01=1 +ACFREMON.S.F01=0 ACFREMON.S.F02=1 ACFREMON.S.A0000=1 ACFREMON.S.A0001=1 From 4ed60df219df0fd1b015cc7b4c657cdcef101fb5 Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Tue, 9 Jan 2024 17:26:09 +0530 Subject: [PATCH 2/7] Auto generated files --- .../zap-generated/test/Commands.h | 10071 ++++++++-------- 1 file changed, 5097 insertions(+), 4974 deletions(-) diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index e697328e97787c..e7d44a7b08a68c 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -2521,32 +2521,32 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: TH1 commissions DUT using admin node ID N1\n"); + err = TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster SubjectsPerAccessControlEntry attribute\n"); if (ShouldSkip("ACL.S.A0002")) { NextTest(); return; } - err = TestStep2ThReadsSubjectsPerAccessControlEntryAttributeFromDut_1(); + err = TestStep2Th1ReadsDutEndpoint0AccessControlClusterSubjectsPerAccessControlEntryAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster TargetsPerAccessControlEntry attribute\n"); if (ShouldSkip("ACL.S.A0003")) { NextTest(); return; } - err = TestStep3ThReadsTargetsPerAccessControlEntryAttributeFromDut_2(); + err = TestStep3Th1ReadsDutEndpoint0AccessControlClusterTargetsPerAccessControlEntryAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntriesPerFabric attribute\n"); if (ShouldSkip("ACL.S.A0004")) { NextTest(); return; } - err = TestStep4ThReadsAccessControlEntriesPerFabricAttributeFromDut_3(); + err = TestStep4Th1ReadsDutEndpoint0AccessControlClusterAccessControlEntriesPerFabricAttribute_3(); break; } @@ -2588,7 +2588,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -2596,7 +2596,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsSubjectsPerAccessControlEntryAttributeFromDut_1() + CHIP_ERROR TestStep2Th1ReadsDutEndpoint0AccessControlClusterSubjectsPerAccessControlEntryAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -2605,9 +2605,9 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { [cluster readAttributeSubjectsPerAccessControlEntryWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT: Error: %@", err); + NSLog(@"Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster SubjectsPerAccessControlEntry attribute: Error: %@", err); } else { - NSLog(@"Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT: Success"); + NSLog(@"Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster SubjectsPerAccessControlEntry attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -2622,7 +2622,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTargetsPerAccessControlEntryAttributeFromDut_2() + CHIP_ERROR TestStep3Th1ReadsDutEndpoint0AccessControlClusterTargetsPerAccessControlEntryAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -2631,9 +2631,9 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { [cluster readAttributeTargetsPerAccessControlEntryWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT: Error: %@", err); + NSLog(@"Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster TargetsPerAccessControlEntry attribute: Error: %@", err); } else { - NSLog(@"Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT: Success"); + NSLog(@"Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster TargetsPerAccessControlEntry attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -2648,7 +2648,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAccessControlEntriesPerFabricAttributeFromDut_3() + CHIP_ERROR TestStep4Th1ReadsDutEndpoint0AccessControlClusterAccessControlEntriesPerFabricAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -2657,15 +2657,15 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { [cluster readAttributeAccessControlEntriesPerFabricWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT: Error: %@", err); + NSLog(@"Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntriesPerFabric attribute: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT: Success"); + NSLog(@"Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntriesPerFabric attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("accessControlEntriesPerFabric", "int16u", "int16u")); - VerifyOrReturn(CheckConstraintMinValue("accessControlEntriesPerFabric", [value unsignedShortValue], 3U)); + VerifyOrReturn(CheckConstraintMinValue("accessControlEntriesPerFabric", [value unsignedShortValue], 4U)); VerifyOrReturn(CheckConstraintMaxValue("accessControlEntriesPerFabric", [value unsignedShortValue], 65535U)); NextTest(); @@ -2726,8 +2726,8 @@ class Test_TC_ACL_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: TH1 commissions DUT using admin node ID N1\n"); + err = TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH1 reads DUT Endpoint 0 OperationalCredentials cluster CurrentFabricIndex attribute\n"); @@ -2975,7 +2975,7 @@ class Test_TC_ACL_2_3 : public TestCommandBridge { chip::Optional mDBadNone; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -3618,156 +3618,156 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: TH1 commissions DUT using admin node ID N1\n"); + err = TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Read the commissioner node ID\n"); err = TestReadTheCommissionerNodeId_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : TP2 - Write ACL giving admin privilege on all EP0\n"); - err = TestTp2WriteAclGivingAdminPrivilegeOnAllEp0_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 1 elements, granting itself administer privileges on all of Endpoint 0 : struct a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: null, Endpoint: 0, DeviceType: null}]\n"); + err = TestStep2ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining1ElementsGrantingItselfAdministerPrivilegesOnAllOfEndpoint0StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldClusterNullEndpoint0DeviceTypeNull_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : TP3 - Read the NOC attribute (Node operational credentials - requires administer)\n"); - err = TestTp3ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_3(); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-scoped read (requires administer privilege)\n"); + err = TestStep3ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricScopedReadRequiresAdministerPrivilege_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : TP4 - Write the location attribute (Basic - requires administer)\n"); - err = TestTp4WriteTheLocationAttributeBasicRequiresAdminister_4(); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege)\n"); + err = TestStep4ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : TP5 - Send the UpdateFabricLabel command (Node operational credentials - requires administer)\n"); - err = TestTp5SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH sends the UpdateFabricLabel command to the Node Operational Credentials cluster with the Label field set to 'TestFabric' (requires administer privilege)\n"); + err = TestStep5ThSendsTheUpdateFabricLabelCommandToTheNodeOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : TP6 - Write NodeLabel attribute (Basic - requires manage)\n"); - err = TestTp6WriteNodeLabelAttributeBasicRequiresManage_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege)\n"); + err = TestStep6ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : TP7 - Send TestEventTrigger (General Diagnostics - requires manage)\n"); - err = TestTp7SendTestEventTriggerGeneralDiagnosticsRequiresManage_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0 (requires manage privilege). Note that this will cause an error to be returned because the EnableKey is invalid, but still indicates that the TH passed the ACL check.\n"); + err = TestStep7ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilegeNoteThatThisWillCauseAnErrorToBeReturnedBecauseTheEnableKeyIsInvalidButStillIndicatesThatTheThPassedTheAclCheck_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : TP8 - Tead the VendorID attribute (Basic - requires view)\n"); - err = TestTp8TeadTheVendorIDAttributeBasicRequiresView_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH reads the VendorID attribute from the Basic Information cluster (requires view privilege)\n"); + err = TestStep8ThReadsTheVendorIDAttributeFromTheBasicInformationClusterRequiresViewPrivilege_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : TP9 - Write ACL giving admin privilege ACL, manage for rest of EP0\n"); - err = TestTp9WriteAclGivingAdminPrivilegeAclManageForRestOfEp0_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 9: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and manage privilege on everything else on EP0 : 1.Struct : a)Fabric Index:1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Manage (4) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]\n"); + err = TestStep9ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining2ElementsGivingItselfAdministerPrivilegeOnlyOnTheAccessControlClusterAndManagePrivilegeOnEverythingElseOnEp01StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint02structAFabricIndex1BPrivilegeFieldManage4CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldEndpoint0_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : TP10 - Read the NOC attribute (Node operational credentials - requires administer)\n"); - err = TestTp10ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 10: TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege)\n"); + err = TestStep10ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : TP11 - Write the location attribute (Basic - requires administer)\n"); - err = TestTp11WriteTheLocationAttributeBasicRequiresAdminister_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 11: TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege)\n"); + err = TestStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : TP12 - Send the UpdateFabricLabel command (Node operational credentials - requires administer)\n"); - err = TestTp12SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_12(); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 12: TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege)\n"); + err = TestStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : TP13(6) - Write NodeLabel attribute (Basic - requires manage)\n"); - err = TestTp136WriteNodeLabelAttributeBasicRequiresManage_13(); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 13a: Write NodeLabel attribute (Basic - requires manage)\n"); + err = TestStep13aWriteNodeLabelAttributeBasicRequiresManage_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : TP13(7) - Send TestEventTrigger (General Diagnostics - requires manage)\n"); - err = TestTp137SendTestEventTriggerGeneralDiagnosticsRequiresManage_14(); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 13b: Send TestEventTrigger (General Diagnostics - requires manage)\n"); + err = TestStep13bSendTestEventTriggerGeneralDiagnosticsRequiresManage_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : TP13(8) - Tead the VendorID attribute (Basic - requires view)\n"); - err = TestTp138TeadTheVendorIDAttributeBasicRequiresView_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 13c: Tead the VendorID attribute (Basic - requires view)\n"); + err = TestStep13cTeadTheVendorIDAttributeBasicRequiresView_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : TP14 - Write ACL giving admin privilege ACL, operate for rest of EP0\n"); - err = TestTp14WriteAclGivingAdminPrivilegeAclOperateForRestOfEp0_16(); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 14: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and operate privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Operate (3) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]\n"); + err = TestStep14ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining2ElementsGivingItselfAdministerPrivilegeOnlyOnTheAccessControlClusterAndOperatePrivilegeOnEverythingElseOnEp01StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint02structAFabricIndex1BPrivilegeFieldOperate3CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldEndpoint0_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : TP15(10) - Read the NOC attribute (Node operational credentials - requires administer)\n"); - err = TestTp1510ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_17(); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 15a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges step:10 p- TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege)\n"); + err = TestStep15aRepeatSteps10To12ToConfirmThatThStillDoesNotHaveAdministerPrivilegesStep10PThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : TP15(11) - Write the location attribute (Basic - requires administer)\n"); - err = TestTp1511WriteTheLocationAttributeBasicRequiresAdminister_18(); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 15b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege)\n"); + err = TestStep15bRepeatStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : TP15(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer)\n"); - err = TestTp1512SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_19(); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 15c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege) \n"); + err = TestStep15cRepeatStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : TP16 - Write NodeLabel attribute (Basic - requires manage)\n"); - err = TestTp16WriteNodeLabelAttributeBasicRequiresManage_20(); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 16: TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege)\n"); + err = TestStep16ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : TP17 - Send TestEventTrigger (General Diagnostics - requires manage)\n"); - err = TestTp17SendTestEventTriggerGeneralDiagnosticsRequiresManage_21(); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 17: TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege)\n"); + err = TestStep17ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilege_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : TP18(8) - Tead the VendorID attribute (Basic - requires view)\n"); - err = TestTp188TeadTheVendorIDAttributeBasicRequiresView_22(); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 18: Repeat step 8 to confirm that the TH still has view privileges : Step 8 - TH reads the VendorID attribute from the Basic Information cluster (requires view privilege)\n"); + err = TestStep18RepeatStep8ToConfirmThatTheThStillHasViewPrivilegesStep8ThReadsTheVendorIDAttributeFromTheBasicInformationClusterRequiresViewPrivilege_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : TP19 - Write ACL giving admin privilege ACL, operate for rest of EP0\n"); - err = TestTp19WriteAclGivingAdminPrivilegeAclOperateForRestOfEp0_23(); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 19: TH1 writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and view privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]\n"); + err = TestStep19Th1WritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining2ElementsGivingItselfAdministerPrivilegeOnlyOnTheAccessControlClusterAndViewPrivilegeOnEverythingElseOnEp01StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint02structAFabricIndex1BPrivilegeFieldView1CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldEndpoint0_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : TP20(10) - Read the NOC attribute (Node operational credentials - requires administer)\n"); - err = TestTp2010ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_24(); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 20a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges. Repeat step:10 - TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege)\n"); + err = TestStep20aRepeatSteps10To12ToConfirmThatThStillDoesNotHaveAdministerPrivilegesRepeatStep10ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : TP20(11) - Write the location attribute (Basic - requires administer)\n"); - err = TestTp2011WriteTheLocationAttributeBasicRequiresAdminister_25(); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 20b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege)\n"); + err = TestStep20bRepeatStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_25(); break; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : TP20(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer)\n"); - err = TestTp2012SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_26(); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 20c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege)\n"); + err = TestStep20cRepeatStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : TP21(16) - Write NodeLabel attribute (Basic - requires manage)\n"); - err = TestTp2116WriteNodeLabelAttributeBasicRequiresManage_27(); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 21a: Repeat steps 16 to 17 to confirm that TH still does not have manage privileges. Step 16 : TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege) \n"); + err = TestStep21aRepeatSteps16To17ToConfirmThatThStillDoesNotHaveManagePrivilegesStep16ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_27(); break; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : TP21(17) - Send TestEventTrigger (General Diagnostics - requires manage)\n"); - err = TestTp2117SendTestEventTriggerGeneralDiagnosticsRequiresManage_28(); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 21b: Repeat steps 17 : TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege)\n"); + err = TestStep21bRepeatSteps17ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilege_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : TP22(8) - Tead the VendorID attribute (Basic - requires view)\n"); - err = TestTp228TeadTheVendorIDAttributeBasicRequiresView_29(); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 22: Tead the VendorID attribute (Basic - requires view)\n"); + err = TestStep22TeadTheVendorIDAttributeBasicRequiresView_29(); break; case 30: - ChipLogProgress(chipTool, " ***** Test Step 30 : TP23 - Write ACL giving only admin privilege ACL cluster\n"); - err = TestTp23WriteAclGivingOnlyAdminPrivilegeAclCluster_30(); + ChipLogProgress(chipTool, " ***** Test Step 30 : Step 23: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing a single element, granting Administer privilege on only the Access Control cluster and no other access : 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}]\n"); + err = TestStep23ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContainingASingleElementGrantingAdministerPrivilegeOnOnlyTheAccessControlClusterAndNoOtherAccess1StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint0_30(); break; case 31: - ChipLogProgress(chipTool, " ***** Test Step 31 : TP24(10) - Read the NOC attribute (Node operational credentials - requires administer)\n"); - err = TestTp2410ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_31(); + ChipLogProgress(chipTool, " ***** Test Step 31 : Step 24a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges. Repeat step:10 - TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege) \n"); + err = TestStep24aRepeatSteps10To12ToConfirmThatThStillDoesNotHaveAdministerPrivilegesRepeatStep10ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_31(); break; case 32: - ChipLogProgress(chipTool, " ***** Test Step 32 : TP24(11) - Write the location attribute (Basic - requires administer)\n"); - err = TestTp2411WriteTheLocationAttributeBasicRequiresAdminister_32(); + ChipLogProgress(chipTool, " ***** Test Step 32 : TStep 24b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege)\n"); + err = TestTStep24bRepeatStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_32(); break; case 33: - ChipLogProgress(chipTool, " ***** Test Step 33 : TP24(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer)\n"); - err = TestTp2412SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_33(); + ChipLogProgress(chipTool, " ***** Test Step 33 : Step 24c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege)\n"); + err = TestStep24cRepeatStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_33(); break; case 34: - ChipLogProgress(chipTool, " ***** Test Step 34 : TP25(16) - Write NodeLabel attribute (Basic - requires manage)\n"); - err = TestTp2516WriteNodeLabelAttributeBasicRequiresManage_34(); + ChipLogProgress(chipTool, " ***** Test Step 34 : Step 25a: Repeat steps 16 to 17 to confirm that TH still does not have manage privileges. Step 16 : TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege)\n"); + err = TestStep25aRepeatSteps16To17ToConfirmThatThStillDoesNotHaveManagePrivilegesStep16ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_34(); break; case 35: - ChipLogProgress(chipTool, " ***** Test Step 35 : TP25(17) - Send TestEventTrigger (General Diagnostics - requires manage)\n"); - err = TestTp2517SendTestEventTriggerGeneralDiagnosticsRequiresManage_35(); + ChipLogProgress(chipTool, " ***** Test Step 35 : Step 25b: Repeat steps 17 : TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege)\n"); + err = TestStep25bRepeatSteps17ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilege_35(); break; case 36: - ChipLogProgress(chipTool, " ***** Test Step 36 : TP26 - Tead the VendorID attribute (Basic - requires view)\n"); - err = TestTp26TeadTheVendorIDAttributeBasicRequiresView_36(); + ChipLogProgress(chipTool, " ***** Test Step 36 : Step 26: TH reads the VendorID attribute from the Basic Information cluster (requires view privilege)\n"); + err = TestStep26ThReadsTheVendorIDAttributeFromTheBasicInformationClusterRequiresViewPrivilege_36(); break; case 37: - ChipLogProgress(chipTool, " ***** Test Step 37 : TP27 - Write ACL to restore full access\n"); - err = TestTp27WriteAclToRestoreFullAccess_37(); + ChipLogProgress(chipTool, " ***** Test Step 37 : Step 27: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing a single element, restoring full access to the node. Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: null\n"); + err = TestStep27ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContainingASingleElementRestoringFullAccessToTheNodeStructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldNull_37(); break; } @@ -3911,7 +3911,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -3932,7 +3932,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { }); } - CHIP_ERROR TestTp2WriteAclGivingAdminPrivilegeOnAllEp0_2() + CHIP_ERROR TestStep2ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining1ElementsGrantingItselfAdministerPrivilegesOnAllOfEndpoint0StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldClusterNullEndpoint0DeviceTypeNull_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -3970,9 +3970,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP2 - Write ACL giving admin privilege on all EP0: Error: %@", err); + NSLog(@"Step 2: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 1 elements, granting itself administer privileges on all of Endpoint 0 : struct a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: null, Endpoint: 0, DeviceType: null}]: Error: %@", err); } else { - NSLog(@"TP2 - Write ACL giving admin privilege on all EP0: Success"); + NSLog(@"Step 2: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 1 elements, granting itself administer privileges on all of Endpoint 0 : struct a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: null, Endpoint: 0, DeviceType: null}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -3983,7 +3983,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp3ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_3() + CHIP_ERROR TestStep3ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricScopedReadRequiresAdministerPrivilege_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -3994,9 +3994,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { params.filterByFabric = true; [cluster readAttributeNOCsWithParams:params completion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP3 - Read the NOC attribute (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 3: TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-scoped read (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP3 - Read the NOC attribute (Node operational credentials - requires administer): Success"); + NSLog(@"Step 3: TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-scoped read (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4009,7 +4009,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp4WriteTheLocationAttributeBasicRequiresAdminister_4() + CHIP_ERROR TestStep4ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4020,9 +4020,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { locationArgument = @"XX"; [cluster writeAttributeLocationWithValue:locationArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP4 - Write the location attribute (Basic - requires administer): Error: %@", err); + NSLog(@"Step 4: TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP4 - Write the location attribute (Basic - requires administer): Success"); + NSLog(@"Step 4: TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4033,7 +4033,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp5SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_5() + CHIP_ERROR TestStep5ThSendsTheUpdateFabricLabelCommandToTheNodeOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4045,9 +4045,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster updateFabricLabelWithParams:params completion: ^(MTROperationalCredentialsClusterNOCResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP5 - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 5: TH sends the UpdateFabricLabel command to the Node Operational Credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP5 - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Success"); + NSLog(@"Step 5: TH sends the UpdateFabricLabel command to the Node Operational Credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4058,7 +4058,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp6WriteNodeLabelAttributeBasicRequiresManage_6() + CHIP_ERROR TestStep6ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4069,9 +4069,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { nodeLabelArgument = @"TestNode"; [cluster writeAttributeNodeLabelWithValue:nodeLabelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP6 - Write NodeLabel attribute (Basic - requires manage): Error: %@", err); + NSLog(@"Step 6: TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege): Error: %@", err); } else { - NSLog(@"TP6 - Write NodeLabel attribute (Basic - requires manage): Success"); + NSLog(@"Step 6: TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4082,7 +4082,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp7SendTestEventTriggerGeneralDiagnosticsRequiresManage_7() + CHIP_ERROR TestStep7ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilegeNoteThatThisWillCauseAnErrorToBeReturnedBecauseTheEnableKeyIsInvalidButStillIndicatesThatTheThPassedTheAclCheck_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4097,9 +4097,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster testEventTriggerWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP7 - Send TestEventTrigger (General Diagnostics - requires manage): Error: %@", err); + NSLog(@"Step 7: TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0 (requires manage privilege). Note that this will cause an error to be returned because the EnableKey is invalid, but still indicates that the TH passed the ACL check.: Error: %@", err); } else { - NSLog(@"TP7 - Send TestEventTrigger (General Diagnostics - requires manage): Success"); + NSLog(@"Step 7: TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0 (requires manage privilege). Note that this will cause an error to be returned because the EnableKey is invalid, but still indicates that the TH passed the ACL check.: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -4109,7 +4109,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp8TeadTheVendorIDAttributeBasicRequiresView_8() + CHIP_ERROR TestStep8ThReadsTheVendorIDAttributeFromTheBasicInformationClusterRequiresViewPrivilege_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4118,9 +4118,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP8 - Tead the VendorID attribute (Basic - requires view): Error: %@", err); + NSLog(@"Step 8: TH reads the VendorID attribute from the Basic Information cluster (requires view privilege): Error: %@", err); } else { - NSLog(@"TP8 - Tead the VendorID attribute (Basic - requires view): Success"); + NSLog(@"Step 8: TH reads the VendorID attribute from the Basic Information cluster (requires view privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4131,7 +4131,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp9WriteAclGivingAdminPrivilegeAclManageForRestOfEp0_9() + CHIP_ERROR TestStep9ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining2ElementsGivingItselfAdministerPrivilegeOnlyOnTheAccessControlClusterAndManagePrivilegeOnEverythingElseOnEp01StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint02structAFabricIndex1BPrivilegeFieldManage4CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldEndpoint0_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4194,9 +4194,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP9 - Write ACL giving admin privilege ACL, manage for rest of EP0: Error: %@", err); + NSLog(@"Step 9: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and manage privilege on everything else on EP0 : 1.Struct : a)Fabric Index:1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Manage (4) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]: Error: %@", err); } else { - NSLog(@"TP9 - Write ACL giving admin privilege ACL, manage for rest of EP0: Success"); + NSLog(@"Step 9: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and manage privilege on everything else on EP0 : 1.Struct : a)Fabric Index:1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Manage (4) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4207,7 +4207,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp10ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_10() + CHIP_ERROR TestStep10ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4218,9 +4218,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { params.filterByFabric = true; [cluster readAttributeNOCsWithParams:params completion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP10 - Read the NOC attribute (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 10: TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP10 - Read the NOC attribute (Node operational credentials - requires administer): Success"); + NSLog(@"Step 10: TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4230,7 +4230,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp11WriteTheLocationAttributeBasicRequiresAdminister_11() + CHIP_ERROR TestStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4241,9 +4241,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { locationArgument = @"XX"; [cluster writeAttributeLocationWithValue:locationArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP11 - Write the location attribute (Basic - requires administer): Error: %@", err); + NSLog(@"Step 11: TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP11 - Write the location attribute (Basic - requires administer): Success"); + NSLog(@"Step 11: TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4253,7 +4253,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp12SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_12() + CHIP_ERROR TestStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4265,9 +4265,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster updateFabricLabelWithParams:params completion: ^(MTROperationalCredentialsClusterNOCResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP12 - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 12: TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP12 - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Success"); + NSLog(@"Step 12: TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4277,7 +4277,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp136WriteNodeLabelAttributeBasicRequiresManage_13() + CHIP_ERROR TestStep13aWriteNodeLabelAttributeBasicRequiresManage_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4288,9 +4288,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { nodeLabelArgument = @"TestNode"; [cluster writeAttributeNodeLabelWithValue:nodeLabelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP13(6) - Write NodeLabel attribute (Basic - requires manage): Error: %@", err); + NSLog(@"Step 13a: Write NodeLabel attribute (Basic - requires manage): Error: %@", err); } else { - NSLog(@"TP13(6) - Write NodeLabel attribute (Basic - requires manage): Success"); + NSLog(@"Step 13a: Write NodeLabel attribute (Basic - requires manage): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4301,7 +4301,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp137SendTestEventTriggerGeneralDiagnosticsRequiresManage_14() + CHIP_ERROR TestStep13bSendTestEventTriggerGeneralDiagnosticsRequiresManage_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4316,9 +4316,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster testEventTriggerWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP13(7) - Send TestEventTrigger (General Diagnostics - requires manage): Error: %@", err); + NSLog(@"Step 13b: Send TestEventTrigger (General Diagnostics - requires manage): Error: %@", err); } else { - NSLog(@"TP13(7) - Send TestEventTrigger (General Diagnostics - requires manage): Success"); + NSLog(@"Step 13b: Send TestEventTrigger (General Diagnostics - requires manage): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -4328,7 +4328,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp138TeadTheVendorIDAttributeBasicRequiresView_15() + CHIP_ERROR TestStep13cTeadTheVendorIDAttributeBasicRequiresView_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4337,9 +4337,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP13(8) - Tead the VendorID attribute (Basic - requires view): Error: %@", err); + NSLog(@"Step 13c: Tead the VendorID attribute (Basic - requires view): Error: %@", err); } else { - NSLog(@"TP13(8) - Tead the VendorID attribute (Basic - requires view): Success"); + NSLog(@"Step 13c: Tead the VendorID attribute (Basic - requires view): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4350,7 +4350,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp14WriteAclGivingAdminPrivilegeAclOperateForRestOfEp0_16() + CHIP_ERROR TestStep14ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining2ElementsGivingItselfAdministerPrivilegeOnlyOnTheAccessControlClusterAndOperatePrivilegeOnEverythingElseOnEp01StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint02structAFabricIndex1BPrivilegeFieldOperate3CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldEndpoint0_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4413,9 +4413,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP14 - Write ACL giving admin privilege ACL, operate for rest of EP0: Error: %@", err); + NSLog(@"Step 14: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and operate privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Operate (3) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]: Error: %@", err); } else { - NSLog(@"TP14 - Write ACL giving admin privilege ACL, operate for rest of EP0: Success"); + NSLog(@"Step 14: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and operate privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: Operate (3) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4426,7 +4426,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp1510ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_17() + CHIP_ERROR TestStep15aRepeatSteps10To12ToConfirmThatThStillDoesNotHaveAdministerPrivilegesStep10PThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4437,9 +4437,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { params.filterByFabric = true; [cluster readAttributeNOCsWithParams:params completion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP15(10) - Read the NOC attribute (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 15a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges step:10 p- TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP15(10) - Read the NOC attribute (Node operational credentials - requires administer): Success"); + NSLog(@"Step 15a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges step:10 p- TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4449,7 +4449,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp1511WriteTheLocationAttributeBasicRequiresAdminister_18() + CHIP_ERROR TestStep15bRepeatStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4460,9 +4460,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { locationArgument = @"XX"; [cluster writeAttributeLocationWithValue:locationArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP15(11) - Write the location attribute (Basic - requires administer): Error: %@", err); + NSLog(@"Step 15b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP15(11) - Write the location attribute (Basic - requires administer): Success"); + NSLog(@"Step 15b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4472,7 +4472,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp1512SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_19() + CHIP_ERROR TestStep15cRepeatStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4484,9 +4484,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster updateFabricLabelWithParams:params completion: ^(MTROperationalCredentialsClusterNOCResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP15(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 15c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege) : Error: %@", err); } else { - NSLog(@"TP15(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Success"); + NSLog(@"Step 15c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege) : Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4496,7 +4496,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp16WriteNodeLabelAttributeBasicRequiresManage_20() + CHIP_ERROR TestStep16ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4507,9 +4507,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { nodeLabelArgument = @"TestNode"; [cluster writeAttributeNodeLabelWithValue:nodeLabelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP16 - Write NodeLabel attribute (Basic - requires manage): Error: %@", err); + NSLog(@"Step 16: TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege): Error: %@", err); } else { - NSLog(@"TP16 - Write NodeLabel attribute (Basic - requires manage): Success"); + NSLog(@"Step 16: TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4519,7 +4519,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp17SendTestEventTriggerGeneralDiagnosticsRequiresManage_21() + CHIP_ERROR TestStep17ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilege_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4534,9 +4534,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster testEventTriggerWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP17 - Send TestEventTrigger (General Diagnostics - requires manage): Error: %@", err); + NSLog(@"Step 17: TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege): Error: %@", err); } else { - NSLog(@"TP17 - Send TestEventTrigger (General Diagnostics - requires manage): Success"); + NSLog(@"Step 17: TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4546,7 +4546,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp188TeadTheVendorIDAttributeBasicRequiresView_22() + CHIP_ERROR TestStep18RepeatStep8ToConfirmThatTheThStillHasViewPrivilegesStep8ThReadsTheVendorIDAttributeFromTheBasicInformationClusterRequiresViewPrivilege_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4555,9 +4555,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP18(8) - Tead the VendorID attribute (Basic - requires view): Error: %@", err); + NSLog(@"Step 18: Repeat step 8 to confirm that the TH still has view privileges : Step 8 - TH reads the VendorID attribute from the Basic Information cluster (requires view privilege): Error: %@", err); } else { - NSLog(@"TP18(8) - Tead the VendorID attribute (Basic - requires view): Success"); + NSLog(@"Step 18: Repeat step 8 to confirm that the TH still has view privileges : Step 8 - TH reads the VendorID attribute from the Basic Information cluster (requires view privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4568,7 +4568,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp19WriteAclGivingAdminPrivilegeAclOperateForRestOfEp0_23() + CHIP_ERROR TestStep19Th1WritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContaining2ElementsGivingItselfAdministerPrivilegeOnlyOnTheAccessControlClusterAndViewPrivilegeOnEverythingElseOnEp01StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint02structAFabricIndex1BPrivilegeFieldView1CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldEndpoint0_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4631,9 +4631,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP19 - Write ACL giving admin privilege ACL, operate for rest of EP0: Error: %@", err); + NSLog(@"Step 19: TH1 writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and view privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]: Error: %@", err); } else { - NSLog(@"TP19 - Write ACL giving admin privilege ACL, operate for rest of EP0: Success"); + NSLog(@"Step 19: TH1 writes the ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements, giving itself administer privilege only on the Access Control cluster and view privilege on everything else on EP0. 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Endpoint: 0}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4644,7 +4644,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2010ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_24() + CHIP_ERROR TestStep20aRepeatSteps10To12ToConfirmThatThStillDoesNotHaveAdministerPrivilegesRepeatStep10ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4655,9 +4655,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { params.filterByFabric = true; [cluster readAttributeNOCsWithParams:params completion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP20(10) - Read the NOC attribute (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 20a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges. Repeat step:10 - TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP20(10) - Read the NOC attribute (Node operational credentials - requires administer): Success"); + NSLog(@"Step 20a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges. Repeat step:10 - TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4667,7 +4667,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2011WriteTheLocationAttributeBasicRequiresAdminister_25() + CHIP_ERROR TestStep20bRepeatStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4678,9 +4678,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { locationArgument = @"XX"; [cluster writeAttributeLocationWithValue:locationArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP20(11) - Write the location attribute (Basic - requires administer): Error: %@", err); + NSLog(@"Step 20b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP20(11) - Write the location attribute (Basic - requires administer): Success"); + NSLog(@"Step 20b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4690,7 +4690,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2012SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_26() + CHIP_ERROR TestStep20cRepeatStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_26() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4702,9 +4702,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster updateFabricLabelWithParams:params completion: ^(MTROperationalCredentialsClusterNOCResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP20(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 20c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP20(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Success"); + NSLog(@"Step 20c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4714,7 +4714,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2116WriteNodeLabelAttributeBasicRequiresManage_27() + CHIP_ERROR TestStep21aRepeatSteps16To17ToConfirmThatThStillDoesNotHaveManagePrivilegesStep16ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_27() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4725,9 +4725,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { nodeLabelArgument = @"TestNode"; [cluster writeAttributeNodeLabelWithValue:nodeLabelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP21(16) - Write NodeLabel attribute (Basic - requires manage): Error: %@", err); + NSLog(@"Step 21a: Repeat steps 16 to 17 to confirm that TH still does not have manage privileges. Step 16 : TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege) : Error: %@", err); } else { - NSLog(@"TP21(16) - Write NodeLabel attribute (Basic - requires manage): Success"); + NSLog(@"Step 21a: Repeat steps 16 to 17 to confirm that TH still does not have manage privileges. Step 16 : TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege) : Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4737,7 +4737,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2117SendTestEventTriggerGeneralDiagnosticsRequiresManage_28() + CHIP_ERROR TestStep21bRepeatSteps17ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilege_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4752,9 +4752,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster testEventTriggerWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP21(17) - Send TestEventTrigger (General Diagnostics - requires manage): Error: %@", err); + NSLog(@"Step 21b: Repeat steps 17 : TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege): Error: %@", err); } else { - NSLog(@"TP21(17) - Send TestEventTrigger (General Diagnostics - requires manage): Success"); + NSLog(@"Step 21b: Repeat steps 17 : TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4764,7 +4764,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp228TeadTheVendorIDAttributeBasicRequiresView_29() + CHIP_ERROR TestStep22TeadTheVendorIDAttributeBasicRequiresView_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4773,9 +4773,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP22(8) - Tead the VendorID attribute (Basic - requires view): Error: %@", err); + NSLog(@"Step 22: Tead the VendorID attribute (Basic - requires view): Error: %@", err); } else { - NSLog(@"TP22(8) - Tead the VendorID attribute (Basic - requires view): Success"); + NSLog(@"Step 22: Tead the VendorID attribute (Basic - requires view): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4786,7 +4786,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp23WriteAclGivingOnlyAdminPrivilegeAclCluster_30() + CHIP_ERROR TestStep23ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContainingASingleElementGrantingAdministerPrivilegeOnOnlyTheAccessControlClusterAndNoOtherAccess1StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldCluster0x001FEndpoint0_30() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4825,9 +4825,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP23 - Write ACL giving only admin privilege ACL cluster: Error: %@", err); + NSLog(@"Step 23: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing a single element, granting Administer privilege on only the Access Control cluster and no other access : 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}]: Error: %@", err); } else { - NSLog(@"TP23 - Write ACL giving only admin privilege ACL cluster: Success"); + NSLog(@"Step 23: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing a single element, granting Administer privilege on only the Access Control cluster and no other access : 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: [{Cluster: 0x001F, Endpoint: 0}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -4838,7 +4838,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2410ReadTheNocAttributeNodeOperationalCredentialsRequiresAdminister_31() + CHIP_ERROR TestStep24aRepeatSteps10To12ToConfirmThatThStillDoesNotHaveAdministerPrivilegesRepeatStep10ThReadsTheNOCsAttributeFromTheNodeOperationalCredentialsClusterUsingAFabricFilteredReadRequiresAdministerPrivilege_31() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4849,9 +4849,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { params.filterByFabric = true; [cluster readAttributeNOCsWithParams:params completion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP24(10) - Read the NOC attribute (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 24a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges. Repeat step:10 - TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege) : Error: %@", err); } else { - NSLog(@"TP24(10) - Read the NOC attribute (Node operational credentials - requires administer): Success"); + NSLog(@"Step 24a: Repeat steps 10 to 12 to confirm that TH still does not have administer privileges. Repeat step:10 - TH reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read (requires administer privilege) : Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4861,7 +4861,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2411WriteTheLocationAttributeBasicRequiresAdminister_32() + CHIP_ERROR TestTStep24bRepeatStep11ThWritesTheLocationAttributeInTheBasicInformationClusterWithxxRequiresAdministerPrivilege_32() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4872,9 +4872,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { locationArgument = @"XX"; [cluster writeAttributeLocationWithValue:locationArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP24(11) - Write the location attribute (Basic - requires administer): Error: %@", err); + NSLog(@"TStep 24b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP24(11) - Write the location attribute (Basic - requires administer): Success"); + NSLog(@"TStep 24b: Repeat step:11 - TH writes the Location attribute in the Basic Information cluster with 'XX' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4884,7 +4884,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2412SendTheUpdateFabricLabelCommandNodeOperationalCredentialsRequiresAdminister_33() + CHIP_ERROR TestStep24cRepeatStep12ThSendsTheUpdateFabricLabelCommandToTheOperationalCredentialsClusterWithTheLabelFieldSetToTestFabricRequiresAdministerPrivilege_33() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4896,9 +4896,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster updateFabricLabelWithParams:params completion: ^(MTROperationalCredentialsClusterNOCResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP24(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Error: %@", err); + NSLog(@"Step 24c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Error: %@", err); } else { - NSLog(@"TP24(12) - Send the UpdateFabricLabel command (Node operational credentials - requires administer): Success"); + NSLog(@"Step 24c: Repeat step:12 - TH sends the UpdateFabricLabel command to the operational credentials cluster with the Label field set to 'TestFabric' (requires administer privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4908,7 +4908,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2516WriteNodeLabelAttributeBasicRequiresManage_34() + CHIP_ERROR TestStep25aRepeatSteps16To17ToConfirmThatThStillDoesNotHaveManagePrivilegesStep16ThWritesTheNodeLabelAttributeInTheBasicInformationClusterWithTheStringTestNodeRequiresManagePrivilege_34() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4919,9 +4919,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { nodeLabelArgument = @"TestNode"; [cluster writeAttributeNodeLabelWithValue:nodeLabelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP25(16) - Write NodeLabel attribute (Basic - requires manage): Error: %@", err); + NSLog(@"Step 25a: Repeat steps 16 to 17 to confirm that TH still does not have manage privileges. Step 16 : TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege): Error: %@", err); } else { - NSLog(@"TP25(16) - Write NodeLabel attribute (Basic - requires manage): Success"); + NSLog(@"Step 25a: Repeat steps 16 to 17 to confirm that TH still does not have manage privileges. Step 16 : TH writes the NodeLabel attribute in the Basic Information cluster with the string 'TestNode' (requires manage privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4931,7 +4931,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp2517SendTestEventTriggerGeneralDiagnosticsRequiresManage_35() + CHIP_ERROR TestStep25bRepeatSteps17ThSendsTheTestEventTriggerCommandToTheGeneralDiagnosticsClusterWithTheEnableKeySetTo0AndTheEventTriggerSetTo0RequiresManagePrivilege_35() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4946,9 +4946,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster testEventTriggerWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP25(17) - Send TestEventTrigger (General Diagnostics - requires manage): Error: %@", err); + NSLog(@"Step 25b: Repeat steps 17 : TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege): Error: %@", err); } else { - NSLog(@"TP25(17) - Send TestEventTrigger (General Diagnostics - requires manage): Success"); + NSLog(@"Step 25b: Repeat steps 17 : TH sends the TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4958,7 +4958,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp26TeadTheVendorIDAttributeBasicRequiresView_36() + CHIP_ERROR TestStep26ThReadsTheVendorIDAttributeFromTheBasicInformationClusterRequiresViewPrivilege_36() { MTRBaseDevice * device = GetDevice("alpha"); @@ -4967,9 +4967,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP26 - Tead the VendorID attribute (Basic - requires view): Error: %@", err); + NSLog(@"Step 26: TH reads the VendorID attribute from the Basic Information cluster (requires view privilege): Error: %@", err); } else { - NSLog(@"TP26 - Tead the VendorID attribute (Basic - requires view): Success"); + NSLog(@"Step 26: TH reads the VendorID attribute from the Basic Information cluster (requires view privilege): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -4979,7 +4979,7 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTp27WriteAclToRestoreFullAccess_37() + CHIP_ERROR TestStep27ThWritesTheAclAttributeWithAListOfAccessControlEntryStructEntriesContainingASingleElementRestoringFullAccessToTheNodeStructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldNull_37() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5008,9 +5008,9 @@ class Test_TC_ACE_1_1 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"TP27 - Write ACL to restore full access: Error: %@", err); + NSLog(@"Step 27: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing a single element, restoring full access to the node. Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: null: Error: %@", err); } else { - NSLog(@"TP27 - Write ACL to restore full access: Success"); + NSLog(@"Step 27: TH writes the ACL attribute with a list of AccessControlEntryStruct entries containing a single element, restoring full access to the node. Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: null: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5067,8 +5067,8 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved for TH1\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrievedForTh1_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: TH1 commissions DUT using admin node ID N1\n"); + err = TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : TH1 reads the fabric index\n"); @@ -5083,12 +5083,12 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestStep23Th1PutsDutIntoCommissioningModeTh2CommissionsDutUsingAdminNodeIdN2_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: Open Commissioning Window from alpha\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: TH1 opens the commissioning window on the DUT\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep2OpenCommissioningWindowFromAlpha_3(); + err = TestStep2Th1OpensTheCommissioningWindowOnTheDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Waiting after opening commissioning window\n"); @@ -5099,12 +5099,12 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestWaitingAfterOpeningCommissioningWindow_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: Commission from TH2\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: TH2 commissions DUT using admin node ID N2\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep3CommissionFromTh2_5(); + err = TestStep3Th2CommissionsDutUsingAdminNodeIdN2_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Wait for the commissioned device to be retrieved for TH2\n"); @@ -5115,12 +5115,12 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrievedForTh2_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: TH2 reads the fabric index\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: TH2 reads its fabric index from the Operational Credentials cluster CurrentFabricIndex attribute\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep4Th2ReadsTheFabricIndex_7(); + err = TestStep4Th2ReadsItsFabricIndexFromTheOperationalCredentialsClusterCurrentFabricIndexAttribute_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: TH2 reads the fabric index\n"); @@ -5135,8 +5135,8 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestReadTheCommissionerNodeIdFromTheAlphaFabric_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 5: TH1 writes ACL giving view privilege for descriptor cluster\n"); - err = TestStep5Th1WritesAclGivingViewPrivilegeForDescriptorCluster_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 5: TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 2 elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field:[{Cluster: AccessControl (0x001f), Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE (2) d)Subjects field: null e)Targets field: [{Cluster: Descriptor (0x001d), Endpoint: 0}]\n"); + err = TestStep5Th1WritesDutEndpoint0AccessControlClusterAclAttributevalueIsListOfAccessControlEntryStructContaining2Elements1StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldClusterAccessControl0x001fEndpoint02structAFabricIndex1BPrivilegeFieldView1CAuthModeFieldCase2DSubjectsFieldNullETargetsFieldClusterDescriptor0x001dEndpoint0_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Read the commissioner node ID from the beta fabric\n"); @@ -5147,12 +5147,12 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestReadTheCommissionerNodeIdFromTheBetaFabric_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 6: TH2 writes ACL giving view privilge for basic cluster\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 6: TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 2 elements 1.Struct : a)Fabric Index: th2FabricIndex b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N2] e)Targets field: [{Cluster: AccessControl (0x001f), Endpoint: 0}]\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep6Th2WritesAclGivingViewPrivilgeForBasicCluster_12(); + err = TestStep6Th2WritesDutEndpoint0AccessControlClusterAclAttributevalueIsListOfAccessControlEntryStructContaining2Elements1StructAFabricIndexTh2FabricIndexBPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn2ETargetsFieldClusterAccessControl0x001fEndpoint0_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: TH2 writes ACL giving view privilge for basic cluster\n"); @@ -5163,20 +5163,20 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestStep6Th2WritesAclGivingViewPrivilgeForBasicCluster_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 7: TH1 reads descriptor cluster - expect SUCCESS\n"); - err = TestStep7Th1ReadsDescriptorClusterExpectSuccess_14(); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 7: TH1 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList attribute\n"); + err = TestStep7Th1ReadsDutEndpoint0DescriptorClusterDeviceTypeListAttribute_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect UNSUPPORTED_ACCESS\n"); - err = TestStep8Th1ReadsDutEndpoint0BasicInformationClusterVendorIDAttributeExpectUnsupportedAccess_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID attribute\n"); + err = TestStep8Th1ReadsDutEndpoint0BasicInformationClusterVendorIDAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 9: TH2 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList attribute\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep9Th2ReadsDescriptorClusterExpectUnsupportedAccess_16(); + err = TestStep9Th2ReadsDutEndpoint0DescriptorClusterDeviceTypeListAttribute_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS\n"); @@ -5187,12 +5187,12 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestStep9Th2ReadsDescriptorClusterExpectUnsupportedAccess_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect SUCCESS\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep10Th2ReadsDutEndpoint0BasicInformationClusterVendorIDAttributeExpectSuccess_18(); + err = TestStep10Th2ReadsDutEndpoint0BasicInformationClusterVendorIDAttribute_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect SUCCESS\n"); @@ -5203,24 +5203,24 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { err = TestStep10Th2ReadsDutEndpoint0BasicInformationClusterVendorIDAttributeExpectSuccess_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 11: TH1 resets ACL to default\n"); - err = TestStep11Th1ResetsAclToDefault_20(); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 11: TH1 resets the ACLs to the default value bywriting DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 1 elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: null\n"); + err = TestStep11Th1ResetsTheACLsToTheDefaultValueBywritingDutEndpoint0AccessControlClusterAclAttributevalueIsListOfAccessControlEntryStructContaining1Elements1StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldNull_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 12: TH1 sends RemoveFabric command for TH2\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 12: TH1 removes the TH2 fabric by sending the RemoveFabric command to the DUT with the FabricIndex set to th2FabricIndex\n"); if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep12Th1SendsRemoveFabricCommandForTh2_21(); + err = TestStep12Th1RemovesTheTh2FabricBySendingTheRemoveFabricCommandToTheDutWithTheFabricIndexSetToTh2FabricIndex_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 12: TH1 sends RemoveFabric command for TH2\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 12: TH1 removes the TH2 fabric by sending the RemoveFabric commandto the DUT with the FabricIndex set to th2FabricIndex\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } - err = TestStep12Th1SendsRemoveFabricCommandForTh2_22(); + err = TestStep12Th1RemovesTheTh2FabricBySendingTheRemoveFabricCommandtoTheDutWithTheFabricIndexSetToTh2FabricIndex_22(); break; } @@ -5323,7 +5323,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { chip::Optional mPakeVerifier; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrievedForTh1_0() + CHIP_ERROR TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -5368,7 +5368,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep2OpenCommissioningWindowFromAlpha_3() + CHIP_ERROR TestStep2Th1OpensTheCommissioningWindowOnTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5387,9 +5387,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster openCommissioningWindowWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Open Commissioning Window from alpha: Error: %@", err); + NSLog(@"Step 2: TH1 opens the commissioning window on the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Open Commissioning Window from alpha: Success"); + NSLog(@"Step 2: TH1 opens the commissioning window on the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5408,7 +5408,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep3CommissionFromTh2_5() + CHIP_ERROR TestStep3Th2CommissionsDutUsingAdminNodeIdN2_5() { chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -5426,7 +5426,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } NSNumber * _Nonnull th2FabricIndex; - CHIP_ERROR TestStep4Th2ReadsTheFabricIndex_7() + CHIP_ERROR TestStep4Th2ReadsItsFabricIndexFromTheOperationalCredentialsClusterCurrentFabricIndexAttribute_7() { MTRBaseDevice * device = GetDevice("beta"); @@ -5435,9 +5435,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster readAttributeCurrentFabricIndexWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH2 reads the fabric index: Error: %@", err); + NSLog(@"Step 4: TH2 reads its fabric index from the Operational Credentials cluster CurrentFabricIndex attribute: Error: %@", err); } else { - NSLog(@"Step 4: TH2 reads the fabric index: Success"); + NSLog(@"Step 4: TH2 reads its fabric index from the Operational Credentials cluster CurrentFabricIndex attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5475,7 +5475,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { }); } - CHIP_ERROR TestStep5Th1WritesAclGivingViewPrivilegeForDescriptorCluster_10() + CHIP_ERROR TestStep5Th1WritesDutEndpoint0AccessControlClusterAclAttributevalueIsListOfAccessControlEntryStructContaining2Elements1StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldClusterAccessControl0x001fEndpoint02structAFabricIndex1BPrivilegeFieldView1CAuthModeFieldCase2DSubjectsFieldNullETargetsFieldClusterDescriptor0x001dEndpoint0_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5534,9 +5534,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH1 writes ACL giving view privilege for descriptor cluster: Error: %@", err); + NSLog(@"Step 5: TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 2 elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field:[{Cluster: AccessControl (0x001f), Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE (2) d)Subjects field: null e)Targets field: [{Cluster: Descriptor (0x001d), Endpoint: 0}]: Error: %@", err); } else { - NSLog(@"Step 5: TH1 writes ACL giving view privilege for descriptor cluster: Success"); + NSLog(@"Step 5: TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 2 elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field:[{Cluster: AccessControl (0x001f), Endpoint: 0}] 2.struct : a)Fabric Index: 1 b)Privilege field: View (1) c)AuthMode field: CASE (2) d)Subjects field: null e)Targets field: [{Cluster: Descriptor (0x001d), Endpoint: 0}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5560,7 +5560,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { }); } - CHIP_ERROR TestStep6Th2WritesAclGivingViewPrivilgeForBasicCluster_12() + CHIP_ERROR TestStep6Th2WritesDutEndpoint0AccessControlClusterAclAttributevalueIsListOfAccessControlEntryStructContaining2Elements1StructAFabricIndexTh2FabricIndexBPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn2ETargetsFieldClusterAccessControl0x001fEndpoint0_12() { MTRBaseDevice * device = GetDevice("beta"); @@ -5619,9 +5619,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH2 writes ACL giving view privilge for basic cluster: Error: %@", err); + NSLog(@"Step 6: TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 2 elements 1.Struct : a)Fabric Index: th2FabricIndex b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N2] e)Targets field: [{Cluster: AccessControl (0x001f), Endpoint: 0}]: Error: %@", err); } else { - NSLog(@"Step 6: TH2 writes ACL giving view privilge for basic cluster: Success"); + NSLog(@"Step 6: TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 2 elements 1.Struct : a)Fabric Index: th2FabricIndex b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N2] e)Targets field: [{Cluster: AccessControl (0x001f), Endpoint: 0}]: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5642,7 +5642,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep7Th1ReadsDescriptorClusterExpectSuccess_14() + CHIP_ERROR TestStep7Th1ReadsDutEndpoint0DescriptorClusterDeviceTypeListAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5651,9 +5651,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster readAttributeDeviceTypeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH1 reads descriptor cluster - expect SUCCESS: Error: %@", err); + NSLog(@"Step 7: TH1 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList attribute: Error: %@", err); } else { - NSLog(@"Step 7: TH1 reads descriptor cluster - expect SUCCESS: Success"); + NSLog(@"Step 7: TH1 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5664,7 +5664,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8Th1ReadsDutEndpoint0BasicInformationClusterVendorIDAttributeExpectUnsupportedAccess_15() + CHIP_ERROR TestStep8Th1ReadsDutEndpoint0BasicInformationClusterVendorIDAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5673,9 +5673,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect UNSUPPORTED_ACCESS: Error: %@", err); + NSLog(@"Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID attribute: Error: %@", err); } else { - NSLog(@"Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect UNSUPPORTED_ACCESS: Success"); + NSLog(@"Step 8: TH1 reads DUT Endpoint 0 Basic Information cluster VendorID attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -5685,7 +5685,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9Th2ReadsDescriptorClusterExpectUnsupportedAccess_16() + CHIP_ERROR TestStep9Th2ReadsDutEndpoint0DescriptorClusterDeviceTypeListAttribute_16() { MTRBaseDevice * device = GetDevice("beta"); @@ -5694,9 +5694,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster readAttributeDeviceTypeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS: Error: %@", err); + NSLog(@"Step 9: TH2 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList attribute: Error: %@", err); } else { - NSLog(@"Step 9: TH2 reads descriptor cluster - expect UNSUPPORTED_ACCESS: Success"); + NSLog(@"Step 9: TH2 reads DUT Endpoint 0 Descriptor cluster DeviceTypeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS)); @@ -5716,7 +5716,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep10Th2ReadsDutEndpoint0BasicInformationClusterVendorIDAttributeExpectSuccess_18() + CHIP_ERROR TestStep10Th2ReadsDutEndpoint0BasicInformationClusterVendorIDAttribute_18() { MTRBaseDevice * device = GetDevice("beta"); @@ -5725,9 +5725,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect SUCCESS: Error: %@", err); + NSLog(@"Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute: Error: %@", err); } else { - NSLog(@"Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute - expect SUCCESS: Success"); + NSLog(@"Step 10: TH2 reads DUT Endpoint 0 Basic Information cluster VendorID attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5748,7 +5748,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep11Th1ResetsAclToDefault_20() + CHIP_ERROR TestStep11Th1ResetsTheACLsToTheDefaultValueBywritingDutEndpoint0AccessControlClusterAclAttributevalueIsListOfAccessControlEntryStructContaining1Elements1StructAFabricIndex1BPrivilegeFieldAdminister5CAuthModeFieldCase2DSubjectsFieldn1ETargetsFieldNull_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5777,9 +5777,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { } [cluster writeAttributeACLWithValue:aclArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: TH1 resets ACL to default: Error: %@", err); + NSLog(@"Step 11: TH1 resets the ACLs to the default value bywriting DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 1 elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: null: Error: %@", err); } else { - NSLog(@"Step 11: TH1 resets ACL to default: Success"); + NSLog(@"Step 11: TH1 resets the ACLs to the default value bywriting DUT Endpoint 0 AccessControl cluster ACL attribute,value is list of AccessControlEntryStruct containing 1 elements 1.Struct : a)Fabric Index: 1 b)Privilege field: Administer (5) c)AuthMode field: CASE (2) d)Subjects field: [N1] e)Targets field: null: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5790,7 +5790,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12Th1SendsRemoveFabricCommandForTh2_21() + CHIP_ERROR TestStep12Th1RemovesTheTh2FabricBySendingTheRemoveFabricCommandToTheDutWithTheFabricIndexSetToTh2FabricIndex_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -5803,9 +5803,9 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { [cluster removeFabricWithParams:params completion: ^(MTROperationalCredentialsClusterNOCResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: TH1 sends RemoveFabric command for TH2: Error: %@", err); + NSLog(@"Step 12: TH1 removes the TH2 fabric by sending the RemoveFabric command to the DUT with the FabricIndex set to th2FabricIndex: Error: %@", err); } else { - NSLog(@"Step 12: TH1 sends RemoveFabric command for TH2: Success"); + NSLog(@"Step 12: TH1 removes the TH2 fabric by sending the RemoveFabric command to the DUT with the FabricIndex set to th2FabricIndex: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -5816,7 +5816,7 @@ class Test_TC_ACE_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12Th1SendsRemoveFabricCommandForTh2_22() + CHIP_ERROR TestStep12Th1RemovesTheTh2FabricBySendingTheRemoveFabricCommandtoTheDutWithTheFabricIndexSetToTh2FabricIndex_22() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -5872,16 +5872,16 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("!AIRQUAL.S.F00 && !AIRQUAL.S.F01 && !AIRQUAL.S.F02 && !AIRQUAL.S.F03")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given AIRQUAL.S.F00(Fair) ensure featuremap has the correct bit set\n"); @@ -5916,23 +5916,23 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { err = TestStep3eGivenAIRQUALSF03ExtremelyPoorEnsureFeaturemapHasTheCorrectBitSet_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ReadTheGlobalAttributeAttributeList_7(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ReadTheGlobalAttributeAttributeList_8(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads EventList attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -5940,12 +5940,12 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { NextTest(); return; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_11(); break; } @@ -6019,7 +6019,7 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6028,9 +6028,9 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -6047,7 +6047,7 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6056,9 +6056,9 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -6167,7 +6167,7 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6176,9 +6176,9 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -6198,7 +6198,7 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_8() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6207,9 +6207,9 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -6228,7 +6228,7 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_10() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6237,9 +6237,9 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -6251,7 +6251,7 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_11() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6260,9 +6260,9 @@ class Test_TC_AIRQUAL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -6775,12 +6775,12 @@ class Test_TC_BOOL_2_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read mandatory non-global attribute: StateValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the StateValue attribute from the DUT\n"); if (ShouldSkip("BOOL.S.A0000")) { NextTest(); return; } - err = TestStep2ReadMandatoryNonGlobalAttributeStateValue_1(); + err = TestStep2ThReadsTheStateValueAttributeFromTheDut_1(); break; } @@ -6824,7 +6824,7 @@ class Test_TC_BOOL_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadMandatoryNonGlobalAttributeStateValue_1() + CHIP_ERROR TestStep2ThReadsTheStateValueAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -6833,9 +6833,9 @@ class Test_TC_BOOL_2_1 : public TestCommandBridge { [cluster readAttributeStateValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read mandatory non-global attribute: StateValue: Error: %@", err); + NSLog(@"Step 2: TH reads the StateValue attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read mandatory non-global attribute: StateValue: Success"); + NSLog(@"Step 2: TH reads the StateValue attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -7029,36 +7029,52 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { err = TestStep4oThReadsOptionalAttributeUniqueIDInAttributeList_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 5a: TH reads optional event(StartUp) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4p: TH reads optional attribute(ProductAppearance) in AttributeList\n"); + if (ShouldSkip("BRBINFO.S.A0014")) { + NextTest(); + return; + } + err = TestStep4pThReadsOptionalAttributeProductAppearanceInAttributeList_19(); + break; + case 20: + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 5a: TH reads from the DUT the EventList attribute\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + NextTest(); + return; + } + NextTest(); + return; + case 21: + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 5b: TH reads optional event(StartUp) in EventList\n"); if (ShouldSkip("BRBINFO.S.E00 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 5b: TH reads optional attribute(ShutDown) in EventList\n"); + case 22: + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 5c: TH reads optional attribute(ShutDown) in EventList\n"); if (ShouldSkip("BRBINFO.S.E01 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 5c: TH reads optional attribute(Leave) in EventList\n"); + case 23: + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 5d TH reads optional attribute(Leave) in EventList\n"); if (ShouldSkip("BRBINFO.S.E02 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_22(); + case 24: + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 6: TH reads AcceptedCommandList from DUT\n"); + err = TestStep6ThReadsAcceptedCommandListFromDut_24(); break; - case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 7: TH1 reads GeneratedCommandList from DUT\n"); - err = TestStep7Th1ReadsGeneratedCommandListFromDut_23(); + case 25: + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 7: TH1 reads GeneratedCommandList from DUT\n"); + err = TestStep7Th1ReadsGeneratedCommandListFromDut_25(); break; } @@ -7143,6 +7159,12 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 24: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 25: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -7153,7 +7175,7 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 24; + const uint16_t mTestCount = 26; chip::Optional mNodeId; chip::Optional mCluster; @@ -7635,7 +7657,32 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_22() + CHIP_ERROR TestStep4pThReadsOptionalAttributeProductAppearanceInAttributeList_19() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterBridgedDeviceBasicInformation alloc] initWithDevice:device endpointID:@(3) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { + if (err != nil) { + NSLog(@"Step 4p: TH reads optional attribute(ProductAppearance) in AttributeList: Error: %@", err); + } else { + NSLog(@"Step 4p: TH reads optional attribute(ProductAppearance) in AttributeList: Success"); + } + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 20UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -7663,7 +7710,7 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7Th1ReadsGeneratedCommandListFromDut_23() + CHIP_ERROR TestStep7Th1ReadsGeneratedCommandListFromDut_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -11258,192 +11305,192 @@ class Test_TC_CC_2_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads CurrentHue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the (0x0000) CurrentHue attribute\n"); if (ShouldSkip("CC.S.A0000")) { NextTest(); return; } - err = TestStep2ThReadsCurrentHueAttributeFromDut_1(); + err = TestStep2ThReadsFromTheDutThe0x0000CurrentHueAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads CurrentSaturation attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the (0x0001) CurrentSaturation attribute\n"); if (ShouldSkip("CC.S.A0001")) { NextTest(); return; } - err = TestStep3ThReadsCurrentSaturationAttributeFromDut_2(); + err = TestStep3ThReadsFromTheDutThe0x0001CurrentSaturationAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads RemainingTime attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the (0x0002) RemainingTime attribute\n"); if (ShouldSkip("CC.S.A0002")) { NextTest(); return; } - err = TestStep4ThReadsRemainingTimeAttributeFromDut_3(); + err = TestStep4ThReadsFromTheDutThe0x0002RemainingTimeAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads CurrentX attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the (0x0003) CurrentX attribute\n"); if (ShouldSkip("CC.S.A0003")) { NextTest(); return; } - err = TestStep5ThReadsCurrentXAttributeFromDut_4(); + err = TestStep5ThReadsFromTheDutThe0x0003CurrentXAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads CurrentY attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the (0x0004) CurrentY attribute\n"); if (ShouldSkip("CC.S.A0004")) { NextTest(); return; } - err = TestStep6ThReadsCurrentYAttributeFromDut_5(); + err = TestStep6ThReadsFromTheDutThe0x0004CurrentYAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads DriftCompensation attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads from the DUT the (0x0005) DriftCompensation attribute\n"); if (ShouldSkip("CC.S.A0005")) { NextTest(); return; } - err = TestStep7ThReadsDriftCompensationAttributeFromDut_6(); + err = TestStep7ThReadsFromTheDutThe0x0005DriftCompensationAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: TH reads CompensationText attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: TH reads from the DUT the (0x0006) CompensationText attribute\n"); if (ShouldSkip("CC.S.A0006")) { NextTest(); return; } - err = TestStep8ThReadsCompensationTextAttributeFromDut_7(); + err = TestStep8ThReadsFromTheDutThe0x0006CompensationTextAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: TH reads ColorTemperatureMireds attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: TH reads from the DUT the (0x0007) ColorTemperatureMireds attribute\n"); if (ShouldSkip("CC.S.A0007")) { NextTest(); return; } - err = TestStep9ThReadsColorTemperatureMiredsAttributeFromDut_8(); + err = TestStep9ThReadsFromTheDutThe0x0007ColorTemperatureMiredsAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads ColorMode attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads from the DUT the (0x0008) ColorMode attribute\n"); if (ShouldSkip("CC.S.A0008")) { NextTest(); return; } - err = TestStep10ThReadsColorModeAttributeFromDut_9(); + err = TestStep10ThReadsFromTheDutThe0x0008ColorModeAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 11: TH reads Options attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 11: TH reads from the DUT the (0x000f) Options attribute\n"); if (ShouldSkip("CC.S.A000f")) { NextTest(); return; } - err = TestStep11ThReadsOptionsAttributeFromDut_10(); + err = TestStep11ThReadsFromTheDutThe0x000fOptionsAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 12: TH reads EnhancedCurrentHue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 12: TH reads from the DUT the (0x4000) EnhancedCurrentHue attribute\n"); if (ShouldSkip("CC.S.A4000")) { NextTest(); return; } - err = TestStep12ThReadsEnhancedCurrentHueAttributeFromDut_11(); + err = TestStep12ThReadsFromTheDutThe0x4000EnhancedCurrentHueAttribute_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 13: TH reads EnhancedColorMode attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 13: TH reads from the DUT the (0x4001) EnhancedColorMode attribute\n"); if (ShouldSkip("CC.S.A4001")) { NextTest(); return; } - err = TestStep13ThReadsEnhancedColorModeAttributeFromDut_12(); + err = TestStep13ThReadsFromTheDutThe0x4001EnhancedColorModeAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 14: TH reads ColorLoopActive attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 14:TH reads from the DUT the (0x4002) ColorLoopActive attribute\n"); if (ShouldSkip("CC.S.A4002")) { NextTest(); return; } - err = TestStep14ThReadsColorLoopActiveAttributeFromDut_13(); + err = TestStep14thReadsFromTheDutThe0x4002ColorLoopActiveAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 15: TH reads ColorLoopDirection attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 15: TH reads from the DUT the (0x4003) ColorLoopDirection attribute\n"); if (ShouldSkip("CC.S.A4003")) { NextTest(); return; } - err = TestStep15ThReadsColorLoopDirectionAttributeFromDut_14(); + err = TestStep15ThReadsFromTheDutThe0x4003ColorLoopDirectionAttribute_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 16: TH reads ColorLoopTime attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 16: TH reads from the DUT the (0x4004) ColorLoopTime attribute\n"); if (ShouldSkip("CC.S.A4004")) { NextTest(); return; } - err = TestStep16ThReadsColorLoopTimeAttributeFromDut_15(); + err = TestStep16ThReadsFromTheDutThe0x4004ColorLoopTimeAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 17: TH reads ColorLoopStartEnhancedHue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 17: TH reads from the DUT the (0x4005) ColorLoopStartEnhancedHue attribute\n"); if (ShouldSkip("CC.S.A4005")) { NextTest(); return; } - err = TestStep17ThReadsColorLoopStartEnhancedHueAttributeFromDut_16(); + err = TestStep17ThReadsFromTheDutThe0x4005ColorLoopStartEnhancedHueAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 18: TH reads ColorLoopStoredEnhancedHue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 18: TH reads from the DUT the (0x4006) ColorLoopStoredEnhancedHue attributeT\n"); if (ShouldSkip("CC.S.A4006")) { NextTest(); return; } - err = TestStep18ThReadsColorLoopStoredEnhancedHueAttributeFromDut_17(); + err = TestStep18ThReadsFromTheDutThe0x4006ColorLoopStoredEnhancedHueAttributeT_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Step 18a: Saving for comparision in step 19 reads FeatureMap attribute from DUT\n"); err = TestStep18aSavingForComparisionInStep19ReadsFeatureMapAttributeFromDut_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 19: TH reads ColorCapabilities attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 19: TH reads from the DUT the (0x400a) ColorCapabilities attribute\n"); if (ShouldSkip("CC.S.A400a")) { NextTest(); return; } - err = TestStep19ThReadsColorCapabilitiesAttributeFromDut_19(); + err = TestStep19ThReadsFromTheDutThe0x400aColorCapabilitiesAttribute_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 20: TH reads ColorTempPhysicalMinMireds attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 20: TH reads from the DUT the (0x400b) ColorTempPhysicalMinMireds attribute\n"); if (ShouldSkip("CC.S.A400b")) { NextTest(); return; } - err = TestStep20ThReadsColorTempPhysicalMinMiredsAttributeFromDut_20(); + err = TestStep20ThReadsFromTheDutThe0x400bColorTempPhysicalMinMiredsAttribute_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 21: TH reads ColorTempPhysicalMaxMireds attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 21: TH reads from the DUT the (0x400c) ColorTempPhysicalMaxMireds attribute\n"); if (ShouldSkip("CC.S.A400c")) { NextTest(); return; } - err = TestStep21ThReadsColorTempPhysicalMaxMiredsAttributeFromDut_21(); + err = TestStep21ThReadsFromTheDutThe0x400cColorTempPhysicalMaxMiredsAttribute_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 22: TH reads CoupleColorTempToLevelMinMireds attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 22: TH reads from the DUT the (0x400d) CoupleColorTempToLevelMinMireds attribute\n"); if (ShouldSkip("CC.S.A400d")) { NextTest(); return; } - err = TestStep22ThReadsCoupleColorTempToLevelMinMiredsAttributeFromDut_22(); + err = TestStep22ThReadsFromTheDutThe0x400dCoupleColorTempToLevelMinMiredsAttribute_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 23: TH reads StartUpColorTemperatureMireds attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 23: TH reads from the DUT the (0x4010) StartUpColorTemperatureMireds attribute\n"); if (ShouldSkip("CC.S.A4010")) { NextTest(); return; } - err = TestStep23ThReadsStartUpColorTemperatureMiredsAttributeFromDut_23(); + err = TestStep23ThReadsFromTheDutThe0x4010StartUpColorTemperatureMiredsAttribute_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 24: TH reads NumberOfPrimaries attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 24: TH reads from the DUT the (0x0010) NumberOfPrimaries attribute\n"); if (ShouldSkip("CC.S.A0010")) { NextTest(); return; } - err = TestStep24ThReadsNumberOfPrimariesAttributeFromDut_24(); + err = TestStep24ThReadsFromTheDutThe0x0010NumberOfPrimariesAttribute_24(); break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Step 25: TH reads Primary1X attribute from DUT and Verify that the DUT response contains an uint16 [Min:0 Max:0xfeff] if NumberOfPrimaries is 1 or more\n"); @@ -11590,92 +11637,92 @@ class Test_TC_CC_2_1 : public TestCommandBridge { err = TestStep42ThReadsPrimary6IntensityAttributeFromDutAndVerifyThatTheDutResponseContainsAnUint8IfNumberOfPrimariesIs6OrMore_42(); break; case 43: - ChipLogProgress(chipTool, " ***** Test Step 43 : Step 43: TH reads WhitePointX attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 43 : Step 43: TH reads from the DUT the (0x0030) WhitePointX attribute\n"); if (ShouldSkip("CC.S.A0030")) { NextTest(); return; } - err = TestStep43ThReadsWhitePointXAttributeFromDut_43(); + err = TestStep43ThReadsFromTheDutThe0x0030WhitePointXAttribute_43(); break; case 44: - ChipLogProgress(chipTool, " ***** Test Step 44 : Step 44: TH reads WhitePointY attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 44 : Step 44: TH reads from the DUT the (0x0031) WhitePointY attribute\n"); if (ShouldSkip("CC.S.A0031")) { NextTest(); return; } - err = TestStep44ThReadsWhitePointYAttributeFromDut_44(); + err = TestStep44ThReadsFromTheDutThe0x0031WhitePointYAttribute_44(); break; case 45: - ChipLogProgress(chipTool, " ***** Test Step 45 : Step 45: TH reads ColorPointRX attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 45 : Step 45: TH reads from the DUT the (0x0032) ColorPointRX attribute\n"); if (ShouldSkip("CC.S.A0032")) { NextTest(); return; } - err = TestStep45ThReadsColorPointRXAttributeFromDut_45(); + err = TestStep45ThReadsFromTheDutThe0x0032ColorPointRXAttribute_45(); break; case 46: - ChipLogProgress(chipTool, " ***** Test Step 46 : Step 46: TH reads ColorPointRY attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 46 : Step 46: TH reads from the DUT the (0x0033) ColorPointRY attribute\n"); if (ShouldSkip("CC.S.A0033")) { NextTest(); return; } - err = TestStep46ThReadsColorPointRYAttributeFromDut_46(); + err = TestStep46ThReadsFromTheDutThe0x0033ColorPointRYAttribute_46(); break; case 47: - ChipLogProgress(chipTool, " ***** Test Step 47 : Step 47: TH reads ColorPointRIntensity attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 47 : Step 47: TH reads from the DUT the (0x0034) ColorPointRIntensity attribute\n"); if (ShouldSkip("CC.S.A0034")) { NextTest(); return; } - err = TestStep47ThReadsColorPointRIntensityAttributeFromDut_47(); + err = TestStep47ThReadsFromTheDutThe0x0034ColorPointRIntensityAttribute_47(); break; case 48: - ChipLogProgress(chipTool, " ***** Test Step 48 : Step 48: TH reads ColorPointGX attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 48 : Step 48: TH reads from the DUT the (0x0036) ColorPointGX attribute\n"); if (ShouldSkip("CC.S.A0036")) { NextTest(); return; } - err = TestStep48ThReadsColorPointGXAttributeFromDut_48(); + err = TestStep48ThReadsFromTheDutThe0x0036ColorPointGXAttribute_48(); break; case 49: - ChipLogProgress(chipTool, " ***** Test Step 49 : Step 49: TH reads ColorPointGY attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 49 : Step 49: TH reads from the DUT the (0x0037) ColorPointGY attribute\n"); if (ShouldSkip("CC.S.A0037")) { NextTest(); return; } - err = TestStep49ThReadsColorPointGYAttributeFromDut_49(); + err = TestStep49ThReadsFromTheDutThe0x0037ColorPointGYAttribute_49(); break; case 50: - ChipLogProgress(chipTool, " ***** Test Step 50 : Step 50: TH reads ColorPointGIntensity attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 50 : Step 50: TH reads from the DUT the (0x0038) ColorPointGIntensity attribute\n"); if (ShouldSkip("CC.S.A0038")) { NextTest(); return; } - err = TestStep50ThReadsColorPointGIntensityAttributeFromDut_50(); + err = TestStep50ThReadsFromTheDutThe0x0038ColorPointGIntensityAttribute_50(); break; case 51: - ChipLogProgress(chipTool, " ***** Test Step 51 : Step 51: TH reads ColorPointBX attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 51 : Step 51: TH reads from the DUT the (0x003a) ColorPointBX attribute\n"); if (ShouldSkip("CC.S.A003a")) { NextTest(); return; } - err = TestStep51ThReadsColorPointBXAttributeFromDut_51(); + err = TestStep51ThReadsFromTheDutThe0x003aColorPointBXAttribute_51(); break; case 52: - ChipLogProgress(chipTool, " ***** Test Step 52 : Step 52: TH reads ColorPointBY attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 52 : Step 52: TH reads from the DUT the (0x003b) ColorPointBY attribute\n"); if (ShouldSkip("CC.S.A003b")) { NextTest(); return; } - err = TestStep52ThReadsColorPointBYAttributeFromDut_52(); + err = TestStep52ThReadsFromTheDutThe0x003bColorPointBYAttribute_52(); break; case 53: - ChipLogProgress(chipTool, " ***** Test Step 53 : Step 53: TH reads ColorPointBIntensity attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 53 : Step 53: TH reads from the DUT the (0x003c) ColorPointBIntensity attribute\n"); if (ShouldSkip("CC.S.A003c")) { NextTest(); return; } - err = TestStep53ThReadsColorPointBIntensityAttributeFromDut_53(); + err = TestStep53ThReadsFromTheDutThe0x003cColorPointBIntensityAttribute_53(); break; } @@ -11875,7 +11922,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsCurrentHueAttributeFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutThe0x0000CurrentHueAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -11884,9 +11931,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCurrentHueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads CurrentHue attribute from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the (0x0000) CurrentHue attribute: Error: %@", err); } else { - NSLog(@"Step 2: TH reads CurrentHue attribute from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the (0x0000) CurrentHue attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -11901,7 +11948,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsCurrentSaturationAttributeFromDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutThe0x0001CurrentSaturationAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -11910,9 +11957,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCurrentSaturationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads CurrentSaturation attribute from DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the (0x0001) CurrentSaturation attribute: Error: %@", err); } else { - NSLog(@"Step 3: TH reads CurrentSaturation attribute from DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the (0x0001) CurrentSaturation attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -11927,7 +11974,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsRemainingTimeAttributeFromDut_3() + CHIP_ERROR TestStep4ThReadsFromTheDutThe0x0002RemainingTimeAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -11936,9 +11983,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeRemainingTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads RemainingTime attribute from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the (0x0002) RemainingTime attribute: Error: %@", err); } else { - NSLog(@"Step 4: TH reads RemainingTime attribute from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the (0x0002) RemainingTime attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -11953,7 +12000,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThReadsCurrentXAttributeFromDut_4() + CHIP_ERROR TestStep5ThReadsFromTheDutThe0x0003CurrentXAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -11962,9 +12009,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCurrentXWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH reads CurrentX attribute from DUT: Error: %@", err); + NSLog(@"Step 5: TH reads from the DUT the (0x0003) CurrentX attribute: Error: %@", err); } else { - NSLog(@"Step 5: TH reads CurrentX attribute from DUT: Success"); + NSLog(@"Step 5: TH reads from the DUT the (0x0003) CurrentX attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -11979,7 +12026,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsCurrentYAttributeFromDut_5() + CHIP_ERROR TestStep6ThReadsFromTheDutThe0x0004CurrentYAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -11988,9 +12035,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCurrentYWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads CurrentY attribute from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the (0x0004) CurrentY attribute: Error: %@", err); } else { - NSLog(@"Step 6: TH reads CurrentY attribute from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the (0x0004) CurrentY attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12005,7 +12052,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsDriftCompensationAttributeFromDut_6() + CHIP_ERROR TestStep7ThReadsFromTheDutThe0x0005DriftCompensationAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12014,9 +12061,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeDriftCompensationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads DriftCompensation attribute from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the (0x0005) DriftCompensation attribute: Error: %@", err); } else { - NSLog(@"Step 7: TH reads DriftCompensation attribute from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the (0x0005) DriftCompensation attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12031,7 +12078,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ThReadsCompensationTextAttributeFromDut_7() + CHIP_ERROR TestStep8ThReadsFromTheDutThe0x0006CompensationTextAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12040,9 +12087,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCompensationTextWithCompletion:^(NSString * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: TH reads CompensationText attribute from DUT: Error: %@", err); + NSLog(@"Step 8: TH reads from the DUT the (0x0006) CompensationText attribute: Error: %@", err); } else { - NSLog(@"Step 8: TH reads CompensationText attribute from DUT: Success"); + NSLog(@"Step 8: TH reads from the DUT the (0x0006) CompensationText attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12055,7 +12102,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ThReadsColorTemperatureMiredsAttributeFromDut_8() + CHIP_ERROR TestStep9ThReadsFromTheDutThe0x0007ColorTemperatureMiredsAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12064,9 +12111,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorTemperatureMiredsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: TH reads ColorTemperatureMireds attribute from DUT: Error: %@", err); + NSLog(@"Step 9: TH reads from the DUT the (0x0007) ColorTemperatureMireds attribute: Error: %@", err); } else { - NSLog(@"Step 9: TH reads ColorTemperatureMireds attribute from DUT: Success"); + NSLog(@"Step 9: TH reads from the DUT the (0x0007) ColorTemperatureMireds attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12081,7 +12128,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ThReadsColorModeAttributeFromDut_9() + CHIP_ERROR TestStep10ThReadsFromTheDutThe0x0008ColorModeAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12090,9 +12137,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: TH reads ColorMode attribute from DUT: Error: %@", err); + NSLog(@"Step 10: TH reads from the DUT the (0x0008) ColorMode attribute: Error: %@", err); } else { - NSLog(@"Step 10: TH reads ColorMode attribute from DUT: Success"); + NSLog(@"Step 10: TH reads from the DUT the (0x0008) ColorMode attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12107,7 +12154,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep11ThReadsOptionsAttributeFromDut_10() + CHIP_ERROR TestStep11ThReadsFromTheDutThe0x000fOptionsAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12116,9 +12163,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeOptionsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: TH reads Options attribute from DUT: Error: %@", err); + NSLog(@"Step 11: TH reads from the DUT the (0x000f) Options attribute: Error: %@", err); } else { - NSLog(@"Step 11: TH reads Options attribute from DUT: Success"); + NSLog(@"Step 11: TH reads from the DUT the (0x000f) Options attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12133,7 +12180,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12ThReadsEnhancedCurrentHueAttributeFromDut_11() + CHIP_ERROR TestStep12ThReadsFromTheDutThe0x4000EnhancedCurrentHueAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12142,9 +12189,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeEnhancedCurrentHueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: TH reads EnhancedCurrentHue attribute from DUT: Error: %@", err); + NSLog(@"Step 12: TH reads from the DUT the (0x4000) EnhancedCurrentHue attribute: Error: %@", err); } else { - NSLog(@"Step 12: TH reads EnhancedCurrentHue attribute from DUT: Success"); + NSLog(@"Step 12: TH reads from the DUT the (0x4000) EnhancedCurrentHue attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12159,7 +12206,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep13ThReadsEnhancedColorModeAttributeFromDut_12() + CHIP_ERROR TestStep13ThReadsFromTheDutThe0x4001EnhancedColorModeAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12168,9 +12215,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeEnhancedColorModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 13: TH reads EnhancedColorMode attribute from DUT: Error: %@", err); + NSLog(@"Step 13: TH reads from the DUT the (0x4001) EnhancedColorMode attribute: Error: %@", err); } else { - NSLog(@"Step 13: TH reads EnhancedColorMode attribute from DUT: Success"); + NSLog(@"Step 13: TH reads from the DUT the (0x4001) EnhancedColorMode attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12185,7 +12232,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep14ThReadsColorLoopActiveAttributeFromDut_13() + CHIP_ERROR TestStep14thReadsFromTheDutThe0x4002ColorLoopActiveAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12194,9 +12241,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorLoopActiveWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 14: TH reads ColorLoopActive attribute from DUT: Error: %@", err); + NSLog(@"Step 14:TH reads from the DUT the (0x4002) ColorLoopActive attribute: Error: %@", err); } else { - NSLog(@"Step 14: TH reads ColorLoopActive attribute from DUT: Success"); + NSLog(@"Step 14:TH reads from the DUT the (0x4002) ColorLoopActive attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12211,7 +12258,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep15ThReadsColorLoopDirectionAttributeFromDut_14() + CHIP_ERROR TestStep15ThReadsFromTheDutThe0x4003ColorLoopDirectionAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12220,9 +12267,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorLoopDirectionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 15: TH reads ColorLoopDirection attribute from DUT: Error: %@", err); + NSLog(@"Step 15: TH reads from the DUT the (0x4003) ColorLoopDirection attribute: Error: %@", err); } else { - NSLog(@"Step 15: TH reads ColorLoopDirection attribute from DUT: Success"); + NSLog(@"Step 15: TH reads from the DUT the (0x4003) ColorLoopDirection attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12237,7 +12284,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep16ThReadsColorLoopTimeAttributeFromDut_15() + CHIP_ERROR TestStep16ThReadsFromTheDutThe0x4004ColorLoopTimeAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12246,9 +12293,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorLoopTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 16: TH reads ColorLoopTime attribute from DUT: Error: %@", err); + NSLog(@"Step 16: TH reads from the DUT the (0x4004) ColorLoopTime attribute: Error: %@", err); } else { - NSLog(@"Step 16: TH reads ColorLoopTime attribute from DUT: Success"); + NSLog(@"Step 16: TH reads from the DUT the (0x4004) ColorLoopTime attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12263,7 +12310,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep17ThReadsColorLoopStartEnhancedHueAttributeFromDut_16() + CHIP_ERROR TestStep17ThReadsFromTheDutThe0x4005ColorLoopStartEnhancedHueAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12272,9 +12319,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorLoopStartEnhancedHueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 17: TH reads ColorLoopStartEnhancedHue attribute from DUT: Error: %@", err); + NSLog(@"Step 17: TH reads from the DUT the (0x4005) ColorLoopStartEnhancedHue attribute: Error: %@", err); } else { - NSLog(@"Step 17: TH reads ColorLoopStartEnhancedHue attribute from DUT: Success"); + NSLog(@"Step 17: TH reads from the DUT the (0x4005) ColorLoopStartEnhancedHue attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12289,7 +12336,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep18ThReadsColorLoopStoredEnhancedHueAttributeFromDut_17() + CHIP_ERROR TestStep18ThReadsFromTheDutThe0x4006ColorLoopStoredEnhancedHueAttributeT_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12298,9 +12345,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorLoopStoredEnhancedHueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 18: TH reads ColorLoopStoredEnhancedHue attribute from DUT: Error: %@", err); + NSLog(@"Step 18: TH reads from the DUT the (0x4006) ColorLoopStoredEnhancedHue attributeT: Error: %@", err); } else { - NSLog(@"Step 18: TH reads ColorLoopStoredEnhancedHue attribute from DUT: Success"); + NSLog(@"Step 18: TH reads from the DUT the (0x4006) ColorLoopStoredEnhancedHue attributeT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12342,7 +12389,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep19ThReadsColorCapabilitiesAttributeFromDut_19() + CHIP_ERROR TestStep19ThReadsFromTheDutThe0x400aColorCapabilitiesAttribute_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12351,9 +12398,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorCapabilitiesWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 19: TH reads ColorCapabilities attribute from DUT: Error: %@", err); + NSLog(@"Step 19: TH reads from the DUT the (0x400a) ColorCapabilities attribute: Error: %@", err); } else { - NSLog(@"Step 19: TH reads ColorCapabilities attribute from DUT: Success"); + NSLog(@"Step 19: TH reads from the DUT the (0x400a) ColorCapabilities attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12373,7 +12420,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep20ThReadsColorTempPhysicalMinMiredsAttributeFromDut_20() + CHIP_ERROR TestStep20ThReadsFromTheDutThe0x400bColorTempPhysicalMinMiredsAttribute_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12382,9 +12429,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorTempPhysicalMinMiredsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 20: TH reads ColorTempPhysicalMinMireds attribute from DUT: Error: %@", err); + NSLog(@"Step 20: TH reads from the DUT the (0x400b) ColorTempPhysicalMinMireds attribute: Error: %@", err); } else { - NSLog(@"Step 20: TH reads ColorTempPhysicalMinMireds attribute from DUT: Success"); + NSLog(@"Step 20: TH reads from the DUT the (0x400b) ColorTempPhysicalMinMireds attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12399,7 +12446,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep21ThReadsColorTempPhysicalMaxMiredsAttributeFromDut_21() + CHIP_ERROR TestStep21ThReadsFromTheDutThe0x400cColorTempPhysicalMaxMiredsAttribute_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12408,9 +12455,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorTempPhysicalMaxMiredsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 21: TH reads ColorTempPhysicalMaxMireds attribute from DUT: Error: %@", err); + NSLog(@"Step 21: TH reads from the DUT the (0x400c) ColorTempPhysicalMaxMireds attribute: Error: %@", err); } else { - NSLog(@"Step 21: TH reads ColorTempPhysicalMaxMireds attribute from DUT: Success"); + NSLog(@"Step 21: TH reads from the DUT the (0x400c) ColorTempPhysicalMaxMireds attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12425,7 +12472,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep22ThReadsCoupleColorTempToLevelMinMiredsAttributeFromDut_22() + CHIP_ERROR TestStep22ThReadsFromTheDutThe0x400dCoupleColorTempToLevelMinMiredsAttribute_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12434,9 +12481,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeCoupleColorTempToLevelMinMiredsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 22: TH reads CoupleColorTempToLevelMinMireds attribute from DUT: Error: %@", err); + NSLog(@"Step 22: TH reads from the DUT the (0x400d) CoupleColorTempToLevelMinMireds attribute: Error: %@", err); } else { - NSLog(@"Step 22: TH reads CoupleColorTempToLevelMinMireds attribute from DUT: Success"); + NSLog(@"Step 22: TH reads from the DUT the (0x400d) CoupleColorTempToLevelMinMireds attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12451,7 +12498,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep23ThReadsStartUpColorTemperatureMiredsAttributeFromDut_23() + CHIP_ERROR TestStep23ThReadsFromTheDutThe0x4010StartUpColorTemperatureMiredsAttribute_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12460,9 +12507,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeStartUpColorTemperatureMiredsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 23: TH reads StartUpColorTemperatureMireds attribute from DUT: Error: %@", err); + NSLog(@"Step 23: TH reads from the DUT the (0x4010) StartUpColorTemperatureMireds attribute: Error: %@", err); } else { - NSLog(@"Step 23: TH reads StartUpColorTemperatureMireds attribute from DUT: Success"); + NSLog(@"Step 23: TH reads from the DUT the (0x4010) StartUpColorTemperatureMireds attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12480,7 +12527,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep24ThReadsNumberOfPrimariesAttributeFromDut_24() + CHIP_ERROR TestStep24ThReadsFromTheDutThe0x0010NumberOfPrimariesAttribute_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12489,9 +12536,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeNumberOfPrimariesWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 24: TH reads NumberOfPrimaries attribute from DUT: Error: %@", err); + NSLog(@"Step 24: TH reads from the DUT the (0x0010) NumberOfPrimaries attribute: Error: %@", err); } else { - NSLog(@"Step 24: TH reads NumberOfPrimaries attribute from DUT: Success"); + NSLog(@"Step 24: TH reads from the DUT the (0x0010) NumberOfPrimaries attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12689,7 +12736,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep43ThReadsWhitePointXAttributeFromDut_43() + CHIP_ERROR TestStep43ThReadsFromTheDutThe0x0030WhitePointXAttribute_43() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12698,9 +12745,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeWhitePointXWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 43: TH reads WhitePointX attribute from DUT: Error: %@", err); + NSLog(@"Step 43: TH reads from the DUT the (0x0030) WhitePointX attribute: Error: %@", err); } else { - NSLog(@"Step 43: TH reads WhitePointX attribute from DUT: Success"); + NSLog(@"Step 43: TH reads from the DUT the (0x0030) WhitePointX attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12715,7 +12762,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep44ThReadsWhitePointYAttributeFromDut_44() + CHIP_ERROR TestStep44ThReadsFromTheDutThe0x0031WhitePointYAttribute_44() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12724,9 +12771,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeWhitePointYWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 44: TH reads WhitePointY attribute from DUT: Error: %@", err); + NSLog(@"Step 44: TH reads from the DUT the (0x0031) WhitePointY attribute: Error: %@", err); } else { - NSLog(@"Step 44: TH reads WhitePointY attribute from DUT: Success"); + NSLog(@"Step 44: TH reads from the DUT the (0x0031) WhitePointY attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12741,7 +12788,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep45ThReadsColorPointRXAttributeFromDut_45() + CHIP_ERROR TestStep45ThReadsFromTheDutThe0x0032ColorPointRXAttribute_45() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12750,9 +12797,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointRXWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 45: TH reads ColorPointRX attribute from DUT: Error: %@", err); + NSLog(@"Step 45: TH reads from the DUT the (0x0032) ColorPointRX attribute: Error: %@", err); } else { - NSLog(@"Step 45: TH reads ColorPointRX attribute from DUT: Success"); + NSLog(@"Step 45: TH reads from the DUT the (0x0032) ColorPointRX attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12767,7 +12814,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep46ThReadsColorPointRYAttributeFromDut_46() + CHIP_ERROR TestStep46ThReadsFromTheDutThe0x0033ColorPointRYAttribute_46() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12776,9 +12823,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointRYWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 46: TH reads ColorPointRY attribute from DUT: Error: %@", err); + NSLog(@"Step 46: TH reads from the DUT the (0x0033) ColorPointRY attribute: Error: %@", err); } else { - NSLog(@"Step 46: TH reads ColorPointRY attribute from DUT: Success"); + NSLog(@"Step 46: TH reads from the DUT the (0x0033) ColorPointRY attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12793,7 +12840,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep47ThReadsColorPointRIntensityAttributeFromDut_47() + CHIP_ERROR TestStep47ThReadsFromTheDutThe0x0034ColorPointRIntensityAttribute_47() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12802,9 +12849,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointRIntensityWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 47: TH reads ColorPointRIntensity attribute from DUT: Error: %@", err); + NSLog(@"Step 47: TH reads from the DUT the (0x0034) ColorPointRIntensity attribute: Error: %@", err); } else { - NSLog(@"Step 47: TH reads ColorPointRIntensity attribute from DUT: Success"); + NSLog(@"Step 47: TH reads from the DUT the (0x0034) ColorPointRIntensity attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12822,7 +12869,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep48ThReadsColorPointGXAttributeFromDut_48() + CHIP_ERROR TestStep48ThReadsFromTheDutThe0x0036ColorPointGXAttribute_48() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12831,9 +12878,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointGXWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 48: TH reads ColorPointGX attribute from DUT: Error: %@", err); + NSLog(@"Step 48: TH reads from the DUT the (0x0036) ColorPointGX attribute: Error: %@", err); } else { - NSLog(@"Step 48: TH reads ColorPointGX attribute from DUT: Success"); + NSLog(@"Step 48: TH reads from the DUT the (0x0036) ColorPointGX attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12848,7 +12895,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep49ThReadsColorPointGYAttributeFromDut_49() + CHIP_ERROR TestStep49ThReadsFromTheDutThe0x0037ColorPointGYAttribute_49() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12857,9 +12904,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointGYWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 49: TH reads ColorPointGY attribute from DUT: Error: %@", err); + NSLog(@"Step 49: TH reads from the DUT the (0x0037) ColorPointGY attribute: Error: %@", err); } else { - NSLog(@"Step 49: TH reads ColorPointGY attribute from DUT: Success"); + NSLog(@"Step 49: TH reads from the DUT the (0x0037) ColorPointGY attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12874,7 +12921,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep50ThReadsColorPointGIntensityAttributeFromDut_50() + CHIP_ERROR TestStep50ThReadsFromTheDutThe0x0038ColorPointGIntensityAttribute_50() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12883,9 +12930,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointGIntensityWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 50: TH reads ColorPointGIntensity attribute from DUT: Error: %@", err); + NSLog(@"Step 50: TH reads from the DUT the (0x0038) ColorPointGIntensity attribute: Error: %@", err); } else { - NSLog(@"Step 50: TH reads ColorPointGIntensity attribute from DUT: Success"); + NSLog(@"Step 50: TH reads from the DUT the (0x0038) ColorPointGIntensity attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12903,7 +12950,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep51ThReadsColorPointBXAttributeFromDut_51() + CHIP_ERROR TestStep51ThReadsFromTheDutThe0x003aColorPointBXAttribute_51() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12912,9 +12959,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointBXWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 51: TH reads ColorPointBX attribute from DUT: Error: %@", err); + NSLog(@"Step 51: TH reads from the DUT the (0x003a) ColorPointBX attribute: Error: %@", err); } else { - NSLog(@"Step 51: TH reads ColorPointBX attribute from DUT: Success"); + NSLog(@"Step 51: TH reads from the DUT the (0x003a) ColorPointBX attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12929,7 +12976,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep52ThReadsColorPointBYAttributeFromDut_52() + CHIP_ERROR TestStep52ThReadsFromTheDutThe0x003bColorPointBYAttribute_52() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12938,9 +12985,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointBYWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 52: TH reads ColorPointBY attribute from DUT: Error: %@", err); + NSLog(@"Step 52: TH reads from the DUT the (0x003b) ColorPointBY attribute: Error: %@", err); } else { - NSLog(@"Step 52: TH reads ColorPointBY attribute from DUT: Success"); + NSLog(@"Step 52: TH reads from the DUT the (0x003b) ColorPointBY attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -12955,7 +13002,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep53ThReadsColorPointBIntensityAttributeFromDut_53() + CHIP_ERROR TestStep53ThReadsFromTheDutThe0x003cColorPointBIntensityAttribute_53() { MTRBaseDevice * device = GetDevice("alpha"); @@ -12964,9 +13011,9 @@ class Test_TC_CC_2_1 : public TestCommandBridge { [cluster readAttributeColorPointBIntensityWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 53: TH reads ColorPointBIntensity attribute from DUT: Error: %@", err); + NSLog(@"Step 53: TH reads from the DUT the (0x003c) ColorPointBIntensity attribute: Error: %@", err); } else { - NSLog(@"Step 53: TH reads ColorPointBIntensity attribute from DUT: Success"); + NSLog(@"Step 53: TH reads from the DUT the (0x003c) ColorPointBIntensity attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -22143,12 +22190,12 @@ class Test_TC_CC_6_1 : public TestCommandBridge { err = TestStep0bThSendsOnCommandToDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1a: H reads ColorTempPhysicalMinMireds attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1a: TH reads ColorTempPhysicalMinMireds attribute from DUT\n"); if (ShouldSkip("CC.S.F04 && CC.S.A400b")) { NextTest(); return; } - err = TestStep1aHReadsColorTempPhysicalMinMiredsAttributeFromDut_3(); + err = TestStep1aThReadsColorTempPhysicalMinMiredsAttributeFromDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1b: TH reads ColorTempPhysicalMaxMireds attribute from DUT.\n"); @@ -22442,7 +22489,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { } NSNumber * _Nonnull ColorTempPhysicalMinMiredsValue; - CHIP_ERROR TestStep1aHReadsColorTempPhysicalMinMiredsAttributeFromDut_3() + CHIP_ERROR TestStep1aThReadsColorTempPhysicalMinMiredsAttributeFromDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -22451,9 +22498,9 @@ class Test_TC_CC_6_1 : public TestCommandBridge { [cluster readAttributeColorTempPhysicalMinMiredsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: H reads ColorTempPhysicalMinMireds attribute from DUT: Error: %@", err); + NSLog(@"Step 1a: TH reads ColorTempPhysicalMinMireds attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 1a: H reads ColorTempPhysicalMinMireds attribute from DUT: Success"); + NSLog(@"Step 1a: TH reads ColorTempPhysicalMinMireds attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32043,16 +32090,16 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set\n"); - err = TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute. and check for either bit 0 or 1 set\n"); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given FLDCONC.S.F00(MEA) ensure featuremap has the correct bit set\n"); @@ -32151,28 +32198,28 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { err = TestStep3mGivenFldconcsf05avgIsNotSetEnsureFeaturemapHasTheCorrectBitClear_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_15(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_16(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: Read the optional attribute Uncertainty in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: TH reads the optional attribute Uncertainty in AttributeList\n"); if (ShouldSkip("FLDCONC.S.A0007 && FLDCONC.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17(); + err = TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4c: Check the optional attribute Uncertainty is excluded from AttributeList when FLDCONC.S.A0007 is not set\n"); @@ -32183,12 +32230,12 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { err = TestStep4cCheckTheOptionalAttributeUncertaintyIsExcludedFromAttributeListWhenFldconcsa0007IsNotSet_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); if (ShouldSkip("FLDCONC.S.F00")) { NextTest(); return; } - err = TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); + err = TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4e: Check that MeasuredValue, MinMeasuredValue, MaxMeasuredValue, Measurement Unit and Uncertainty are excluded from AttributeList when FLDCONC.S.F00 (MEA) is not set\n"); @@ -32199,12 +32246,12 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { err = TestStep4eCheckThatMeasuredValueMinMeasuredValueMaxMeasuredValueMeasurementUnitAndUncertaintyAreExcludedFromAttributeListWhenFldconcsf00MeaIsNotSet_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("FLDCONC.S.F04")) { NextTest(); return; } - err = TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); + err = TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4g: Check that PeakMeasuredValue & PeakMeasuredValueWindow are excluded from AttributeList when FLDCONC.S.F04 (PEA) is not set\n"); @@ -32215,12 +32262,12 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { err = TestStep4gCheckThatPeakMeasuredValuePeakMeasuredValueWindowAreExcludedFromAttributeListWhenFldconcsf04PeaIsNotSet_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("FLDCONC.S.F05")) { NextTest(); return; } - err = TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); + err = TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when FLDCONC.S.F05 (AVG) is not set\n"); @@ -32231,12 +32278,12 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { err = TestStep4iCheckThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenFldconcsf05AvgIsNotSet_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList\n"); if (ShouldSkip("FLDCONC.S.F01")) { NextTest(); return; } - err = TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); + err = TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4k: Check that LevelValue is excluded from AttributeList when FLDCONC.S.F01 (LEV) is not set\n"); @@ -32247,7 +32294,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { err = TestStep4kCheckThatLevelValueIsExcludedFromAttributeListWhenFldconcsf01LevIsNotSet_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -32255,12 +32302,12 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { NextTest(); return; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_28(); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_29(); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29(); break; } @@ -32380,7 +32427,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -32388,7 +32435,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32397,9 +32444,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32416,7 +32463,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32425,9 +32472,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute. and check for either bit 0 or 1 set: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute. and check for either bit 0 or 1 set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32715,7 +32762,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_15() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32724,9 +32771,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32746,7 +32793,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_16() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32755,9 +32802,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32776,7 +32823,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32785,9 +32832,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32826,7 +32873,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() + CHIP_ERROR TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32835,9 +32882,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32883,7 +32930,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() + CHIP_ERROR TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32892,9 +32939,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32935,7 +32982,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() + CHIP_ERROR TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32944,9 +32991,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -32987,7 +33034,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() + CHIP_ERROR TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -32996,9 +33043,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Success"); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -33037,7 +33084,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_28() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -33046,9 +33093,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -33065,7 +33112,7 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_29() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -33074,9 +33121,9 @@ class Test_TC_FLDCONC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -33646,16 +33693,16 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set\n"); - err = TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute. and check for either bit 0 or 1 set\n"); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given NDOCONC.S.F00(MEA) ensure featuremap has the correct bit set\n"); @@ -33754,28 +33801,28 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { err = TestStep3mGivenNdoconcsf05avgIsNotSetEnsureFeaturemapHasTheCorrectBitClear_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_15(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_16(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: Read the optional attribute Uncertainty in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: TH reads the optional attribute Uncertainty in AttributeList\n"); if (ShouldSkip("NDOCONC.S.A0007 && NDOCONC.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17(); + err = TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4c: Check the optional attribute Uncertainty is excluded from AttributeList when NDOCONC.S.A0007 is not set\n"); @@ -33786,12 +33833,12 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { err = TestStep4cCheckTheOptionalAttributeUncertaintyIsExcludedFromAttributeListWhenNdoconcsa0007IsNotSet_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); if (ShouldSkip("NDOCONC.S.F00")) { NextTest(); return; } - err = TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); + err = TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4e: Check that MeasuredValue, MinMeasuredValue, MaxMeasuredValue, Measurement Unit and Uncertainty are excluded from AttributeList when NDOCONC.S.F00 (MEA) is not set\n"); @@ -33802,12 +33849,12 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { err = TestStep4eCheckThatMeasuredValueMinMeasuredValueMaxMeasuredValueMeasurementUnitAndUncertaintyAreExcludedFromAttributeListWhenNdoconcsf00MeaIsNotSet_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("NDOCONC.S.F04")) { NextTest(); return; } - err = TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); + err = TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4g: Check that PeakMeasuredValue & PeakMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F04 (PEA) is not set\n"); @@ -33818,28 +33865,28 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { err = TestStep4gCheckThatPeakMeasuredValuePeakMeasuredValueWindowAreExcludedFromAttributeListWhenNdoconcsf04PeaIsNotSet_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("NDOCONC.S.F05")) { NextTest(); return; } - err = TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); + err = TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4i: TH reads that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set\n"); if (ShouldSkip(" !NDOCONC.S.F05 ")) { NextTest(); return; } - err = TestStep4iCheckThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenNdoconcsf05AvgIsNotSet_24(); + err = TestStep4iThReadsThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenNdoconcsf05AvgIsNotSet_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList\n"); if (ShouldSkip("NDOCONC.S.F01")) { NextTest(); return; } - err = TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); + err = TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4k: Check that LevelValue is excluded from AttributeList when NDOCONC.S.F01 (LEV) is not set\n"); @@ -33850,7 +33897,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { err = TestStep4kCheckThatLevelValueIsExcludedFromAttributeListWhenNdoconcsf01LevIsNotSet_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -33858,12 +33905,12 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { NextTest(); return; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_28(); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_29(); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29(); break; } @@ -33983,7 +34030,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -33991,7 +34038,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34000,9 +34047,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34019,7 +34066,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34028,9 +34075,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute. and check for either bit 0 or 1 set: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute. and check for either bit 0 or 1 set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34318,7 +34365,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_15() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34327,9 +34374,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34349,7 +34396,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_16() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34358,9 +34405,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34379,7 +34426,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34388,9 +34435,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34429,7 +34476,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() + CHIP_ERROR TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34438,9 +34485,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34486,7 +34533,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() + CHIP_ERROR TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34495,9 +34542,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34538,7 +34585,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() + CHIP_ERROR TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34547,9 +34594,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34564,7 +34611,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4iCheckThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenNdoconcsf05AvgIsNotSet_24() + CHIP_ERROR TestStep4iThReadsThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenNdoconcsf05AvgIsNotSet_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34573,9 +34620,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set: Error: %@", err); + NSLog(@"Step 4i: TH reads that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set: Error: %@", err); } else { - NSLog(@"Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set: Success"); + NSLog(@"Step 4i: TH reads that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when NDOCONC.S.F05 (AVG) is not set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34590,7 +34637,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() + CHIP_ERROR TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34599,9 +34646,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Success"); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34640,7 +34687,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_28() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34649,9 +34696,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -34668,7 +34715,7 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_29() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -34677,9 +34724,9 @@ class Test_TC_NDOCONC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -35249,16 +35296,16 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set\n"); - err = TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set\n"); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given OZCONC.S.F00(MEA) ensure featuremap has the correct bit set\n"); @@ -35357,28 +35404,28 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { err = TestStep3mGivenOzconcsf05avgIsNotSetEnsureFeaturemapHasTheCorrectBitClear_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_15(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_16(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: Read the optional attribute Uncertainty in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: TH reads the optional attribute Uncertainty in AttributeList\n"); if (ShouldSkip("OZCONC.S.A0007 && OZCONC.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17(); + err = TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4c: Check the optional attribute Uncertainty is excluded from AttributeList when OZCONC.S.A0007 is not set\n"); @@ -35389,12 +35436,12 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { err = TestStep4cCheckTheOptionalAttributeUncertaintyIsExcludedFromAttributeListWhenOzconcsa0007IsNotSet_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); if (ShouldSkip("OZCONC.S.F00")) { NextTest(); return; } - err = TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); + err = TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4e: Check that MeasuredValue, MinMeasuredValue, MaxMeasuredValue, Measurement Unit and Uncertainty are excluded from AttributeList when OZCONC.S.F00 (MEA) is not set\n"); @@ -35405,12 +35452,12 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { err = TestStep4eCheckThatMeasuredValueMinMeasuredValueMaxMeasuredValueMeasurementUnitAndUncertaintyAreExcludedFromAttributeListWhenOzconcsf00MeaIsNotSet_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("OZCONC.S.F04")) { NextTest(); return; } - err = TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); + err = TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4g: Check that PeakMeasuredValue & PeakMeasuredValueWindow are excluded from AttributeList when OZCONC.S.F04 (PEA) is not set\n"); @@ -35421,12 +35468,12 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { err = TestStep4gCheckThatPeakMeasuredValuePeakMeasuredValueWindowAreExcludedFromAttributeListWhenOzconcsf04PeaIsNotSet_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("OZCONC.S.F05")) { NextTest(); return; } - err = TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); + err = TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when OZCONC.S.F05 (AVG) is not set\n"); @@ -35437,12 +35484,12 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { err = TestStep4iCheckThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenOzconcsf05AvgIsNotSet_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList\n"); if (ShouldSkip("OZCONC.S.F01")) { NextTest(); return; } - err = TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); + err = TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4k: Check that LevelValue is excluded from AttributeList when OZCONC.S.F01 (LEV) is not set\n"); @@ -35453,7 +35500,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { err = TestStep4kCheckThatLevelValueIsExcludedFromAttributeListWhenOzconcsf01LevIsNotSet_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -35461,12 +35508,12 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { NextTest(); return; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_28(); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_29(); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29(); break; } @@ -35586,7 +35633,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -35594,7 +35641,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -35603,9 +35650,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -35622,7 +35669,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -35631,9 +35678,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -35921,7 +35968,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_15() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -35930,9 +35977,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -35952,7 +35999,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_16() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -35961,9 +36008,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -35982,7 +36029,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -35991,9 +36038,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -36032,7 +36079,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() + CHIP_ERROR TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -36041,9 +36088,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -36089,7 +36136,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() + CHIP_ERROR TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -36098,9 +36145,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -36141,7 +36188,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() + CHIP_ERROR TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -36150,9 +36197,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -36193,7 +36240,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() + CHIP_ERROR TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -36202,9 +36249,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Success"); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -36243,7 +36290,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_28() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -36252,9 +36299,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -36271,7 +36318,7 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_29() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -36280,9 +36327,9 @@ class Test_TC_OZCONC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -41661,16 +41708,16 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set\n"); - err = TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set\n"); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given RNCONC.S.F00(MEA) ensure featuremap has the correct bit set\n"); @@ -41769,28 +41816,28 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { err = TestStep3mGivenRnconcsf05avgIsNotSetEnsureFeaturemapHasTheCorrectBitClear_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_15(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_16(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: Read the optional attribute Uncertainty in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: TH reads the optional attribute Uncertainty in AttributeList\n"); if (ShouldSkip("RNCONC.S.A0007 && RNCONC.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17(); + err = TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4c: Check the optional attribute Uncertainty is excluded from AttributeList when RNCONC.S.A0007 is not set\n"); @@ -41801,12 +41848,12 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { err = TestStep4cCheckTheOptionalAttributeUncertaintyIsExcludedFromAttributeListWhenRnconcsa0007IsNotSet_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); if (ShouldSkip("RNCONC.S.F00")) { NextTest(); return; } - err = TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); + err = TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4e: Check that MeasuredValue, MinMeasuredValue, MaxMeasuredValue, Measurement Unit and Uncertainty are excluded from AttributeList when RNCONC.S.F00 (MEA) is not set\n"); @@ -41817,12 +41864,12 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { err = TestStep4eCheckThatMeasuredValueMinMeasuredValueMaxMeasuredValueMeasurementUnitAndUncertaintyAreExcludedFromAttributeListWhenRnconcsf00MeaIsNotSet_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("RNCONC.S.F04")) { NextTest(); return; } - err = TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); + err = TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4g: Check that PeakMeasuredValue & PeakMeasuredValueWindow are excluded from AttributeList when RNCONC.S.F04 (PEA) is not set\n"); @@ -41833,12 +41880,12 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { err = TestStep4gCheckThatPeakMeasuredValuePeakMeasuredValueWindowAreExcludedFromAttributeListWhenRnconcsf04PeaIsNotSet_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("RNCONC.S.F05")) { NextTest(); return; } - err = TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); + err = TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when RNCONC.S.F05 (AVG) is not set\n"); @@ -41849,12 +41896,12 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { err = TestStep4iCheckThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenRnconcsf05AvgIsNotSet_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList\n"); if (ShouldSkip("RNCONC.S.F01")) { NextTest(); return; } - err = TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); + err = TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4k: Check that LevelValue is excluded from AttributeList when RNCONC.S.F01 (LEV) is not set\n"); @@ -41865,7 +41912,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { err = TestStep4kCheckThatLevelValueIsExcludedFromAttributeListWhenRnconcsf01LevIsNotSet_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -41873,12 +41920,12 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { NextTest(); return; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_28(); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_29(); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29(); break; } @@ -41998,7 +42045,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -42006,7 +42053,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42015,9 +42062,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42034,7 +42081,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42043,9 +42090,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42333,7 +42380,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_15() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42342,9 +42389,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42364,7 +42411,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_16() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42373,9 +42420,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42394,7 +42441,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42403,9 +42450,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42444,7 +42491,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() + CHIP_ERROR TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42453,9 +42500,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42501,7 +42548,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() + CHIP_ERROR TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42510,9 +42557,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42553,7 +42600,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() + CHIP_ERROR TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42562,9 +42609,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42605,7 +42652,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() + CHIP_ERROR TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42614,9 +42661,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Success"); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42655,7 +42702,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_28() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42664,9 +42711,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -42683,7 +42730,7 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_29() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -42692,9 +42739,9 @@ class Test_TC_RNCONC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -43264,16 +43311,16 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test)\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set\n"); - err = TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set\n"); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given TVOCCONC.S.F00(MEA) ensure featuremap has the correct bit set\n"); @@ -43372,28 +43419,28 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { err = TestStep3mGivenTvocconcsf05avgIsNotSetEnsureFeaturemapHasTheCorrectBitClear_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_15(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_16(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: Read the optional attribute Uncertainty in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: TH reads the optional attribute Uncertainty in AttributeList\n"); if (ShouldSkip("TVOCCONC.S.A0007 && TVOCCONC.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17(); + err = TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4c: Check the optional attribute Uncertainty is excluded from AttributeList when TVOCCONC.S.A0007 is not set\n"); @@ -43404,12 +43451,12 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { err = TestStep4cCheckTheOptionalAttributeUncertaintyIsExcludedFromAttributeListWhenTvocconcsa0007IsNotSet_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList\n"); if (ShouldSkip("TVOCCONC.S.F00")) { NextTest(); return; } - err = TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); + err = TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4e: Check that MeasuredValue, MinMeasuredValue, MaxMeasuredValue, Measurement Unit and Uncertainty are excluded from AttributeList when TVOCCONC.S.F00 (MEA) is not set\n"); @@ -43420,12 +43467,12 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { err = TestStep4eCheckThatMeasuredValueMinMeasuredValueMaxMeasuredValueMeasurementUnitAndUncertaintyAreExcludedFromAttributeListWhenTvocconcsf00MeaIsNotSet_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("TVOCCONC.S.F04")) { NextTest(); return; } - err = TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); + err = TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4g: Check that PeakMeasuredValue & PeakMeasuredValueWindow are excluded from AttributeList when TVOCCONC.S.F04 (PEA) is not set\n"); @@ -43436,12 +43483,12 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { err = TestStep4gCheckThatPeakMeasuredValuePeakMeasuredValueWindowAreExcludedFromAttributeListWhenTvocconcsf04PeaIsNotSet_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList\n"); if (ShouldSkip("TVOCCONC.S.F05")) { NextTest(); return; } - err = TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); + err = TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4i: Check that AverageMeasuredValue and AverageMeasuredValueWindow are excluded from AttributeList when TVOCCONC.S.F05 (AVG) is not set\n"); @@ -43452,12 +43499,12 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { err = TestStep4iCheckThatAverageMeasuredValueAndAverageMeasuredValueWindowAreExcludedFromAttributeListWhenTvocconcsf05AvgIsNotSet_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList\n"); if (ShouldSkip("TVOCCONC.S.F01")) { NextTest(); return; } - err = TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); + err = TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4k: Check that LevelValue is excluded from AttributeList when TVOCCONC.S.F01 (LEV) is not set\n"); @@ -43468,7 +43515,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { err = TestStep4kCheckThatLevelValueIsExcludedFromAttributeListWhenTvocconcsf01LevIsNotSet_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5: TH reads from the DUT the EventList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -43476,12 +43523,12 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { NextTest(); return; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_28(); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_29(); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29(); break; } @@ -43601,7 +43648,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -43609,7 +43656,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -43618,9 +43665,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -43637,7 +43684,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMapAndCheckForEitherBit0Or1Set_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttributeAndCheckForEitherBit0Or1Set_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -43646,9 +43693,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap and check for either bit 0 or 1 set: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute and check for either bit 0 or 1 set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -43936,7 +43983,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_15() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -43945,9 +43992,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -43967,7 +44014,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_16() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -43976,9 +44023,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -43997,7 +44044,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeUncertaintyInAttributeList_17() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeUncertaintyInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44006,9 +44053,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute Uncertainty in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute Uncertainty in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44047,7 +44094,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() + CHIP_ERROR TestStep4dThReadsTheOptionalFeatureDependentAttributesMeasuredValueMinMeasuredValueMaxMeasuredValueAndMeasurementUnitInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44056,9 +44103,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional, feature dependent attributes MeasuredValue, MinMeasuredValue, MaxMeasuredValue and Measurement Unit in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44104,7 +44151,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() + CHIP_ERROR TestStep4fThReadsTheOptionalFeatureDependentAttributesPeakMeasuredValuePeakMeasuredValueWindowInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44113,9 +44160,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional, feature dependent attributes PeakMeasuredValue & PeakMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44156,7 +44203,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() + CHIP_ERROR TestStep4hThReadsTheOptionalFeatureDependentAttributesAverageMeasuredValueAverageMeasuredValueWindowInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44165,9 +44212,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the optional, feature dependent attributes AverageMeasuredValue AverageMeasuredValueWindow in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44208,7 +44255,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() + CHIP_ERROR TestStep4jThReadsTheOptionalFeatureDependentAttributeLevelValueInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44217,9 +44264,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: Read the optional, feature dependent attribute LevelValue in AttributeList: Success"); + NSLog(@"Step 4j: TH reads the optional, feature dependent attribute LevelValue in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44258,7 +44305,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_28() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44267,9 +44314,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44286,7 +44333,7 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_29() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44295,9 +44342,9 @@ class Test_TC_TVOCCONC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44867,35 +44914,35 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap from DUT\n"); - err = TestStep3ThReadsTheFeatureMapFromDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_3(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_4(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -44903,12 +44950,12 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { NextTest(); return; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7(); break; } @@ -44962,7 +45009,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -44970,7 +45017,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -44979,9 +45026,9 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -44998,7 +45045,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45007,9 +45054,9 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -45026,7 +45073,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45035,9 +45082,9 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -45062,7 +45109,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45071,9 +45118,9 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -45097,7 +45144,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45106,9 +45153,9 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -45129,7 +45176,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45138,9 +45185,9 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -45291,52 +45338,60 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { err = TestStep4iThReadsOptionalAttributeUniqueIDInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5a: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4j: TH reads optional attribute(ProductAppearance) in attributeList\n"); + if (ShouldSkip("BINFO.S.A0014")) { + NextTest(); + return; + } + err = TestStep4jThReadsOptionalAttributeProductAppearanceInAttributeList_13(); + break; + case 14: + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5a: TH reads EventList from DUT\n"); if (ShouldSkip(" !BINFO.S.E00 && !BINFO.S.E01 && !BINFO.S.E02 && !BINFO.S.A0011 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5b: Read BINFO.S.E00(StartUp) event in EventList\n"); + case 15: + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5b: TH reads BINFO.S.E00(StartUp) event in EventList\n"); if (ShouldSkip("BINFO.S.E00 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5c: Read BINFO.S.E01(ShutDown) event in EventList\n"); + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5c: TH reads BINFO.S.E01(ShutDown) event in EventList\n"); if (ShouldSkip("BINFO.S.E01 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5d: Read BINFO.S.E02(Leave) event in EventList\n"); + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 5d: TH reads BINFO.S.E02(Leave) event in EventList\n"); if (ShouldSkip("BINFO.S.E02 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 5e: Read (ReachableChanged) event in EventList\n"); + case 18: + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 5e: TH reads (ReachableChanged) event in EventList\n"); if (ShouldSkip("BINFO.S.A0011 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); - err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_18(); - break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); - err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19(); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_19(); + break; + case 20: + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_20(); break; } @@ -45409,6 +45464,9 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 20: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -45419,7 +45477,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 20; + const uint16_t mTestCount = 21; chip::Optional mNodeId; chip::Optional mCluster; @@ -45773,7 +45831,32 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_18() + CHIP_ERROR TestStep4jThReadsOptionalAttributeProductAppearanceInAttributeList_13() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterBasicInformation alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { + if (err != nil) { + NSLog(@"Step 4j: TH reads optional attribute(ProductAppearance) in attributeList: Error: %@", err); + } else { + NSLog(@"Step 4j: TH reads optional attribute(ProductAppearance) in attributeList: Success"); + } + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 20UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45796,7 +45879,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48034,28 +48117,28 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read PHYRate attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads PHYRate attribute constraints\n"); if (ShouldSkip("DGETH.S.A0000")) { NextTest(); return; } - err = TestStep2ReadPHYRateAttributeConstraints_1(); + err = TestStep2ThReadsPHYRateAttributeConstraints_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read FullDuplex attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads FullDuplex attribute constraints\n"); if (ShouldSkip("DGETH.S.A0001")) { NextTest(); return; } - err = TestStep3ReadFullDuplexAttributeConstraints_2(); + err = TestStep3ThReadsFullDuplexAttributeConstraints_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read PacketRxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads PacketRxCount attribute constraints\n"); if (ShouldSkip("DGETH.S.A0002")) { NextTest(); return; } - err = TestStep4aReadPacketRxCountAttributeConstraints_3(); + err = TestStep4aThReadsPacketRxCountAttributeConstraints_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4b: Reboot target device\n"); @@ -48086,60 +48169,60 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { err = TestStep4dUponANodeRebootPacketRxCountAttributeValueWillBeResetTo0_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5a: Read PacketTxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5a: TH reads PacketTxCount attribute constraints\n"); if (ShouldSkip("DGETH.S.A0003")) { NextTest(); return; } - err = TestStep5aReadPacketTxCountAttributeConstraints_8(); + err = TestStep5aThReadsPacketTxCountAttributeConstraints_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5b: Read PacketTxCount attribute constraints, Upon a node reboot, the value will be reset to 0\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5b: TH reads PacketTxCount attribute constraints, Upon a node reboot, the value will be reset to 0\n"); if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0003")) { NextTest(); return; } - err = TestStep5bReadPacketTxCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_9(); + err = TestStep5bThReadsPacketTxCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0\n"); if (ShouldSkip("DGETH.S.A0004")) { NextTest(); return; } - err = TestStep6ReadTxErrCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_10(); + err = TestStep6ThReadsTxErrCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Read CollisionCount attribute , Upon a node reboot, the value will be reset to 0\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads CollisionCount attribute , Upon a node reboot, the value will be reset to 0\n"); if (ShouldSkip("DGETH.S.A0005")) { NextTest(); return; } - err = TestStep7ReadCollisionCountAttributeUponANodeRebootTheValueWillBeResetTo0_11(); + err = TestStep7ThReadsCollisionCountAttributeUponANodeRebootTheValueWillBeResetTo0_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 8: Read OverrunCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 8: TH reads OverrunCount attribute constraints\n"); if (ShouldSkip("DGETH.S.A0006")) { NextTest(); return; } - err = TestStep8ReadOverrunCountAttributeConstraints_12(); + err = TestStep8ThReadsOverrunCountAttributeConstraints_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 9: Read CarrierDetect attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 9: TH reads CarrierDetect attribute constraints\n"); if (ShouldSkip("DGETH.S.A0007")) { NextTest(); return; } - err = TestStep9ReadCarrierDetectAttributeConstraints_13(); + err = TestStep9ThReadsCarrierDetectAttributeConstraints_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 10: Read TimeSinceReset attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 10: TH reads TimeSinceReset attribute constraints\n"); if (ShouldSkip("DGETH.S.A0008")) { NextTest(); return; } - err = TestStep10ReadTimeSinceResetAttributeConstraints_14(); + err = TestStep10ThReadsTimeSinceResetAttributeConstraints_14(); break; } @@ -48222,7 +48305,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadPHYRateAttributeConstraints_1() + CHIP_ERROR TestStep2ThReadsPHYRateAttributeConstraints_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48231,9 +48314,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributePHYRateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read PHYRate attribute constraints: Error: %@", err); + NSLog(@"Step 2: TH reads PHYRate attribute constraints: Error: %@", err); } else { - NSLog(@"Step 2: Read PHYRate attribute constraints: Success"); + NSLog(@"Step 2: TH reads PHYRate attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48249,7 +48332,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadFullDuplexAttributeConstraints_2() + CHIP_ERROR TestStep3ThReadsFullDuplexAttributeConstraints_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48258,9 +48341,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributeFullDuplexWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read FullDuplex attribute constraints: Error: %@", err); + NSLog(@"Step 3: TH reads FullDuplex attribute constraints: Error: %@", err); } else { - NSLog(@"Step 3: Read FullDuplex attribute constraints: Success"); + NSLog(@"Step 3: TH reads FullDuplex attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48276,7 +48359,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadPacketRxCountAttributeConstraints_3() + CHIP_ERROR TestStep4aThReadsPacketRxCountAttributeConstraints_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48285,9 +48368,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributePacketRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read PacketRxCount attribute constraints: Error: %@", err); + NSLog(@"Step 4a: TH reads PacketRxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 4a: Read PacketRxCount attribute constraints: Success"); + NSLog(@"Step 4a: TH reads PacketRxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48337,7 +48420,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep5aReadPacketTxCountAttributeConstraints_8() + CHIP_ERROR TestStep5aThReadsPacketTxCountAttributeConstraints_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48346,9 +48429,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributePacketTxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5a: Read PacketTxCount attribute constraints: Error: %@", err); + NSLog(@"Step 5a: TH reads PacketTxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 5a: Read PacketTxCount attribute constraints: Success"); + NSLog(@"Step 5a: TH reads PacketTxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48363,7 +48446,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5bReadPacketTxCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_9() + CHIP_ERROR TestStep5bThReadsPacketTxCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_9() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -48373,7 +48456,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep6ReadTxErrCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_10() + CHIP_ERROR TestStep6ThReadsTxErrCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48382,9 +48465,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributeTxErrCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0: Error: %@", err); + NSLog(@"Step 6: TH reads TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0: Error: %@", err); } else { - NSLog(@"Step 6: Read TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0: Success"); + NSLog(@"Step 6: TH reads TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48401,7 +48484,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadCollisionCountAttributeUponANodeRebootTheValueWillBeResetTo0_11() + CHIP_ERROR TestStep7ThReadsCollisionCountAttributeUponANodeRebootTheValueWillBeResetTo0_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48410,9 +48493,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributeCollisionCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read CollisionCount attribute , Upon a node reboot, the value will be reset to 0: Error: %@", err); + NSLog(@"Step 7: TH reads CollisionCount attribute , Upon a node reboot, the value will be reset to 0: Error: %@", err); } else { - NSLog(@"Step 7: Read CollisionCount attribute , Upon a node reboot, the value will be reset to 0: Success"); + NSLog(@"Step 7: TH reads CollisionCount attribute , Upon a node reboot, the value will be reset to 0: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48429,7 +48512,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ReadOverrunCountAttributeConstraints_12() + CHIP_ERROR TestStep8ThReadsOverrunCountAttributeConstraints_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48438,9 +48521,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributeOverrunCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Read OverrunCount attribute constraints: Error: %@", err); + NSLog(@"Step 8: TH reads OverrunCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 8: Read OverrunCount attribute constraints: Success"); + NSLog(@"Step 8: TH reads OverrunCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48457,7 +48540,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ReadCarrierDetectAttributeConstraints_13() + CHIP_ERROR TestStep9ThReadsCarrierDetectAttributeConstraints_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48466,9 +48549,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributeCarrierDetectWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Read CarrierDetect attribute constraints: Error: %@", err); + NSLog(@"Step 9: TH reads CarrierDetect attribute constraints: Error: %@", err); } else { - NSLog(@"Step 9: Read CarrierDetect attribute constraints: Success"); + NSLog(@"Step 9: TH reads CarrierDetect attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -48484,7 +48567,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ReadTimeSinceResetAttributeConstraints_14() + CHIP_ERROR TestStep10ThReadsTimeSinceResetAttributeConstraints_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -48493,9 +48576,9 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { [cluster readAttributeTimeSinceResetWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Read TimeSinceReset attribute constraints: Error: %@", err); + NSLog(@"Step 10: TH reads TimeSinceReset attribute constraints: Error: %@", err); } else { - NSLog(@"Step 10: Read TimeSinceReset attribute constraints: Success"); + NSLog(@"Step 10: TH reads TimeSinceReset attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49407,43 +49490,43 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1:Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the global attribute: FeatureMap\n"); - err = TestStep3ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Read the optional attribute(Tolerance) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads the optional attribute(Tolerance) in AttributeList\n"); if (ShouldSkip("FLW.S.A0003")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5(); + err = TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -49451,12 +49534,12 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { NextTest(); return; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8(); break; } @@ -49513,7 +49596,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -49521,7 +49604,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49530,9 +49613,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49549,7 +49632,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49558,9 +49641,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49577,7 +49660,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49586,9 +49669,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49610,7 +49693,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49619,9 +49702,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49642,7 +49725,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49651,9 +49734,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49667,7 +49750,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_7() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49676,9 +49759,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49695,7 +49778,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_8() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49704,9 +49787,9 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49765,35 +49848,35 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test)\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap from DUT\n"); - err = TestStep3ThReadsTheFeatureMapFromDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_3(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_4(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads EventList attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -49801,12 +49884,12 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { NextTest(); return; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads AcceptedCommandList attribute from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListAttributeFromDut_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads GeneratedCommandList attribute from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListAttributeFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7(); break; } @@ -49860,7 +49943,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -49868,7 +49951,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49877,9 +49960,9 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49896,7 +49979,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49905,9 +49988,9 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49924,7 +50007,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49933,9 +50016,9 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49955,7 +50038,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49964,9 +50047,9 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -49985,7 +50068,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListAttributeFromDut_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -49994,9 +50077,9 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50013,7 +50096,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListAttributeFromDut_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50022,9 +50105,9 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50083,20 +50166,20 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !FAN.S.F00 && !FAN.S.F01 && !FAN.S.F02 && !FAN.S.F03 && !FAN.S.F04 && !FAN.S.F05 ")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given FAN.S.F00(SPD) ensure featuremap has the correct bit set\n"); @@ -50147,52 +50230,52 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { err = TestStep3gGivenFansf05dirEnsureFeaturemapHasTheCorrectBitSet_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_9(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_10(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: Read the feature dependent FAN.S.F00 (SPD) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: TH Reads the feature dependent FAN.S.F00 (SPD) attribute in AttributeList\n"); if (ShouldSkip("FAN.S.F00")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentFansf00SpdAttributeInAttributeList_11(); + err = TestStep4cThReadsTheFeatureDependentFansf00SpdAttributeInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: Read the feature dependent FAN.S.F02(RCK) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: TH Reads the feature dependent FAN.S.F02(RCK) attribute in AttributeList\n"); if (ShouldSkip("FAN.S.F02")) { NextTest(); return; } - err = TestStep4dReadTheFeatureDependentFansf02rckAttributeInAttributeList_12(); + err = TestStep4dThReadsTheFeatureDependentFansf02rckAttributeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4e: Read the feature dependent FAN.S.F03(WND) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4e: TH Reads the feature dependent FAN.S.F03(WND) attribute in AttributeList\n"); if (ShouldSkip("FAN.S.F03")) { NextTest(); return; } - err = TestStep4eReadTheFeatureDependentFansf03wndAttributeInAttributeList_13(); + err = TestStep4eThReadsTheFeatureDependentFansf03wndAttributeInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4f: Read the feature dependent FAN.S.F05(DIR) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4f: TH Reads the feature dependent FAN.S.F05(DIR) attribute in AttributeList\n"); if (ShouldSkip("FAN.S.F05")) { NextTest(); return; } - err = TestStep4fReadTheFeatureDependentFansf05dirAttributeInAttributeList_14(); + err = TestStep4fThReadsTheFeatureDependentFansf05dirAttributeInAttributeList_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5: TH reads EventList attribute from DUT\n"); @@ -50203,24 +50286,24 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { NextTest(); return; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6: Read the global attribute: AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6:TH reads from the DUT the AcceptedCommandList attribute.\n"); if (ShouldSkip(" !FAN.S.C00.Rsp ")) { NextTest(); return; } - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_16(); + err = TestStep6thReadsFromTheDutTheAcceptedCommandListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6: Read the optional command (Step) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6: TH Reads the optional command (Step) in AcceptedCommandList\n"); if (ShouldSkip("FAN.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheOptionalCommandStepInAcceptedCommandList_17(); + err = TestStep6ThReadsTheOptionalCommandStepInAcceptedCommandList_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_18(); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_18(); break; } @@ -50307,7 +50390,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -50315,7 +50398,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50324,9 +50407,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50343,7 +50426,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50352,9 +50435,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50509,7 +50592,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_9() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50518,9 +50601,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50543,7 +50626,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_10() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50552,9 +50635,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50576,7 +50659,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentFansf00SpdAttributeInAttributeList_11() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentFansf00SpdAttributeInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50585,9 +50668,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the feature dependent FAN.S.F00 (SPD) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH Reads the feature dependent FAN.S.F00 (SPD) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the feature dependent FAN.S.F00 (SPD) attribute in AttributeList: Success"); + NSLog(@"Step 4c: TH Reads the feature dependent FAN.S.F00 (SPD) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50603,7 +50686,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheFeatureDependentFansf02rckAttributeInAttributeList_12() + CHIP_ERROR TestStep4dThReadsTheFeatureDependentFansf02rckAttributeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50612,9 +50695,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the feature dependent FAN.S.F02(RCK) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH Reads the feature dependent FAN.S.F02(RCK) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the feature dependent FAN.S.F02(RCK) attribute in AttributeList: Success"); + NSLog(@"Step 4d: TH Reads the feature dependent FAN.S.F02(RCK) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50629,7 +50712,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheFeatureDependentFansf03wndAttributeInAttributeList_13() + CHIP_ERROR TestStep4eThReadsTheFeatureDependentFansf03wndAttributeInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50638,9 +50721,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the feature dependent FAN.S.F03(WND) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH Reads the feature dependent FAN.S.F03(WND) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the feature dependent FAN.S.F03(WND) attribute in AttributeList: Success"); + NSLog(@"Step 4e: TH Reads the feature dependent FAN.S.F03(WND) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50655,7 +50738,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheFeatureDependentFansf05dirAttributeInAttributeList_14() + CHIP_ERROR TestStep4fThReadsTheFeatureDependentFansf05dirAttributeInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50664,9 +50747,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the feature dependent FAN.S.F05(DIR) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH Reads the feature dependent FAN.S.F05(DIR) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the feature dependent FAN.S.F05(DIR) attribute in AttributeList: Success"); + NSLog(@"Step 4f: TH Reads the feature dependent FAN.S.F05(DIR) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50680,7 +50763,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_16() + CHIP_ERROR TestStep6thReadsFromTheDutTheAcceptedCommandListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50689,9 +50772,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6:TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6:TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50708,7 +50791,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheOptionalCommandStepInAcceptedCommandList_17() + CHIP_ERROR TestStep6ThReadsTheOptionalCommandStepInAcceptedCommandList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50717,9 +50800,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the optional command (Step) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH Reads the optional command (Step) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6: Read the optional command (Step) in AcceptedCommandList: Success"); + NSLog(@"Step 6: TH Reads the optional command (Step) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -50733,7 +50816,7 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_18() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -50742,9 +50825,9 @@ class Test_TC_FAN_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -51035,8 +51118,8 @@ class Test_TC_FAN_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the the SpeedMax attribute\n"); @@ -51102,7 +51185,7 @@ class Test_TC_FAN_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -51237,8 +51320,8 @@ class Test_TC_FAN_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the the RockSupport attribute\n"); @@ -51293,7 +51376,7 @@ class Test_TC_FAN_2_3 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -51389,8 +51472,8 @@ class Test_TC_FAN_2_4 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the the WindSupport attribute\n"); @@ -51445,7 +51528,7 @@ class Test_TC_FAN_2_4 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -51542,8 +51625,8 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH writes a supported FanMode attribute that is other than off to DUT\n"); @@ -51562,12 +51645,12 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { err = TestWait1000ms_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH reads from the DUT the the FanMode attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: after a few seconds, TH reads from the DUT the the FanMode attribute\n"); if (ShouldSkip("FAN.S.A0000")) { NextTest(); return; } - err = TestStep2bThReadsFromTheDutTheTheFanModeAttribute_3(); + err = TestStep2bAfterAFewSecondsThReadsFromTheDutTheTheFanModeAttribute_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2.1a: TH writes the Off value of FanMode attribute to DUT\n"); @@ -51650,12 +51733,12 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { err = TestWait1000ms_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 3.1b: TH reads from the DUT the the FanMode attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 3.1b: after a few seconds, TH reads from the DUT the the FanMode attribute\n"); if (ShouldSkip("FAN.S.A0000")) { NextTest(); return; } - err = TestStep31bThReadsFromTheDutTheTheFanModeAttribute_14(); + err = TestStep31bAfterAFewSecondsThReadsFromTheDutTheTheFanModeAttribute_14(); break; } @@ -51731,7 +51814,7 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { chip::Optional mConfigPercentSetting; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -51772,7 +51855,7 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep2bThReadsFromTheDutTheTheFanModeAttribute_3() + CHIP_ERROR TestStep2bAfterAFewSecondsThReadsFromTheDutTheTheFanModeAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -51781,9 +51864,9 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { [cluster readAttributeFanModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: TH reads from the DUT the the FanMode attribute: Error: %@", err); + NSLog(@"Step 2b: after a few seconds, TH reads from the DUT the the FanMode attribute: Error: %@", err); } else { - NSLog(@"Step 2b: TH reads from the DUT the the FanMode attribute: Success"); + NSLog(@"Step 2b: after a few seconds, TH reads from the DUT the the FanMode attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -52007,7 +52090,7 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep31bThReadsFromTheDutTheTheFanModeAttribute_14() + CHIP_ERROR TestStep31bAfterAFewSecondsThReadsFromTheDutTheTheFanModeAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -52016,9 +52099,9 @@ class Test_TC_FAN_3_1 : public TestCommandBridge { [cluster readAttributeFanModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3.1b: TH reads from the DUT the the FanMode attribute: Error: %@", err); + NSLog(@"Step 3.1b: after a few seconds, TH reads from the DUT the the FanMode attribute: Error: %@", err); } else { - NSLog(@"Step 3.1b: TH reads from the DUT the the FanMode attribute: Success"); + NSLog(@"Step 3.1b: after a few seconds, TH reads from the DUT the the FanMode attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -52076,8 +52159,8 @@ class Test_TC_FAN_3_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the SpeedMax attribute\n"); @@ -52104,12 +52187,12 @@ class Test_TC_FAN_3_2 : public TestCommandBridge { err = TestWait1000ms_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the SpeedSetting attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: After a few seconds, TH reads from the DUT the SpeedSetting attribute\n"); if (ShouldSkip("FAN.S.A0005")) { NextTest(); return; } - err = TestStep4ThReadsFromTheDutTheSpeedSettingAttribute_4(); + err = TestStep4AfterAFewSecondsThReadsFromTheDutTheSpeedSettingAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the SpeedCurrent attribute\n"); @@ -52165,7 +52248,7 @@ class Test_TC_FAN_3_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -52233,7 +52316,7 @@ class Test_TC_FAN_3_2 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4ThReadsFromTheDutTheSpeedSettingAttribute_4() + CHIP_ERROR TestStep4AfterAFewSecondsThReadsFromTheDutTheSpeedSettingAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -52242,9 +52325,9 @@ class Test_TC_FAN_3_2 : public TestCommandBridge { [cluster readAttributeSpeedSettingWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads from the DUT the SpeedSetting attribute: Error: %@", err); + NSLog(@"Step 4: After a few seconds, TH reads from the DUT the SpeedSetting attribute: Error: %@", err); } else { - NSLog(@"Step 4: TH reads from the DUT the SpeedSetting attribute: Success"); + NSLog(@"Step 4: After a few seconds, TH reads from the DUT the SpeedSetting attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -52334,8 +52417,8 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH writes a value of Forward to the DUT\n"); @@ -52354,12 +52437,12 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { err = TestWait1000ms_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads from the DUT the AirflowDirection attribute and check it is forwards\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: after a few seconds, TH reads from the DUT the AirflowDirection attribute\n"); if (ShouldSkip("FAN.S.A000B")) { NextTest(); return; } - err = TestStep3ThReadsFromTheDutTheAirflowDirectionAttributeAndCheckItIsForwards_3(); + err = TestStep3AfterAFewSecondsThReadsFromTheDutTheAirflowDirectionAttribute_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH writes a value of Reverse to the DUT\n"); @@ -52378,12 +52461,12 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { err = TestWait1000ms_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads from the DUT the AirflowDirection attribute and check it is reverse\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: after a few seconds, TH reads from the DUT the AirflowDirection attribute\n"); if (ShouldSkip("FAN.S.A000B")) { NextTest(); return; } - err = TestStep5ThReadsFromTheDutTheAirflowDirectionAttributeAndCheckItIsReverse_6(); + err = TestStep5AfterAFewSecondsThReadsFromTheDutTheAirflowDirectionAttribute_6(); break; } @@ -52434,7 +52517,7 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -52475,7 +52558,7 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep3ThReadsFromTheDutTheAirflowDirectionAttributeAndCheckItIsForwards_3() + CHIP_ERROR TestStep3AfterAFewSecondsThReadsFromTheDutTheAirflowDirectionAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -52484,9 +52567,9 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { [cluster readAttributeAirflowDirectionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads from the DUT the AirflowDirection attribute and check it is forwards: Error: %@", err); + NSLog(@"Step 3: after a few seconds, TH reads from the DUT the AirflowDirection attribute: Error: %@", err); } else { - NSLog(@"Step 3: TH reads from the DUT the AirflowDirection attribute and check it is forwards: Success"); + NSLog(@"Step 3: after a few seconds, TH reads from the DUT the AirflowDirection attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -52535,7 +52618,7 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep5ThReadsFromTheDutTheAirflowDirectionAttributeAndCheckItIsReverse_6() + CHIP_ERROR TestStep5AfterAFewSecondsThReadsFromTheDutTheAirflowDirectionAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -52544,9 +52627,9 @@ class Test_TC_FAN_3_6 : public TestCommandBridge { [cluster readAttributeAirflowDirectionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH reads from the DUT the AirflowDirection attribute and check it is reverse: Error: %@", err); + NSLog(@"Step 5: after a few seconds, TH reads from the DUT the AirflowDirection attribute: Error: %@", err); } else { - NSLog(@"Step 5: TH reads from the DUT the AirflowDirection attribute and check it is reverse: Success"); + NSLog(@"Step 5: after a few seconds, TH reads from the DUT the AirflowDirection attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53263,75 +53346,79 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the global attribute: FeatureMap\n"); - err = TestStep3ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Validate presence of mandatory attribute(UpTime) in AttributeList\n"); + if (ShouldSkip("DGGEN.S.A0002")) { + NextTest(); + return; + } err = TestStep4bValidatePresenceOfMandatoryAttributeUpTimeInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0003")) { NextTest(); return; } - err = TestStep4cReadOptionalAttributeTotalOperationalHoursInAttributeList_6(); + err = TestStep4cThReadsOptionalAttributeTotalOperationalHoursInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4d: Read optional attribute(BootReason) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4d: TH reads optional attribute(BootReason) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0004")) { NextTest(); return; } - err = TestStep4dReadOptionalAttributeBootReasonInAttributeList_7(); + err = TestStep4dThReadsOptionalAttributeBootReasonInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0005")) { NextTest(); return; } - err = TestStep4eReadOptionalAttributeActiveHardwareFaultsInAttributeList_8(); + err = TestStep4eThReadsOptionalAttributeActiveHardwareFaultsInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4f: TH reads optional attribute(ActiveRadioFaults) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0006")) { NextTest(); return; } - err = TestStep4fReadOptionalAttributeActiveRadioFaultsInAttributeList_9(); + err = TestStep4fThReadsOptionalAttributeActiveRadioFaultsInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0007")) { NextTest(); return; } - err = TestStep4gReadOptionalAttributeActiveNetworkFaultsInAttributeList_10(); + err = TestStep4gThReadsOptionalAttributeActiveNetworkFaultsInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5a: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5a: TH reads from the DUT the EventList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53339,7 +53426,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5b: Read optional event(HardwareFaultChange) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5b: TH reads optional event(HardwareFaultChange) in EventList\n"); if (ShouldSkip("DGGEN.S.E00 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53347,7 +53434,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5c: Read optional event(RadioFaultChange) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5c: TH reads optional event(RadioFaultChange) in EventList\n"); if (ShouldSkip("DGGEN.S.E01 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53355,7 +53442,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5d: Read optional event(NetworkFaultChange) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5d: TH reads optional event(NetworkFaultChange) in EventList\n"); if (ShouldSkip("DGGEN.S.E02 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53363,12 +53450,12 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6: TH reads from the DUT the AcceptedCommandList attribute\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_16(); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7: TH reads from the DUT the GeneratedCommandList attribute\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_16(); break; } @@ -53457,7 +53544,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53466,9 +53553,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53485,7 +53572,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53494,9 +53581,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53513,7 +53600,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53522,9 +53609,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53546,7 +53633,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53555,9 +53642,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53603,7 +53690,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadOptionalAttributeTotalOperationalHoursInAttributeList_6() + CHIP_ERROR TestStep4cThReadsOptionalAttributeTotalOperationalHoursInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53612,9 +53699,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53628,7 +53715,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadOptionalAttributeBootReasonInAttributeList_7() + CHIP_ERROR TestStep4dThReadsOptionalAttributeBootReasonInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53637,9 +53724,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read optional attribute(BootReason) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads optional attribute(BootReason) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read optional attribute(BootReason) in AttributeList: Success"); + NSLog(@"Step 4d: TH reads optional attribute(BootReason) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53653,7 +53740,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadOptionalAttributeActiveHardwareFaultsInAttributeList_8() + CHIP_ERROR TestStep4eThReadsOptionalAttributeActiveHardwareFaultsInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53662,9 +53749,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53678,7 +53765,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadOptionalAttributeActiveRadioFaultsInAttributeList_9() + CHIP_ERROR TestStep4fThReadsOptionalAttributeActiveRadioFaultsInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53687,9 +53774,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads optional attribute(ActiveRadioFaults) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList: Success"); + NSLog(@"Step 4f: TH reads optional attribute(ActiveRadioFaults) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53703,7 +53790,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gReadOptionalAttributeActiveNetworkFaultsInAttributeList_10() + CHIP_ERROR TestStep4gThReadsOptionalAttributeActiveNetworkFaultsInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53712,9 +53799,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList: Error: %@", err); + NSLog(@"Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList: Success"); + NSLog(@"Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53728,7 +53815,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_15() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53737,9 +53824,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53754,7 +53841,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_16() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53763,9 +53850,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53825,20 +53912,20 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads the FeatureMap from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !GRPKEY.S.F00 ")) { NextTest(); return; } - err = TestStep3aThReadsTheFeatureMapFromDut_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given GRPKEY.S.F00(CS) ensure featuremap has the correct bit set\n"); @@ -53849,23 +53936,23 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { err = TestStep3bGivenGrpkeysf00csEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_4(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip(" !PICS_EVENT_LIST_ENABLED ")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_5(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH1 reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53873,12 +53960,12 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { NextTest(); return; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8(); break; } @@ -53935,7 +54022,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -53943,7 +54030,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53952,9 +54039,9 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53971,7 +54058,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53980,9 +54067,9 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54022,7 +54109,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54031,9 +54118,9 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54056,7 +54143,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_5() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54065,9 +54152,9 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54089,7 +54176,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_7() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54098,9 +54185,9 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54117,7 +54204,7 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_8() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54126,9 +54213,9 @@ class Test_TC_GRPKEY_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54197,12 +54284,12 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { err = TestStep1ThReadsMaxGroupKeysPerFabricAttributeFromGroupKeyManagementClusterOnDutUsingAFabricFilteredReadSaveTheValueAsMaxGrpKeyForFutureUse_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_2(); + err = TestStep2ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH sends KeySetRead command to GroupKeyManagement cluster with GroupKeySetID as 0x01a\n"); @@ -54213,108 +54300,108 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { err = TestStep3ThSendsKeySetReadCommandToGroupKeyManagementClusterWithGroupKeySetIDAs0x01a_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0.\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1:null 7)EpochKey2: null 8)EpochStartTime2:null\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep4ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0_4(); + err = TestStep4ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1Null6EpochStartTime1null7EpochKey2Null8EpochStartTime2null_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0.\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1:18446744073709551613 7)EpochKey2: null 8)EpochStartTime2:null\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep5ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0_5(); + err = TestStep5ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2Null8EpochStartTime2null_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with command fields as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: null 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1:18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_6(); + err = TestStep6ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithCommandFieldsAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0Null4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: null 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep7ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_7(); + err = TestStep7ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime0Null5EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 0 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep8ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_8(); + err = TestStep8ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime005EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 9: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 9: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep9ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_9(); + err = TestStep9ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1Null6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 10: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 10: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: null 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep10ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_10(); + err = TestStep10ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1Null7EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 11: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochStartTime1 is earlier than EpochStartTime0\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 11: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 18446744073709551613 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 1 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep11ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochStartTime1IsEarlierThanEpochStartTime0_11(); + err = TestStep11ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime0184467440737095516135EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime117EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 12: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 12: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1: null 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614 Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep12ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochKey1AndEpochStartTime1AreNullWhenEpochKey2AndEpochStartTime2AreNotNull_12(); + err = TestStep12ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1Null6EpochStartTime1Null7EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614NoteEpochKey1AndEpochStartTime1AreNullWhenEpochKey2AndEpochStartTime2AreNotNull_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 13: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey2 is set to null and EpochStartTime2 is not null\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 13: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: null 8)EpochStartTime2: 18446744073709551614 Note: EpochKey2 is set to null and EpochStartTime2 is not null\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep13ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochKey2IsSetToNullAndEpochStartTime2IsNotNull_13(); + err = TestStep13ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2Null8EpochStartTime218446744073709551614NoteEpochKey2IsSetToNullAndEpochStartTime2IsNotNull_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 14: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey2 is not null and EpochStartTime2 is null\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 14: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: null Note: EpochKey2 is not null and EpochStartTime2 is null\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep14ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochKey2IsNotNullAndEpochStartTime2IsNull_14(); + err = TestStep14ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime2NullNoteEpochKey2IsNotNullAndEpochStartTime2IsNull_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 15: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochStartTime2 is earlier than EpochStartTime1\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 15: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 6)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 7)EpochStartTime1: 18446744073709551613 8)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 9)EpochStartTime2: 1 Note: EpochStartTime2 is earlier than EpochStartTime1\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep15ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochStartTime2IsEarlierThanEpochStartTime1_15(); + err = TestStep15ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime016EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf7EpochStartTime1184467440737095516138EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf9EpochStartTime21NoteEpochStartTime2IsEarlierThanEpochStartTime1_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 16: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 16: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 1 Note1: Repeat the step by sending EpochKey1 and EpochKey2 with 1 byte value (< 16 bytes)\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep16ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_16(); + err = TestStep16ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D04EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime21Note1RepeatTheStepBySendingEpochKey1AndEpochKey2With1ByteValue16Bytes_16(); break; case 17: ChipLogProgress(chipTool, " ***** Test Step 17 : Step 16: Repeat the step by sending EpochKey1 with 1 byte value (< 16 bytes)\n"); @@ -54381,12 +54468,12 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { err = TestStep16bRepeatStep16BySendingKeySetWriteCommandWithEpochKey2Having17BytesValue16Bytes_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 17: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0. Note: KeySetWrite command is sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 values\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 17: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d3d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d4d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 17446744073709551613 7)EpochKey2: d5d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 17446744073709551614 Note: KeySetWrite command is sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 values\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp")) { NextTest(); return; } - err = TestStep17ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0NoteKeySetWriteCommandIsSentWithDifferentEpochKeysEpochStartTime1AndEpochStartTime2Values_25(); + err = TestStep17ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D3d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D4d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1174467440737095516137EpochKey2D5d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime217446744073709551614NoteKeySetWriteCommandIsSentWithDifferentEpochKeysEpochStartTime1AndEpochStartTime2Values_25(); break; case 26: ChipLogProgress(chipTool, " ***** Test Step 26 : Step 18: TH sends KeySetRead command to GroupKeyManagement cluster with GroupKeySetID as 0x01a\n"); @@ -54617,7 +54704,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_2() + CHIP_ERROR TestStep2ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54646,9 +54733,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 2: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 2: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 2: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54700,7 +54787,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0_4() + CHIP_ERROR TestStep4ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1Null6EpochStartTime1null7EpochKey2Null8EpochStartTime2null_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54725,9 +54812,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0.: Error: %@", err); + NSLog(@"Step 4: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1:null 7)EpochKey2: null 8)EpochStartTime2:null: Error: %@", err); } else { - NSLog(@"Step 4: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0.: Success"); + NSLog(@"Step 4: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1:null 7)EpochKey2: null 8)EpochStartTime2:null: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54738,7 +54825,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0_5() + CHIP_ERROR TestStep5ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2Null8EpochStartTime2null_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54765,9 +54852,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0.: Error: %@", err); + NSLog(@"Step 5: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1:18446744073709551613 7)EpochKey2: null 8)EpochStartTime2:null: Error: %@", err); } else { - NSLog(@"Step 5: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0.: Success"); + NSLog(@"Step 5: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1:18446744073709551613 7)EpochKey2: null 8)EpochStartTime2:null: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -54778,7 +54865,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_6() + CHIP_ERROR TestStep6ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithCommandFieldsAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0Null4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54806,9 +54893,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 6: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with command fields as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: null 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1:18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 6: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 6: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with command fields as follows:1)GroupKeySetID: 0x01a 2) GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: null 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1:18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -54818,7 +54905,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_7() + CHIP_ERROR TestStep7ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime0Null5EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54846,9 +54933,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 7: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: null 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 7: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 7: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: null 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -54858,7 +54945,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_8() + CHIP_ERROR TestStep8ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime005EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54887,9 +54974,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 8: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 0 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 8: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 8: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 0 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -54899,7 +54986,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_9() + CHIP_ERROR TestStep9ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1Null6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54927,9 +55014,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 9: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 9: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 9: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -54939,7 +55026,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_10() + CHIP_ERROR TestStep10ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1Null7EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54967,9 +55054,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 10: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: null 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 10: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 10: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: null 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2:18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -54979,7 +55066,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep11ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochStartTime1IsEarlierThanEpochStartTime0_11() + CHIP_ERROR TestStep11ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime0184467440737095516135EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime117EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55008,9 +55095,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochStartTime1 is earlier than EpochStartTime0: Error: %@", err); + NSLog(@"Step 11: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 18446744073709551613 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 1 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614: Error: %@", err); } else { - NSLog(@"Step 11: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochStartTime1 is earlier than EpochStartTime0: Success"); + NSLog(@"Step 11: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 18446744073709551613 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 1 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -55020,7 +55107,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochKey1AndEpochStartTime1AreNullWhenEpochKey2AndEpochStartTime2AreNotNull_12() + CHIP_ERROR TestStep12ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1Null6EpochStartTime1Null7EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime218446744073709551614NoteEpochKey1AndEpochStartTime1AreNullWhenEpochKey2AndEpochStartTime2AreNotNull_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55047,9 +55134,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null: Error: %@", err); + NSLog(@"Step 12: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1: null 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614 Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null: Error: %@", err); } else { - NSLog(@"Step 12: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null: Success"); + NSLog(@"Step 12: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: null 6)EpochStartTime1: null 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 18446744073709551614 Note: EpochKey1 and EpochStartTime1 are null when EpochKey2 and EpochStartTime2 are not null: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -55059,7 +55146,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep13ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochKey2IsSetToNullAndEpochStartTime2IsNotNull_13() + CHIP_ERROR TestStep13ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2Null8EpochStartTime218446744073709551614NoteEpochKey2IsSetToNullAndEpochStartTime2IsNotNull_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55087,9 +55174,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 13: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey2 is set to null and EpochStartTime2 is not null: Error: %@", err); + NSLog(@"Step 13: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: null 8)EpochStartTime2: 18446744073709551614 Note: EpochKey2 is set to null and EpochStartTime2 is not null: Error: %@", err); } else { - NSLog(@"Step 13: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey2 is set to null and EpochStartTime2 is not null: Success"); + NSLog(@"Step 13: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: null 8)EpochStartTime2: 18446744073709551614 Note: EpochKey2 is set to null and EpochStartTime2 is not null: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -55099,7 +55186,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep14ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochKey2IsNotNullAndEpochStartTime2IsNull_14() + CHIP_ERROR TestStep14ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime2NullNoteEpochKey2IsNotNullAndEpochStartTime2IsNull_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55127,9 +55214,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 14: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey2 is not null and EpochStartTime2 is null: Error: %@", err); + NSLog(@"Step 14: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: null Note: EpochKey2 is not null and EpochStartTime2 is null: Error: %@", err); } else { - NSLog(@"Step 14: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochKey2 is not null and EpochStartTime2 is null: Success"); + NSLog(@"Step 14: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: null Note: EpochKey2 is not null and EpochStartTime2 is null: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -55139,7 +55226,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep15ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutNoteEpochStartTime2IsEarlierThanEpochStartTime1_15() + CHIP_ERROR TestStep15ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime016EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf7EpochStartTime1184467440737095516138EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf9EpochStartTime21NoteEpochStartTime2IsEarlierThanEpochStartTime1_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55168,9 +55255,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 15: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochStartTime2 is earlier than EpochStartTime1: Error: %@", err); + NSLog(@"Step 15: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 6)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 7)EpochStartTime1: 18446744073709551613 8)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 9)EpochStartTime2: 1 Note: EpochStartTime2 is earlier than EpochStartTime1: Error: %@", err); } else { - NSLog(@"Step 15: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT. Note: EpochStartTime2 is earlier than EpochStartTime1: Success"); + NSLog(@"Step 15: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 6)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 7)EpochStartTime1: 18446744073709551613 8)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 9)EpochStartTime2: 1 Note: EpochStartTime2 is earlier than EpochStartTime1: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -55180,7 +55267,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep16ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDut_16() + CHIP_ERROR TestStep16ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D04EpochStartTime015EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1184467440737095516137EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime21Note1RepeatTheStepBySendingEpochKey1AndEpochKey2With1ByteValue16Bytes_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55209,9 +55296,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 16: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Error: %@", err); + NSLog(@"Step 16: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 1 Note1: Repeat the step by sending EpochKey1 and EpochKey2 with 1 byte value (< 16 bytes): Error: %@", err); } else { - NSLog(@"Step 16: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT.: Success"); + NSLog(@"Step 16: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0 4)EpochStartTime0: 1 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 1 Note1: Repeat the step by sending EpochKey1 and EpochKey2 with 1 byte value (< 16 bytes): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -55549,7 +55636,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep17ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0NoteKeySetWriteCommandIsSentWithDifferentEpochKeysEpochStartTime1AndEpochStartTime2Values_25() + CHIP_ERROR TestStep17ThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutOnEp0WithGroupKeySetFieldsAsFollows1GroupKeySetID0x01a2GroupKeySecurityPolicyTrustFirst03EpochKey0D3d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime015EpochKey1D4d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime1174467440737095516137EpochKey2D5d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime217446744073709551614NoteKeySetWriteCommandIsSentWithDifferentEpochKeysEpochStartTime1AndEpochStartTime2Values_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -55578,9 +55665,9 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 17: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0. Note: KeySetWrite command is sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 values: Error: %@", err); + NSLog(@"Step 17: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d3d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d4d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 17446744073709551613 7)EpochKey2: d5d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 17446744073709551614 Note: KeySetWrite command is sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 values: Error: %@", err); } else { - NSLog(@"Step 17: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0. Note: KeySetWrite command is sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 values: Success"); + NSLog(@"Step 17: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT on EP0 with GroupKeySet fields as follows: 1)GroupKeySetID: 0x01a 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d3d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: d4d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 17446744073709551613 7)EpochKey2: d5d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 17446744073709551614 Note: KeySetWrite command is sent with different EpochKeys,EpochStartTime1 and EpochStartTime2 values: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56421,35 +56508,35 @@ class Test_TC_I_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1:Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT\n"); - err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT\n"); - err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_3(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_4(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: Read EventList attribute from the DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -56457,20 +56544,20 @@ class Test_TC_I_1_1 : public TestCommandBridge { NextTest(); return; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6a: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6aReadTheGlobalAttributeAcceptedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6b: Read the optional command(TriggerEffect) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads the optional command(TriggerEffect) in AcceptedCommandList\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; } - err = TestStep6bReadTheOptionalCommandTriggerEffectInAcceptedCommandList_7(); + err = TestStep6ThReadsTheOptionalCommandTriggerEffectInAcceptedCommandList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8(); break; } @@ -56527,7 +56614,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -56535,7 +56622,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56544,9 +56631,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56563,7 +56650,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56572,9 +56659,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56591,7 +56678,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56600,9 +56687,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56622,7 +56709,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56631,9 +56718,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56653,7 +56740,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadTheGlobalAttributeAcceptedCommandList_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56662,9 +56749,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6a: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56678,7 +56765,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadTheOptionalCommandTriggerEffectInAcceptedCommandList_7() + CHIP_ERROR TestStep6ThReadsTheOptionalCommandTriggerEffectInAcceptedCommandList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56687,9 +56774,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read the optional command(TriggerEffect) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads the optional command(TriggerEffect) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6b: Read the optional command(TriggerEffect) in AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads the optional command(TriggerEffect) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56703,7 +56790,7 @@ class Test_TC_I_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_8() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -56712,9 +56799,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -56773,8 +56860,8 @@ class Test_TC_I_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the IdentifyTime attribute from the DUT\n"); @@ -56829,7 +56916,7 @@ class Test_TC_I_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -56931,8 +57018,8 @@ class Test_TC_I_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1a: Wait for the commissioned device to be retrieved\n"); - err = TestStep1aWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1a: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1aCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1b: TH reads the IdentifyType attribute from the DUT.\n"); @@ -56979,12 +57066,12 @@ class Test_TC_I_2_2 : public TestCommandBridge { err = TestStep2cAfter10SecondsTheThReadsIdentifyTimeAttributeFromDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: TH sends Identify command to DUT, with the IdentifyTime field set to 0x0000 (stop identifying).\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: Before 60 seconds expire, TH sends Identify command to DUT, with the identify time field set to 0x0000 (stop identifying).\n"); if (ShouldSkip("I.S.C00.Rsp")) { NextTest(); return; } - err = TestStep4aThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x0000StopIdentifying_7(); + err = TestStep4aBefore60SecondsExpireThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x0000StopIdentifying_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: TH reads immediately IdentifyTime attribute from DUT\n"); @@ -57089,7 +57176,7 @@ class Test_TC_I_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1aWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1aCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -57221,7 +57308,7 @@ class Test_TC_I_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x0000StopIdentifying_7() + CHIP_ERROR TestStep4aBefore60SecondsExpireThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x0000StopIdentifying_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -57234,9 +57321,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { [cluster identifyWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH sends Identify command to DUT, with the IdentifyTime field set to 0x0000 (stop identifying).: Error: %@", err); + NSLog(@"Step 4a: Before 60 seconds expire, TH sends Identify command to DUT, with the identify time field set to 0x0000 (stop identifying).: Error: %@", err); } else { - NSLog(@"Step 4a: TH sends Identify command to DUT, with the IdentifyTime field set to 0x0000 (stop identifying).: Success"); + NSLog(@"Step 4a: Before 60 seconds expire, TH sends Identify command to DUT, with the identify time field set to 0x0000 (stop identifying).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57384,11 +57471,11 @@ class Test_TC_I_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x00 (default)\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57404,7 +57491,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABlinkEffect_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57420,7 +57507,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABreatheEffect_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x02 (okay) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57436,12 +57523,12 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesAnOkayEffect_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2d: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2d:TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x0b (channel change) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; } - err = TestStep2dThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7(); + err = TestStep2dTHSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : DUT executes a channel change effect\n"); @@ -57452,7 +57539,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesAChannelChangeEffect_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2e: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2e: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57468,7 +57555,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABreatheEffect_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2f: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2f: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xfe (finish effect) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57484,7 +57571,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutStopsTheBreatheEffectAfterTheCurrentEffectSequence_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 2g: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 2g: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57500,7 +57587,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABreatheEffect_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 2h: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 2h: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57516,7 +57603,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutStopsTheBreatheEffectAsSoonAsPossible_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 3a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 3a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x42 (unknown).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57532,7 +57619,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestCheckDutExecutesABlinkEffect_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 3b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 3b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57638,7 +57725,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -57661,9 +57748,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x00 (default): Error: %@", err); } else { - NSLog(@"Step 2a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x00 (default): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57699,9 +57786,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57737,9 +57824,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2c: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x02 (okay) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2c: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2c: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x02 (okay) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57760,7 +57847,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep2dThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7() + CHIP_ERROR TestStep2dTHSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -57775,9 +57862,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2d: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2d:TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x0b (channel change) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2d: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2d:TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x0b (channel change) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57813,9 +57900,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2e: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2e: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2e: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2e: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57851,9 +57938,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2f: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2f: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xfe (finish effect) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2f: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2f: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xfe (finish effect) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57889,9 +57976,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2g: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2g: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2g: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2g: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57927,9 +58014,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2h: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 2h: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 2h: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 2h: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57965,9 +58052,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown: Error: %@", err); + NSLog(@"Step 3a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x42 (unknown).: Error: %@", err); } else { - NSLog(@"Step 3a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown: Success"); + NSLog(@"Step 3a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x42 (unknown).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58003,9 +58090,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Error: %@", err); + NSLog(@"Step 3b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Error: %@", err); } else { - NSLog(@"Step 3b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Success"); + NSLog(@"Step 3b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58068,51 +58155,51 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT.\n"); + err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the global attribute: FeatureMap\n"); - err = TestStep3ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT.\n"); + err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads the AttributeList attribute from the DUT.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Read the optional attribute(Tolerance) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads the optional attribute(Tolerance) in AttributeList\n"); if (ShouldSkip("ILL.S.A0003")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5(); + err = TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: Read the optional attribute(LightSensorType) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: TH reads the optional attribute(LightSensorType) in AttributeList\n"); if (ShouldSkip("ILL.S.A0004")) { NextTest(); return; } - err = TestStep4cReadTheOptionalAttributeLightSensorTypeInAttributeList_6(); + err = TestStep4cThReadsTheOptionalAttributeLightSensorTypeInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: Read EventList attribute from the DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads the EventList attribute from the DUT.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -58120,12 +58207,12 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { NextTest(); return; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads the AcceptedCommandList attribute from the DUT.\n"); + err = TestStep6ThReadsTheAcceptedCommandListAttributeFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7: TH reads the GeneratedCommandList attribute from the DUT.\n"); + err = TestStep7ThReadsTheGeneratedCommandListAttributeFromTheDut_9(); break; } @@ -58185,7 +58272,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -58193,7 +58280,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58202,9 +58289,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 2: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58221,7 +58308,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58230,9 +58317,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58249,7 +58336,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58258,9 +58345,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58282,7 +58369,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58291,9 +58378,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58314,7 +58401,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58323,9 +58410,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58339,7 +58426,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalAttributeLightSensorTypeInAttributeList_6() + CHIP_ERROR TestStep4cThReadsTheOptionalAttributeLightSensorTypeInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58348,9 +58435,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the optional attribute(LightSensorType) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the optional attribute(LightSensorType) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the optional attribute(LightSensorType) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the optional attribute(LightSensorType) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58364,7 +58451,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_8() + CHIP_ERROR TestStep6ThReadsTheAcceptedCommandListAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58373,9 +58460,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads the AcceptedCommandList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads the AcceptedCommandList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58392,7 +58479,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_9() + CHIP_ERROR TestStep7ThReadsTheGeneratedCommandListAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58401,9 +58488,9 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads the GeneratedCommandList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads the GeneratedCommandList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58462,48 +58549,48 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads MinMeasuredValue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Test Harness Client reads MinMeasuredValue attribute from DUT.\n"); if (ShouldSkip("ILL.S.A0001")) { NextTest(); return; } - err = TestStep2ThReadsMinMeasuredValueAttributeFromDut_1(); + err = TestStep2TestHarnessClientReadsMinMeasuredValueAttributeFromDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads MaxMeasuredValue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Test Harness Client reads MaxMeasuredValue attribute from DUT.\n"); if (ShouldSkip("ILL.S.A0002")) { NextTest(); return; } - err = TestStep3ThReadsMaxMeasuredValueAttributeFromDut_2(); + err = TestStep3TestHarnessClientReadsMaxMeasuredValueAttributeFromDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads MeasuredValue attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Test Harness Client reads MeasuredValue attribute from DUT.\n"); if (ShouldSkip("ILL.S.A0000")) { NextTest(); return; } - err = TestStep4ThReadsMeasuredValueAttributeFromDut_3(); + err = TestStep4TestHarnessClientReadsMeasuredValueAttributeFromDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads Tolerance attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads the Tolerance attribute from the DUT.\n"); if (ShouldSkip("ILL.S.A0003")) { NextTest(); return; } - err = TestStep5ThReadsToleranceAttributeFromDut_4(); + err = TestStep5ThReadsTheToleranceAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads LightSensorType attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads the LightSensorType attribute from the DUT\n"); if (ShouldSkip("ILL.S.A0004")) { NextTest(); return; } - err = TestStep6ThReadsLightSensorTypeAttributeFromDut_5(); + err = TestStep6ThReadsTheLightSensorTypeAttributeFromTheDut_5(); break; } @@ -58551,7 +58638,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -58559,7 +58646,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsMinMeasuredValueAttributeFromDut_1() + CHIP_ERROR TestStep2TestHarnessClientReadsMinMeasuredValueAttributeFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58568,9 +58655,9 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { [cluster readAttributeMinMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads MinMeasuredValue attribute from DUT: Error: %@", err); + NSLog(@"Step 2: Test Harness Client reads MinMeasuredValue attribute from DUT.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads MinMeasuredValue attribute from DUT: Success"); + NSLog(@"Step 2: Test Harness Client reads MinMeasuredValue attribute from DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58588,7 +58675,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsMaxMeasuredValueAttributeFromDut_2() + CHIP_ERROR TestStep3TestHarnessClientReadsMaxMeasuredValueAttributeFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58597,9 +58684,9 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { [cluster readAttributeMaxMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads MaxMeasuredValue attribute from DUT: Error: %@", err); + NSLog(@"Step 3: Test Harness Client reads MaxMeasuredValue attribute from DUT.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads MaxMeasuredValue attribute from DUT: Success"); + NSLog(@"Step 3: Test Harness Client reads MaxMeasuredValue attribute from DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58617,7 +58704,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsMeasuredValueAttributeFromDut_3() + CHIP_ERROR TestStep4TestHarnessClientReadsMeasuredValueAttributeFromDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58626,9 +58713,9 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { [cluster readAttributeMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads MeasuredValue attribute from DUT: Error: %@", err); + NSLog(@"Step 4: Test Harness Client reads MeasuredValue attribute from DUT.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads MeasuredValue attribute from DUT: Success"); + NSLog(@"Step 4: Test Harness Client reads MeasuredValue attribute from DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58646,7 +58733,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThReadsToleranceAttributeFromDut_4() + CHIP_ERROR TestStep5ThReadsTheToleranceAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58655,9 +58742,9 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { [cluster readAttributeToleranceWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH reads Tolerance attribute from DUT: Error: %@", err); + NSLog(@"Step 5: TH reads the Tolerance attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 5: TH reads Tolerance attribute from DUT: Success"); + NSLog(@"Step 5: TH reads the Tolerance attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58672,7 +58759,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsLightSensorTypeAttributeFromDut_5() + CHIP_ERROR TestStep6ThReadsTheLightSensorTypeAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -58681,9 +58768,9 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { [cluster readAttributeLightSensorTypeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads LightSensorType attribute from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads the LightSensorType attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6: TH reads LightSensorType attribute from DUT: Success"); + NSLog(@"Step 6: TH reads the LightSensorType attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58743,8 +58830,8 @@ class Test_TC_ILL_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH reads MinMeasuredValue attribute from DUT\n"); @@ -58857,7 +58944,7 @@ class Test_TC_ILL_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -59061,149 +59148,149 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !LVL.S.F00 && !LVL.S.F01 && !LVL.S.F02 ")) { NextTest(); return; } - err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set\n"); if (ShouldSkip("LVL.S.F00")) { NextTest(); return; } - err = TestStep2bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3(); + err = TestStep3bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set\n"); if (ShouldSkip("LVL.S.F01")) { NextTest(); return; } - err = TestStep2cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4(); + err = TestStep3cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set\n"); if (ShouldSkip("LVL.S.F02")) { NextTest(); return; } - err = TestStep2dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5(); + err = TestStep3dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_6(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_7(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList\n"); if (ShouldSkip("LVL.S.F01")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8(); + err = TestStep4aThReadsTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4b: TH reads the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList\n"); if (ShouldSkip("LVL.S.F02")) { NextTest(); return; } - err = TestStep3cReadTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9(); + err = TestStep4bThReadsTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 3d: Read the optional attribute(MinLevel) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4c: TH reads the optional attribute(MinLevel) in AttributeList\n"); if (ShouldSkip("LVL.S.A0002")) { NextTest(); return; } - err = TestStep3dReadTheOptionalAttributeMinLevelInAttributeList_10(); + err = TestStep4cThReadsTheOptionalAttributeMinLevelInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 3e: Read the optional attribute(MaxLevel) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList\n"); if (ShouldSkip("LVL.S.A0003")) { NextTest(); return; } - err = TestStep3eReadTheOptionalAttributeMaxLevelInAttributeList_11(); + err = TestStep4dThReadsTheOptionalAttributeMaxLevelInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList\n"); if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestStep3fReadTheOptionalAttributeOnOffTransitionTimeInAttributeList_12(); + err = TestStep4eThReadsTheOptionalAttributeOnOffTransitionTimeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList\n"); if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestStep3gReadTheOptionalAttributeOnTransitionTimeInAttributeList_13(); + err = TestStep4fThReadsTheOptionalAttributeOnTransitionTimeInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList\n"); if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestStep3hReadTheOptionalAttributeOffTransitionTimeInAttributeList_14(); + err = TestStep4gThReadsTheOptionalAttributeOffTransitionTimeInAttributeList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList\n"); if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestStep3iReadTheOptionalAttributeDefaultMoveRateInAttributeList_15(); + err = TestStep4hThReadsTheOptionalAttributeDefaultMoveRateInAttributeList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4aReadTheGlobalAttributeAcceptedCommandList_16(); - break; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList\n"); - if (ShouldSkip("LVL.S.F02")) { + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5: Read the global attribute: EventList\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4a1ReadTheFeatureDependentLVLSF02CommandInAcceptedCommandList_17(); + NextTest(); + return; + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4b: Read the global attribute: GeneratedCommandList\n"); - err = TestStep4bReadTheGlobalAttributeGeneratedCommandList_18(); - break; - case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 5: Read the global attribute: EventList\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList\n"); + if (ShouldSkip("LVL.S.F02")) { NextTest(); return; } - NextTest(); - return; + err = TestStep6a1ThReadsTheFeatureDependentLVLSF02CommandInAcceptedCommandList_18(); + break; + case 19: + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19(); + break; } if (CHIP_NO_ERROR != err) { @@ -59292,7 +59379,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -59300,7 +59387,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59309,9 +59396,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59328,7 +59415,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59337,9 +59424,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59356,7 +59443,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3() + CHIP_ERROR TestStep3bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59365,9 +59452,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59379,7 +59466,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4() + CHIP_ERROR TestStep3cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59388,9 +59475,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59402,7 +59489,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5() + CHIP_ERROR TestStep3dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59411,9 +59498,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59425,7 +59512,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59434,9 +59521,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59458,7 +59545,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59467,9 +59554,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59490,7 +59577,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8() + CHIP_ERROR TestStep4aThReadsTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59499,9 +59586,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Success"); + NSLog(@"Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59516,7 +59603,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59525,9 +59612,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59543,7 +59630,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadTheOptionalAttributeMinLevelInAttributeList_10() + CHIP_ERROR TestStep4cThReadsTheOptionalAttributeMinLevelInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59552,9 +59639,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Read the optional attribute(MinLevel) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the optional attribute(MinLevel) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3d: Read the optional attribute(MinLevel) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the optional attribute(MinLevel) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59568,7 +59655,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3eReadTheOptionalAttributeMaxLevelInAttributeList_11() + CHIP_ERROR TestStep4dThReadsTheOptionalAttributeMaxLevelInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59577,9 +59664,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3e: Read the optional attribute(MaxLevel) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3e: Read the optional attribute(MaxLevel) in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59593,7 +59680,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3fReadTheOptionalAttributeOnOffTransitionTimeInAttributeList_12() + CHIP_ERROR TestStep4eThReadsTheOptionalAttributeOnOffTransitionTimeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59602,9 +59689,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59618,7 +59705,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3gReadTheOptionalAttributeOnTransitionTimeInAttributeList_13() + CHIP_ERROR TestStep4fThReadsTheOptionalAttributeOnTransitionTimeInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59627,9 +59714,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59643,7 +59730,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3hReadTheOptionalAttributeOffTransitionTimeInAttributeList_14() + CHIP_ERROR TestStep4gThReadsTheOptionalAttributeOffTransitionTimeInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59652,9 +59739,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList: Error: %@", err); + NSLog(@"Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList: Success"); + NSLog(@"Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59668,7 +59755,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3iReadTheOptionalAttributeDefaultMoveRateInAttributeList_15() + CHIP_ERROR TestStep4hThReadsTheOptionalAttributeDefaultMoveRateInAttributeList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59677,9 +59764,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59693,7 +59780,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAcceptedCommandList_16() + CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59702,9 +59789,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59725,7 +59812,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4a1ReadTheFeatureDependentLVLSF02CommandInAcceptedCommandList_17() + CHIP_ERROR TestStep6a1ThReadsTheFeatureDependentLVLSF02CommandInAcceptedCommandList_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59734,9 +59821,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Success"); + NSLog(@"Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59750,7 +59837,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheGlobalAttributeGeneratedCommandList_18() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59759,9 +59846,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 4b: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59820,168 +59907,168 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Reads the CurrentLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the CurrentLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0000")) { NextTest(); return; } - err = TestStep1ReadsTheCurrentLevelAttribute_1(); + err = TestStep1ThReadsTheCurrentLevelAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Reads the RemainingTime attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the RemainingTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0001")) { NextTest(); return; } - err = TestStep2ReadsTheRemainingTimeAttribute_2(); + err = TestStep2ThReadsTheRemainingTimeAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Reads the MinLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH reads the MinLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0002 && LVL.S.F01")) { NextTest(); return; } - err = TestStep3aReadsTheMinLevelAttribute_3(); + err = TestStep3aThReadsTheMinLevelAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: Reads the MinLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: TH reads the MinLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0002 && !LVL.S.F01")) { NextTest(); return; } - err = TestStep3bReadsTheMinLevelAttribute_4(); + err = TestStep3bThReadsTheMinLevelAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: Reads the MaxLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads the MaxLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0003 && LVL.S.F01")) { NextTest(); return; } - err = TestStep4ReadsTheMaxLevelAttribute_5(); + err = TestStep4ThReadsTheMaxLevelAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: Reads the MaxLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: TH reads the MaxLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0003 && !LVL.S.F01")) { NextTest(); return; } - err = TestStep4aReadsTheMaxLevelAttribute_6(); + err = TestStep4aThReadsTheMaxLevelAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b & 4C Reads the CurrentLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b & 4C TH reads the CurrentLevel attribute\n"); if (ShouldSkip("LVL.S.F01 && LVL.S.A0002 && LVL.S.A0003")) { NextTest(); return; } - err = TestStep4b4cReadsTheCurrentLevelAttribute_7(); + err = TestStep4b4cThReadsTheCurrentLevelAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b & 4C Reads the CurrentLevel attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b & 4C TH reads the CurrentLevel attribute\n"); if (ShouldSkip("LVL.S.A0002 && LVL.S.A0003 && !LVL.S.F01")) { NextTest(); return; } - err = TestStep4b4cReadsTheCurrentLevelAttribute_8(); + err = TestStep4b4cThReadsTheCurrentLevelAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Reads the CurrentFrequency attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads the CurrentFrequency attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0004")) { NextTest(); return; } - err = TestStep5ReadsTheCurrentFrequencyAttribute_9(); + err = TestStep5ThReadsTheCurrentFrequencyAttributeFromTheDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Reads the MinFrequency attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads the MinFrequency attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0005")) { NextTest(); return; } - err = TestStep6ReadsTheMinFrequencyAttribute_10(); + err = TestStep6ThReadsTheMinFrequencyAttributeFromTheDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Reads the MaxFrequency attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads the MaxFrequency attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0006")) { NextTest(); return; } - err = TestStep7ReadsTheMaxFrequencyAttribute_11(); + err = TestStep7ThReadsTheMaxFrequencyAttributeFromTheDut_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7b & 7C Reads the CurrentFrequency attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7b & 7C TH reads the CurrentFrequency attribute\n"); if (ShouldSkip("LVL.S.A0004 && LVL.S.A0005 && LVL.S.A0006")) { NextTest(); return; } - err = TestStep7b7cReadsTheCurrentFrequencyAttribute_12(); + err = TestStep7b7cThReadsTheCurrentFrequencyAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 8: Reads the OnOffTransitionTime attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 8: TH reads the OnOffTransitionTime attribute\n"); if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestStep8ReadsTheOnOffTransitionTimeAttribute_13(); + err = TestStep8ThReadsTheOnOffTransitionTimeAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 9a: Reads the OnLevel attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 9a: TH reads the OnLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.F01 && LVL.S.A0011")) { NextTest(); return; } - err = TestStep9aReadsTheOnLevelAttribute_14(); + err = TestStep9aThReadsTheOnLevelAttributeFromTheDut_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 9b: Reads the OnLevel attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 9b: TH reads the OnLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0011 && !LVL.S.F01")) { NextTest(); return; } - err = TestStep9bReadsTheOnLevelAttribute_15(); + err = TestStep9bThReadsTheOnLevelAttributeFromTheDut_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 10: Reads the OnTransitionTime attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 10: TH reads the OnTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestStep10ReadsTheOnTransitionTimeAttribute_16(); + err = TestStep10ThReadsTheOnTransitionTimeAttributeFromTheDut_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 11: Reads the OffTransitionTime attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 11: TH reads the OffTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestStep11ReadsTheOffTransitionTimeAttribute_17(); + err = TestStep11ThReadsTheOffTransitionTimeAttributeFromTheDut_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 12: Reads the DefaultMoveRate attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 12: TH reads the DefaultMoveRate attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestStep12ReadsTheDefaultMoveRateAttribute_18(); + err = TestStep12ThReadsTheDefaultMoveRateAttributeFromTheDut_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 13: Reads the Options attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 13: TH reads the Options attribute from the DUT\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep13ReadsTheOptionsAttribute_19(); + err = TestStep13ThReadsTheOptionsAttributeFromTheDut_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 14: Reads the StartUpCurrentLevel attribute \n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 14: TH reads the StartUpCurrentLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A4000")) { NextTest(); return; } - err = TestStep14ReadsTheStartUpCurrentLevelAttribute_20(); + err = TestStep14ThReadsTheStartUpCurrentLevelAttributeFromTheDut_20(); break; } @@ -60074,7 +60161,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -60083,7 +60170,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nullable CurrentLevelValue; - CHIP_ERROR TestStep1ReadsTheCurrentLevelAttribute_1() + CHIP_ERROR TestStep1ThReadsTheCurrentLevelAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60092,9 +60179,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Reads the CurrentLevel attribute: Error: %@", err); + NSLog(@"Step 1: TH reads the CurrentLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Reads the CurrentLevel attribute: Success"); + NSLog(@"Step 1: TH reads the CurrentLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60115,7 +60202,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadsTheRemainingTimeAttribute_2() + CHIP_ERROR TestStep2ThReadsTheRemainingTimeAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60124,9 +60211,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeRemainingTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Reads the RemainingTime attribute: Error: %@", err); + NSLog(@"Step 2: TH reads the RemainingTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Reads the RemainingTime attribute: Success"); + NSLog(@"Step 2: TH reads the RemainingTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60142,7 +60229,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MinLevelValue; - CHIP_ERROR TestStep3aReadsTheMinLevelAttribute_3() + CHIP_ERROR TestStep3aThReadsTheMinLevelAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60151,9 +60238,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeMinLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Reads the MinLevel attribute: Error: %@", err); + NSLog(@"Step 3a: TH reads the MinLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Reads the MinLevel attribute: Success"); + NSLog(@"Step 3a: TH reads the MinLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60175,7 +60262,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MinLevelFeatureMapNotSupportedValue; - CHIP_ERROR TestStep3bReadsTheMinLevelAttribute_4() + CHIP_ERROR TestStep3bThReadsTheMinLevelAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60184,9 +60271,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeMinLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Reads the MinLevel attribute: Error: %@", err); + NSLog(@"Step 3b: TH reads the MinLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3b: Reads the MinLevel attribute: Success"); + NSLog(@"Step 3b: TH reads the MinLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60205,7 +60292,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MaxLevelValue; - CHIP_ERROR TestStep4ReadsTheMaxLevelAttribute_5() + CHIP_ERROR TestStep4ThReadsTheMaxLevelAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60214,9 +60301,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeMaxLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Reads the MaxLevel attribute: Error: %@", err); + NSLog(@"Step 4: TH reads the MaxLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Reads the MaxLevel attribute: Success"); + NSLog(@"Step 4: TH reads the MaxLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60239,7 +60326,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MaxLevelFeatureMapNotSupportedValue; - CHIP_ERROR TestStep4aReadsTheMaxLevelAttribute_6() + CHIP_ERROR TestStep4aThReadsTheMaxLevelAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60248,9 +60335,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeMaxLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Reads the MaxLevel attribute: Error: %@", err); + NSLog(@"Step 4a: TH reads the MaxLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4a: Reads the MaxLevel attribute: Success"); + NSLog(@"Step 4a: TH reads the MaxLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60268,7 +60355,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4b4cReadsTheCurrentLevelAttribute_7() + CHIP_ERROR TestStep4b4cThReadsTheCurrentLevelAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60277,9 +60364,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b & 4C Reads the CurrentLevel attribute: Error: %@", err); + NSLog(@"Step 4b & 4C TH reads the CurrentLevel attribute: Error: %@", err); } else { - NSLog(@"Step 4b & 4C Reads the CurrentLevel attribute: Success"); + NSLog(@"Step 4b & 4C TH reads the CurrentLevel attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60297,7 +60384,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4b4cReadsTheCurrentLevelAttribute_8() + CHIP_ERROR TestStep4b4cThReadsTheCurrentLevelAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60306,9 +60393,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b & 4C Reads the CurrentLevel attribute: Error: %@", err); + NSLog(@"Step 4b & 4C TH reads the CurrentLevel attribute: Error: %@", err); } else { - NSLog(@"Step 4b & 4C Reads the CurrentLevel attribute: Success"); + NSLog(@"Step 4b & 4C TH reads the CurrentLevel attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60326,7 +60413,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadsTheCurrentFrequencyAttribute_9() + CHIP_ERROR TestStep5ThReadsTheCurrentFrequencyAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60335,9 +60422,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeCurrentFrequencyWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Reads the CurrentFrequency attribute: Error: %@", err); + NSLog(@"Step 5: TH reads the CurrentFrequency attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Reads the CurrentFrequency attribute: Success"); + NSLog(@"Step 5: TH reads the CurrentFrequency attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60353,7 +60440,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MinFrequencyValue; - CHIP_ERROR TestStep6ReadsTheMinFrequencyAttribute_10() + CHIP_ERROR TestStep6ThReadsTheMinFrequencyAttributeFromTheDut_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60362,9 +60449,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeMinFrequencyWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Reads the MinFrequency attribute: Error: %@", err); + NSLog(@"Step 6: TH reads the MinFrequency attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Reads the MinFrequency attribute: Success"); + NSLog(@"Step 6: TH reads the MinFrequency attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60383,7 +60470,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { } NSNumber * _Nonnull MaxFrequencyValue; - CHIP_ERROR TestStep7ReadsTheMaxFrequencyAttribute_11() + CHIP_ERROR TestStep7ThReadsTheMaxFrequencyAttributeFromTheDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60392,9 +60479,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeMaxFrequencyWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Reads the MaxFrequency attribute: Error: %@", err); + NSLog(@"Step 7: TH reads the MaxFrequency attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 7: Reads the MaxFrequency attribute: Success"); + NSLog(@"Step 7: TH reads the MaxFrequency attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60412,7 +60499,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7b7cReadsTheCurrentFrequencyAttribute_12() + CHIP_ERROR TestStep7b7cThReadsTheCurrentFrequencyAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60421,9 +60508,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeCurrentFrequencyWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7b & 7C Reads the CurrentFrequency attribute: Error: %@", err); + NSLog(@"Step 7b & 7C TH reads the CurrentFrequency attribute: Error: %@", err); } else { - NSLog(@"Step 7b & 7C Reads the CurrentFrequency attribute: Success"); + NSLog(@"Step 7b & 7C TH reads the CurrentFrequency attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60438,7 +60525,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ReadsTheOnOffTransitionTimeAttribute_13() + CHIP_ERROR TestStep8ThReadsTheOnOffTransitionTimeAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60447,9 +60534,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeOnOffTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Reads the OnOffTransitionTime attribute: Error: %@", err); + NSLog(@"Step 8: TH reads the OnOffTransitionTime attribute: Error: %@", err); } else { - NSLog(@"Step 8: Reads the OnOffTransitionTime attribute: Success"); + NSLog(@"Step 8: TH reads the OnOffTransitionTime attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60464,7 +60551,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9aReadsTheOnLevelAttribute_14() + CHIP_ERROR TestStep9aThReadsTheOnLevelAttributeFromTheDut_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60473,9 +60560,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeOnLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9a: Reads the OnLevel attribute : Error: %@", err); + NSLog(@"Step 9a: TH reads the OnLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 9a: Reads the OnLevel attribute : Success"); + NSLog(@"Step 9a: TH reads the OnLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60493,7 +60580,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9bReadsTheOnLevelAttribute_15() + CHIP_ERROR TestStep9bThReadsTheOnLevelAttributeFromTheDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60502,9 +60589,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeOnLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9b: Reads the OnLevel attribute : Error: %@", err); + NSLog(@"Step 9b: TH reads the OnLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 9b: Reads the OnLevel attribute : Success"); + NSLog(@"Step 9b: TH reads the OnLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60522,7 +60609,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ReadsTheOnTransitionTimeAttribute_16() + CHIP_ERROR TestStep10ThReadsTheOnTransitionTimeAttributeFromTheDut_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60531,9 +60618,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeOnTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Reads the OnTransitionTime attribute : Error: %@", err); + NSLog(@"Step 10: TH reads the OnTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 10: Reads the OnTransitionTime attribute : Success"); + NSLog(@"Step 10: TH reads the OnTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60551,7 +60638,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep11ReadsTheOffTransitionTimeAttribute_17() + CHIP_ERROR TestStep11ThReadsTheOffTransitionTimeAttributeFromTheDut_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60560,9 +60647,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeOffTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: Reads the OffTransitionTime attribute : Error: %@", err); + NSLog(@"Step 11: TH reads the OffTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 11: Reads the OffTransitionTime attribute : Success"); + NSLog(@"Step 11: TH reads the OffTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60580,7 +60667,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12ReadsTheDefaultMoveRateAttribute_18() + CHIP_ERROR TestStep12ThReadsTheDefaultMoveRateAttributeFromTheDut_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60589,9 +60676,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeDefaultMoveRateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: Reads the DefaultMoveRate attribute : Error: %@", err); + NSLog(@"Step 12: TH reads the DefaultMoveRate attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 12: Reads the DefaultMoveRate attribute : Success"); + NSLog(@"Step 12: TH reads the DefaultMoveRate attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60609,7 +60696,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep13ReadsTheOptionsAttribute_19() + CHIP_ERROR TestStep13ThReadsTheOptionsAttributeFromTheDut_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60618,9 +60705,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeOptionsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 13: Reads the Options attribute : Error: %@", err); + NSLog(@"Step 13: TH reads the Options attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 13: Reads the Options attribute : Success"); + NSLog(@"Step 13: TH reads the Options attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60632,7 +60719,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep14ReadsTheStartUpCurrentLevelAttribute_20() + CHIP_ERROR TestStep14ThReadsTheStartUpCurrentLevelAttributeFromTheDut_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60641,9 +60728,9 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { [cluster readAttributeStartUpCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 14: Reads the StartUpCurrentLevel attribute : Error: %@", err); + NSLog(@"Step 14: TH reads the StartUpCurrentLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 14: Reads the StartUpCurrentLevel attribute : Success"); + NSLog(@"Step 14: TH reads the StartUpCurrentLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60709,152 +60796,152 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: Reads the OnOffTransitionTime attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH reads the OnOffTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestStep1aReadsTheOnOffTransitionTimeAttributeFromTheDut_1(); + err = TestStep1aThReadsTheOnOffTransitionTimeAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: writes the OnOffTransitionTime attribute on the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH writes the OnOffTransitionTime attribute on the DUT with a different value than that read in 1a\n"); if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestStep1bWritesTheOnOffTransitionTimeAttributeOnTheDut_2(); + err = TestStep1bThWritesTheOnOffTransitionTimeAttributeOnTheDutWithADifferentValueThanThatReadIn1a_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: Reads the OnOffTransitionTime attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: TH reads the OnOffTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestStep1cReadsTheOnOffTransitionTimeAttributeFromTheDut_3(); + err = TestStep1cThReadsTheOnOffTransitionTimeAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2a: Reads the OnLevel attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2a: TH reads the OnLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0011")) { NextTest(); return; } - err = TestStep2aReadsTheOnLevelAttributeFromTheDut_4(); + err = TestStep2aThReadsTheOnLevelAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2b: writes the OnLevel attribute on the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2b: TH writes the OnLevel attribute on the DUT with a different value than that read in 2a\n"); if (ShouldSkip("LVL.S.A0011")) { NextTest(); return; } - err = TestStep2bWritesTheOnLevelAttributeOnTheDut_5(); + err = TestStep2bThWritesTheOnLevelAttributeOnTheDutWithADifferentValueThanThatReadIn2a_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 2c: Reads the OnLevel attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 2c: TH reads the OnLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0011")) { NextTest(); return; } - err = TestStep2cReadsTheOnLevelAttributeFromTheDut_6(); + err = TestStep2cThReadsTheOnLevelAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: Reads the OnTransitionTime attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: TH reads the OnTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestStep3aReadsTheOnTransitionTimeAttributeFromTheDut_7(); + err = TestStep3aThReadsTheOnTransitionTimeAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: Writes the OnTransitionTime attribute on the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: TH writes the OnTransitionTime attribute on the DUT with a different value than that read in 3a\n"); if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestStep3bWritesTheOnTransitionTimeAttributeOnTheDut_8(); + err = TestStep3bThWritesTheOnTransitionTimeAttributeOnTheDutWithADifferentValueThanThatReadIn3a_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3c: Reads the OnTransitionTime attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3c: TH reads the OnTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestStep3cReadsTheOnTransitionTimeAttributeFromTheDut_9(); + err = TestStep3cThReadsTheOnTransitionTimeAttributeFromTheDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: Reads the OffTransitionTime attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: TH reads the OffTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestStep4aReadsTheOffTransitionTimeAttributeFromTheDut_10(); + err = TestStep4aThReadsTheOffTransitionTimeAttributeFromTheDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4b: Writes the OffTransitionTime attribute on the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4b: TH writes the OffTransitionTime attribute on the DUT with a different value than that read in 4a\n"); if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestStep4bWritesTheOffTransitionTimeAttributeOnTheDut_11(); + err = TestStep4bThWritesTheOffTransitionTimeAttributeOnTheDutWithADifferentValueThanThatReadIn4a_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4c: Reads the OffTransitionTime attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4c: TH reads the OffTransitionTime attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestStep4cReadsTheOffTransitionTimeAttributeFromTheDut_12(); + err = TestStep4cThReadsTheOffTransitionTimeAttributeFromTheDut_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5a: Reads the DefaultMoveRate attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5a: TH reads the DefaultMoveRate attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestStep5aReadsTheDefaultMoveRateAttributeFromTheDut_13(); + err = TestStep5aThReadsTheDefaultMoveRateAttributeFromTheDut_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5b: Writes the DefaultMoveRate attribute on the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5b: TH writes the DefaultMoveRate attribute on the DUT with a different value than that read in 5a\n"); if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestStep5bWritesTheDefaultMoveRateAttributeOnTheDut_14(); + err = TestStep5bThWritesTheDefaultMoveRateAttributeOnTheDutWithADifferentValueThanThatReadIn5a_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5c: Reads the DefaultMoveRate attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5c: TH reads the DefaultMoveRate attribute from the DUT\n"); if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestStep5cReadsTheDefaultMoveRateAttributeFromTheDut_15(); + err = TestStep5cThReadsTheDefaultMoveRateAttributeFromTheDut_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6a: Reads the StartUpCurrentLevel attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6a: TH reads the StartUpCurrentLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A4000")) { NextTest(); return; } - err = TestStep6aReadsTheStartUpCurrentLevelAttributeFromTheDut_16(); + err = TestStep6aThReadsTheStartUpCurrentLevelAttributeFromTheDut_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6b: Rwrites the StartUpCurrentLevel attribute on the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6b: TH writes the StartUpCurrentLevel attribute on the DUT with a different value than that read in 6a\n"); if (ShouldSkip("LVL.S.A4000")) { NextTest(); return; } - err = TestStep6bRwritesTheStartUpCurrentLevelAttributeOnTheDut_17(); + err = TestStep6bThWritesTheStartUpCurrentLevelAttributeOnTheDutWithADifferentValueThanThatReadIn6a_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6c: Rreads the StartUpCurrentLevel attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6c: TH reads the StartUpCurrentLevel attribute from the DUT\n"); if (ShouldSkip("LVL.S.A4000")) { NextTest(); return; } - err = TestStep6cRreadsTheStartUpCurrentLevelAttributeFromTheDut_18(); + err = TestStep6cThReadsTheStartUpCurrentLevelAttributeFromTheDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : writes back default value of OnOffTransitionTime attribute\n"); @@ -60958,7 +61045,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { chip::Optional mStartUpCurrentLevelConfigValue; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -60967,7 +61054,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { } NSNumber * _Nonnull OnOffTransitionTimeValue; - CHIP_ERROR TestStep1aReadsTheOnOffTransitionTimeAttributeFromTheDut_1() + CHIP_ERROR TestStep1aThReadsTheOnOffTransitionTimeAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -60976,9 +61063,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOnOffTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: Reads the OnOffTransitionTime attribute from the DUT: Error: %@", err); + NSLog(@"Step 1a: TH reads the OnOffTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1a: Reads the OnOffTransitionTime attribute from the DUT: Success"); + NSLog(@"Step 1a: TH reads the OnOffTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60996,7 +61083,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bWritesTheOnOffTransitionTimeAttributeOnTheDut_2() + CHIP_ERROR TestStep1bThWritesTheOnOffTransitionTimeAttributeOnTheDutWithADifferentValueThanThatReadIn1a_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61007,9 +61094,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { onOffTransitionTimeArgument = mOnOffTransitionTimeConfigValue.HasValue() ? [NSNumber numberWithUnsignedShort:mOnOffTransitionTimeConfigValue.Value()] : [NSNumber numberWithUnsignedShort:10U]; [cluster writeAttributeOnOffTransitionTimeWithValue:onOffTransitionTimeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1b: writes the OnOffTransitionTime attribute on the DUT: Error: %@", err); + NSLog(@"Step 1b: TH writes the OnOffTransitionTime attribute on the DUT with a different value than that read in 1a: Error: %@", err); } else { - NSLog(@"Step 1b: writes the OnOffTransitionTime attribute on the DUT: Success"); + NSLog(@"Step 1b: TH writes the OnOffTransitionTime attribute on the DUT with a different value than that read in 1a: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61020,7 +61107,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1cReadsTheOnOffTransitionTimeAttributeFromTheDut_3() + CHIP_ERROR TestStep1cThReadsTheOnOffTransitionTimeAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61029,9 +61116,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOnOffTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1c: Reads the OnOffTransitionTime attribute from the DUT: Error: %@", err); + NSLog(@"Step 1c: TH reads the OnOffTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1c: Reads the OnOffTransitionTime attribute from the DUT: Success"); + NSLog(@"Step 1c: TH reads the OnOffTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61051,7 +61138,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { } NSNumber * _Nullable OnLevelValue; - CHIP_ERROR TestStep2aReadsTheOnLevelAttributeFromTheDut_4() + CHIP_ERROR TestStep2aThReadsTheOnLevelAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61060,9 +61147,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOnLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Reads the OnLevel attribute from the DUT: Error: %@", err); + NSLog(@"Step 2a: TH reads the OnLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Reads the OnLevel attribute from the DUT: Success"); + NSLog(@"Step 2a: TH reads the OnLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61083,7 +61170,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bWritesTheOnLevelAttributeOnTheDut_5() + CHIP_ERROR TestStep2bThWritesTheOnLevelAttributeOnTheDutWithADifferentValueThanThatReadIn2a_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61094,9 +61181,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { onLevelArgument = mOnLevelConfigValue.HasValue() ? [NSNumber numberWithUnsignedChar:mOnLevelConfigValue.Value()] : [NSNumber numberWithUnsignedChar:5U]; [cluster writeAttributeOnLevelWithValue:onLevelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: writes the OnLevel attribute on the DUT: Error: %@", err); + NSLog(@"Step 2b: TH writes the OnLevel attribute on the DUT with a different value than that read in 2a: Error: %@", err); } else { - NSLog(@"Step 2b: writes the OnLevel attribute on the DUT: Success"); + NSLog(@"Step 2b: TH writes the OnLevel attribute on the DUT with a different value than that read in 2a: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61107,7 +61194,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2cReadsTheOnLevelAttributeFromTheDut_6() + CHIP_ERROR TestStep2cThReadsTheOnLevelAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61116,9 +61203,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOnLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: Reads the OnLevel attribute from the DUT: Error: %@", err); + NSLog(@"Step 2c: TH reads the OnLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2c: Reads the OnLevel attribute from the DUT: Success"); + NSLog(@"Step 2c: TH reads the OnLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61141,7 +61228,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { } NSNumber * _Nullable OnTransitionTimeValue; - CHIP_ERROR TestStep3aReadsTheOnTransitionTimeAttributeFromTheDut_7() + CHIP_ERROR TestStep3aThReadsTheOnTransitionTimeAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61150,9 +61237,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOnTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Reads the OnTransitionTime attribute from the DUT: Error: %@", err); + NSLog(@"Step 3a: TH reads the OnTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Reads the OnTransitionTime attribute from the DUT: Success"); + NSLog(@"Step 3a: TH reads the OnTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61173,7 +61260,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bWritesTheOnTransitionTimeAttributeOnTheDut_8() + CHIP_ERROR TestStep3bThWritesTheOnTransitionTimeAttributeOnTheDutWithADifferentValueThanThatReadIn3a_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61184,9 +61271,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { onTransitionTimeArgument = mOnTransitionTimeConfigValue.HasValue() ? [NSNumber numberWithUnsignedShort:mOnTransitionTimeConfigValue.Value()] : [NSNumber numberWithUnsignedShort:5U]; [cluster writeAttributeOnTransitionTimeWithValue:onTransitionTimeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Writes the OnTransitionTime attribute on the DUT: Error: %@", err); + NSLog(@"Step 3b: TH writes the OnTransitionTime attribute on the DUT with a different value than that read in 3a: Error: %@", err); } else { - NSLog(@"Step 3b: Writes the OnTransitionTime attribute on the DUT: Success"); + NSLog(@"Step 3b: TH writes the OnTransitionTime attribute on the DUT with a different value than that read in 3a: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61197,7 +61284,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadsTheOnTransitionTimeAttributeFromTheDut_9() + CHIP_ERROR TestStep3cThReadsTheOnTransitionTimeAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61206,9 +61293,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOnTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Reads the OnTransitionTime attribute from the DUT: Error: %@", err); + NSLog(@"Step 3c: TH reads the OnTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3c: Reads the OnTransitionTime attribute from the DUT: Success"); + NSLog(@"Step 3c: TH reads the OnTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61231,7 +61318,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { } NSNumber * _Nullable OffTransitionTimeValue; - CHIP_ERROR TestStep4aReadsTheOffTransitionTimeAttributeFromTheDut_10() + CHIP_ERROR TestStep4aThReadsTheOffTransitionTimeAttributeFromTheDut_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61240,9 +61327,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOffTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Reads the OffTransitionTime attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads the OffTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4a: Reads the OffTransitionTime attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads the OffTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61263,7 +61350,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bWritesTheOffTransitionTimeAttributeOnTheDut_11() + CHIP_ERROR TestStep4bThWritesTheOffTransitionTimeAttributeOnTheDutWithADifferentValueThanThatReadIn4a_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61274,9 +61361,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { offTransitionTimeArgument = mOffTransitionTimeConfigValue.HasValue() ? [NSNumber numberWithUnsignedShort:mOffTransitionTimeConfigValue.Value()] : [NSNumber numberWithUnsignedShort:10U]; [cluster writeAttributeOffTransitionTimeWithValue:offTransitionTimeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Writes the OffTransitionTime attribute on the DUT: Error: %@", err); + NSLog(@"Step 4b: TH writes the OffTransitionTime attribute on the DUT with a different value than that read in 4a: Error: %@", err); } else { - NSLog(@"Step 4b: Writes the OffTransitionTime attribute on the DUT: Success"); + NSLog(@"Step 4b: TH writes the OffTransitionTime attribute on the DUT with a different value than that read in 4a: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61287,7 +61374,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadsTheOffTransitionTimeAttributeFromTheDut_12() + CHIP_ERROR TestStep4cThReadsTheOffTransitionTimeAttributeFromTheDut_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61296,9 +61383,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeOffTransitionTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Reads the OffTransitionTime attribute from the DUT: Error: %@", err); + NSLog(@"Step 4c: TH reads the OffTransitionTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Reads the OffTransitionTime attribute from the DUT: Success"); + NSLog(@"Step 4c: TH reads the OffTransitionTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61321,7 +61408,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { } NSNumber * _Nullable DefaultMoveRatevalue; - CHIP_ERROR TestStep5aReadsTheDefaultMoveRateAttributeFromTheDut_13() + CHIP_ERROR TestStep5aThReadsTheDefaultMoveRateAttributeFromTheDut_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61330,9 +61417,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeDefaultMoveRateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5a: Reads the DefaultMoveRate attribute from the DUT: Error: %@", err); + NSLog(@"Step 5a: TH reads the DefaultMoveRate attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5a: Reads the DefaultMoveRate attribute from the DUT: Success"); + NSLog(@"Step 5a: TH reads the DefaultMoveRate attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61353,7 +61440,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5bWritesTheDefaultMoveRateAttributeOnTheDut_14() + CHIP_ERROR TestStep5bThWritesTheDefaultMoveRateAttributeOnTheDutWithADifferentValueThanThatReadIn5a_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61364,9 +61451,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { defaultMoveRateArgument = mDefaultMoveRateConfigValue.HasValue() ? [NSNumber numberWithUnsignedChar:mDefaultMoveRateConfigValue.Value()] : [NSNumber numberWithUnsignedChar:111U]; [cluster writeAttributeDefaultMoveRateWithValue:defaultMoveRateArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5b: Writes the DefaultMoveRate attribute on the DUT: Error: %@", err); + NSLog(@"Step 5b: TH writes the DefaultMoveRate attribute on the DUT with a different value than that read in 5a: Error: %@", err); } else { - NSLog(@"Step 5b: Writes the DefaultMoveRate attribute on the DUT: Success"); + NSLog(@"Step 5b: TH writes the DefaultMoveRate attribute on the DUT with a different value than that read in 5a: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61377,7 +61464,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5cReadsTheDefaultMoveRateAttributeFromTheDut_15() + CHIP_ERROR TestStep5cThReadsTheDefaultMoveRateAttributeFromTheDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61386,9 +61473,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeDefaultMoveRateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5c: Reads the DefaultMoveRate attribute from the DUT: Error: %@", err); + NSLog(@"Step 5c: TH reads the DefaultMoveRate attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5c: Reads the DefaultMoveRate attribute from the DUT: Success"); + NSLog(@"Step 5c: TH reads the DefaultMoveRate attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61411,7 +61498,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { } NSNumber * _Nullable StartUpCurrentLevelValue; - CHIP_ERROR TestStep6aReadsTheStartUpCurrentLevelAttributeFromTheDut_16() + CHIP_ERROR TestStep6aThReadsTheStartUpCurrentLevelAttributeFromTheDut_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61420,9 +61507,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeStartUpCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Reads the StartUpCurrentLevel attribute from the DUT: Error: %@", err); + NSLog(@"Step 6a: TH reads the StartUpCurrentLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6a: Reads the StartUpCurrentLevel attribute from the DUT: Success"); + NSLog(@"Step 6a: TH reads the StartUpCurrentLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61443,7 +61530,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bRwritesTheStartUpCurrentLevelAttributeOnTheDut_17() + CHIP_ERROR TestStep6bThWritesTheStartUpCurrentLevelAttributeOnTheDutWithADifferentValueThanThatReadIn6a_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61454,9 +61541,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { startUpCurrentLevelArgument = mStartUpCurrentLevelConfigValue.HasValue() ? [NSNumber numberWithUnsignedChar:mStartUpCurrentLevelConfigValue.Value()] : [NSNumber numberWithUnsignedChar:5U]; [cluster writeAttributeStartUpCurrentLevelWithValue:startUpCurrentLevelArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Rwrites the StartUpCurrentLevel attribute on the DUT: Error: %@", err); + NSLog(@"Step 6b: TH writes the StartUpCurrentLevel attribute on the DUT with a different value than that read in 6a: Error: %@", err); } else { - NSLog(@"Step 6b: Rwrites the StartUpCurrentLevel attribute on the DUT: Success"); + NSLog(@"Step 6b: TH writes the StartUpCurrentLevel attribute on the DUT with a different value than that read in 6a: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61467,7 +61554,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cRreadsTheStartUpCurrentLevelAttributeFromTheDut_18() + CHIP_ERROR TestStep6cThReadsTheStartUpCurrentLevelAttributeFromTheDut_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -61476,9 +61563,9 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { [cluster readAttributeStartUpCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: Rreads the StartUpCurrentLevel attribute from the DUT: Error: %@", err); + NSLog(@"Step 6c: TH reads the StartUpCurrentLevel attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6c: Rreads the StartUpCurrentLevel attribute from the DUT: Success"); + NSLog(@"Step 6c: TH reads the StartUpCurrentLevel attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -61567,8 +61654,8 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition Send On Command\n"); @@ -61679,72 +61766,72 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestWait10000ms_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4b: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4bThReadsCurrentLevelAttributeFromDut_15(); + err = TestStep4bAfter10SecondsThReadsCurrentLevelAttributeFromDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Wait 10000ms\n"); err = TestWait10000ms_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4c: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4cThReadsCurrentLevelAttributeFromDut_17(); + err = TestStep4cAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Wait 10000ms\n"); err = TestWait10000ms_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4d:After another 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4dThReadsCurrentLevelAttributeFromDut_19(); + err = TestStep4dAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Wait 5000ms\n"); err = TestWait5000ms_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4e: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4e: After another 5 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4eThReadsCurrentLevelAttributeFromDut_21(); + err = TestStep4eAfterAnother5SecondsThReadsCurrentLevelAttributeFromDut_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4f: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4f: TH reads CurrentLevel attribute from DUT (after DUT has finished the transition)\n"); if (ShouldSkip("LVL.S.C00.Rsp && LVL.S.A0000 && !LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4fThReadsCurrentLevelAttributeFromDut_22(); + err = TestStep4fThReadsCurrentLevelAttributeFromDutAfterDutHasFinishedTheTransition_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 5a: TH writes 0 to the Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 5a: TH writes 0x00 to the Options attribute\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep5aThWrites0ToTheOptionsAttribute_23(); + err = TestStep5aThWrites0x00ToTheOptionsAttribute_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 5b: TH reads Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 5b: TH reads the Options attribute from the DUT\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep5bThReadsOptionsAttribute_24(); + err = TestStep5bThReadsTheOptionsAttributeFromTheDut_24(); break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Step 5c: TH sends On command to DUT\n"); @@ -61755,12 +61842,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep5cThSendsOnCommandToDut_25(); break; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5d: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5d: TH sends a MoveToLevel command to the DUT with: 1)Level = 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep5dThSendsAMoveToLevelCommandToTheDutWith_26(); + err = TestStep5dThSendsAMoveToLevelCommandToTheDutWith1Level1002TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_26(); break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5e: TH reads CurrentLevel attribute from DUT\n"); @@ -61779,12 +61866,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep5fThSendsOffCommandToDut_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 5g: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 5g: TH sends a MoveToLevel command to the DUT with: 1)Level = 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep5gThSendsAMoveToLevelCommandToTheDutWith_29(); + err = TestStep5gThSendsAMoveToLevelCommandToTheDutWith1Level1202TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_29(); break; case 30: ChipLogProgress(chipTool, " ***** Test Step 30 : Step 5h: TH reads CurrentLevel attribute from DUT\n"); @@ -61795,12 +61882,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep5hThReadsCurrentLevelAttributeFromDut_30(); break; case 31: - ChipLogProgress(chipTool, " ***** Test Step 31 : Step 5i: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 31 : Step 5i: TH sends a MoveToLevel command to the DUT with: 1)Level = 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x00\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep5iThSendsAMoveToLevelCommandToTheDutWith_31(); + err = TestStep5iThSendsAMoveToLevelCommandToTheDutWith1Level1402TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x00_31(); break; case 32: ChipLogProgress(chipTool, " ***** Test Step 32 : Step 5j: TH reads CurrentLevel attribute from DUT\n"); @@ -61811,12 +61898,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep5jThReadsCurrentLevelAttributeFromDut_32(); break; case 33: - ChipLogProgress(chipTool, " ***** Test Step 33 : Step 5k: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 33 : Step 5k: TH sends a MoveToLevel command to the DUT with: 1)Level = 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x01\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep5kThSendsAMoveToLevelCommandToTheDutWith_33(); + err = TestStep5kThSendsAMoveToLevelCommandToTheDutWith1Level1602TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x01_33(); break; case 34: ChipLogProgress(chipTool, " ***** Test Step 34 : Step 5l: TH reads CurrentLevel attribute from DUT\n"); @@ -61827,20 +61914,20 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep5lThReadsCurrentLevelAttributeFromDut_34(); break; case 35: - ChipLogProgress(chipTool, " ***** Test Step 35 : Step 6a: TH writes 1 to the Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 35 : Step 6a: TH writes 0x01 to the Options attribute\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep6aThWrites1ToTheOptionsAttribute_35(); + err = TestStep6aThWrites0x01ToTheOptionsAttribute_35(); break; case 36: - ChipLogProgress(chipTool, " ***** Test Step 36 : Step 6b: TH reads Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 36 : Step 6b: TH reads the Options attribute from the DUT\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep6bThReadsOptionsAttribute_36(); + err = TestStep6bThReadsTheOptionsAttributeFromTheDut_36(); break; case 37: ChipLogProgress(chipTool, " ***** Test Step 37 : Step 6c: TH sends On command to DUT\n"); @@ -61851,12 +61938,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep6cThSendsOnCommandToDut_37(); break; case 38: - ChipLogProgress(chipTool, " ***** Test Step 38 : Step 6d: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 38 : Step 6d: TH sends a MoveToLevel command to the DUT with: 1)Level = 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6dThSendsAMoveToLevelCommandToTheDutWith_38(); + err = TestStep6dThSendsAMoveToLevelCommandToTheDutWith1Level1002TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_38(); break; case 39: ChipLogProgress(chipTool, " ***** Test Step 39 : Step 6e: TH reads CurrentLevel attribute from DUT\n"); @@ -61875,12 +61962,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep6fThSendsOffCommandToDut_40(); break; case 41: - ChipLogProgress(chipTool, " ***** Test Step 41 : Step 6g: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 41 : Step 6g: TH sends a MoveToLevel command to the DUT with: 1)Level = 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6gThSendsAMoveToLevelCommandToTheDutWith_41(); + err = TestStep6gThSendsAMoveToLevelCommandToTheDutWith1Level1202TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_41(); break; case 42: ChipLogProgress(chipTool, " ***** Test Step 42 : Step 6h: TH reads CurrentLevel attribute from DUT\n"); @@ -61891,12 +61978,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep6hThReadsCurrentLevelAttributeFromDut_42(); break; case 43: - ChipLogProgress(chipTool, " ***** Test Step 43 : Step 6i: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 43 : Step 6i: TH sends a MoveToLevel command to the DUT with: 1)Level = 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x00\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6iThSendsAMoveToLevelCommandToTheDutWith_43(); + err = TestStep6iThSendsAMoveToLevelCommandToTheDutWith1Level1402TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x00_43(); break; case 44: ChipLogProgress(chipTool, " ***** Test Step 44 : Step 6j: TH reads CurrentLevel attribute from DUT\n"); @@ -61907,12 +61994,12 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { err = TestStep6jThReadsCurrentLevelAttributeFromDut_44(); break; case 45: - ChipLogProgress(chipTool, " ***** Test Step 45 : Step 6k: TH sends a MoveToLevel command to the DUT with\n"); + ChipLogProgress(chipTool, " ***** Test Step 45 : Step 6k: TH sends a MoveToLevel command to the DUT with: 1)Level = 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x01\n"); if (ShouldSkip("LVL.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6kThSendsAMoveToLevelCommandToTheDutWith_45(); + err = TestStep6kThSendsAMoveToLevelCommandToTheDutWith1Level1602TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x01_45(); break; case 46: ChipLogProgress(chipTool, " ***** Test Step 46 : Step 6l: TH reads CurrentLevel attribute from DUT\n"); @@ -62091,7 +62178,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -62456,7 +62543,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4bThReadsCurrentLevelAttributeFromDut_15() + CHIP_ERROR TestStep4bAfter10SecondsThReadsCurrentLevelAttributeFromDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62465,9 +62552,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62492,7 +62579,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4cThReadsCurrentLevelAttributeFromDut_17() + CHIP_ERROR TestStep4cAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62501,9 +62588,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62528,7 +62615,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4dThReadsCurrentLevelAttributeFromDut_19() + CHIP_ERROR TestStep4dAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62537,9 +62624,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4d:After another 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4d:After another 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62564,7 +62651,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4eThReadsCurrentLevelAttributeFromDut_21() + CHIP_ERROR TestStep4eAfterAnother5SecondsThReadsCurrentLevelAttributeFromDut_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62573,9 +62660,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4e: After another 5 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4e: After another 5 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62592,7 +62679,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fThReadsCurrentLevelAttributeFromDut_22() + CHIP_ERROR TestStep4fThReadsCurrentLevelAttributeFromDutAfterDutHasFinishedTheTransition_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62601,9 +62688,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4f: TH reads CurrentLevel attribute from DUT (after DUT has finished the transition): Error: %@", err); } else { - NSLog(@"Step 4f: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4f: TH reads CurrentLevel attribute from DUT (after DUT has finished the transition): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62620,7 +62707,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aThWrites0ToTheOptionsAttribute_23() + CHIP_ERROR TestStep5aThWrites0x00ToTheOptionsAttribute_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62632,9 +62719,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeOptionsWithValue:optionsArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5a: TH writes 0 to the Options attribute: Error: %@", err); + NSLog(@"Step 5a: TH writes 0x00 to the Options attribute: Error: %@", err); } else { - NSLog(@"Step 5a: TH writes 0 to the Options attribute: Success"); + NSLog(@"Step 5a: TH writes 0x00 to the Options attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62645,7 +62732,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5bThReadsOptionsAttribute_24() + CHIP_ERROR TestStep5bThReadsTheOptionsAttributeFromTheDut_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62654,9 +62741,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeOptionsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5b: TH reads Options attribute: Error: %@", err); + NSLog(@"Step 5b: TH reads the Options attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5b: TH reads Options attribute: Success"); + NSLog(@"Step 5b: TH reads the Options attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62695,7 +62782,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5dThSendsAMoveToLevelCommandToTheDutWith_26() + CHIP_ERROR TestStep5dThSendsAMoveToLevelCommandToTheDutWith1Level1002TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_26() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62714,9 +62801,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5d: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 5d: TH sends a MoveToLevel command to the DUT with: 1)Level = 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Error: %@", err); } else { - NSLog(@"Step 5d: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 5d: TH sends a MoveToLevel command to the DUT with: 1)Level = 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62778,7 +62865,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5gThSendsAMoveToLevelCommandToTheDutWith_29() + CHIP_ERROR TestStep5gThSendsAMoveToLevelCommandToTheDutWith1Level1202TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62797,9 +62884,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5g: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 5g: TH sends a MoveToLevel command to the DUT with: 1)Level = 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Error: %@", err); } else { - NSLog(@"Step 5g: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 5g: TH sends a MoveToLevel command to the DUT with: 1)Level = 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62838,7 +62925,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5iThSendsAMoveToLevelCommandToTheDutWith_31() + CHIP_ERROR TestStep5iThSendsAMoveToLevelCommandToTheDutWith1Level1402TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x00_31() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62857,9 +62944,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5i: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 5i: TH sends a MoveToLevel command to the DUT with: 1)Level = 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x00: Error: %@", err); } else { - NSLog(@"Step 5i: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 5i: TH sends a MoveToLevel command to the DUT with: 1)Level = 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x00: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62898,7 +62985,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5kThSendsAMoveToLevelCommandToTheDutWith_33() + CHIP_ERROR TestStep5kThSendsAMoveToLevelCommandToTheDutWith1Level1602TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x01_33() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62917,9 +63004,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5k: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 5k: TH sends a MoveToLevel command to the DUT with: 1)Level = 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x01: Error: %@", err); } else { - NSLog(@"Step 5k: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 5k: TH sends a MoveToLevel command to the DUT with: 1)Level = 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x01: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62958,7 +63045,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aThWrites1ToTheOptionsAttribute_35() + CHIP_ERROR TestStep6aThWrites0x01ToTheOptionsAttribute_35() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62970,9 +63057,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:1U]; [cluster writeAttributeOptionsWithValue:optionsArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: TH writes 1 to the Options attribute: Error: %@", err); + NSLog(@"Step 6a: TH writes 0x01 to the Options attribute: Error: %@", err); } else { - NSLog(@"Step 6a: TH writes 1 to the Options attribute: Success"); + NSLog(@"Step 6a: TH writes 0x01 to the Options attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -62983,7 +63070,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bThReadsOptionsAttribute_36() + CHIP_ERROR TestStep6bThReadsTheOptionsAttributeFromTheDut_36() { MTRBaseDevice * device = GetDevice("alpha"); @@ -62992,9 +63079,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster readAttributeOptionsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: TH reads Options attribute: Error: %@", err); + NSLog(@"Step 6b: TH reads the Options attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6b: TH reads Options attribute: Success"); + NSLog(@"Step 6b: TH reads the Options attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -63033,7 +63120,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6dThSendsAMoveToLevelCommandToTheDutWith_38() + CHIP_ERROR TestStep6dThSendsAMoveToLevelCommandToTheDutWith1Level1002TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_38() { MTRBaseDevice * device = GetDevice("alpha"); @@ -63052,9 +63139,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 6d: TH sends a MoveToLevel command to the DUT with: 1)Level = 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Error: %@", err); } else { - NSLog(@"Step 6d: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 6d: TH sends a MoveToLevel command to the DUT with: 1)Level = 100 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -63116,7 +63203,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6gThSendsAMoveToLevelCommandToTheDutWith_41() + CHIP_ERROR TestStep6gThSendsAMoveToLevelCommandToTheDutWith1Level1202TransitionTime0Immediate3OptionsMask0x004OptionsOverride0x00_41() { MTRBaseDevice * device = GetDevice("alpha"); @@ -63135,9 +63222,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6g: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 6g: TH sends a MoveToLevel command to the DUT with: 1)Level = 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Error: %@", err); } else { - NSLog(@"Step 6g: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 6g: TH sends a MoveToLevel command to the DUT with: 1)Level = 120 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x00 4)OptionsOverride = 0x00: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -63176,7 +63263,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6iThSendsAMoveToLevelCommandToTheDutWith_43() + CHIP_ERROR TestStep6iThSendsAMoveToLevelCommandToTheDutWith1Level1402TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x00_43() { MTRBaseDevice * device = GetDevice("alpha"); @@ -63195,9 +63282,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6i: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 6i: TH sends a MoveToLevel command to the DUT with: 1)Level = 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x00: Error: %@", err); } else { - NSLog(@"Step 6i: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 6i: TH sends a MoveToLevel command to the DUT with: 1)Level = 140 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x00: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -63236,7 +63323,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6kThSendsAMoveToLevelCommandToTheDutWith_45() + CHIP_ERROR TestStep6kThSendsAMoveToLevelCommandToTheDutWith1Level1602TransitionTime0Immediate3OptionsMask0x014OptionsOverride0x01_45() { MTRBaseDevice * device = GetDevice("alpha"); @@ -63255,9 +63342,9 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { [cluster moveToLevelWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6k: TH sends a MoveToLevel command to the DUT with: Error: %@", err); + NSLog(@"Step 6k: TH sends a MoveToLevel command to the DUT with: 1)Level = 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x01: Error: %@", err); } else { - NSLog(@"Step 6k: TH sends a MoveToLevel command to the DUT with: Success"); + NSLog(@"Step 6k: TH sends a MoveToLevel command to the DUT with: 1)Level = 160 2)TransitionTime = 0 (immediate) 3)OptionsMask = 0x01 4)OptionsOverride = 0x01: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -63338,8 +63425,8 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition Send On Command\n"); @@ -63418,12 +63505,12 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { err = TestWait5000ms_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: After 5 seconds TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C05.Rsp && LVL.S.A0000")) { NextTest(); return; } - err = TestStep2eThReadsCurrentLevelAttributeFromDut_11(); + err = TestStep2eAfter5SecondsThReadsCurrentLevelAttributeFromDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3a: TH sends On command to DUT\n"); @@ -63462,48 +63549,48 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { err = TestWait10s_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.A0000")) { NextTest(); return; } - err = TestStep4bThReadsCurrentLevelAttributeFromDut_17(); + err = TestStep4bAfter10SecondsThReadsCurrentLevelAttributeFromDut_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Wait 10s\n"); err = TestWait10s_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4c: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.A0000")) { NextTest(); return; } - err = TestStep4cThReadsCurrentLevelAttributeFromDut_19(); + err = TestStep4cAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Wait 10s\n"); err = TestWait10s_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4d: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4d: After another 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.A0000")) { NextTest(); return; } - err = TestStep4dThReadsCurrentLevelAttributeFromDut_21(); + err = TestStep4dAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Wait 19s\n"); err = TestWait19s_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4e: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4e: After another 19 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.A0000")) { NextTest(); return; } - err = TestStep4eThReadsCurrentLevelAttributeFromDut_23(); + err = TestStep4eAfterAnother19SecondsThReadsCurrentLevelAttributeFromDut_23(); break; case 24: ChipLogProgress(chipTool, " ***** Test Step 24 : Precondition send Off Command\n"); @@ -63627,7 +63714,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -63882,7 +63969,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep2eThReadsCurrentLevelAttributeFromDut_11() + CHIP_ERROR TestStep2eAfter5SecondsThReadsCurrentLevelAttributeFromDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -63891,9 +63978,9 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2e: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 2e: After 5 seconds TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2e: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 2e: After 5 seconds TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64033,7 +64120,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4bThReadsCurrentLevelAttributeFromDut_17() + CHIP_ERROR TestStep4bAfter10SecondsThReadsCurrentLevelAttributeFromDut_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64042,9 +64129,9 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64069,7 +64156,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4cThReadsCurrentLevelAttributeFromDut_19() + CHIP_ERROR TestStep4cAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64078,9 +64165,9 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64105,7 +64192,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4dThReadsCurrentLevelAttributeFromDut_21() + CHIP_ERROR TestStep4dAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64114,9 +64201,9 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4d: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4d: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64141,7 +64228,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4eThReadsCurrentLevelAttributeFromDut_23() + CHIP_ERROR TestStep4eAfterAnother19SecondsThReadsCurrentLevelAttributeFromDut_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64150,9 +64237,9 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4e: After another 19 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4e: After another 19 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64261,8 +64348,8 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition Send On Command\n"); @@ -64289,12 +64376,12 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { err = TestPreconditionWriteDefaultValueOfOnOffTransitionTimeAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1: TH writes 0 to the Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1: TH writes 0x00 to the Options attribute\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep1ThWrites0ToTheOptionsAttribute_4(); + err = TestStep1ThWrites0x00ToTheOptionsAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2a: TH sends Off command to DUT\n"); @@ -64345,60 +64432,60 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { err = TestStep3cReadsCurrentLevelAttributeFromDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4a: TH sends a Step command to the DUT with StepMode =0x00 (up), StepSize =150 and TransitionTime =300\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4a: TH sends a Step command to the DUT with StepMode_ =0x00 (up), StepSize =150 and TransitionTime =300 (30 s). This means the level should increase by 150 units in 30s, so 5 units/s.\n"); if (ShouldSkip("LVL.S.C02.Rsp")) { NextTest(); return; } - err = TestStep4aThSendsAStepCommandToTheDutWithStepMode0x00UpStepSize150AndTransitionTime300_11(); + err = TestStep4aThSendsAStepCommandToTheDutWithStepMode0x00UpStepSize150AndTransitionTime30030SThisMeansTheLevelShouldIncreaseBy150UnitsIn30sSo5UnitsS_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Wait 10s\n"); err = TestWait10s_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4b: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4bThReadsCurrentLevelAttributeFromDut_13(); + err = TestStep4bAfter10SecondsThReadsCurrentLevelAttributeFromDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Wait 10s\n"); err = TestWait10s_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4c: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4cThReadsCurrentLevelAttributeFromDut_15(); + err = TestStep4cAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Wait 10s\n"); err = TestWait10s_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4d: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4d: After another 10 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4dThReadsCurrentLevelAttributeFromDut_17(); + err = TestStep4dAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_17(); break; case 18: ChipLogProgress(chipTool, " ***** Test Step 18 : Wait 5000ms\n"); err = TestWait5000ms_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4e: TH reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4e: After another 5 seconds, TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C02.Rsp && LVL.S.A0000 && LVL.S.M.VarRate")) { NextTest(); return; } - err = TestStep4eThReadsCurrentLevelAttributeFromDut_19(); + err = TestStep4eAfterAnother5SecondsThReadsCurrentLevelAttributeFromDut_19(); break; case 20: ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4f: TH reads CurrentLevel attribute from DUT (after DUT has finished the transition)\n"); @@ -64521,7 +64608,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -64604,7 +64691,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1ThWrites0ToTheOptionsAttribute_4() + CHIP_ERROR TestStep1ThWrites0x00ToTheOptionsAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64616,9 +64703,9 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeOptionsWithValue:optionsArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH writes 0 to the Options attribute: Error: %@", err); + NSLog(@"Step 1: TH writes 0x00 to the Options attribute: Error: %@", err); } else { - NSLog(@"Step 1: TH writes 0 to the Options attribute: Success"); + NSLog(@"Step 1: TH writes 0x00 to the Options attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64796,7 +64883,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThSendsAStepCommandToTheDutWithStepMode0x00UpStepSize150AndTransitionTime300_11() + CHIP_ERROR TestStep4aThSendsAStepCommandToTheDutWithStepMode0x00UpStepSize150AndTransitionTime30030SThisMeansTheLevelShouldIncreaseBy150UnitsIn30sSo5UnitsS_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64817,9 +64904,9 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { [cluster stepWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH sends a Step command to the DUT with StepMode =0x00 (up), StepSize =150 and TransitionTime =300: Error: %@", err); + NSLog(@"Step 4a: TH sends a Step command to the DUT with StepMode_ =0x00 (up), StepSize =150 and TransitionTime =300 (30 s). This means the level should increase by 150 units in 30s, so 5 units/s.: Error: %@", err); } else { - NSLog(@"Step 4a: TH sends a Step command to the DUT with StepMode =0x00 (up), StepSize =150 and TransitionTime =300: Success"); + NSLog(@"Step 4a: TH sends a Step command to the DUT with StepMode_ =0x00 (up), StepSize =150 and TransitionTime =300 (30 s). This means the level should increase by 150 units in 30s, so 5 units/s.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64838,7 +64925,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4bThReadsCurrentLevelAttributeFromDut_13() + CHIP_ERROR TestStep4bAfter10SecondsThReadsCurrentLevelAttributeFromDut_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64847,9 +64934,9 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4b: After 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64874,7 +64961,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4cThReadsCurrentLevelAttributeFromDut_15() + CHIP_ERROR TestStep4cAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64883,9 +64970,9 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4c: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64910,7 +64997,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4dThReadsCurrentLevelAttributeFromDut_17() + CHIP_ERROR TestStep4dAfterAnother10SecondsThReadsCurrentLevelAttributeFromDut_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64919,9 +65006,9 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4d: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4d: After another 10 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -64946,7 +65033,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4eThReadsCurrentLevelAttributeFromDut_19() + CHIP_ERROR TestStep4eAfterAnother5SecondsThReadsCurrentLevelAttributeFromDut_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -64955,9 +65042,9 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 4e: After another 5 seconds, TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 4e: After another 5 seconds, TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -65094,8 +65181,8 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: write default value of OnOffTransitionTime attribute\n"); @@ -65106,12 +65193,12 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { err = TestPreconditionWriteDefaultValueOfOnOffTransitionTimeAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1a: H writes 0 to the Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1a: TH writes 0x00 to the Options attribute\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep1aHWrites0ToTheOptionsAttribute_2(); + err = TestStep1aThWrites0x00ToTheOptionsAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1b: TH sends On command to DUT\n"); @@ -65150,12 +65237,12 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { err = TestStep2dWait5000ms_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3: Sends stop command to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3: After 5 seconds, TH sends a Stop command to the DUT\n"); if (ShouldSkip("LVL.S.C03.Rsp")) { NextTest(); return; } - err = TestStep3SendsStopCommandToDut_8(); + err = TestStep3After5SecondsThSendsAStopCommandToTheDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Physically verify that the device has stopped transitioning\n"); @@ -65186,12 +65273,12 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { err = TestWait5000ms_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: TH sends a StopWithOnOff command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: After 5 seconds, TH sends a StopWithOnOff command to the DUT\n"); if (ShouldSkip("LVL.S.C07.Rsp")) { NextTest(); return; } - err = TestStep6ThSendsAStopWithOnOffCommandToTheDut_13(); + err = TestStep6After5SecondsThSendsAStopWithOnOffCommandToTheDut_13(); break; case 14: ChipLogProgress(chipTool, " ***** Test Step 14 : Physically verify that the device has stopped transitioning\n"); @@ -65202,12 +65289,12 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { err = TestPhysicallyVerifyThatTheDeviceHasStoppedTransitioning_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7: Reads CurrentLevel attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7: TH reads CurrentLevel attribute from DUT\n"); if (ShouldSkip("LVL.S.C01.Rsp && LVL.S.C07.Rsp && LVL.S.A0000")) { NextTest(); return; } - err = TestStep7ReadsCurrentLevelAttributeFromDut_15(); + err = TestStep7ThReadsCurrentLevelAttributeFromDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Precondition send Off Command\n"); @@ -65307,7 +65394,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -65340,7 +65427,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1aHWrites0ToTheOptionsAttribute_2() + CHIP_ERROR TestStep1aThWrites0x00ToTheOptionsAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -65352,9 +65439,9 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeOptionsWithValue:optionsArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: H writes 0 to the Options attribute: Error: %@", err); + NSLog(@"Step 1a: TH writes 0x00 to the Options attribute: Error: %@", err); } else { - NSLog(@"Step 1a: H writes 0 to the Options attribute: Success"); + NSLog(@"Step 1a: TH writes 0x00 to the Options attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -65488,7 +65575,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep3SendsStopCommandToDut_8() + CHIP_ERROR TestStep3After5SecondsThSendsAStopCommandToTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -65503,9 +65590,9 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { [cluster stopWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Sends stop command to DUT: Error: %@", err); + NSLog(@"Step 3: After 5 seconds, TH sends a Stop command to the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Sends stop command to DUT: Success"); + NSLog(@"Step 3: After 5 seconds, TH sends a Stop command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -65594,7 +65681,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep6ThSendsAStopWithOnOffCommandToTheDut_13() + CHIP_ERROR TestStep6After5SecondsThSendsAStopWithOnOffCommandToTheDut_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -65609,9 +65696,9 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { [cluster stopWithOnOffWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH sends a StopWithOnOff command to the DUT: Error: %@", err); + NSLog(@"Step 6: After 5 seconds, TH sends a StopWithOnOff command to the DUT: Error: %@", err); } else { - NSLog(@"Step 6: TH sends a StopWithOnOff command to the DUT: Success"); + NSLog(@"Step 6: After 5 seconds, TH sends a StopWithOnOff command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -65632,7 +65719,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep7ReadsCurrentLevelAttributeFromDut_15() + CHIP_ERROR TestStep7ThReadsCurrentLevelAttributeFromDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -65641,9 +65728,9 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { [cluster readAttributeCurrentLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Reads CurrentLevel attribute from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads CurrentLevel attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 7: Reads CurrentLevel attribute from DUT: Success"); + NSLog(@"Step 7: TH reads CurrentLevel attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -65754,8 +65841,8 @@ class Test_TC_LVL_7_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: write default value of OnOffTransitionTime attribute\n"); @@ -65766,12 +65853,12 @@ class Test_TC_LVL_7_1 : public TestCommandBridge { err = TestPreconditionWriteDefaultValueOfOnOffTransitionTimeAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 0a: TH writes 0 to the Options attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 0a: TH writes 0x00 to the Options attribute\n"); if (ShouldSkip("LVL.S.A000f")) { NextTest(); return; } - err = TestStep0aThWrites0ToTheOptionsAttribute_2(); + err = TestStep0aThWrites0x00ToTheOptionsAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 0b: TH sends On command to DUT\n"); @@ -65991,7 +66078,7 @@ class Test_TC_LVL_7_1 : public TestCommandBridge { chip::Optional mRandomFrequencyValue; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -66024,7 +66111,7 @@ class Test_TC_LVL_7_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep0aThWrites0ToTheOptionsAttribute_2() + CHIP_ERROR TestStep0aThWrites0x00ToTheOptionsAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66036,9 +66123,9 @@ class Test_TC_LVL_7_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeOptionsWithValue:optionsArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 0a: TH writes 0 to the Options attribute: Error: %@", err); + NSLog(@"Step 0a: TH writes 0x00 to the Options attribute: Error: %@", err); } else { - NSLog(@"Step 0a: TH writes 0 to the Options attribute: Success"); + NSLog(@"Step 0a: TH writes 0x00 to the Options attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66491,35 +66578,35 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap from DUT\n"); - err = TestStep3ThReadsTheFeatureMapFromDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_3(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_4(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -66527,12 +66614,12 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { NextTest(); return; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7(); break; } @@ -66586,7 +66673,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -66594,7 +66681,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66603,9 +66690,9 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66622,7 +66709,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66631,9 +66718,9 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66650,7 +66737,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66659,9 +66746,9 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66682,7 +66769,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66691,9 +66778,9 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66713,7 +66800,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66722,9 +66809,9 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66741,7 +66828,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66750,9 +66837,9 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66811,20 +66898,20 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !LUNIT.S.F00 ")) { NextTest(); return; } - err = TestStep3ThReadsTheFeatureMapFromDut_2(); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Given LUNIT.S.F00(TEMP) ensure featuremap has the correct bit set\n"); @@ -66835,20 +66922,20 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { err = TestStep3GivenLunitsf00tempEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsAttributeListFromDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsAttributeListFromDut_5(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads Feature dependent(LUNIT.S.F00) attribute in AttributeList\n"); @@ -66859,7 +66946,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { err = TestStep4bThReadsFeatureDependentLUNITSF00AttributeInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -66867,12 +66954,12 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { NextTest(); return; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_9(); break; } @@ -66932,7 +67019,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -66940,7 +67027,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66949,9 +67036,9 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -66968,7 +67055,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -66977,9 +67064,9 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67019,7 +67106,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67028,9 +67115,9 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67049,7 +67136,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsAttributeListFromDut_5() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67058,9 +67145,9 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67103,7 +67190,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_8() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67112,9 +67199,9 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67131,7 +67218,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_9() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67140,9 +67227,9 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67205,68 +67292,68 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads TemperatureUnit attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads from the DUT the TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000")) { NextTest(); return; } - err = TestStep1ThReadsTemperatureUnitAttributeFromDut_1(); + err = TestStep1ThReadsFromTheDutTheTemperatureUnit_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH writes 0 (Fahrenheit) to TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH writes 0 to TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000 && LUNIT.S.M.Fahrenheit")) { NextTest(); return; } - err = TestStep2ThWrites0FahrenheitToTemperatureUnitAttribute_2(); + err = TestStep2ThWrites0ToTemperatureUnit_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads from the DUT the TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000 && LUNIT.S.M.Fahrenheit")) { NextTest(); return; } - err = TestStep3ThReadsTemperatureUnitAttribute_3(); + err = TestStep3ThReadsFromTheDutTheTemperatureUnit_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH writes 1 (Celsius) to TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH writes 1 to TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000 && LUNIT.S.M.Celsius")) { NextTest(); return; } - err = TestStep4ThWrites1CelsiusToTemperatureUnitAttribute_4(); + err = TestStep4ThWrites1ToTemperatureUnit_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000 && LUNIT.S.M.Celsius")) { NextTest(); return; } - err = TestStep5ThReadsTemperatureUnitAttribute_5(); + err = TestStep5ThReadsFromTheDutTheTemperatureUnit_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH writes 2 (Kelvin) to TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH writes 2 to TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000 && LUNIT.S.M.Kelvin")) { NextTest(); return; } - err = TestStep6ThWrites2KelvinToTemperatureUnitAttribute_6(); + err = TestStep6ThWrites2ToTemperatureUnit_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000 && LUNIT.S.M.Kelvin")) { NextTest(); return; } - err = TestStep7ThReadsTemperatureUnitAttribute_7(); + err = TestStep7ThReadsFromTheDutTheTemperatureUnit_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH writes 5 to TemperatureUnit attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH writes 5 to TemperatureUnit\n"); if (ShouldSkip("LUNIT.S.A0000")) { NextTest(); return; } - err = TestStep8ThWrites5ToTemperatureUnitAttribute_8(); + err = TestStep8ThWrites5ToTemperatureUnit_8(); break; } @@ -67331,7 +67418,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ThReadsTemperatureUnitAttributeFromDut_1() + CHIP_ERROR TestStep1ThReadsFromTheDutTheTemperatureUnit_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67340,9 +67427,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [cluster readAttributeTemperatureUnitWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH reads TemperatureUnit attribute from DUT: Error: %@", err); + NSLog(@"Step 1: TH reads from the DUT the TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 1: TH reads TemperatureUnit attribute from DUT: Success"); + NSLog(@"Step 1: TH reads from the DUT the TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67354,7 +67441,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ThWrites0FahrenheitToTemperatureUnitAttribute_2() + CHIP_ERROR TestStep2ThWrites0ToTemperatureUnit_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67366,9 +67453,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeTemperatureUnitWithValue:temperatureUnitArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH writes 0 (Fahrenheit) to TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 2: TH writes 0 to TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 2: TH writes 0 (Fahrenheit) to TemperatureUnit attribute: Success"); + NSLog(@"Step 2: TH writes 0 to TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67379,7 +67466,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTemperatureUnitAttribute_3() + CHIP_ERROR TestStep3ThReadsFromTheDutTheTemperatureUnit_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67388,9 +67475,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [cluster readAttributeTemperatureUnitWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 3: TH reads TemperatureUnit attribute: Success"); + NSLog(@"Step 3: TH reads from the DUT the TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67406,7 +67493,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThWrites1CelsiusToTemperatureUnitAttribute_4() + CHIP_ERROR TestStep4ThWrites1ToTemperatureUnit_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67418,9 +67505,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:1U]; [cluster writeAttributeTemperatureUnitWithValue:temperatureUnitArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH writes 1 (Celsius) to TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 4: TH writes 1 to TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 4: TH writes 1 (Celsius) to TemperatureUnit attribute: Success"); + NSLog(@"Step 4: TH writes 1 to TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67431,7 +67518,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThReadsTemperatureUnitAttribute_5() + CHIP_ERROR TestStep5ThReadsFromTheDutTheTemperatureUnit_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67440,9 +67527,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [cluster readAttributeTemperatureUnitWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH reads TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 5: TH reads from the DUT the TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 5: TH reads TemperatureUnit attribute: Success"); + NSLog(@"Step 5: TH reads from the DUT the TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67458,7 +67545,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThWrites2KelvinToTemperatureUnitAttribute_6() + CHIP_ERROR TestStep6ThWrites2ToTemperatureUnit_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67470,9 +67557,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:2U]; [cluster writeAttributeTemperatureUnitWithValue:temperatureUnitArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH writes 2 (Kelvin) to TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 6: TH writes 2 to TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 6: TH writes 2 (Kelvin) to TemperatureUnit attribute: Success"); + NSLog(@"Step 6: TH writes 2 to TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67483,7 +67570,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsTemperatureUnitAttribute_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheTemperatureUnit_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67492,9 +67579,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [cluster readAttributeTemperatureUnitWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 7: TH reads TemperatureUnit attribute: Success"); + NSLog(@"Step 7: TH reads from the DUT the TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67510,7 +67597,7 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ThWrites5ToTemperatureUnitAttribute_8() + CHIP_ERROR TestStep8ThWrites5ToTemperatureUnit_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67522,9 +67609,9 @@ class Test_TC_LUNIT_3_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:5U]; [cluster writeAttributeTemperatureUnitWithValue:temperatureUnitArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: TH writes 5 to TemperatureUnit attribute: Error: %@", err); + NSLog(@"Step 8: TH writes 5 to TemperatureUnit: Error: %@", err); } else { - NSLog(@"Step 8: TH writes 5 to TemperatureUnit attribute: Success"); + NSLog(@"Step 8: TH writes 5 to TemperatureUnit: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -67576,35 +67663,35 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap from DUT\n"); - err = TestStep3ThReadsTheFeatureMapFromDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsAttributeListFromDut_3(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsAttributeListFromDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads feature dependent attribute(ActiveCalendarType) in AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads Feature dependent attribute(ActiveCalendarType) in AttributeList from DUT\n"); if (ShouldSkip("LTIME.S.F00 && LTIME.S.A0001")) { NextTest(); return; @@ -67612,7 +67699,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { err = TestStep4bThReadsFeatureDependentAttributeActiveCalendarTypeInAttributeListFromDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: TH reads feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: TH reads Feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT\n"); if (ShouldSkip("LTIME.S.F00 && LTIME.S.A0002")) { NextTest(); return; @@ -67620,7 +67707,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { err = TestStep4cThReadsFeatureDependentAttributeSupportedCalendarTypesInAttributeListFromDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -67628,12 +67715,12 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { NextTest(); return; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_9(); break; } @@ -67693,7 +67780,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -67701,7 +67788,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67710,9 +67797,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67729,7 +67816,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67738,9 +67825,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67755,7 +67842,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsAttributeListFromDut_3() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67764,9 +67851,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67786,7 +67873,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67795,9 +67882,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67825,9 +67912,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads feature dependent attribute(ActiveCalendarType) in AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4b: TH reads Feature dependent attribute(ActiveCalendarType) in AttributeList from DUT: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads feature dependent attribute(ActiveCalendarType) in AttributeList from DUT: Success"); + NSLog(@"Step 4b: TH reads Feature dependent attribute(ActiveCalendarType) in AttributeList from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67850,9 +67937,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4c: TH reads Feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT: Success"); + NSLog(@"Step 4c: TH reads Feature dependent attribute(SupportedCalendarTypes) in AttributeList from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67866,7 +67953,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_8() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67875,9 +67962,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67894,7 +67981,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_9() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -67903,9 +67990,9 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -67964,8 +68051,8 @@ class Test_TC_LTIME_3_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads HourFormat attribute from DUT\n"); @@ -68119,7 +68206,7 @@ class Test_TC_LTIME_3_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -68412,20 +68499,20 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute, bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF)\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3:TH reads from the DUT the FeatureMap attribute., bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF)\n"); if (ShouldSkip("LWM.S.F00")) { NextTest(); return; } - err = TestStep3ThReadsFromTheDutTheFeatureMapAttributeBit0ShallBe1IfAndOnlyIfLwmsf00deponoff_2(); + err = TestStep3thReadsFromTheDutTheFeatureMapAttributeBit0ShallBe1IfAndOnlyIfLwmsf00deponoff_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); @@ -68452,20 +68539,20 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: Read the optional attribute(StartUpMode) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads the optional attribute(StartUpMode) in AttributeList\n"); if (ShouldSkip("LWM.S.A0002")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeStartUpModeInAttributeList_6(); + err = TestStep4bThReadsTheOptionalAttributeStartUpModeInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: Read the Feature dependent attribute(DEPONOFF) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: TH reads the Feature dependent attribute(DEPONOFF) in AttributeList\n"); if (ShouldSkip("LWM.S.F00")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentAttributeDEPONOFFInAttributeList_7(); + err = TestStep4cThReadsTheFeatureDependentAttributeDEPONOFFInAttributeList_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: TH reads from the DUT the EventList attribute.\n"); @@ -68544,7 +68631,7 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -68580,7 +68667,7 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttributeBit0ShallBe1IfAndOnlyIfLwmsf00deponoff_2() + CHIP_ERROR TestStep3thReadsFromTheDutTheFeatureMapAttributeBit0ShallBe1IfAndOnlyIfLwmsf00deponoff_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -68589,9 +68676,9 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute, bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF): Error: %@", err); + NSLog(@"Step 3:TH reads from the DUT the FeatureMap attribute., bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF): Error: %@", err); } else { - NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute, bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF): Success"); + NSLog(@"Step 3:TH reads from the DUT the FeatureMap attribute., bit 0: SHALL be 1 if and only if LWM.S.F00(DEPONOFF): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -68694,7 +68781,7 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeStartUpModeInAttributeList_6() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeStartUpModeInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -68703,9 +68790,9 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute(StartUpMode) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(StartUpMode) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute(StartUpMode) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(StartUpMode) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -68719,7 +68806,7 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentAttributeDEPONOFFInAttributeList_7() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentAttributeDEPONOFFInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -68728,9 +68815,9 @@ class Test_TC_LWM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent attribute(DEPONOFF) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent attribute(DEPONOFF) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent attribute(DEPONOFF) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent attribute(DEPONOFF) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -68868,7 +68955,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.LWM.MODE_CHANGE_FAIL\n"); - if (ShouldSkip("LWM.S.M.CAN_TEST_MODE_FAILURE && PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("LWM.S.M.CAN_TEST_MODE_FAILURE && LWM.S.M.CAN_MANUALLY_CONTROLLED && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } @@ -68876,7 +68963,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the CurrentMode attribute.\n"); - if (ShouldSkip("LWM.S.A0001")) { + if (ShouldSkip("LWM.S.A0001 && LWM.S.M.CAN_MANUALLY_CONTROLLED")) { NextTest(); return; } @@ -68900,7 +68987,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.LWM.MODE_CHANGE_OK\n"); - if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("LWM.S.M.CAN_MANUALLY_CONTROLLED && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } @@ -68908,7 +68995,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads from the DUT the CurrentMode attribute.\n"); - if (ShouldSkip("LWM.S.A0001")) { + if (ShouldSkip("LWM.S.M.CAN_MANUALLY_CONTROLLED && LWM.S.A0001")) { NextTest(); return; } @@ -69389,8 +69476,8 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH\n"); + err = TestCommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); @@ -69437,23 +69524,23 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b: Read the feature dependent(WASHERCTRL.S.F00) attributes in AttributeList from DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b: TH reads the feature dependent(WASHERCTRL.S.F00) attributes in AttributeList from DUT.\n"); if (ShouldSkip("WASHERCTRL.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheFeatureDependentWASHERCTRLSF00AttributesInAttributeListFromDut_7(); + err = TestStep4bThReadsTheFeatureDependentWASHERCTRLSF00AttributesInAttributeListFromDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4c: Read the feature dependent(WASHERCTRL.S.F01) attributes in AttributeList from DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4c: TH reads the feature dependent(WASHERCTRL.S.F01) attributes in AttributeList from DUT.\n"); if (ShouldSkip("WASHERCTRL.S.F01")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentWASHERCTRLSF01AttributesInAttributeListFromDut_8(); + err = TestStep4cThReadsTheFeatureDependentWASHERCTRLSF01AttributesInAttributeListFromDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads EventList attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -69461,12 +69548,12 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { NextTest(); return; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads AcceptedCommandList attribute from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListAttributeFromDut_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads GeneratedCommandList attribute from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListAttributeFromDut_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_11(); break; } @@ -69532,7 +69619,7 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -69701,7 +69788,7 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheFeatureDependentWASHERCTRLSF00AttributesInAttributeListFromDut_7() + CHIP_ERROR TestStep4bThReadsTheFeatureDependentWASHERCTRLSF00AttributesInAttributeListFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -69710,9 +69797,9 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the feature dependent(WASHERCTRL.S.F00) attributes in AttributeList from DUT.: Error: %@", err); + NSLog(@"Step 4b: TH reads the feature dependent(WASHERCTRL.S.F00) attributes in AttributeList from DUT.: Error: %@", err); } else { - NSLog(@"Step 4b: Read the feature dependent(WASHERCTRL.S.F00) attributes in AttributeList from DUT.: Success"); + NSLog(@"Step 4b: TH reads the feature dependent(WASHERCTRL.S.F00) attributes in AttributeList from DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -69727,7 +69814,7 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentWASHERCTRLSF01AttributesInAttributeListFromDut_8() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentWASHERCTRLSF01AttributesInAttributeListFromDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -69736,9 +69823,9 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the feature dependent(WASHERCTRL.S.F01) attributes in AttributeList from DUT.: Error: %@", err); + NSLog(@"Step 4c: TH reads the feature dependent(WASHERCTRL.S.F01) attributes in AttributeList from DUT.: Error: %@", err); } else { - NSLog(@"Step 4c: Read the feature dependent(WASHERCTRL.S.F01) attributes in AttributeList from DUT.: Success"); + NSLog(@"Step 4c: TH reads the feature dependent(WASHERCTRL.S.F01) attributes in AttributeList from DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -69753,7 +69840,7 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListAttributeFromDut_10() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -69762,9 +69849,9 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -69781,7 +69868,7 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListAttributeFromDut_11() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -69790,9 +69877,9 @@ class Test_TC_WASHERCTRL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -69853,8 +69940,8 @@ class Test_TC_WASHERCTRL_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the the SpinSpeeds attribute\n"); @@ -69962,7 +70049,7 @@ class Test_TC_WASHERCTRL_2_1 : public TestCommandBridge { chip::Optional mUnsupportedSpinSpeedCurrentValue; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -70163,8 +70250,8 @@ class Test_TC_WASHERCTRL_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the the NumberOfRinses attribute\n"); @@ -70272,7 +70359,7 @@ class Test_TC_WASHERCTRL_2_2 : public TestCommandBridge { chip::Optional mUnsupportedNumberOfRinsesValue; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -70468,39 +70555,39 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Read the global attribute: FeatureMap\n"); - err = TestStep2ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the FeatureMap attribute from the DUT\n"); + err = TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeAttributeList_3(); + err = TestStep3ThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeAttributeList_4(); + err = TestStep3ThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -70567,7 +70654,7 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70576,9 +70663,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70595,7 +70682,7 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70604,9 +70691,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70623,7 +70710,7 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep3ThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70632,9 +70719,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70657,7 +70744,7 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3ThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70666,9 +70753,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70690,7 +70777,7 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_5() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70699,9 +70786,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70719,7 +70806,7 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_6() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70728,9 +70815,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70789,20 +70876,20 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip(" !KEYPADINPUT.S.F00 && KEYPADINPUT.S.F01 && !KEYPADINPUT.S.F02 ")) { NextTest(); return; } - err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Given (KEYPADINPUT.S.F00(NV)) FeatureMap bit mask is set or not\n"); @@ -70829,31 +70916,31 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { err = TestStep2dGivenKeypadinputsf02nkFeatureMapBitMaskIsSetOrNot_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_6(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_7(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -70921,7 +71008,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -70929,7 +71016,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70938,9 +71025,9 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -70957,7 +71044,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -70966,9 +71053,9 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71054,7 +71141,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71063,9 +71150,9 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71084,7 +71171,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71093,9 +71180,9 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71113,7 +71200,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_8() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71122,9 +71209,9 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71138,7 +71225,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_9() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71147,9 +71234,9 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71209,67 +71296,67 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip("APPLAUNCHER.S.F00")) { NextTest(); return; } - err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip(" !APPLAUNCHER.S.F00 ")) { NextTest(); return; } - err = TestStep2bReadTheGlobalAttributeFeatureMap_3(); + err = TestStep2bThReadsTheFeatureMapAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_4(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_5(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3b: Read the optional attribute(CatalogList) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3b: TH reads the optional attribute(CatalogList) in AttributeList\n"); if (ShouldSkip("APPLAUNCHER.S.A0000")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeCatalogListInAttributeList_6(); + err = TestStep3bThReadsTheOptionalAttributeCatalogListInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3c: Read the optional attribute(CurrentApp) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3c: TH reads the optional attribute(CurrentApp) in AttributeList\n"); if (ShouldSkip("APPLAUNCHER.S.A0001")) { NextTest(); return; } - err = TestStep3cReadTheOptionalAttributeCurrentAppInAttributeList_7(); + err = TestStep3cThReadsTheOptionalAttributeCurrentAppInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -71345,7 +71432,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71354,9 +71441,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71373,7 +71460,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71382,9 +71469,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71401,7 +71488,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bReadTheGlobalAttributeFeatureMap_3() + CHIP_ERROR TestStep2bThReadsTheFeatureMapAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71410,9 +71497,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2b: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2b: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2b: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71429,7 +71516,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71438,9 +71525,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71459,7 +71546,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_5() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71468,9 +71555,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71488,7 +71575,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeCatalogListInAttributeList_6() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeCatalogListInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71497,9 +71584,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(CatalogList) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(CatalogList) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(CatalogList) in AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(CatalogList) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71513,7 +71600,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheOptionalAttributeCurrentAppInAttributeList_7() + CHIP_ERROR TestStep3cThReadsTheOptionalAttributeCurrentAppInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71522,9 +71609,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the optional attribute(CurrentApp) in AttributeList: Error: %@", err); + NSLog(@"Step 3c: TH reads the optional attribute(CurrentApp) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3c: Read the optional attribute(CurrentApp) in AttributeList: Success"); + NSLog(@"Step 3c: TH reads the optional attribute(CurrentApp) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71538,7 +71625,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_8() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71547,9 +71634,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71565,7 +71652,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_9() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71574,9 +71661,9 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71632,20 +71719,20 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip(" !MEDIAINPUT.S.F00 ")) { NextTest(); return; } - err = TestStep2ReadTheGlobalAttributeFeatureMap_2(); + err = TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: Given MEDIAINPUT.S.F00(NU) ensure featuremap has the correct bit set\n"); @@ -71656,47 +71743,47 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { err = TestStep2GivenMediainputsf00nuEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_4(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_5(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3b: Read the optional attribute(InputList) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3b: TH reads the optional attribute(InputList) in AttributeList\n"); if (ShouldSkip("MEDIAINPUT.S.A0000")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeInputListInAttributeList_6(); + err = TestStep3bThReadsTheOptionalAttributeInputListInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3c: Read the optional attribute(CurrentInput) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3c: TH reads the optional attribute(CurrentInput) in AttributeList\n"); if (ShouldSkip("MEDIAINPUT.S.A0001")) { NextTest(); return; } - err = TestStep3cReadTheOptionalAttributeCurrentInputInAttributeList_7(); + err = TestStep3cThReadsTheOptionalAttributeCurrentInputInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -71764,7 +71851,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -71772,7 +71859,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71781,9 +71868,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71800,7 +71887,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71809,9 +71896,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71851,7 +71938,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71860,9 +71947,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71881,7 +71968,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_5() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71890,9 +71977,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71910,7 +71997,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeInputListInAttributeList_6() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeInputListInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71919,9 +72006,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(InputList) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(InputList) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(InputList) in AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(InputList) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71935,7 +72022,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheOptionalAttributeCurrentInputInAttributeList_7() + CHIP_ERROR TestStep3cThReadsTheOptionalAttributeCurrentInputInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71944,9 +72031,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the optional attribute(CurrentInput) in AttributeList: Error: %@", err); + NSLog(@"Step 3c: TH reads the optional attribute(CurrentInput) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3c: Read the optional attribute(CurrentInput) in AttributeList: Success"); + NSLog(@"Step 3c: TH reads the optional attribute(CurrentInput) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71960,7 +72047,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_8() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71969,9 +72056,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -71988,7 +72075,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_9() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -71997,9 +72084,9 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72058,51 +72145,51 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Read the global attribute: FeatureMap\n"); - err = TestStep2ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the FeatureMap attribute from the DUT\n"); + err = TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_3(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_4(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: Read the optional attribute(MACAddress) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: TH reads the optional attribute(MACAddress) in AttributeList\n"); if (ShouldSkip("WAKEONLAN.S.A0000")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeMACAddressInAttributeList_5(); + err = TestStep3bThReadsTheOptionalAttributeMACAddressInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads the global attribute: AcceptedCommandList\n"); + err = TestStep4ThReadsTheGlobalAttributeAcceptedCommandList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads the global attribute: GeneratedCommandList\n"); + err = TestStep5ThReadsTheGlobalAttributeGeneratedCommandList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads the global attribute: EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -72164,7 +72251,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -72172,7 +72259,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72181,9 +72268,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72200,7 +72287,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72209,9 +72296,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72228,7 +72315,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72237,9 +72324,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72258,7 +72345,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72267,9 +72354,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72287,7 +72374,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeMACAddressInAttributeList_5() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeMACAddressInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72296,9 +72383,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(MACAddress) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(MACAddress) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(MACAddress) in AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(MACAddress) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72312,7 +72399,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_6() + CHIP_ERROR TestStep4ThReadsTheGlobalAttributeAcceptedCommandList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72321,9 +72408,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the global attribute: AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the global attribute: AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -72340,7 +72427,7 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_7() + CHIP_ERROR TestStep5ThReadsTheGlobalAttributeGeneratedCommandList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -72349,9 +72436,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the global attribute: GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the global attribute: GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73019,20 +73106,20 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip(" !MEDIAPLAYBACK.S.F00 && !MEDIAPLAYBACK.S.F01 ")) { NextTest(); return; } - err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Given MEDIAPLAYBACK.S.F00(AS) ensure featuremap has the correct bit set\n"); @@ -73051,143 +73138,143 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { err = TestStep2cGivenMediaplaybacksf01vsEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_5(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_6(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3b: Read the optional attribute(StartTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3b: TH reads the optional attribute(StartTime) in AttributeList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0001")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeStartTimeInAttributeList_7(); + err = TestStep3bThReadsTheOptionalAttributeStartTimeInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3c: Read the optional attribute(Duration) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3c: TH reads the optional attribute(Duration) in AttributeList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0002")) { NextTest(); return; } - err = TestStep3cReadTheOptionalAttributeDurationInAttributeList_8(); + err = TestStep3cThReadsTheOptionalAttributeDurationInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3d: Read the optional attribute(SampledPosition) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3d: TH reads the optional attribute(SampledPosition) in AttributeList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0003")) { NextTest(); return; } - err = TestStep3dReadTheOptionalAttributeSampledPositionInAttributeList_9(); + err = TestStep3dThReadsTheOptionalAttributeSampledPositionInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 3e: Read the optional attribute(PlaybackSpeed) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 3e: TH reads the optional attribute(PlaybackSpeed) in AttributeList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004")) { NextTest(); return; } - err = TestStep3eReadTheOptionalAttributePlaybackSpeedInAttributeList_10(); + err = TestStep3eThReadsTheOptionalAttributePlaybackSpeedInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 3f: Read the optional attribute(SeekRangeEnd) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 3f: TH reads the optional attribute(SeekRangeEnd) in AttributeList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0005")) { NextTest(); return; } - err = TestStep3fReadTheOptionalAttributeSeekRangeEndInAttributeList_11(); + err = TestStep3fThReadsTheOptionalAttributeSeekRangeEndInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3g: Read the optional attribute(SeekRangeStart) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3g: TH reads the optional attribute(SeekRangeStart) in AttributeList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0006")) { NextTest(); return; } - err = TestStep3gReadTheOptionalAttributeSeekRangeStartInAttributeList_12(); + err = TestStep3gThReadsTheOptionalAttributeSeekRangeStartInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4a: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4aReadTheGlobalAttributeAcceptedCommandList_13(); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4a: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4aThReadsTheAcceptedCommandListAttributeFromTheDut_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4b: Read the optional command(StartOver) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4b: TH reads the optional command(StartOver) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C03.Rsp")) { NextTest(); return; } - err = TestStep4bReadTheOptionalCommandStartOverInAcceptedCommandList_14(); + err = TestStep4bThReadsTheOptionalCommandStartOverInAcceptedCommandList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4c: Read the optional command(Previous) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4c: TH reads the optional command(Previous) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C04.Rsp")) { NextTest(); return; } - err = TestStep4cReadTheOptionalCommandPreviousInAcceptedCommandList_15(); + err = TestStep4cThReadsTheOptionalCommandPreviousInAcceptedCommandList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4d: Read the optional command(Next) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4d: TH reads the optional command(Next) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C05.Rsp")) { NextTest(); return; } - err = TestStep4dReadTheOptionalCommandNextInAcceptedCommandList_16(); + err = TestStep4dThReadsTheOptionalCommandNextInAcceptedCommandList_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4e: Read the optional command(Rewind) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4e: TH reads the optional command(Rewind) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep4eReadTheOptionalCommandRewindInAcceptedCommandList_17(); + err = TestStep4eThReadsTheOptionalCommandRewindInAcceptedCommandList_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4f: Read the optional command(FastForward) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4f: TH reads the optional command(FastForward) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep4fReadTheOptionalCommandFastForwardInAcceptedCommandList_18(); + err = TestStep4fThReadsTheOptionalCommandFastForwardInAcceptedCommandList_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4g: Read the optional command(SkipForward) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4g: TH reads the optional command(SkipForward) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C08.Rsp")) { NextTest(); return; } - err = TestStep4gReadTheOptionalCommandSkipForwardInAcceptedCommandList_19(); + err = TestStep4gThReadsTheOptionalCommandSkipForwardInAcceptedCommandList_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4h: Read the optional command(SkipBackward) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4h: TH reads the optional command(SkipBackward) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C09.Rsp")) { NextTest(); return; } - err = TestStep4hReadTheOptionalCommandSkipBackwardInAcceptedCommandList_20(); + err = TestStep4hThReadsTheOptionalCommandSkipBackwardInAcceptedCommandList_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4i: Read the optional command(Seek) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4i: TH reads the optional command(Seek) in AcceptedCommandList\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C0b.Rsp")) { NextTest(); return; } - err = TestStep4iReadTheOptionalCommandSeekInAcceptedCommandList_21(); + err = TestStep4iThReadsTheOptionalCommandSeekInAcceptedCommandList_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_22(); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -73294,7 +73381,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -73302,7 +73389,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73311,9 +73398,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73330,7 +73417,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73339,9 +73426,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73404,7 +73491,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_5() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73413,9 +73500,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73435,7 +73522,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73444,9 +73531,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73465,7 +73552,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeStartTimeInAttributeList_7() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeStartTimeInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73474,9 +73561,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(StartTime) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(StartTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(StartTime) in AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(StartTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73490,7 +73577,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheOptionalAttributeDurationInAttributeList_8() + CHIP_ERROR TestStep3cThReadsTheOptionalAttributeDurationInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73499,9 +73586,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the optional attribute(Duration) in AttributeList: Error: %@", err); + NSLog(@"Step 3c: TH reads the optional attribute(Duration) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3c: Read the optional attribute(Duration) in AttributeList: Success"); + NSLog(@"Step 3c: TH reads the optional attribute(Duration) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73515,7 +73602,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadTheOptionalAttributeSampledPositionInAttributeList_9() + CHIP_ERROR TestStep3dThReadsTheOptionalAttributeSampledPositionInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73524,9 +73611,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Read the optional attribute(SampledPosition) in AttributeList: Error: %@", err); + NSLog(@"Step 3d: TH reads the optional attribute(SampledPosition) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3d: Read the optional attribute(SampledPosition) in AttributeList: Success"); + NSLog(@"Step 3d: TH reads the optional attribute(SampledPosition) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73540,7 +73627,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3eReadTheOptionalAttributePlaybackSpeedInAttributeList_10() + CHIP_ERROR TestStep3eThReadsTheOptionalAttributePlaybackSpeedInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73549,9 +73636,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3e: Read the optional attribute(PlaybackSpeed) in AttributeList: Error: %@", err); + NSLog(@"Step 3e: TH reads the optional attribute(PlaybackSpeed) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3e: Read the optional attribute(PlaybackSpeed) in AttributeList: Success"); + NSLog(@"Step 3e: TH reads the optional attribute(PlaybackSpeed) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73565,7 +73652,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3fReadTheOptionalAttributeSeekRangeEndInAttributeList_11() + CHIP_ERROR TestStep3fThReadsTheOptionalAttributeSeekRangeEndInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73574,9 +73661,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3f: Read the optional attribute(SeekRangeEnd) in AttributeList: Error: %@", err); + NSLog(@"Step 3f: TH reads the optional attribute(SeekRangeEnd) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3f: Read the optional attribute(SeekRangeEnd) in AttributeList: Success"); + NSLog(@"Step 3f: TH reads the optional attribute(SeekRangeEnd) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73590,7 +73677,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3gReadTheOptionalAttributeSeekRangeStartInAttributeList_12() + CHIP_ERROR TestStep3gThReadsTheOptionalAttributeSeekRangeStartInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73599,9 +73686,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3g: Read the optional attribute(SeekRangeStart) in AttributeList: Error: %@", err); + NSLog(@"Step 3g: TH reads the optional attribute(SeekRangeStart) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3g: Read the optional attribute(SeekRangeStart) in AttributeList: Success"); + NSLog(@"Step 3g: TH reads the optional attribute(SeekRangeStart) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73615,7 +73702,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAcceptedCommandList_13() + CHIP_ERROR TestStep4aThReadsTheAcceptedCommandListAttributeFromTheDut_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73624,9 +73711,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4a: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4a: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73642,7 +73729,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalCommandStartOverInAcceptedCommandList_14() + CHIP_ERROR TestStep4bThReadsTheOptionalCommandStartOverInAcceptedCommandList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73651,9 +73738,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional command(StartOver) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional command(StartOver) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional command(StartOver) in AcceptedCommandList: Success"); + NSLog(@"Step 4b: TH reads the optional command(StartOver) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73667,7 +73754,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalCommandPreviousInAcceptedCommandList_15() + CHIP_ERROR TestStep4cThReadsTheOptionalCommandPreviousInAcceptedCommandList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73676,9 +73763,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the optional command(Previous) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4c: TH reads the optional command(Previous) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the optional command(Previous) in AcceptedCommandList: Success"); + NSLog(@"Step 4c: TH reads the optional command(Previous) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73692,7 +73779,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalCommandNextInAcceptedCommandList_16() + CHIP_ERROR TestStep4dThReadsTheOptionalCommandNextInAcceptedCommandList_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73701,9 +73788,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional command(Next) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional command(Next) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional command(Next) in AcceptedCommandList: Success"); + NSLog(@"Step 4d: TH reads the optional command(Next) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73717,7 +73804,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheOptionalCommandRewindInAcceptedCommandList_17() + CHIP_ERROR TestStep4eThReadsTheOptionalCommandRewindInAcceptedCommandList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73726,9 +73813,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the optional command(Rewind) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4e: TH reads the optional command(Rewind) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the optional command(Rewind) in AcceptedCommandList: Success"); + NSLog(@"Step 4e: TH reads the optional command(Rewind) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73742,7 +73829,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalCommandFastForwardInAcceptedCommandList_18() + CHIP_ERROR TestStep4fThReadsTheOptionalCommandFastForwardInAcceptedCommandList_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73751,9 +73838,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional command(FastForward) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional command(FastForward) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional command(FastForward) in AcceptedCommandList: Success"); + NSLog(@"Step 4f: TH reads the optional command(FastForward) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73767,7 +73854,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gReadTheOptionalCommandSkipForwardInAcceptedCommandList_19() + CHIP_ERROR TestStep4gThReadsTheOptionalCommandSkipForwardInAcceptedCommandList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73776,9 +73863,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: Read the optional command(SkipForward) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4g: TH reads the optional command(SkipForward) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4g: Read the optional command(SkipForward) in AcceptedCommandList: Success"); + NSLog(@"Step 4g: TH reads the optional command(SkipForward) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73792,7 +73879,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheOptionalCommandSkipBackwardInAcceptedCommandList_20() + CHIP_ERROR TestStep4hThReadsTheOptionalCommandSkipBackwardInAcceptedCommandList_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73801,9 +73888,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the optional command(SkipBackward) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4h: TH reads the optional command(SkipBackward) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the optional command(SkipBackward) in AcceptedCommandList: Success"); + NSLog(@"Step 4h: TH reads the optional command(SkipBackward) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73817,7 +73904,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4iReadTheOptionalCommandSeekInAcceptedCommandList_21() + CHIP_ERROR TestStep4iThReadsTheOptionalCommandSeekInAcceptedCommandList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73826,9 +73913,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4i: Read the optional command(Seek) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4i: TH reads the optional command(Seek) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 4i: Read the optional command(Seek) in AcceptedCommandList: Success"); + NSLog(@"Step 4i: TH reads the optional command(Seek) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73842,7 +73929,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_22() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -73851,9 +73938,9 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -73913,51 +74000,51 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip("AUDIOOUTPUT.S.F00")) { NextTest(); return; } - err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TTH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip(" !AUDIOOUTPUT.S.F00 ")) { NextTest(); return; } - err = TestStep2bReadTheGlobalAttributeFeatureMap_3(); + err = TestStep2bTthReadsTheFeatureMapAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeAttributeList_4(); + err = TestStep3ThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeAttributeList_5(); + err = TestStep3ThReadsTheAttributeListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -74027,7 +74114,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74036,9 +74123,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74055,7 +74142,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74064,9 +74151,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74078,7 +74165,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bReadTheGlobalAttributeFeatureMap_3() + CHIP_ERROR TestStep2bTthReadsTheFeatureMapAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74087,9 +74174,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2b: TTH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2b: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2b: TTH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74101,7 +74188,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3ThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74110,9 +74197,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74133,7 +74220,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeAttributeList_5() + CHIP_ERROR TestStep3ThReadsTheAttributeListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74142,9 +74229,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74164,7 +74251,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_6() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74173,9 +74260,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74189,7 +74276,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_7() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74198,9 +74285,9 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74263,47 +74350,47 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Read the global attribute: FeatureMap\n"); - err = TestStep2ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the FeatureMap attribute from the DUT\n"); + err = TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_3(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_4(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: Read the optional attribute(CurrentTarget) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: TH reads the optional attribute(CurrentTarget) in AttributeList\n"); if (ShouldSkip("TGTNAV.S.A0001")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeCurrentTargetInAttributeList_5(); + err = TestStep3bThReadsTheOptionalAttributeCurrentTargetInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -74373,7 +74460,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74382,9 +74469,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74401,7 +74488,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74410,9 +74497,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74429,7 +74516,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74438,9 +74525,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74460,7 +74547,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74469,9 +74556,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74490,7 +74577,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeCurrentTargetInAttributeList_5() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeCurrentTargetInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74499,9 +74586,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(CurrentTarget) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(CurrentTarget) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(CurrentTarget) in AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(CurrentTarget) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74515,7 +74602,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_6() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74524,9 +74611,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74540,7 +74627,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_7() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74549,9 +74636,9 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74611,63 +74698,63 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Read FeatureMap attribute from the DUT\n"); - err = TestStep2ReadFeatureMapAttributeFromTheDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the FeatureMap attribute from the DUT\n"); + err = TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_3(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_4(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: Read the optional attribute(VendorName) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: TH reads the optional attribute(VendorName) in AttributeList\n"); if (ShouldSkip("APBSC.S.A0000")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeVendorNameInAttributeList_5(); + err = TestStep3bThReadsTheOptionalAttributeVendorNameInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3c: Read the optional attribute(VendorID) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3c: TH reads the optional attribute(VendorID) in AttributeList\n"); if (ShouldSkip("APBSC.S.A0001")) { NextTest(); return; } - err = TestStep3cReadTheOptionalAttributeVendorIDInAttributeList_6(); + err = TestStep3cThReadsTheOptionalAttributeVendorIDInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3d: Read the optional attribute(ProductID) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3d: TH reads the optional attribute(ProductID) in AttributeList\n"); if (ShouldSkip("APBSC.S.A0003")) { NextTest(); return; } - err = TestStep3dReadTheOptionalAttributeProductIDInAttributeList_7(); + err = TestStep3dThReadsTheOptionalAttributeProductIDInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -74743,7 +74830,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74752,9 +74839,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74771,7 +74858,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74780,9 +74867,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74799,7 +74886,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74808,9 +74895,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74834,7 +74921,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74843,9 +74930,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74868,7 +74955,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeVendorNameInAttributeList_5() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeVendorNameInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74877,9 +74964,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(VendorName) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(VendorName) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(VendorName) in AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(VendorName) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74893,7 +74980,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheOptionalAttributeVendorIDInAttributeList_6() + CHIP_ERROR TestStep3cThReadsTheOptionalAttributeVendorIDInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74902,9 +74989,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the optional attribute(VendorID) in AttributeList: Error: %@", err); + NSLog(@"Step 3c: TH reads the optional attribute(VendorID) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3c: Read the optional attribute(VendorID) in AttributeList: Success"); + NSLog(@"Step 3c: TH reads the optional attribute(VendorID) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74918,7 +75005,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadTheOptionalAttributeProductIDInAttributeList_7() + CHIP_ERROR TestStep3dThReadsTheOptionalAttributeProductIDInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74927,9 +75014,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Read the optional attribute(ProductID) in AttributeList: Error: %@", err); + NSLog(@"Step 3d: TH reads the optional attribute(ProductID) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 3d: Read the optional attribute(ProductID) in AttributeList: Success"); + NSLog(@"Step 3d: TH reads the optional attribute(ProductID) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74943,7 +75030,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_8() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74952,9 +75039,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -74971,7 +75058,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_9() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -74980,9 +75067,9 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75045,16 +75132,16 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: TH reads the FeatureMap attribute from the DUT\n"); if (ShouldSkip("( !CONTENTLAUNCHER.S.F00 && !CONTENTLAUNCHER.S.F01 )")) { NextTest(); return; } - err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Given CONTENTLAUNCHER.S.F00 (CS) ensure featuremap has the correct bit set\n"); @@ -75073,59 +75160,59 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { err = TestStep2cGivenContentlaunchersf01upEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_5(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeAttributeList_6(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3b: Read the optional attribute(AcceptHeader): AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3b: TH reads the optional attribute(AcceptHeader): AttributeList\n"); if (ShouldSkip("CONTENTLAUNCHER.S.A0000")) { NextTest(); return; } - err = TestStep3bReadTheOptionalAttributeAcceptHeaderAttributeList_7(); + err = TestStep3bThReadsTheOptionalAttributeAcceptHeaderAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3c: Read the optional attribute(SupportedStreamingProtocols): AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3c: TH reads the optional attribute(SupportedStreamingProtocols): AttributeList\n"); if (ShouldSkip("CONTENTLAUNCHER.S.A0001")) { NextTest(); return; } - err = TestStep3cReadTheOptionalAttributeSupportedStreamingProtocolsAttributeList_8(); + err = TestStep3cThReadsTheOptionalAttributeSupportedStreamingProtocolsAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: Read the optional command(LaunchContent) in AcceptedCommandList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: TH reads the optional command(LaunchContent) in AcceptedCommandList attribute\n"); if (ShouldSkip("CONTENTLAUNCHER.C.C00.Tx")) { NextTest(); return; } - err = TestStep4aReadTheOptionalCommandLaunchContentInAcceptedCommandListAttribute_9(); + err = TestStep4aThReadsTheOptionalCommandLaunchContentInAcceptedCommandListAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b: Read the optional command(LaunchURL) in AcceptedCommandList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b: TH reads the optional command(LaunchURL) in AcceptedCommandList attribute\n"); if (ShouldSkip("CONTENTLAUNCHER.C.C01.Tx")) { NextTest(); return; } - err = TestStep4bReadTheOptionalCommandLaunchURLInAcceptedCommandListAttribute_10(); + err = TestStep4bThReadsTheOptionalCommandLaunchURLInAcceptedCommandListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 6: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -75207,7 +75294,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75216,9 +75303,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75235,7 +75322,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2aThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75244,9 +75331,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2a: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75309,7 +75396,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_5() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75318,9 +75405,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75339,7 +75426,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75348,9 +75435,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75368,7 +75455,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheOptionalAttributeAcceptHeaderAttributeList_7() + CHIP_ERROR TestStep3bThReadsTheOptionalAttributeAcceptHeaderAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75377,9 +75464,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the optional attribute(AcceptHeader): AttributeList: Error: %@", err); + NSLog(@"Step 3b: TH reads the optional attribute(AcceptHeader): AttributeList: Error: %@", err); } else { - NSLog(@"Step 3b: Read the optional attribute(AcceptHeader): AttributeList: Success"); + NSLog(@"Step 3b: TH reads the optional attribute(AcceptHeader): AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75393,7 +75480,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheOptionalAttributeSupportedStreamingProtocolsAttributeList_8() + CHIP_ERROR TestStep3cThReadsTheOptionalAttributeSupportedStreamingProtocolsAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75402,9 +75489,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the optional attribute(SupportedStreamingProtocols): AttributeList: Error: %@", err); + NSLog(@"Step 3c: TH reads the optional attribute(SupportedStreamingProtocols): AttributeList: Error: %@", err); } else { - NSLog(@"Step 3c: Read the optional attribute(SupportedStreamingProtocols): AttributeList: Success"); + NSLog(@"Step 3c: TH reads the optional attribute(SupportedStreamingProtocols): AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75418,7 +75505,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheOptionalCommandLaunchContentInAcceptedCommandListAttribute_9() + CHIP_ERROR TestStep4aThReadsTheOptionalCommandLaunchContentInAcceptedCommandListAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75427,9 +75514,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the optional command(LaunchContent) in AcceptedCommandList attribute: Error: %@", err); + NSLog(@"Step 4a: TH reads the optional command(LaunchContent) in AcceptedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: Read the optional command(LaunchContent) in AcceptedCommandList attribute: Success"); + NSLog(@"Step 4a: TH reads the optional command(LaunchContent) in AcceptedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75443,7 +75530,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalCommandLaunchURLInAcceptedCommandListAttribute_10() + CHIP_ERROR TestStep4bThReadsTheOptionalCommandLaunchURLInAcceptedCommandListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75452,9 +75539,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional command(LaunchURL) in AcceptedCommandList attribute: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional command(LaunchURL) in AcceptedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional command(LaunchURL) in AcceptedCommandList attribute: Success"); + NSLog(@"Step 4b: TH reads the optional command(LaunchURL) in AcceptedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75468,7 +75555,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_11() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75477,9 +75564,9 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75539,39 +75626,39 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); - err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the ClusterRevision attribute from the DUT\n"); + err = TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Read the global attribute: FeatureMap\n"); - err = TestStep2ReadTheGlobalAttributeFeatureMap_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the FeatureMap attribute from the DUT\n"); + err = TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeAttributeList_3(); + err = TestStep3ThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3a: TH reads the AttributeList attribute from the DUT\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeAttributeList_4(); + err = TestStep3aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: Read the global attribute: AcceptedCommandList\n"); - err = TestStep4ReadTheGlobalAttributeAcceptedCommandList_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads the AcceptedCommandList attribute from the DUT\n"); + err = TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: Read the global attribute: GeneratedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeGeneratedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads the GeneratedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads EventList attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads the EventList attribute from the DUT\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -75638,7 +75725,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep1ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75647,9 +75734,9 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 1: TH reads the ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75666,7 +75753,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep2ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75675,9 +75762,9 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 2: TH reads the FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75694,7 +75781,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep3ThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75703,9 +75790,9 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75724,7 +75811,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep3aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75733,9 +75820,9 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 3a: TH reads the AttributeList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75753,7 +75840,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAcceptedCommandList_5() + CHIP_ERROR TestStep4ThReadsTheAcceptedCommandListAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75762,9 +75849,9 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 4: TH reads the AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75780,7 +75867,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeGeneratedCommandList_6() + CHIP_ERROR TestStep5ThReadsTheGeneratedCommandListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -75789,9 +75876,9 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 5: TH reads the GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -75847,8 +75934,8 @@ class Test_TC_LOWPOWER_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH sends Sleep command to DUT\n"); @@ -75892,7 +75979,7 @@ class Test_TC_LOWPOWER_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -76137,76 +76224,76 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: Send Numbers1\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH sends Numbers1\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1aSendNumbers1_1(); + err = TestStep1aThSendsNumbers1_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: Send Numbers2\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH sends Numbers2\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1bSendNumbers2_2(); + err = TestStep1bThSendsNumbers2_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: Send Numbers3\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: TH sends Numbers3\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1cSendNumbers3_3(); + err = TestStep1cThSendsNumbers3_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: Send Numbers4\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: TH sends Numbers4\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1dSendNumbers4_4(); + err = TestStep1dThSendsNumbers4_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: Send Numbers5\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: TH sends Numbers5\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1eSendNumbers5_5(); + err = TestStep1eThSendsNumbers5_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 1f: Send Numbers6\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 1f: TH sends Numbers6\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1fSendNumbers6_6(); + err = TestStep1fThSendsNumbers6_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 1g: Send Numbers7\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 1g: TH sends Numbers7\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1gSendNumbers7_7(); + err = TestStep1gThSendsNumbers7_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 1h: Send Numbers8\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 1h: TH sends Numbers8\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1hSendNumbers8_8(); + err = TestStep1hThSendsNumbers8_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 1i: Send Numbers9\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 1i: TH sends Numbers9\n"); if (ShouldSkip("KEYPADINPUT.S.C00.Rsp && KEYPADINPUT.S.F02")) { NextTest(); return; } - err = TestStep1iSendNumbers9_9(); + err = TestStep1iThSendsNumbers9_9(); break; } @@ -76274,7 +76361,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1aSendNumbers1_1() + CHIP_ERROR TestStep1aThSendsNumbers1_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76287,9 +76374,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: Send Numbers1: Error: %@", err); + NSLog(@"Step 1a: TH sends Numbers1: Error: %@", err); } else { - NSLog(@"Step 1a: Send Numbers1: Success"); + NSLog(@"Step 1a: TH sends Numbers1: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76305,7 +76392,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bSendNumbers2_2() + CHIP_ERROR TestStep1bThSendsNumbers2_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76318,9 +76405,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1b: Send Numbers2: Error: %@", err); + NSLog(@"Step 1b: TH sends Numbers2: Error: %@", err); } else { - NSLog(@"Step 1b: Send Numbers2: Success"); + NSLog(@"Step 1b: TH sends Numbers2: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76336,7 +76423,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1cSendNumbers3_3() + CHIP_ERROR TestStep1cThSendsNumbers3_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76349,9 +76436,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1c: Send Numbers3: Error: %@", err); + NSLog(@"Step 1c: TH sends Numbers3: Error: %@", err); } else { - NSLog(@"Step 1c: Send Numbers3: Success"); + NSLog(@"Step 1c: TH sends Numbers3: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76367,7 +76454,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1dSendNumbers4_4() + CHIP_ERROR TestStep1dThSendsNumbers4_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76380,9 +76467,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1d: Send Numbers4: Error: %@", err); + NSLog(@"Step 1d: TH sends Numbers4: Error: %@", err); } else { - NSLog(@"Step 1d: Send Numbers4: Success"); + NSLog(@"Step 1d: TH sends Numbers4: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76398,7 +76485,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1eSendNumbers5_5() + CHIP_ERROR TestStep1eThSendsNumbers5_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76411,9 +76498,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1e: Send Numbers5: Error: %@", err); + NSLog(@"Step 1e: TH sends Numbers5: Error: %@", err); } else { - NSLog(@"Step 1e: Send Numbers5: Success"); + NSLog(@"Step 1e: TH sends Numbers5: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76429,7 +76516,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1fSendNumbers6_6() + CHIP_ERROR TestStep1fThSendsNumbers6_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76442,9 +76529,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1f: Send Numbers6: Error: %@", err); + NSLog(@"Step 1f: TH sends Numbers6: Error: %@", err); } else { - NSLog(@"Step 1f: Send Numbers6: Success"); + NSLog(@"Step 1f: TH sends Numbers6: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76460,7 +76547,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1gSendNumbers7_7() + CHIP_ERROR TestStep1gThSendsNumbers7_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76473,9 +76560,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1g: Send Numbers7: Error: %@", err); + NSLog(@"Step 1g: TH sends Numbers7: Error: %@", err); } else { - NSLog(@"Step 1g: Send Numbers7: Success"); + NSLog(@"Step 1g: TH sends Numbers7: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76491,7 +76578,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1hSendNumbers8_8() + CHIP_ERROR TestStep1hThSendsNumbers8_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76504,9 +76591,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1h: Send Numbers8: Error: %@", err); + NSLog(@"Step 1h: TH sends Numbers8: Error: %@", err); } else { - NSLog(@"Step 1h: Send Numbers8: Success"); + NSLog(@"Step 1h: TH sends Numbers8: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76522,7 +76609,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1iSendNumbers9_9() + CHIP_ERROR TestStep1iThSendsNumbers9_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76535,9 +76622,9 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { [cluster sendKeyWithParams:params completion: ^(MTRKeypadInputClusterSendKeyResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1i: Send Numbers9: Error: %@", err); + NSLog(@"Step 1i: TH sends Numbers9: Error: %@", err); } else { - NSLog(@"Step 1i: Send Numbers9: Success"); + NSLog(@"Step 1i: TH sends Numbers9: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76599,12 +76686,12 @@ class Test_TC_APPLAUNCHER_3_5 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads CatalogList attribute from the DUT and where each entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit integer ranging between 0-65536 for the catalog\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads CatalogList attribute from the DUT for the list of supported application catalogs and where each entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit integer ranging between 0-65536 for the catalog\n"); if (ShouldSkip("APPLAUNCHER.S.A0000")) { NextTest(); return; } - err = TestStep1ThReadsCatalogListAttributeFromTheDutAndWhereEachEntryInTheListIsACsaIssuedVendorIdOfTypeUnsigned16BitIntegerRangingBetween065536ForTheCatalog_1(); + err = TestStep1ThReadsCatalogListAttributeFromTheDutForTheListOfSupportedApplicationCatalogsAndWhereEachEntryInTheListIsACsaIssuedVendorIdOfTypeUnsigned16BitIntegerRangingBetween065536ForTheCatalog_1(); break; } @@ -76648,7 +76735,7 @@ class Test_TC_APPLAUNCHER_3_5 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ThReadsCatalogListAttributeFromTheDutAndWhereEachEntryInTheListIsACsaIssuedVendorIdOfTypeUnsigned16BitIntegerRangingBetween065536ForTheCatalog_1() + CHIP_ERROR TestStep1ThReadsCatalogListAttributeFromTheDutForTheListOfSupportedApplicationCatalogsAndWhereEachEntryInTheListIsACsaIssuedVendorIdOfTypeUnsigned16BitIntegerRangingBetween065536ForTheCatalog_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -76657,9 +76744,9 @@ class Test_TC_APPLAUNCHER_3_5 : public TestCommandBridge { [cluster readAttributeCatalogListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH reads CatalogList attribute from the DUT and where each entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit integer ranging between 0-65536 for the catalog: Error: %@", err); + NSLog(@"Step 1: TH reads CatalogList attribute from the DUT for the list of supported application catalogs and where each entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit integer ranging between 0-65536 for the catalog: Error: %@", err); } else { - NSLog(@"Step 1: TH reads CatalogList attribute from the DUT and where each entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit integer ranging between 0-65536 for the catalog: Success"); + NSLog(@"Step 1: TH reads CatalogList attribute from the DUT for the list of supported application catalogs and where each entry in the list is a CSA-issued Vendor Id of type unsigned 16 bit integer ranging between 0-65536 for the catalog: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -76829,8 +76916,8 @@ class Test_TC_MEDIAINPUT_3_10 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the InputList attribute from the DUT to show list of Inputs available and Verify list of available inputs supported by the device is provided, where each entry in the list contains an index(type:uint 8), InputType (InputType Enums), Name (type: Strings), and Description(Type:String)\n"); @@ -76874,7 +76961,7 @@ class Test_TC_MEDIAINPUT_3_10 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -76947,8 +77034,8 @@ class Test_TC_MEDIAINPUT_3_11 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the InputList attribute from the DUT to show list of Inputs available and Verify list of available inputs supported by the device is provided, where each entry in the list contains an index(type:uint 8), InputType (InputType Enums), Name (type: Strings), and Description(Type:String)\n"); @@ -77015,7 +77102,7 @@ class Test_TC_MEDIAINPUT_3_11 : public TestCommandBridge { chip::Optional mIndex; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -77139,8 +77226,8 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the InputList attribute from the DUT to show list of Inputs available and Verify list of available inputs supported by the device is provided, where each entry in the list contains an index(type:uint 8), InputType (InputType Enums), Name (type: Strings), and Description(Type:String)\n"); @@ -77151,20 +77238,20 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { err = TestStep1ThReadsTheInputListAttributeFromTheDutToShowListOfInputsAvailableAndVerifyListOfAvailableInputsSupportedByTheDeviceIsProvidedWhereEachEntryInTheListContainsAnIndextypeuint8InputTypeInputTypeEnumsNameTypeStringsAndDescriptionTypeString_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Show Input Status Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH sends ShowInputStatus command to DUT to show active status of the input list\n"); if (ShouldSkip("MEDIAINPUT.S.C01.Rsp")) { NextTest(); return; } - err = TestStep2ShowInputStatusCommand_2(); + err = TestStep2ThSendsShowInputStatusCommandToDutToShowActiveStatusOfTheInputList_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Hide Input Status Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH sends HideInputStatus command to DUT to hide active status of the input list\n"); if (ShouldSkip("MEDIAINPUT.S.C02.Rsp")) { NextTest(); return; } - err = TestStep3HideInputStatusCommand_3(); + err = TestStep3ThSendsHideInputStatusCommandToDutToHideActiveStatusOfTheInputList_3(); break; } @@ -77206,7 +77293,7 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -77236,7 +77323,7 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ShowInputStatusCommand_2() + CHIP_ERROR TestStep2ThSendsShowInputStatusCommandToDutToShowActiveStatusOfTheInputList_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -77246,9 +77333,9 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { [cluster showInputStatusWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Show Input Status Command: Error: %@", err); + NSLog(@"Step 2: TH sends ShowInputStatus command to DUT to show active status of the input list: Error: %@", err); } else { - NSLog(@"Step 2: Show Input Status Command: Success"); + NSLog(@"Step 2: TH sends ShowInputStatus command to DUT to show active status of the input list: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -77259,7 +77346,7 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3HideInputStatusCommand_3() + CHIP_ERROR TestStep3ThSendsHideInputStatusCommandToDutToHideActiveStatusOfTheInputList_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -77269,9 +77356,9 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { [cluster hideInputStatusWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Hide Input Status Command: Error: %@", err); + NSLog(@"Step 3: TH sends HideInputStatus command to DUT to hide active status of the input list: Error: %@", err); } else { - NSLog(@"Step 3: Hide Input Status Command: Success"); + NSLog(@"Step 3: TH sends HideInputStatus command to DUT to hide active status of the input list: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -77325,8 +77412,8 @@ class Test_TC_MEDIAINPUT_3_13 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); - err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the InputList attribute from the DUT to show list of Inputs available\n"); @@ -77393,7 +77480,7 @@ class Test_TC_MEDIAINPUT_3_13 : public TestCommandBridge { chip::Optional mIndex; chip::Optional mTimeout; - CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep0CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -78140,8 +78227,8 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: Media content in a paused state at the beginning of the content\n"); @@ -78152,20 +78239,20 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { err = TestPreconditionMediaContentInAPausedStateAtTheBeginningOfTheContent_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C01.Rsp")) { NextTest(); return; } - err = TestStep1ReadsTheCurrentStateAttribute_2(); + err = TestStep1ThReadsTheCurrentStateAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: Sends a Play command\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: TH sends a Play command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2SendsAPlayCommand_3(); + err = TestStep2ThSendsAPlayCommandToTheDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Verify that the media state is playing\n"); @@ -78176,20 +78263,20 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { err = TestVerifyThatTheMediaStateIsPlaying_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C00.Rsp")) { NextTest(); return; } - err = TestStep3ReadsTheCurrentStateAttribute_5(); + err = TestStep3ThReadsTheCurrentStateAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: sends a Pause command\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH sends a Pause command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C01.Rsp")) { NextTest(); return; } - err = TestStep4SendsAPauseCommand_6(); + err = TestStep4ThSendsAPauseCommandToTheDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Verify that the media is paused\n"); @@ -78200,20 +78287,20 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { err = TestVerifyThatTheMediaIsPaused_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C01.Rsp && MEDIAPLAYBACK.S.A0000")) { NextTest(); return; } - err = TestStep5ReadsTheCurrentStateAttribute_8(); + err = TestStep5ThReadsTheCurrentStateAttributeFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6: Sends a Stop command\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6: TH sends a Stop command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C02.Rsp")) { NextTest(); return; } - err = TestStep6SendsAStopCommand_9(); + err = TestStep6ThSendsAStopCommandToTheDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Verify that the media is stoped\n"); @@ -78224,12 +78311,12 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { err = TestVerifyThatTheMediaIsStoped_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C02.Rsp")) { NextTest(); return; } - err = TestStep7ReadsTheCurrentStateAttribute_11(); + err = TestStep7ThReadsTheCurrentStateAttributeFromTheDut_11(); break; } @@ -78295,7 +78382,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -78331,7 +78418,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1ReadsTheCurrentStateAttribute_2() + CHIP_ERROR TestStep1ThReadsTheCurrentStateAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78340,9 +78427,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 1: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Reads the CurrentState attribute: Success"); + NSLog(@"Step 1: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78358,7 +78445,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2SendsAPlayCommand_3() + CHIP_ERROR TestStep2ThSendsAPlayCommandToTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78368,9 +78455,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster playWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Sends a Play command: Error: %@", err); + NSLog(@"Step 2: TH sends a Play command to the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Sends a Play command: Success"); + NSLog(@"Step 2: TH sends a Play command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78396,7 +78483,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep3ReadsTheCurrentStateAttribute_5() + CHIP_ERROR TestStep3ThReadsTheCurrentStateAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78405,9 +78492,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 3: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Reads the CurrentState attribute: Success"); + NSLog(@"Step 3: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78423,7 +78510,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4SendsAPauseCommand_6() + CHIP_ERROR TestStep4ThSendsAPauseCommandToTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78433,9 +78520,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster pauseWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: sends a Pause command: Error: %@", err); + NSLog(@"Step 4: TH sends a Pause command to the DUT: Error: %@", err); } else { - NSLog(@"Step 4: sends a Pause command: Success"); + NSLog(@"Step 4: TH sends a Pause command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78461,7 +78548,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep5ReadsTheCurrentStateAttribute_8() + CHIP_ERROR TestStep5ThReadsTheCurrentStateAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78470,9 +78557,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 5: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Reads the CurrentState attribute: Success"); + NSLog(@"Step 5: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78488,7 +78575,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6SendsAStopCommand_9() + CHIP_ERROR TestStep6ThSendsAStopCommandToTheDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78498,9 +78585,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster stopWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Sends a Stop command: Error: %@", err); + NSLog(@"Step 6: TH sends a Stop command to the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Sends a Stop command: Success"); + NSLog(@"Step 6: TH sends a Stop command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78526,7 +78613,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep7ReadsTheCurrentStateAttribute_11() + CHIP_ERROR TestStep7ThReadsTheCurrentStateAttributeFromTheDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78535,9 +78622,9 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 7: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 7: Reads the CurrentState attribute: Success"); + NSLog(@"Step 7: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78595,8 +78682,8 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: Media content in a paused state at the beginning of the content\n"); @@ -78607,20 +78694,20 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestPreconditionMediaContentInAPausedStateAtTheBeginningOfTheContent_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1: Reads the CurrentState attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C01.Rsp")) { NextTest(); return; } - err = TestStep1ReadsTheCurrentStateAttributeFromTheDut_2(); + err = TestStep1ThReadsTheCurrentStateAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: Sends a Play command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: TH sends a Play command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2SendsAPlayCommandToTheDut_3(); + err = TestStep2ThSendsAPlayCommandToTheDut_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Verify that the media state is playing\n"); @@ -78631,20 +78718,20 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestVerifyThatTheMediaStateIsPlaying_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C00.Rsp")) { NextTest(); return; } - err = TestStep3ReadsTheCurrentStateAttribute_5(); + err = TestStep3ThReadsTheCurrentStateAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: Sends a StartOver command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH sends a StartOver command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C03.Rsp")) { NextTest(); return; } - err = TestStep4SendsAStartOverCommandToTheDut_6(); + err = TestStep4ThSendsAStartOverCommandToTheDut_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Verify that the media is started over\n"); @@ -78655,12 +78742,12 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestVerifyThatTheMediaIsStartedOver_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: Sends a Next command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: TH sends a Next command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C05.Rsp")) { NextTest(); return; } - err = TestStep5SendsANextCommandToTheDut_8(); + err = TestStep5ThSendsANextCommandToTheDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Verify that the next media item in the queue has been loaded\n"); @@ -78671,12 +78758,12 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestVerifyThatTheNextMediaItemInTheQueueHasBeenLoaded_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Sends a Previous command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH sends a Previous command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C04.Rsp")) { NextTest(); return; } - err = TestStep6SendsAPreviousCommandToTheDut_10(); + err = TestStep6ThSendsAPreviousCommandToTheDut_10(); break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : Verify that the previous media item in the queue has been loaded\n"); @@ -78687,12 +78774,12 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestVerifyThatThePreviousMediaItemInTheQueueHasBeenLoaded_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7: Sends a SkipForward command to the DUT \n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7: TH sends a SkipForward command to the DUT with a DeltaPositionMilliseconds value of 10000\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C08.Rsp")) { NextTest(); return; } - err = TestStep7SendsASkipForwardCommandToTheDut_12(); + err = TestStep7ThSendsASkipForwardCommandToTheDutWithADeltaPositionMillisecondsValueOf10000_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Verify that the media has skipped forward 10 seconds\n"); @@ -78703,20 +78790,20 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestVerifyThatTheMediaHasSkippedForward10Seconds_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 8: Reads the SampledPosition attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 8: TH reads the SampledPosition attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0003 && MEDIAPLAYBACK.S.C08.Rsp")) { NextTest(); return; } - err = TestStep8ReadsTheSampledPositionAttributeFromTheDut_14(); + err = TestStep8ThReadsTheSampledPositionAttributeFromTheDut_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 9: Sends a SkipBackward command to the DUT \n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 9: TH sends a SkipBackward command to the DUT with a DeltaPositionMilliseconds value of 10000\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C09.Rsp")) { NextTest(); return; } - err = TestStep9SendsASkipBackwardCommandToTheDut_15(); + err = TestStep9ThSendsASkipBackwardCommandToTheDutWithADeltaPositionMillisecondsValueOf10000_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Verify that the media has skipped backward 10 seconds\n"); @@ -78727,12 +78814,12 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { err = TestVerifyThatTheMediaHasSkippedBackward10Seconds_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 10: Reads the SampledPosition attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 10: TH reads the SampledPosition attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0003 && MEDIAPLAYBACK.S.C09.Rsp")) { NextTest(); return; } - err = TestStep10ReadsTheSampledPositionAttributeFromTheDut_17(); + err = TestStep10ThReadsTheSampledPositionAttributeFromTheDut_17(); break; } @@ -78816,7 +78903,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -78852,7 +78939,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1ReadsTheCurrentStateAttributeFromTheDut_2() + CHIP_ERROR TestStep1ThReadsTheCurrentStateAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78861,9 +78948,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Reads the CurrentState attribute from the DUT: Error: %@", err); + NSLog(@"Step 1: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Reads the CurrentState attribute from the DUT: Success"); + NSLog(@"Step 1: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78879,7 +78966,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2SendsAPlayCommandToTheDut_3() + CHIP_ERROR TestStep2ThSendsAPlayCommandToTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78889,9 +78976,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster playWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Sends a Play command to the DUT: Error: %@", err); + NSLog(@"Step 2: TH sends a Play command to the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Sends a Play command to the DUT: Success"); + NSLog(@"Step 2: TH sends a Play command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78917,7 +79004,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep3ReadsTheCurrentStateAttribute_5() + CHIP_ERROR TestStep3ThReadsTheCurrentStateAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78926,9 +79013,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 3: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Reads the CurrentState attribute: Success"); + NSLog(@"Step 3: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78944,7 +79031,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4SendsAStartOverCommandToTheDut_6() + CHIP_ERROR TestStep4ThSendsAStartOverCommandToTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78954,9 +79041,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster startOverWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Sends a StartOver command to the DUT: Error: %@", err); + NSLog(@"Step 4: TH sends a StartOver command to the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Sends a StartOver command to the DUT: Success"); + NSLog(@"Step 4: TH sends a StartOver command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -78982,7 +79069,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep5SendsANextCommandToTheDut_8() + CHIP_ERROR TestStep5ThSendsANextCommandToTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -78992,9 +79079,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster nextWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Sends a Next command to the DUT: Error: %@", err); + NSLog(@"Step 5: TH sends a Next command to the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Sends a Next command to the DUT: Success"); + NSLog(@"Step 5: TH sends a Next command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -79020,7 +79107,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep6SendsAPreviousCommandToTheDut_10() + CHIP_ERROR TestStep6ThSendsAPreviousCommandToTheDut_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -79030,9 +79117,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster previousWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Sends a Previous command to the DUT: Error: %@", err); + NSLog(@"Step 6: TH sends a Previous command to the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Sends a Previous command to the DUT: Success"); + NSLog(@"Step 6: TH sends a Previous command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -79058,7 +79145,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep7SendsASkipForwardCommandToTheDut_12() + CHIP_ERROR TestStep7ThSendsASkipForwardCommandToTheDutWithADeltaPositionMillisecondsValueOf10000_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -79071,9 +79158,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster skipForwardWithParams:params completion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Sends a SkipForward command to the DUT : Error: %@", err); + NSLog(@"Step 7: TH sends a SkipForward command to the DUT with a DeltaPositionMilliseconds value of 10000: Error: %@", err); } else { - NSLog(@"Step 7: Sends a SkipForward command to the DUT : Success"); + NSLog(@"Step 7: TH sends a SkipForward command to the DUT with a DeltaPositionMilliseconds value of 10000: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -79099,7 +79186,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep8ReadsTheSampledPositionAttributeFromTheDut_14() + CHIP_ERROR TestStep8ThReadsTheSampledPositionAttributeFromTheDut_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -79108,9 +79195,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster readAttributeSampledPositionWithCompletion:^(MTRMediaPlaybackClusterPlaybackPositionStruct * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Reads the SampledPosition attribute from the DUT: Error: %@", err); + NSLog(@"Step 8: TH reads the SampledPosition attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 8: Reads the SampledPosition attribute from the DUT: Success"); + NSLog(@"Step 8: TH reads the SampledPosition attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -79128,7 +79215,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9SendsASkipBackwardCommandToTheDut_15() + CHIP_ERROR TestStep9ThSendsASkipBackwardCommandToTheDutWithADeltaPositionMillisecondsValueOf10000_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -79141,9 +79228,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster skipBackwardWithParams:params completion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Sends a SkipBackward command to the DUT : Error: %@", err); + NSLog(@"Step 9: TH sends a SkipBackward command to the DUT with a DeltaPositionMilliseconds value of 10000: Error: %@", err); } else { - NSLog(@"Step 9: Sends a SkipBackward command to the DUT : Success"); + NSLog(@"Step 9: TH sends a SkipBackward command to the DUT with a DeltaPositionMilliseconds value of 10000: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -79169,7 +79256,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep10ReadsTheSampledPositionAttributeFromTheDut_17() + CHIP_ERROR TestStep10ThReadsTheSampledPositionAttributeFromTheDut_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -79178,9 +79265,9 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { [cluster readAttributeSampledPositionWithCompletion:^(MTRMediaPlaybackClusterPlaybackPositionStruct * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Reads the SampledPosition attribute from the DUT: Error: %@", err); + NSLog(@"Step 10: TH reads the SampledPosition attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 10: Reads the SampledPosition attribute from the DUT: Success"); + NSLog(@"Step 10: TH reads the SampledPosition attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -79241,8 +79328,8 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: Media content in a paused state at the beginning of the content\n"); @@ -79386,7 +79473,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { chip::Optional mSeekPosition; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -79689,8 +79776,8 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Precondition: Media content in a paused state at the beginning of the content\n"); @@ -79701,28 +79788,28 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { err = TestPreconditionMediaContentInAPausedStateAtTheBeginningOfTheContent_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1: Reads the CurrentState attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C01.Rsp")) { NextTest(); return; } - err = TestStep1ReadsTheCurrentStateAttributeFromTheDut_2(); + err = TestStep1ThReadsTheCurrentStateAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: Reads the PlaybackSpeed attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2: TH reads the PlaybackSpeed attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C01.Rsp")) { NextTest(); return; } - err = TestStep2ReadsThePlaybackSpeedAttributeFromTheDut_3(); + err = TestStep2ThReadsThePlaybackSpeedAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: Sends a FastForward command\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3: TH sends a FastForward command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep3SendsAFastForwardCommand_4(); + err = TestStep3ThSendsAFastForwardCommandToTheDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : verify that the media state is playing\n"); @@ -79733,28 +79820,28 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { err = TestVerifyThatTheMediaStateIsPlaying_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep4ReadsTheCurrentStateAttribute_6(); + err = TestStep4ThReadsTheCurrentStateAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: Reads the PlaybackSpeed attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads the PlaybackSpeed attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep5ReadsThePlaybackSpeedAttributeFromTheDut_7(); + err = TestStep5ThReadsThePlaybackSpeedAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: Sends a FastForward command\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH sends a FastForward command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep6SendsAFastForwardCommand_8(); + err = TestStep6ThSendsAFastForwardCommandToTheDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : verify that the media play speed has increased.\n"); @@ -79765,20 +79852,20 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { err = TestVerifyThatTheMediaPlaySpeedHasIncreased_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 7: Reads the PlaybackSpeed attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 7: TH reads the PlaybackSpeed attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep7ReadsThePlaybackSpeedAttributeFromTheDut_10(); + err = TestStep7ThReadsThePlaybackSpeedAttributeFromTheDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 8: Sends a Rewind command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 8: TH sends a Rewind command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep8SendsARewindCommandToTheDut_11(); + err = TestStep8ThSendsARewindCommandToTheDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : verify that the media play has reversed direction.\n"); @@ -79789,28 +79876,28 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { err = TestVerifyThatTheMediaPlayHasReversedDirection_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 9: Reads the CurrentState attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 9: TH reads the CurrentState attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0000 && MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep9ReadsTheCurrentStateAttribute_13(); + err = TestStep9ThReadsTheCurrentStateAttributeFromTheDut_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 10: Reads the PlaybackSpeed attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 10: TH reads the PlaybackSpeed attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep10ReadsThePlaybackSpeedAttributeFromTheDut_14(); + err = TestStep10ThReadsThePlaybackSpeedAttributeFromTheDut_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 11: Sends a Rewind command to the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 11: TH sends a Rewind command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep11SendsARewindCommandToTheDut_15(); + err = TestStep11ThSendsARewindCommandToTheDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : verify that the media play speed has increased in the reverse direction.\n"); @@ -79821,20 +79908,20 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { err = TestVerifyThatTheMediaPlaySpeedHasIncreasedInTheReverseDirection_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 12: Reads the PlaybackSpeed attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 12: TH reads the PlaybackSpeed attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep12ReadsThePlaybackSpeedAttributeFromTheDut_17(); + err = TestStep12ThReadsThePlaybackSpeedAttributeFromTheDut_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 13: Sends a Play command\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 13: TH sends a Play command to the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.C00.Rsp")) { NextTest(); return; } - err = TestStep13SendsAPlayCommand_18(); + err = TestStep13ThSendsAPlayCommandToTheDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : verify that the media is has resumed playing forward at the default speed.\n"); @@ -79845,28 +79932,28 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { err = TestVerifyThatTheMediaIsHasResumedPlayingForwardAtTheDefaultSpeed_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 14: Reads the PlaybackSpeed attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 14: TH reads the PlaybackSpeed attribute from the DUT\n"); if (ShouldSkip("MEDIAPLAYBACK.S.A0004 && MEDIAPLAYBACK.S.C00.Rsp")) { NextTest(); return; } - err = TestStep14ReadsThePlaybackSpeedAttributeFromTheDut_20(); + err = TestStep14ThReadsThePlaybackSpeedAttributeFromTheDut_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 15: Sends consecutive FastForward commands\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 15: STH sends consecutive FastForward commands up to the manufacturer defined max speed\n"); if (ShouldSkip("PICS_USER_PROMPT && MEDIAPLAYBACK.S.C07.Rsp")) { NextTest(); return; } - err = TestStep15SendsConsecutiveFastForwardCommands_21(); + err = TestStep15SthSendsConsecutiveFastForwardCommandsUpToTheManufacturerDefinedMaxSpeed_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 16: Sends consecutive Rewind commands\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 16: TH sends consecutive Rewind commands up to the manufacturer defined max speed\n"); if (ShouldSkip("PICS_USER_PROMPT && MEDIAPLAYBACK.S.C06.Rsp")) { NextTest(); return; } - err = TestStep16SendsConsecutiveRewindCommands_22(); + err = TestStep16ThSendsConsecutiveRewindCommandsUpToTheManufacturerDefinedMaxSpeed_22(); break; } @@ -79965,7 +80052,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -80001,7 +80088,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1ReadsTheCurrentStateAttributeFromTheDut_2() + CHIP_ERROR TestStep1ThReadsTheCurrentStateAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80010,9 +80097,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Reads the CurrentState attribute from the DUT: Error: %@", err); + NSLog(@"Step 1: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Reads the CurrentState attribute from the DUT: Success"); + NSLog(@"Step 1: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80028,7 +80115,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadsThePlaybackSpeedAttributeFromTheDut_3() + CHIP_ERROR TestStep2ThReadsThePlaybackSpeedAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80037,9 +80124,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributePlaybackSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Reads the PlaybackSpeed attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads the PlaybackSpeed attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Reads the PlaybackSpeed attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads the PlaybackSpeed attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80055,7 +80142,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3SendsAFastForwardCommand_4() + CHIP_ERROR TestStep3ThSendsAFastForwardCommandToTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80066,9 +80153,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster fastForwardWithParams:params completion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Sends a FastForward command: Error: %@", err); + NSLog(@"Step 3: TH sends a FastForward command to the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Sends a FastForward command: Success"); + NSLog(@"Step 3: TH sends a FastForward command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80094,7 +80181,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep4ReadsTheCurrentStateAttribute_6() + CHIP_ERROR TestStep4ThReadsTheCurrentStateAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80103,9 +80190,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 4: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Reads the CurrentState attribute: Success"); + NSLog(@"Step 4: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80121,7 +80208,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadsThePlaybackSpeedAttributeFromTheDut_7() + CHIP_ERROR TestStep5ThReadsThePlaybackSpeedAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80130,9 +80217,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributePlaybackSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Reads the PlaybackSpeed attribute from the DUT: Error: %@", err); + NSLog(@"Step 5: TH reads the PlaybackSpeed attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Reads the PlaybackSpeed attribute from the DUT: Success"); + NSLog(@"Step 5: TH reads the PlaybackSpeed attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80148,7 +80235,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6SendsAFastForwardCommand_8() + CHIP_ERROR TestStep6ThSendsAFastForwardCommandToTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80159,9 +80246,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster fastForwardWithParams:params completion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Sends a FastForward command: Error: %@", err); + NSLog(@"Step 6: TH sends a FastForward command to the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Sends a FastForward command: Success"); + NSLog(@"Step 6: TH sends a FastForward command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80187,7 +80274,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep7ReadsThePlaybackSpeedAttributeFromTheDut_10() + CHIP_ERROR TestStep7ThReadsThePlaybackSpeedAttributeFromTheDut_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80196,9 +80283,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributePlaybackSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Reads the PlaybackSpeed attribute from the DUT: Error: %@", err); + NSLog(@"Step 7: TH reads the PlaybackSpeed attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 7: Reads the PlaybackSpeed attribute from the DUT: Success"); + NSLog(@"Step 7: TH reads the PlaybackSpeed attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80214,7 +80301,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8SendsARewindCommandToTheDut_11() + CHIP_ERROR TestStep8ThSendsARewindCommandToTheDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80225,9 +80312,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster rewindWithParams:params completion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Sends a Rewind command to the DUT: Error: %@", err); + NSLog(@"Step 8: TH sends a Rewind command to the DUT: Error: %@", err); } else { - NSLog(@"Step 8: Sends a Rewind command to the DUT: Success"); + NSLog(@"Step 8: TH sends a Rewind command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80253,7 +80340,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep9ReadsTheCurrentStateAttribute_13() + CHIP_ERROR TestStep9ThReadsTheCurrentStateAttributeFromTheDut_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80262,9 +80349,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributeCurrentStateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Reads the CurrentState attribute: Error: %@", err); + NSLog(@"Step 9: TH reads the CurrentState attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 9: Reads the CurrentState attribute: Success"); + NSLog(@"Step 9: TH reads the CurrentState attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80280,7 +80367,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ReadsThePlaybackSpeedAttributeFromTheDut_14() + CHIP_ERROR TestStep10ThReadsThePlaybackSpeedAttributeFromTheDut_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80289,9 +80376,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributePlaybackSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Reads the PlaybackSpeed attribute from the DUT: Error: %@", err); + NSLog(@"Step 10: TH reads the PlaybackSpeed attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 10: Reads the PlaybackSpeed attribute from the DUT: Success"); + NSLog(@"Step 10: TH reads the PlaybackSpeed attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80307,7 +80394,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep11SendsARewindCommandToTheDut_15() + CHIP_ERROR TestStep11ThSendsARewindCommandToTheDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80318,9 +80405,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster rewindWithParams:params completion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: Sends a Rewind command to the DUT: Error: %@", err); + NSLog(@"Step 11: TH sends a Rewind command to the DUT: Error: %@", err); } else { - NSLog(@"Step 11: Sends a Rewind command to the DUT: Success"); + NSLog(@"Step 11: TH sends a Rewind command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80346,7 +80433,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep12ReadsThePlaybackSpeedAttributeFromTheDut_17() + CHIP_ERROR TestStep12ThReadsThePlaybackSpeedAttributeFromTheDut_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80355,9 +80442,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributePlaybackSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: Reads the PlaybackSpeed attribute from the DUT: Error: %@", err); + NSLog(@"Step 12: TH reads the PlaybackSpeed attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 12: Reads the PlaybackSpeed attribute from the DUT: Success"); + NSLog(@"Step 12: TH reads the PlaybackSpeed attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80373,7 +80460,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep13SendsAPlayCommand_18() + CHIP_ERROR TestStep13ThSendsAPlayCommandToTheDut_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80383,9 +80470,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster playWithCompletion: ^(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 13: Sends a Play command: Error: %@", err); + NSLog(@"Step 13: TH sends a Play command to the DUT: Error: %@", err); } else { - NSLog(@"Step 13: Sends a Play command: Success"); + NSLog(@"Step 13: TH sends a Play command to the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80411,7 +80498,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep14ReadsThePlaybackSpeedAttributeFromTheDut_20() + CHIP_ERROR TestStep14ThReadsThePlaybackSpeedAttributeFromTheDut_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80420,9 +80507,9 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { [cluster readAttributePlaybackSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 14: Reads the PlaybackSpeed attribute from the DUT: Error: %@", err); + NSLog(@"Step 14: TH reads the PlaybackSpeed attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 14: Reads the PlaybackSpeed attribute from the DUT: Success"); + NSLog(@"Step 14: TH reads the PlaybackSpeed attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80438,7 +80525,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep15SendsConsecutiveFastForwardCommands_21() + CHIP_ERROR TestStep15SthSendsConsecutiveFastForwardCommandsUpToTheManufacturerDefinedMaxSpeed_21() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -80448,7 +80535,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep16SendsConsecutiveRewindCommands_22() + CHIP_ERROR TestStep16ThSendsConsecutiveRewindCommandsUpToTheManufacturerDefinedMaxSpeed_22() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -80505,28 +80592,28 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Reads the OutputList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the OutputList attribute\n"); if (ShouldSkip("AUDIOOUTPUT.S.A0000")) { NextTest(); return; } - err = TestStep1ReadsTheOutputListAttribute_1(); + err = TestStep1ThReadsTheOutputListAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Sends a SelectAudioOutput command\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH sends a SelectAudioOutput command to the DUT with an index from the list in step 1\n"); if (ShouldSkip("AUDIOOUTPUT.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2SendsASelectAudioOutputCommand_2(); + err = TestStep2ThSendsASelectAudioOutputCommandToTheDutWithAnIndexFromTheListInStep1_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Reads the CurrentOutput attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads the CurrentOutput attribute from the DUT\n"); if (ShouldSkip("AUDIOOUTPUT.S.A0001 && AUDIOOUTPUT.S.C00.Rsp")) { NextTest(); return; } - err = TestStep3ReadsTheCurrentOutputAttribute_3(); + err = TestStep3ThReadsTheCurrentOutputAttributeFromTheDut_3(); break; } @@ -80577,7 +80664,7 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadsTheOutputListAttribute_1() + CHIP_ERROR TestStep1ThReadsTheOutputListAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80586,9 +80673,9 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { [cluster readAttributeOutputListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Reads the OutputList attribute: Error: %@", err); + NSLog(@"Step 1: TH reads the OutputList attribute: Error: %@", err); } else { - NSLog(@"Step 1: Reads the OutputList attribute: Success"); + NSLog(@"Step 1: TH reads the OutputList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80600,7 +80687,7 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2SendsASelectAudioOutputCommand_2() + CHIP_ERROR TestStep2ThSendsASelectAudioOutputCommandToTheDutWithAnIndexFromTheListInStep1_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80612,9 +80699,9 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { [cluster selectOutputWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Sends a SelectAudioOutput command: Error: %@", err); + NSLog(@"Step 2: TH sends a SelectAudioOutput command to the DUT with an index from the list in step 1: Error: %@", err); } else { - NSLog(@"Step 2: Sends a SelectAudioOutput command: Success"); + NSLog(@"Step 2: TH sends a SelectAudioOutput command to the DUT with an index from the list in step 1: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80625,7 +80712,7 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadsTheCurrentOutputAttribute_3() + CHIP_ERROR TestStep3ThReadsTheCurrentOutputAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80634,9 +80721,9 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { [cluster readAttributeCurrentOutputWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Reads the CurrentOutput attribute: Error: %@", err); + NSLog(@"Step 3: TH reads the CurrentOutput attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Reads the CurrentOutput attribute: Success"); + NSLog(@"Step 3: TH reads the CurrentOutput attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80882,36 +80969,36 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: Reads the CurrentTarget attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH reads the CurrentTarget attribute\n"); if (ShouldSkip("TGTNAV.S.A0001")) { NextTest(); return; } - err = TestStep1aReadsTheCurrentTargetAttribute_1(); + err = TestStep1aThReadsTheCurrentTargetAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: Reads the TargetList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH reads the TargetList attribute\n"); if (ShouldSkip("TGTNAV.S.A0000")) { NextTest(); return; } - err = TestStep1bReadsTheTargetListAttribute_2(); + err = TestStep1bThReadsTheTargetListAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2a: Sends a NavigateTarget command\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2a: TH Sends a NavigateTarget command\n"); if (ShouldSkip("TGTNAV.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2aSendsANavigateTargetCommand_3(); + err = TestStep2aThSendsANavigateTargetCommand_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2b: Reads the CurrentTarget attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2b: TH reads the CurrentTarget attribute\n"); if (ShouldSkip("TGTNAV.S.A0001 && TGTNAV.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2bReadsTheCurrentTargetAttribute_4(); + err = TestStep2bThReadsTheCurrentTargetAttribute_4(); break; } @@ -80965,7 +81052,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1aReadsTheCurrentTargetAttribute_1() + CHIP_ERROR TestStep1aThReadsTheCurrentTargetAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -80974,9 +81061,9 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { [cluster readAttributeCurrentTargetWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: Reads the CurrentTarget attribute: Error: %@", err); + NSLog(@"Step 1a: TH reads the CurrentTarget attribute: Error: %@", err); } else { - NSLog(@"Step 1a: Reads the CurrentTarget attribute: Success"); + NSLog(@"Step 1a: TH reads the CurrentTarget attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -80992,7 +81079,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { } NSArray * _Nonnull TargetListValues; - CHIP_ERROR TestStep1bReadsTheTargetListAttribute_2() + CHIP_ERROR TestStep1bThReadsTheTargetListAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81001,9 +81088,9 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { [cluster readAttributeTargetListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1b: Reads the TargetList attribute: Error: %@", err); + NSLog(@"Step 1b: TH reads the TargetList attribute: Error: %@", err); } else { - NSLog(@"Step 1b: Reads the TargetList attribute: Success"); + NSLog(@"Step 1b: TH reads the TargetList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81019,7 +81106,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aSendsANavigateTargetCommand_3() + CHIP_ERROR TestStep2aThSendsANavigateTargetCommand_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81031,9 +81118,9 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { [cluster navigateTargetWithParams:params completion: ^(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Sends a NavigateTarget command: Error: %@", err); + NSLog(@"Step 2a: TH Sends a NavigateTarget command: Error: %@", err); } else { - NSLog(@"Step 2a: Sends a NavigateTarget command: Success"); + NSLog(@"Step 2a: TH Sends a NavigateTarget command: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81044,7 +81131,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bReadsTheCurrentTargetAttribute_4() + CHIP_ERROR TestStep2bThReadsTheCurrentTargetAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81053,9 +81140,9 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { [cluster readAttributeCurrentTargetWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Reads the CurrentTarget attribute: Error: %@", err); + NSLog(@"Step 2b: TH reads the CurrentTarget attribute: Error: %@", err); } else { - NSLog(@"Step 2b: Reads the CurrentTarget attribute: Success"); + NSLog(@"Step 2b: TH reads the CurrentTarget attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81117,68 +81204,68 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Reads the VendorName attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the VendorName attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0000")) { NextTest(); return; } - err = TestStep1ReadsTheVendorNameAttribute_1(); + err = TestStep1ThReadsTheVendorNameAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Reads the VendorID attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads the VendorID attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0001")) { NextTest(); return; } - err = TestStep2ReadsTheVendorIDAttribute_2(); + err = TestStep2ThReadsTheVendorIDAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Reads the ApplicationName attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads the ApplicationName attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0002")) { NextTest(); return; } - err = TestStep3ReadsTheApplicationNameAttribute_3(); + err = TestStep3ThReadsTheApplicationNameAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: Reads the ProductID attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads the ProductID attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0003")) { NextTest(); return; } - err = TestStep4ReadsTheProductIDAttribute_4(); + err = TestStep4ThReadsTheProductIDAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: Reads the Application attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads the Application attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0004")) { NextTest(); return; } - err = TestStep5ReadsTheApplicationAttribute_5(); + err = TestStep5ThReadsTheApplicationAttributeFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: Reads the Status attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads the Status attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0005")) { NextTest(); return; } - err = TestStep6ReadsTheStatusAttribute_6(); + err = TestStep6ThReadsTheStatusAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: Reads the ApplicationVersion attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads the ApplicationVersion attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0006")) { NextTest(); return; } - err = TestStep7ReadsTheApplicationVersionAttribute_7(); + err = TestStep7ThReadsTheApplicationVersionAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: Reads the AllowedVendorList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH reads the AllowedVendorList attribute from the DUT\n"); if (ShouldSkip("APBSC.S.A0007")) { NextTest(); return; } - err = TestStep8ReadsTheAllowedVendorListAttribute_8(); + err = TestStep8ThReadsTheAllowedVendorListAttributeFromTheDut_8(); break; } @@ -81243,7 +81330,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ReadsTheVendorNameAttribute_1() + CHIP_ERROR TestStep1ThReadsTheVendorNameAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81252,9 +81339,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeVendorNameWithCompletion:^(NSString * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: Reads the VendorName attribute: Error: %@", err); + NSLog(@"Step 1: TH reads the VendorName attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: Reads the VendorName attribute: Success"); + NSLog(@"Step 1: TH reads the VendorName attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81267,7 +81354,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ReadsTheVendorIDAttribute_2() + CHIP_ERROR TestStep2ThReadsTheVendorIDAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81276,9 +81363,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeVendorIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Reads the VendorID attribute: Error: %@", err); + NSLog(@"Step 2: TH reads the VendorID attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Reads the VendorID attribute: Success"); + NSLog(@"Step 2: TH reads the VendorID attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81290,7 +81377,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadsTheApplicationNameAttribute_3() + CHIP_ERROR TestStep3ThReadsTheApplicationNameAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81299,9 +81386,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeApplicationNameWithCompletion:^(NSString * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Reads the ApplicationName attribute: Error: %@", err); + NSLog(@"Step 3: TH reads the ApplicationName attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Reads the ApplicationName attribute: Success"); + NSLog(@"Step 3: TH reads the ApplicationName attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81314,7 +81401,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadsTheProductIDAttribute_4() + CHIP_ERROR TestStep4ThReadsTheProductIDAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81323,9 +81410,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeProductIDWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Reads the ProductID attribute: Error: %@", err); + NSLog(@"Step 4: TH reads the ProductID attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Reads the ProductID attribute: Success"); + NSLog(@"Step 4: TH reads the ProductID attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81340,7 +81427,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadsTheApplicationAttribute_5() + CHIP_ERROR TestStep5ThReadsTheApplicationAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81349,9 +81436,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeApplicationWithCompletion:^(MTRApplicationBasicClusterApplicationStruct * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Reads the Application attribute: Error: %@", err); + NSLog(@"Step 5: TH reads the Application attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Reads the Application attribute: Success"); + NSLog(@"Step 5: TH reads the Application attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81363,7 +81450,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadsTheStatusAttribute_6() + CHIP_ERROR TestStep6ThReadsTheStatusAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81372,9 +81459,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Reads the Status attribute: Error: %@", err); + NSLog(@"Step 6: TH reads the Status attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Reads the Status attribute: Success"); + NSLog(@"Step 6: TH reads the Status attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81388,7 +81475,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadsTheApplicationVersionAttribute_7() + CHIP_ERROR TestStep7ThReadsTheApplicationVersionAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81397,9 +81484,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeApplicationVersionWithCompletion:^(NSString * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Reads the ApplicationVersion attribute: Error: %@", err); + NSLog(@"Step 7: TH reads the ApplicationVersion attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 7: Reads the ApplicationVersion attribute: Success"); + NSLog(@"Step 7: TH reads the ApplicationVersion attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81412,7 +81499,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ReadsTheAllowedVendorListAttribute_8() + CHIP_ERROR TestStep8ThReadsTheAllowedVendorListAttributeFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -81421,9 +81508,9 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { [cluster readAttributeAllowedVendorListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Reads the AllowedVendorList attribute: Error: %@", err); + NSLog(@"Step 8: TH reads the AllowedVendorList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 8: Reads the AllowedVendorList attribute: Success"); + NSLog(@"Step 8: TH reads the AllowedVendorList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -81629,8 +81716,8 @@ class Test_TC_WAKEONLAN_4_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads the MACAddress attribute from the DUT\n"); @@ -81696,7 +81783,7 @@ class Test_TC_WAKEONLAN_4_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -84208,44 +84295,44 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("MOD.S.F00")) { NextTest(); return; } - err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads the FeatureMap attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !MOD.S.F00 ")) { NextTest(); return; } - err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_3(); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_5(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads the optional attribute(StartUpMode) in AttributeList from the DUT\n"); @@ -84256,7 +84343,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { err = TestStep4bThReadsTheOptionalAttributeStartUpModeInAttributeListFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: TH reads the feature dependent attribute(OnMode) in AttributeList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: TH reads the Feature dependent attribute(OnMode) in AttributeList from the DUT\n"); if (ShouldSkip("MOD.S.F00 && MOD.S.A0005")) { NextTest(); return; @@ -84264,7 +84351,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { err = TestStep4cThReadsTheFeatureDependentAttributeOnModeInAttributeListFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: TH reads from the DUT the EventList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -84272,12 +84359,12 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { NextTest(); return; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6: TH reads AcceptedCommandList attribute from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListAttributeFromDut_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 7: TH reads GeneratedCommandList attribute from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListAttributeFromDut_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_10(); break; } @@ -84340,7 +84427,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -84348,7 +84435,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84357,9 +84444,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84376,7 +84463,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84385,9 +84472,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84404,7 +84491,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_3() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84413,9 +84500,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84432,7 +84519,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84441,9 +84528,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84466,7 +84553,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_5() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84475,9 +84562,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84533,9 +84620,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads the feature dependent attribute(OnMode) in AttributeList from the DUT: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent attribute(OnMode) in AttributeList from the DUT: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads the feature dependent attribute(OnMode) in AttributeList from the DUT: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent attribute(OnMode) in AttributeList from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84549,7 +84636,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListAttributeFromDut_9() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84558,9 +84645,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -84574,7 +84661,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListAttributeFromDut_10() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -84583,9 +84670,9 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86158,24 +86245,24 @@ class Test_TC_OCC_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Reads mandatory attribute constrains: OccupancySensorType\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads OccupancySensorType attribute from DUT\n"); if (ShouldSkip("OCC.S.A0001")) { NextTest(); return; } - err = TestStep2ReadsMandatoryAttributeConstrainsOccupancySensorType_1(); + err = TestStep2ThReadsOccupancySensorTypeAttributeFromDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Reads mandatory attribute constrains: OccupancySensorTypeBitmap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads OccupancySensorTypeBitmap attribute from DUT\n"); if (ShouldSkip("OCC.S.A0002")) { NextTest(); return; } - err = TestStep3ReadsMandatoryAttributeConstrainsOccupancySensorTypeBitmap_2(); + err = TestStep3ThReadsOccupancySensorTypeBitmapAttributeFromDut_2(); break; } @@ -86214,7 +86301,7 @@ class Test_TC_OCC_2_3 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -86222,7 +86309,7 @@ class Test_TC_OCC_2_3 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadsMandatoryAttributeConstrainsOccupancySensorType_1() + CHIP_ERROR TestStep2ThReadsOccupancySensorTypeAttributeFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86231,9 +86318,9 @@ class Test_TC_OCC_2_3 : public TestCommandBridge { [cluster readAttributeOccupancySensorTypeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Reads mandatory attribute constrains: OccupancySensorType: Error: %@", err); + NSLog(@"Step 2: TH reads OccupancySensorType attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2: Reads mandatory attribute constrains: OccupancySensorType: Success"); + NSLog(@"Step 2: TH reads OccupancySensorType attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86248,7 +86335,7 @@ class Test_TC_OCC_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadsMandatoryAttributeConstrainsOccupancySensorTypeBitmap_2() + CHIP_ERROR TestStep3ThReadsOccupancySensorTypeBitmapAttributeFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86257,9 +86344,9 @@ class Test_TC_OCC_2_3 : public TestCommandBridge { [cluster readAttributeOccupancySensorTypeBitmapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Reads mandatory attribute constrains: OccupancySensorTypeBitmap: Error: %@", err); + NSLog(@"Step 3: TH reads OccupancySensorTypeBitmap attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 3: Reads mandatory attribute constrains: OccupancySensorTypeBitmap: Success"); + NSLog(@"Step 3: TH reads OccupancySensorTypeBitmap attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86316,20 +86403,20 @@ class Test_TC_OO_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("( !OO.S.F00 && !OO.S.F01 )")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given OO.S.F00(LT) ensure featuremap has the correct bit set\n"); @@ -86348,31 +86435,31 @@ class Test_TC_OO_1_1 : public TestCommandBridge { err = TestStep3cGivenOosf01dfEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_5(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_6(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b: Read the feature dependent(OO.S.F00) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b: TH reads the feature dependent(OO.S.F00) attribute in AttributeList\n"); if (ShouldSkip("OO.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheFeatureDependentOOSF00AttributeInAttributeList_7(); + err = TestStep4bThReadsTheFeatureDependentOOSF00AttributeInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -86380,20 +86467,20 @@ class Test_TC_OO_1_1 : public TestCommandBridge { NextTest(); return; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6a: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6aReadTheGlobalAttributeAcceptedCommandList_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6b: Read the feature dependent(OO.S.F00) commands in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6b: TH reads the feature dependent(OO.S.F00) commands in AcceptedCommandList\n"); if (ShouldSkip("OO.S.F00")) { NextTest(); return; } - err = TestStep6bReadTheFeatureDependentOOSF00CommandsInAcceptedCommandList_10(); + err = TestStep6bThReadsTheFeatureDependentOOSF00CommandsInAcceptedCommandList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_11(); break; } @@ -86459,7 +86546,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -86467,7 +86554,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86476,9 +86563,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86493,7 +86580,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86502,9 +86589,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86567,7 +86654,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_5() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86576,9 +86663,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86598,7 +86685,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86607,9 +86694,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86628,7 +86715,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheFeatureDependentOOSF00AttributeInAttributeList_7() + CHIP_ERROR TestStep4bThReadsTheFeatureDependentOOSF00AttributeInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86637,9 +86724,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the feature dependent(OO.S.F00) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the feature dependent(OO.S.F00) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the feature dependent(OO.S.F00) attribute in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the feature dependent(OO.S.F00) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86656,7 +86743,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadTheGlobalAttributeAcceptedCommandList_9() + CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86665,9 +86752,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6a: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86683,7 +86770,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadTheFeatureDependentOOSF00CommandsInAcceptedCommandList_10() + CHIP_ERROR TestStep6bThReadsTheFeatureDependentOOSF00CommandsInAcceptedCommandList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86692,9 +86779,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read the feature dependent(OO.S.F00) commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6b: TH reads the feature dependent(OO.S.F00) commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6b: Read the feature dependent(OO.S.F00) commands in AcceptedCommandList: Success"); + NSLog(@"Step 6b: TH reads the feature dependent(OO.S.F00) commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86710,7 +86797,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_11() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86719,9 +86806,9 @@ class Test_TC_OO_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86780,48 +86867,48 @@ class Test_TC_OO_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the mandatory attribute: OnOff\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the OnOff attribute from the DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep2ReadTheMandatoryAttributeOnOff_1(); + err = TestStep2ThReadsTheOnOffAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read LT attribute: GlobalSceneControl\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the GlobalSceneControl attribute from the DUT\n"); if (ShouldSkip("OO.S.A4000")) { NextTest(); return; } - err = TestStep3ReadLtAttributeGlobalSceneControl_2(); + err = TestStep3ThReadsTheGlobalSceneControlAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Read LT attribute: OnTime\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads the OnTime attribute from the DUT\n"); if (ShouldSkip("OO.S.A4001")) { NextTest(); return; } - err = TestStep4ReadLtAttributeOnTime_3(); + err = TestStep4ThReadsTheOnTimeAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Read LT attribute: OffWaitTime\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads the OffWaitTime attribute from the DUT\n"); if (ShouldSkip("OO.S.A4002")) { NextTest(); return; } - err = TestStep5ReadLtAttributeOffWaitTime_4(); + err = TestStep5ThReadsTheOffWaitTimeAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: Read LT attribute: StartUpOnOff\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads the StartUpOnOff attribute from the DUT\n"); if (ShouldSkip("OO.S.A4003")) { NextTest(); return; } - err = TestStep6ReadLtAttributeStartUpOnOff_5(); + err = TestStep6ThReadsTheStartUpOnOffAttributeFromTheDut_5(); break; } @@ -86869,7 +86956,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -86877,7 +86964,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheMandatoryAttributeOnOff_1() + CHIP_ERROR TestStep2ThReadsTheOnOffAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86886,9 +86973,9 @@ class Test_TC_OO_2_1 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the mandatory attribute: OnOff: Error: %@", err); + NSLog(@"Step 2: TH reads the OnOff attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the mandatory attribute: OnOff: Success"); + NSLog(@"Step 2: TH reads the OnOff attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86900,7 +86987,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadLtAttributeGlobalSceneControl_2() + CHIP_ERROR TestStep3ThReadsTheGlobalSceneControlAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86909,9 +86996,9 @@ class Test_TC_OO_2_1 : public TestCommandBridge { [cluster readAttributeGlobalSceneControlWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read LT attribute: GlobalSceneControl: Error: %@", err); + NSLog(@"Step 3: TH reads the GlobalSceneControl attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read LT attribute: GlobalSceneControl: Success"); + NSLog(@"Step 3: TH reads the GlobalSceneControl attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86923,7 +87010,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadLtAttributeOnTime_3() + CHIP_ERROR TestStep4ThReadsTheOnTimeAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86932,9 +87019,9 @@ class Test_TC_OO_2_1 : public TestCommandBridge { [cluster readAttributeOnTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read LT attribute: OnTime: Error: %@", err); + NSLog(@"Step 4: TH reads the OnTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read LT attribute: OnTime: Success"); + NSLog(@"Step 4: TH reads the OnTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86949,7 +87036,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadLtAttributeOffWaitTime_4() + CHIP_ERROR TestStep5ThReadsTheOffWaitTimeAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86958,9 +87045,9 @@ class Test_TC_OO_2_1 : public TestCommandBridge { [cluster readAttributeOffWaitTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read LT attribute: OffWaitTime: Error: %@", err); + NSLog(@"Step 5: TH reads the OffWaitTime attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read LT attribute: OffWaitTime: Success"); + NSLog(@"Step 5: TH reads the OffWaitTime attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -86975,7 +87062,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadLtAttributeStartUpOnOff_5() + CHIP_ERROR TestStep6ThReadsTheStartUpOnOffAttributeFromTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -86984,9 +87071,9 @@ class Test_TC_OO_2_1 : public TestCommandBridge { [cluster readAttributeStartUpOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read LT attribute: StartUpOnOff: Error: %@", err); + NSLog(@"Step 6: TH reads the StartUpOnOff attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Read LT attribute: StartUpOnOff: Success"); + NSLog(@"Step 6: TH reads the StartUpOnOff attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87044,116 +87131,116 @@ class Test_TC_OO_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: Send Off Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH sends Off command to DUT\n"); if (ShouldSkip("OO.S.C00.Rsp")) { NextTest(); return; } - err = TestStep2aSendOffCommand_1(); + err = TestStep2aThSendsOffCommandToDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2b: Check on/off attribute value is false after off command\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2b: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep2bCheckOnOffAttributeValueIsFalseAfterOffCommand_2(); + err = TestStep2bAfterAFewSecondsThReadsOnOffAttributeFromDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Send On Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH sends On command to DUT\n"); if (ShouldSkip("OO.S.C01.Rsp")) { NextTest(); return; } - err = TestStep3aSendOnCommand_3(); + err = TestStep3aThSendsOnCommandToDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: Check on/off attribute value is true after on command\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep3bCheckOnOffAttributeValueIsTrueAfterOnCommand_4(); + err = TestStep3bAfterAFewSecondsThReadsOnOffAttributeFromDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3c: Send On Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3c: TH sends On command to DUT\n"); if (ShouldSkip("OO.S.C01.Rsp")) { NextTest(); return; } - err = TestStep3cSendOnCommand_5(); + err = TestStep3cThSendsOnCommandToDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3d: Check on/off attribute value is true after on command\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3d: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep3dCheckOnOffAttributeValueIsTrueAfterOnCommand_6(); + err = TestStep3dAfterAFewSecondsThReadsOnOffAttributeFromDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: Send Off Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: TH sends Off command to DUT\n"); if (ShouldSkip("OO.S.C00.Rsp")) { NextTest(); return; } - err = TestStep4aSendOffCommand_7(); + err = TestStep4aThSendsOffCommandToDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: Check on/off attribute value is false after off command\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep4bCheckOnOffAttributeValueIsFalseAfterOffCommand_8(); + err = TestStep4bAfterAFewSecondsThReadsOnOffAttributeFromDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: Send Off Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: TH sends Off command to DUT\n"); if (ShouldSkip("OO.S.C00.Rsp")) { NextTest(); return; } - err = TestStep4cSendOffCommand_9(); + err = TestStep4cThSendsOffCommandToDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: Check on/off attribute value is false after off command\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep4dCheckOnOffAttributeValueIsFalseAfterOffCommand_10(); + err = TestStep4dAfterAFewSecondsThReadsOnOffAttributeFromDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5c: Send Toggle Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5c: TH sends Toggle command to DUT\n"); if (ShouldSkip("OO.S.C02.Rsp")) { NextTest(); return; } - err = TestStep5cSendToggleCommand_11(); + err = TestStep5cThSendsToggleCommandToDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Wait 1000ms\n"); err = TestWait1000ms_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5d: Check on/off attribute value is true after toggle command\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5d: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("OO.S.A0000")) { NextTest(); return; } - err = TestStep5dCheckOnOffAttributeValueIsTrueAfterToggleCommand_13(); + err = TestStep5dAfterAFewSecondsThReadsOnOffAttributeFromDut_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Send Toggle Command\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : TH sends Toggle command to DUT\n"); if (ShouldSkip("OO.S.C02.Rsp")) { NextTest(); return; } - err = TestSendToggleCommand_14(); + err = TestThSendsToggleCommandToDut_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Wait 1000ms\n"); @@ -87176,12 +87263,12 @@ class Test_TC_OO_2_2 : public TestCommandBridge { err = TestStep6aOperateOnDeviceToSetOnOffAttributeManuallyToOn_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6b: Check on/off attribute value is true after on command\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6b: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && OO.S.A0000 && OO.M.ManuallyControlled")) { NextTest(); return; } - err = TestStep6bCheckOnOffAttributeValueIsTrueAfterOnCommand_18(); + err = TestStep6bAfterAFewSecondsThReadsOnOffAttributeFromDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Step 6c: Operate on device to set OnOff attribute manually to off\n"); @@ -87192,12 +87279,12 @@ class Test_TC_OO_2_2 : public TestCommandBridge { err = TestStep6cOperateOnDeviceToSetOnOffAttributeManuallyToOff_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 6d: Check on/off attribute value is false after off command\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 6d: after a few seconds, TH reads OnOff attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && OO.S.A0000 && OO.M.ManuallyControlled")) { NextTest(); return; } - err = TestStep6dCheckOnOffAttributeValueIsFalseAfterOffCommand_20(); + err = TestStep6dAfterAFewSecondsThReadsOnOffAttributeFromDut_20(); break; case 21: ChipLogProgress(chipTool, " ***** Test Step 21 : Reset Off Command\n"); @@ -87312,7 +87399,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -87320,7 +87407,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2aSendOffCommand_1() + CHIP_ERROR TestStep2aThSendsOffCommandToDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87330,9 +87417,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster offWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Send Off Command: Error: %@", err); + NSLog(@"Step 2a: TH sends Off command to DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Send Off Command: Success"); + NSLog(@"Step 2a: TH sends Off command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87343,7 +87430,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bCheckOnOffAttributeValueIsFalseAfterOffCommand_2() + CHIP_ERROR TestStep2bAfterAFewSecondsThReadsOnOffAttributeFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87352,9 +87439,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Check on/off attribute value is false after off command: Error: %@", err); + NSLog(@"Step 2b: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2b: Check on/off attribute value is false after off command: Success"); + NSLog(@"Step 2b: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87370,7 +87457,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aSendOnCommand_3() + CHIP_ERROR TestStep3aThSendsOnCommandToDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87380,9 +87467,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster onWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Send On Command: Error: %@", err); + NSLog(@"Step 3a: TH sends On command to DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Send On Command: Success"); + NSLog(@"Step 3a: TH sends On command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87393,7 +87480,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bCheckOnOffAttributeValueIsTrueAfterOnCommand_4() + CHIP_ERROR TestStep3bAfterAFewSecondsThReadsOnOffAttributeFromDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87402,9 +87489,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Check on/off attribute value is true after on command: Error: %@", err); + NSLog(@"Step 3b: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 3b: Check on/off attribute value is true after on command: Success"); + NSLog(@"Step 3b: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87420,7 +87507,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cSendOnCommand_5() + CHIP_ERROR TestStep3cThSendsOnCommandToDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87430,9 +87517,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster onWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Send On Command: Error: %@", err); + NSLog(@"Step 3c: TH sends On command to DUT: Error: %@", err); } else { - NSLog(@"Step 3c: Send On Command: Success"); + NSLog(@"Step 3c: TH sends On command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87443,7 +87530,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dCheckOnOffAttributeValueIsTrueAfterOnCommand_6() + CHIP_ERROR TestStep3dAfterAFewSecondsThReadsOnOffAttributeFromDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87452,9 +87539,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Check on/off attribute value is true after on command: Error: %@", err); + NSLog(@"Step 3d: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 3d: Check on/off attribute value is true after on command: Success"); + NSLog(@"Step 3d: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87470,7 +87557,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aSendOffCommand_7() + CHIP_ERROR TestStep4aThSendsOffCommandToDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87480,9 +87567,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster offWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Send Off Command: Error: %@", err); + NSLog(@"Step 4a: TH sends Off command to DUT: Error: %@", err); } else { - NSLog(@"Step 4a: Send Off Command: Success"); + NSLog(@"Step 4a: TH sends Off command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87493,7 +87580,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bCheckOnOffAttributeValueIsFalseAfterOffCommand_8() + CHIP_ERROR TestStep4bAfterAFewSecondsThReadsOnOffAttributeFromDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87502,9 +87589,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Check on/off attribute value is false after off command: Error: %@", err); + NSLog(@"Step 4b: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4b: Check on/off attribute value is false after off command: Success"); + NSLog(@"Step 4b: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87520,7 +87607,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cSendOffCommand_9() + CHIP_ERROR TestStep4cThSendsOffCommandToDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87530,9 +87617,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster offWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Send Off Command: Error: %@", err); + NSLog(@"Step 4c: TH sends Off command to DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Send Off Command: Success"); + NSLog(@"Step 4c: TH sends Off command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87543,7 +87630,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dCheckOnOffAttributeValueIsFalseAfterOffCommand_10() + CHIP_ERROR TestStep4dAfterAFewSecondsThReadsOnOffAttributeFromDut_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87552,9 +87639,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Check on/off attribute value is false after off command: Error: %@", err); + NSLog(@"Step 4d: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4d: Check on/off attribute value is false after off command: Success"); + NSLog(@"Step 4d: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87570,7 +87657,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5cSendToggleCommand_11() + CHIP_ERROR TestStep5cThSendsToggleCommandToDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87580,9 +87667,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster toggleWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5c: Send Toggle Command: Error: %@", err); + NSLog(@"Step 5c: TH sends Toggle command to DUT: Error: %@", err); } else { - NSLog(@"Step 5c: Send Toggle Command: Success"); + NSLog(@"Step 5c: TH sends Toggle command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87601,7 +87688,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep5dCheckOnOffAttributeValueIsTrueAfterToggleCommand_13() + CHIP_ERROR TestStep5dAfterAFewSecondsThReadsOnOffAttributeFromDut_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87610,9 +87697,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5d: Check on/off attribute value is true after toggle command: Error: %@", err); + NSLog(@"Step 5d: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 5d: Check on/off attribute value is true after toggle command: Success"); + NSLog(@"Step 5d: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87628,7 +87715,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestSendToggleCommand_14() + CHIP_ERROR TestThSendsToggleCommandToDut_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87638,9 +87725,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster toggleWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Send Toggle Command: Error: %@", err); + NSLog(@"TH sends Toggle command to DUT: Error: %@", err); } else { - NSLog(@"Send Toggle Command: Success"); + NSLog(@"TH sends Toggle command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87696,7 +87783,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep6bCheckOnOffAttributeValueIsTrueAfterOnCommand_18() + CHIP_ERROR TestStep6bAfterAFewSecondsThReadsOnOffAttributeFromDut_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87705,9 +87792,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Check on/off attribute value is true after on command: Error: %@", err); + NSLog(@"Step 6b: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 6b: Check on/off attribute value is true after on command: Success"); + NSLog(@"Step 6b: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87733,7 +87820,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep6dCheckOnOffAttributeValueIsFalseAfterOffCommand_20() + CHIP_ERROR TestStep6dAfterAFewSecondsThReadsOnOffAttributeFromDut_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -87742,9 +87829,9 @@ class Test_TC_OO_2_2 : public TestCommandBridge { [cluster readAttributeOnOffWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: Check on/off attribute value is false after off command: Error: %@", err); + NSLog(@"Step 6d: after a few seconds, TH reads OnOff attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 6d: Check on/off attribute value is false after off command: Success"); + NSLog(@"Step 6d: after a few seconds, TH reads OnOff attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -87852,8 +87939,8 @@ class Test_TC_OO_2_4 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH sends On command to DUT\n"); @@ -88203,7 +88290,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -88737,32 +88824,32 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test)\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT\n"); - err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT\n"); - err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_3(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads from the DUT the optional attribute(CountdownTime) in the AttributeList from the DUT\n"); @@ -88773,7 +88860,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { err = TestStep4bThReadsFromTheDutTheOptionalAttributeCountdownTimeInTheAttributeListFromTheDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5a: TH reads from the DUT the EventList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5a: TH reads from the DUT the EventList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -88789,52 +88876,52 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { NextTest(); return; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6a: Read the optional command(Start) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6a: TH reads the optional command(Start) in AcceptedCommandList\n"); if (ShouldSkip("OPSTATE.S.C02.Rsp")) { NextTest(); return; } - err = TestStep6aReadTheOptionalCommandStartInAcceptedCommandList_8(); + err = TestStep6aThReadsTheOptionalCommandStartInAcceptedCommandList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6b: Read the optional command(Stop) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6b: TH reads the optional command(Stop) in AcceptedCommandList\n"); if (ShouldSkip("OPSTATE.S.C01.Rsp")) { NextTest(); return; } - err = TestStep6bReadTheOptionalCommandStopInAcceptedCommandList_9(); + err = TestStep6bThReadsTheOptionalCommandStopInAcceptedCommandList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6c: Read the optional command(Pause) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6c: TH reads the optional command(Pause) in AcceptedCommandList\n"); if (ShouldSkip("OPSTATE.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6cReadTheOptionalCommandPauseInAcceptedCommandList_10(); + err = TestStep6cThReadsTheOptionalCommandPauseInAcceptedCommandList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 6d: Read the optional command(Resume) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 6d: TH reads the optional command(Resume) in AcceptedCommandList\n"); if (ShouldSkip("OPSTATE.S.C03.Rsp")) { NextTest(); return; } - err = TestStep6dReadTheOptionalCommandResumeInAcceptedCommandList_11(); + err = TestStep6dThReadsTheOptionalCommandResumeInAcceptedCommandList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7: Read the global attribute: GeneratedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7: TH reads from the DUT the AcceptedCommandList attribute\n"); if (ShouldSkip("!OPSTATE.S.C00.Rsp && !OPSTATE.S.C01.Rsp && !OPSTATE.S.C02.Rsp && !OPSTATE.S.C03.Rsp")) { NextTest(); return; } - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_12(); + err = TestStep7ThReadsFromTheDutTheAcceptedCommandListAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 7: Read the global attribute: GeneratedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 7: TH reads from the DUT the GeneratedCommandList attribute\n"); if (ShouldSkip("(OPSTATE.S.C00.Rsp || OPSTATE.S.C01.Rsp || OPSTATE.S.C02.Rsp || OPSTATE.S.C03.Rsp)")) { NextTest(); return; } - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_13(); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_13(); break; } @@ -88906,7 +88993,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -88914,7 +89001,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -88923,9 +89010,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -88942,7 +89029,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -88951,9 +89038,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -88970,7 +89057,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_3() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -88979,9 +89066,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89005,7 +89092,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89014,9 +89101,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89064,7 +89151,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadTheOptionalCommandStartInAcceptedCommandList_8() + CHIP_ERROR TestStep6aThReadsTheOptionalCommandStartInAcceptedCommandList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89073,9 +89160,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read the optional command(Start) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads the optional command(Start) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6a: Read the optional command(Start) in AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads the optional command(Start) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89090,7 +89177,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadTheOptionalCommandStopInAcceptedCommandList_9() + CHIP_ERROR TestStep6bThReadsTheOptionalCommandStopInAcceptedCommandList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89099,9 +89186,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read the optional command(Stop) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6b: TH reads the optional command(Stop) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6b: Read the optional command(Stop) in AcceptedCommandList: Success"); + NSLog(@"Step 6b: TH reads the optional command(Stop) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89115,7 +89202,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cReadTheOptionalCommandPauseInAcceptedCommandList_10() + CHIP_ERROR TestStep6cThReadsTheOptionalCommandPauseInAcceptedCommandList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89124,9 +89211,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: Read the optional command(Pause) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6c: TH reads the optional command(Pause) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6c: Read the optional command(Pause) in AcceptedCommandList: Success"); + NSLog(@"Step 6c: TH reads the optional command(Pause) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89141,7 +89228,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6dReadTheOptionalCommandResumeInAcceptedCommandList_11() + CHIP_ERROR TestStep6dThReadsTheOptionalCommandResumeInAcceptedCommandList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89150,9 +89237,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: Read the optional command(Resume) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6d: TH reads the optional command(Resume) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6d: Read the optional command(Resume) in AcceptedCommandList: Success"); + NSLog(@"Step 6d: TH reads the optional command(Resume) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89167,7 +89254,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_12() + CHIP_ERROR TestStep7ThReadsFromTheDutTheAcceptedCommandListAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89176,9 +89263,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the AcceptedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the AcceptedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89195,7 +89282,7 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_13() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89204,9 +89291,9 @@ class Test_TC_OPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89262,20 +89349,20 @@ class Test_TC_PS_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Test Harness Client reads ClusterRevision attribute.\n"); + err = TestStep2TestHarnessClientReadsClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !PS.S.F00 && !PS.S.F01 && !PS.S.F02 && !PS.S.F03 ")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given PS.S.F00(WIRED) ensure featuremap has the correct bit set\n"); @@ -89310,93 +89397,93 @@ class Test_TC_PS_1_1 : public TestCommandBridge { err = TestStep3dGivenPssf03replcEnsureFeaturemapHasTheCorrectBitSet_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: Test Harness Client reads AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ReadTheGlobalAttributeAttributeList_7(); + err = TestStep4TestHarnessClientReadsAttributeListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Test Harness Client reads AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ReadTheGlobalAttributeAttributeList_8(); + err = TestStep4TestHarnessClientReadsAttributeListAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F00")) { NextTest(); return; } - err = TestStep4aReadTheFeatureDependentPSSF00WiredAttributeInAttributeList_9(); + err = TestStep4aThReadsTheFeatureDependentPSSF00WiredAttributeInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F01")) { NextTest(); return; } - err = TestStep4bReadTheFeatureDependentPSSF01BatAttributeInAttributeList_10(); + err = TestStep4bThReadsTheFeatureDependentPSSF01BatAttributeInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F02")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentPSSF02RechgAttributeInAttributeList_11(); + err = TestStep4cThReadsTheFeatureDependentPSSF02RechgAttributeInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F03")) { NextTest(); return; } - err = TestStep4dReadTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12(); + err = TestStep4dThReadsTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5: Read the global attribute: AcceptedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeAcceptedCommandList_13(); - break; - case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6: Read the global attribute: GeneratedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeGeneratedCommandList_14(); - break; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7a: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5a: Test Harness Client reads EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && !PS.S.E00 && !PS.S.E01 && !PS.S.E02 ")) { NextTest(); return; } NextTest(); return; - case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7b: Read PS.S.E00(WiredFaultChange) event in EventList\n"); + case 14: + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5b: TH reads PS.S.E00(WiredFaultChange) event in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && PS.S.E00")) { NextTest(); return; } NextTest(); return; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 7c: Read PS.S.E01(BatFaultChange) event in EventList\n"); + case 15: + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5c: TH reads PS.S.E01(BatFaultChange) event in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && PS.S.E01")) { NextTest(); return; } NextTest(); return; - case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7d: Read PS.S.E02(BatChargeFaultChange) event in EventList\n"); + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5d: TH reads PS.S.E02(BatChargeFaultChange) event in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && PS.S.E02")) { NextTest(); return; } NextTest(); return; + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6: Test Harness Client reads AcceptedCommandList attribute.\n"); + err = TestStep6TestHarnessClientReadsAcceptedCommandListAttribute_17(); + break; + case 18: + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7: Test Harness Client reads GeneratedCommandList attribute.\n"); + err = TestStep7TestHarnessClientReadsGeneratedCommandListAttribute_18(); + break; } if (CHIP_NO_ERROR != err) { @@ -89482,7 +89569,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -89490,7 +89577,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2TestHarnessClientReadsClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89499,9 +89586,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: Test Harness Client reads ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: Test Harness Client reads ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89518,7 +89605,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89527,9 +89614,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89638,7 +89725,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep4TestHarnessClientReadsAttributeListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89647,9 +89734,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89672,7 +89759,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_8() + CHIP_ERROR TestStep4TestHarnessClientReadsAttributeListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89681,9 +89768,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89705,7 +89792,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheFeatureDependentPSSF00WiredAttributeInAttributeList_9() + CHIP_ERROR TestStep4aThReadsTheFeatureDependentPSSF00WiredAttributeInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89714,9 +89801,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Success"); + NSLog(@"Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89730,7 +89817,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheFeatureDependentPSSF01BatAttributeInAttributeList_10() + CHIP_ERROR TestStep4bThReadsTheFeatureDependentPSSF01BatAttributeInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89739,9 +89826,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89757,7 +89844,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentPSSF02RechgAttributeInAttributeList_11() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentPSSF02RechgAttributeInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89766,9 +89853,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89783,7 +89870,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12() + CHIP_ERROR TestStep4dThReadsTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89792,9 +89879,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89809,7 +89896,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeAcceptedCommandList_13() + CHIP_ERROR TestStep6TestHarnessClientReadsAcceptedCommandListAttribute_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89818,9 +89905,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: Test Harness Client reads AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: Test Harness Client reads AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89837,7 +89924,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeGeneratedCommandList_14() + CHIP_ERROR TestStep7TestHarnessClientReadsGeneratedCommandListAttribute_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89846,9 +89933,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: Test Harness Client reads GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: Test Harness Client reads GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89907,67 +89994,67 @@ class Test_TC_PS_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Test Harness Client reads Status attribute from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Test Harness Client reads Status from server DUT\n"); if (ShouldSkip("PS.S.A0000")) { NextTest(); return; } - err = TestStep2TestHarnessClientReadsStatusAttributeFromServerDut_1(); + err = TestStep2TestHarnessClientReadsStatusFromServerDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Test Harness Client reads Order attribute from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Test Harness Client reads Order from server DUT\n"); if (ShouldSkip("PS.S.A0001")) { NextTest(); return; } - err = TestStep3TestHarnessClientReadsOrderAttributeFromServerDut_2(); + err = TestStep3TestHarnessClientReadsOrderFromServerDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Test Harness Client reads Description attribute from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Test Harness Client reads Order from server DUT\n"); if (ShouldSkip("PS.S.A0002")) { NextTest(); return; } - err = TestStep4TestHarnessClientReadsDescriptionAttributeFromServerDut_3(); + err = TestStep4TestHarnessClientReadsOrderFromServerDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Test Harness Client reads WiredAssessedInputVoltage attribue from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Test Harness Client reads WiredAssessedInputVoltage from server DUT\n"); if (ShouldSkip("PS.S.A0003")) { NextTest(); return; } - err = TestStep5TestHarnessClientReadsWiredAssessedInputVoltageAttribueFromServerDut_4(); + err = TestStep5TestHarnessClientReadsWiredAssessedInputVoltageFromServerDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: Test Harness Client reads WiredAssessedInputFrequency attribute from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: Test Harness Client reads WiredAssessedInputFrequencyfrom server DUT\n"); if (ShouldSkip("PS.S.A0004")) { NextTest(); return; } - err = TestStep6TestHarnessClientReadsWiredAssessedInputFrequencyAttributeFromServerDut_5(); + err = TestStep6TestHarnessClientReadsWiredAssessedInputFrequencyfromServerDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: Test Harness Client reads WiredCurrentType attribute from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: Test Harness Client reads WiredCurrentType from server DUT\n"); if (ShouldSkip("PS.S.A0005")) { NextTest(); return; } - err = TestStep7TestHarnessClientReadsWiredCurrentTypeAttributeFromServerDut_6(); + err = TestStep7TestHarnessClientReadsWiredCurrentTypeFromServerDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: Test Harness Client reads WiredAssessedCurrent attribute from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: Test Harness Client reads WiredAssessedCurrent from server DUT\n"); if (ShouldSkip("PS.S.A0006")) { NextTest(); return; } - err = TestStep8TestHarnessClientReadsWiredAssessedCurrentAttributeFromServerDut_7(); + err = TestStep8TestHarnessClientReadsWiredAssessedCurrentFromServerDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Test Harness Client reads WiredNominalVoltage from Server DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Test Harness Client reads WiredNominalVoltage from server DUT\n"); if (ShouldSkip("PS.S.A0007")) { NextTest(); return; @@ -90293,7 +90380,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -90301,7 +90388,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2TestHarnessClientReadsStatusAttributeFromServerDut_1() + CHIP_ERROR TestStep2TestHarnessClientReadsStatusFromServerDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90310,9 +90397,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Test Harness Client reads Status attribute from Server DUT: Error: %@", err); + NSLog(@"Step 2: Test Harness Client reads Status from server DUT: Error: %@", err); } else { - NSLog(@"Step 2: Test Harness Client reads Status attribute from Server DUT: Success"); + NSLog(@"Step 2: Test Harness Client reads Status from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90327,7 +90414,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3TestHarnessClientReadsOrderAttributeFromServerDut_2() + CHIP_ERROR TestStep3TestHarnessClientReadsOrderFromServerDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90336,9 +90423,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeOrderWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Test Harness Client reads Order attribute from Server DUT: Error: %@", err); + NSLog(@"Step 3: Test Harness Client reads Order from server DUT: Error: %@", err); } else { - NSLog(@"Step 3: Test Harness Client reads Order attribute from Server DUT: Success"); + NSLog(@"Step 3: Test Harness Client reads Order from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90353,7 +90440,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4TestHarnessClientReadsDescriptionAttributeFromServerDut_3() + CHIP_ERROR TestStep4TestHarnessClientReadsOrderFromServerDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90362,9 +90449,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeDescriptionWithCompletion:^(NSString * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Test Harness Client reads Description attribute from Server DUT: Error: %@", err); + NSLog(@"Step 4: Test Harness Client reads Order from server DUT: Error: %@", err); } else { - NSLog(@"Step 4: Test Harness Client reads Description attribute from Server DUT: Success"); + NSLog(@"Step 4: Test Harness Client reads Order from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90377,7 +90464,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5TestHarnessClientReadsWiredAssessedInputVoltageAttribueFromServerDut_4() + CHIP_ERROR TestStep5TestHarnessClientReadsWiredAssessedInputVoltageFromServerDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90386,9 +90473,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeWiredAssessedInputVoltageWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Test Harness Client reads WiredAssessedInputVoltage attribue from Server DUT: Error: %@", err); + NSLog(@"Step 5: Test Harness Client reads WiredAssessedInputVoltage from server DUT: Error: %@", err); } else { - NSLog(@"Step 5: Test Harness Client reads WiredAssessedInputVoltage attribue from Server DUT: Success"); + NSLog(@"Step 5: Test Harness Client reads WiredAssessedInputVoltage from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90406,7 +90493,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6TestHarnessClientReadsWiredAssessedInputFrequencyAttributeFromServerDut_5() + CHIP_ERROR TestStep6TestHarnessClientReadsWiredAssessedInputFrequencyfromServerDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90415,9 +90502,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeWiredAssessedInputFrequencyWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Test Harness Client reads WiredAssessedInputFrequency attribute from Server DUT: Error: %@", err); + NSLog(@"Step 6: Test Harness Client reads WiredAssessedInputFrequencyfrom server DUT: Error: %@", err); } else { - NSLog(@"Step 6: Test Harness Client reads WiredAssessedInputFrequency attribute from Server DUT: Success"); + NSLog(@"Step 6: Test Harness Client reads WiredAssessedInputFrequencyfrom server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90435,7 +90522,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7TestHarnessClientReadsWiredCurrentTypeAttributeFromServerDut_6() + CHIP_ERROR TestStep7TestHarnessClientReadsWiredCurrentTypeFromServerDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90444,9 +90531,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeWiredCurrentTypeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Test Harness Client reads WiredCurrentType attribute from Server DUT: Error: %@", err); + NSLog(@"Step 7: Test Harness Client reads WiredCurrentType from server DUT: Error: %@", err); } else { - NSLog(@"Step 7: Test Harness Client reads WiredCurrentType attribute from Server DUT: Success"); + NSLog(@"Step 7: Test Harness Client reads WiredCurrentType from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90461,7 +90548,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8TestHarnessClientReadsWiredAssessedCurrentAttributeFromServerDut_7() + CHIP_ERROR TestStep8TestHarnessClientReadsWiredAssessedCurrentFromServerDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90470,9 +90557,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeWiredAssessedCurrentWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Test Harness Client reads WiredAssessedCurrent attribute from Server DUT: Error: %@", err); + NSLog(@"Step 8: Test Harness Client reads WiredAssessedCurrent from server DUT: Error: %@", err); } else { - NSLog(@"Step 8: Test Harness Client reads WiredAssessedCurrent attribute from Server DUT: Success"); + NSLog(@"Step 8: Test Harness Client reads WiredAssessedCurrent from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -90499,9 +90586,9 @@ class Test_TC_PS_2_1 : public TestCommandBridge { [cluster readAttributeWiredNominalVoltageWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Test Harness Client reads WiredNominalVoltage from Server DUT: Error: %@", err); + NSLog(@"Step 9: Test Harness Client reads WiredNominalVoltage from server DUT: Error: %@", err); } else { - NSLog(@"Step 9: Test Harness Client reads WiredNominalVoltage from Server DUT: Success"); + NSLog(@"Step 9: Test Harness Client reads WiredNominalVoltage from server DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91170,20 +91257,20 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !PRS.S.F00 ")) { NextTest(); return; } - err = TestStep3ReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Given PRS.S.F00(EXT) ensure featuremap has the correct bit set\n"); @@ -91194,71 +91281,71 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { err = TestStep3GivenPrssf00extEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global mandatory attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalMandatoryAttributeAttributeList_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: Read the global mandatory attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalMandatoryAttributeAttributeList_5(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: Read the optional attribute(ScaledValue) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads the optional attribute(ScaledValue) in AttributeList\n"); if (ShouldSkip("PRS.S.A0010")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeScaledValueInAttributeList_6(); + err = TestStep4bThReadsTheOptionalAttributeScaledValueInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: Read the optional attribute(MinScaledValue) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: TH reads the optional attribute(MinScaledValue) in AttributeList\n"); if (ShouldSkip("PRS.S.A0011")) { NextTest(); return; } - err = TestStep4cReadTheOptionalAttributeMinScaledValueInAttributeList_7(); + err = TestStep4cThReadsTheOptionalAttributeMinScaledValueInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4d: Read the optional attribute(MaxScaledValue) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4d: TH reads the optional attribute(MaxScaledValue) in AttributeList\n"); if (ShouldSkip("PRS.S.A0012")) { NextTest(); return; } - err = TestStep4dReadTheOptionalAttributeMaxScaledValueInAttributeList_8(); + err = TestStep4dThReadsTheOptionalAttributeMaxScaledValueInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4e: Read the optional attribute(Scale) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4e: TH reads the optional attribute(Scale) in AttributeList\n"); if (ShouldSkip("PRS.S.A0014")) { NextTest(); return; } - err = TestStep4eReadTheOptionalAttributeScaleInAttributeList_9(); + err = TestStep4eThReadsTheOptionalAttributeScaleInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4f: Read the optional attribute(Tolerance) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4f: TH reads the optional attribute(Tolerance) in AttributeList\n"); if (ShouldSkip("PRS.S.A0003")) { NextTest(); return; } - err = TestStep4fReadTheOptionalAttributeToleranceInAttributeList_10(); + err = TestStep4fThReadsTheOptionalAttributeToleranceInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4g: Read the optional attribute(ScaledTolerance) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4g: TH reads the optional attribute(ScaledTolerance) in AttributeList\n"); if (ShouldSkip("PRS.S.A0013")) { NextTest(); return; } - err = TestStep4gReadTheOptionalAttributeScaledToleranceInAttributeList_11(); + err = TestStep4gThReadsTheOptionalAttributeScaledToleranceInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -91266,12 +91353,12 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { NextTest(); return; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: Read the global attribute: AcceptedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_13(); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_14(); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_14(); break; } @@ -91346,7 +91433,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -91354,7 +91441,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91363,9 +91450,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91382,7 +91469,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91391,9 +91478,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91433,7 +91520,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalMandatoryAttributeAttributeList_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91442,9 +91529,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global mandatory attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global mandatory attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91466,7 +91553,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalMandatoryAttributeAttributeList_5() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91475,9 +91562,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global mandatory attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global mandatory attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91498,7 +91585,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeScaledValueInAttributeList_6() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeScaledValueInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91507,9 +91594,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute(ScaledValue) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(ScaledValue) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute(ScaledValue) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(ScaledValue) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91523,7 +91610,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalAttributeMinScaledValueInAttributeList_7() + CHIP_ERROR TestStep4cThReadsTheOptionalAttributeMinScaledValueInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91532,9 +91619,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the optional attribute(MinScaledValue) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the optional attribute(MinScaledValue) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the optional attribute(MinScaledValue) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the optional attribute(MinScaledValue) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91548,7 +91635,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalAttributeMaxScaledValueInAttributeList_8() + CHIP_ERROR TestStep4dThReadsTheOptionalAttributeMaxScaledValueInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91557,9 +91644,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional attribute(MaxScaledValue) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional attribute(MaxScaledValue) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional attribute(MaxScaledValue) in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional attribute(MaxScaledValue) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91573,7 +91660,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheOptionalAttributeScaleInAttributeList_9() + CHIP_ERROR TestStep4eThReadsTheOptionalAttributeScaleInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91582,9 +91669,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the optional attribute(Scale) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the optional attribute(Scale) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the optional attribute(Scale) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the optional attribute(Scale) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91598,7 +91685,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalAttributeToleranceInAttributeList_10() + CHIP_ERROR TestStep4fThReadsTheOptionalAttributeToleranceInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91607,9 +91694,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional attribute(Tolerance) in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional attribute(Tolerance) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional attribute(Tolerance) in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional attribute(Tolerance) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91623,7 +91710,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gReadTheOptionalAttributeScaledToleranceInAttributeList_11() + CHIP_ERROR TestStep4gThReadsTheOptionalAttributeScaledToleranceInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91632,9 +91719,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: Read the optional attribute(ScaledTolerance) in AttributeList: Error: %@", err); + NSLog(@"Step 4g: TH reads the optional attribute(ScaledTolerance) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: Read the optional attribute(ScaledTolerance) in AttributeList: Success"); + NSLog(@"Step 4g: TH reads the optional attribute(ScaledTolerance) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91648,7 +91735,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_13() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91657,9 +91744,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91676,7 +91763,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_14() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91685,9 +91772,9 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91746,80 +91833,80 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the mandatory attribute constraints: MinMeasuredValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MinMeasuredValue attribute.\n"); if (ShouldSkip("PRS.S.A0001")) { NextTest(); return; } - err = TestStep2ReadTheMandatoryAttributeConstraintsMinMeasuredValue_1(); + err = TestStep2ThReadsFromTheDutTheMinMeasuredValueAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the mandatory attribute constraints: MaxMeasuredValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the MaxMeasuredValue attribute.\n"); if (ShouldSkip("PRS.S.A0002")) { NextTest(); return; } - err = TestStep3ReadTheMandatoryAttributeConstraintsMaxMeasuredValue_2(); + err = TestStep3ThReadsFromTheDutTheMaxMeasuredValueAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Read the mandatory attribute constraints: MeasuredValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the MeasuredValue attribute.\n"); if (ShouldSkip("PRS.S.A0000")) { NextTest(); return; } - err = TestStep4ReadTheMandatoryAttributeConstraintsMeasuredValue_3(); + err = TestStep4ThReadsFromTheDutTheMeasuredValueAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Read the optional attribute: Tolerance\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the Tolerance attribute.\n"); if (ShouldSkip("PRS.S.A0003")) { NextTest(); return; } - err = TestStep5ReadTheOptionalAttributeTolerance_4(); + err = TestStep5ThReadsFromTheDutTheToleranceAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: Read the optional attribute: MinScaledValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the MinScaledValue attribute.\n"); if (ShouldSkip("PRS.S.A0011")) { NextTest(); return; } - err = TestStep6ReadTheOptionalAttributeMinScaledValue_5(); + err = TestStep6ThReadsFromTheDutTheMinScaledValueAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: Read the optional attribute: MaxScaledValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads from the DUT the MaxScaledValue attribute.\n"); if (ShouldSkip("PRS.S.A0012")) { NextTest(); return; } - err = TestStep7ReadTheOptionalAttributeMaxScaledValue_6(); + err = TestStep7ThReadsFromTheDutTheMaxScaledValueAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: Read the optional attribute: ScaledValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: TH reads from the DUT the ScaledValue attribute.\n"); if (ShouldSkip("PRS.S.A0010")) { NextTest(); return; } - err = TestStep8ReadTheOptionalAttributeScaledValue_7(); + err = TestStep8ThReadsFromTheDutTheScaledValueAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Read the optional attribute: ScaledTolerance\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: TH reads from the DUT the ScaledTolerance attribute.\n"); if (ShouldSkip("PRS.S.A0013")) { NextTest(); return; } - err = TestStep9ReadTheOptionalAttributeScaledTolerance_8(); + err = TestStep9ThReadsFromTheDutTheScaledToleranceAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: Read the optional attribute: Scale\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads from the DUT the Scale attribute.\n"); if (ShouldSkip("PRS.S.A0014")) { NextTest(); return; } - err = TestStep10ReadTheOptionalAttributeScale_9(); + err = TestStep10ThReadsFromTheDutTheScaleAttribute_9(); break; } @@ -91879,7 +91966,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -91888,7 +91975,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { } NSNumber * _Nullable MinMeasuredValueValue; - CHIP_ERROR TestStep2ReadTheMandatoryAttributeConstraintsMinMeasuredValue_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheMinMeasuredValueAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91897,9 +91984,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeMinMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the mandatory attribute constraints: MinMeasuredValue: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the MinMeasuredValue attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the mandatory attribute constraints: MinMeasuredValue: Success"); + NSLog(@"Step 2: TH reads from the DUT the MinMeasuredValue attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91921,7 +92008,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { } NSNumber * _Nullable MaxMeasuredValueValue; - CHIP_ERROR TestStep3ReadTheMandatoryAttributeConstraintsMaxMeasuredValue_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheMaxMeasuredValueAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91930,9 +92017,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeMaxMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the mandatory attribute constraints: MaxMeasuredValue: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the MaxMeasuredValue attribute.: Error: %@", err); } else { - NSLog(@"Step 3: Read the mandatory attribute constraints: MaxMeasuredValue: Success"); + NSLog(@"Step 3: TH reads from the DUT the MaxMeasuredValue attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91953,7 +92040,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheMandatoryAttributeConstraintsMeasuredValue_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheMeasuredValueAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91962,9 +92049,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the mandatory attribute constraints: MeasuredValue: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the MeasuredValue attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the mandatory attribute constraints: MeasuredValue: Success"); + NSLog(@"Step 4: TH reads from the DUT the MeasuredValue attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -91982,7 +92069,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheOptionalAttributeTolerance_4() + CHIP_ERROR TestStep5ThReadsFromTheDutTheToleranceAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -91991,9 +92078,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeToleranceWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the optional attribute: Tolerance: Error: %@", err); + NSLog(@"Step 5: TH reads from the DUT the Tolerance attribute.: Error: %@", err); } else { - NSLog(@"Step 5: Read the optional attribute: Tolerance: Success"); + NSLog(@"Step 5: TH reads from the DUT the Tolerance attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -92009,7 +92096,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { } NSNumber * _Nullable MinScaledValueValue; - CHIP_ERROR TestStep6ReadTheOptionalAttributeMinScaledValue_5() + CHIP_ERROR TestStep6ThReadsFromTheDutTheMinScaledValueAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -92018,9 +92105,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeMinScaledValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the optional attribute: MinScaledValue: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the MinScaledValue attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the optional attribute: MinScaledValue: Success"); + NSLog(@"Step 6: TH reads from the DUT the MinScaledValue attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -92042,7 +92129,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { } NSNumber * _Nullable MaxScaledValueValue; - CHIP_ERROR TestStep7ReadTheOptionalAttributeMaxScaledValue_6() + CHIP_ERROR TestStep7ThReadsFromTheDutTheMaxScaledValueAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -92051,9 +92138,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeMaxScaledValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the optional attribute: MaxScaledValue: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the MaxScaledValue attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the optional attribute: MaxScaledValue: Success"); + NSLog(@"Step 7: TH reads from the DUT the MaxScaledValue attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -92074,7 +92161,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ReadTheOptionalAttributeScaledValue_7() + CHIP_ERROR TestStep8ThReadsFromTheDutTheScaledValueAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -92083,9 +92170,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeScaledValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Read the optional attribute: ScaledValue: Error: %@", err); + NSLog(@"Step 8: TH reads from the DUT the ScaledValue attribute.: Error: %@", err); } else { - NSLog(@"Step 8: Read the optional attribute: ScaledValue: Success"); + NSLog(@"Step 8: TH reads from the DUT the ScaledValue attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -92103,7 +92190,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ReadTheOptionalAttributeScaledTolerance_8() + CHIP_ERROR TestStep9ThReadsFromTheDutTheScaledToleranceAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -92112,9 +92199,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeScaledToleranceWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Read the optional attribute: ScaledTolerance: Error: %@", err); + NSLog(@"Step 9: TH reads from the DUT the ScaledTolerance attribute.: Error: %@", err); } else { - NSLog(@"Step 9: Read the optional attribute: ScaledTolerance: Success"); + NSLog(@"Step 9: TH reads from the DUT the ScaledTolerance attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -92129,7 +92216,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ReadTheOptionalAttributeScale_9() + CHIP_ERROR TestStep10ThReadsFromTheDutTheScaleAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -92138,9 +92225,9 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { [cluster readAttributeScaleWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Read the optional attribute: Scale: Error: %@", err); + NSLog(@"Step 10: TH reads from the DUT the Scale attribute.: Error: %@", err); } else { - NSLog(@"Step 10: Read the optional attribute: Scale: Success"); + NSLog(@"Step 10: TH reads from the DUT the Scale attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -92197,8 +92284,8 @@ class Test_TC_PRS_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MeasuredValue attribute\n"); @@ -92271,7 +92358,7 @@ class Test_TC_PRS_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -96232,8 +96319,8 @@ class Test_TC_REFALM_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test)\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); @@ -96327,7 +96414,7 @@ class Test_TC_REFALM_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -96763,51 +96850,51 @@ class Test_TC_RH_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read ClusterRevision attribute from the DUT\n"); - err = TestStep2ReadClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT.\n"); + err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read FeatureMap attribute from the DUT\n"); - err = TestStep3ReadFeatureMapAttributeFromTheDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT.\n"); + err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads the AttributeList attribute from the DUT.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Read the optional attribute(Tolerance) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads the optional attribute(Tolerance) in AttributeList\n"); if (ShouldSkip("RH.S.A0003")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5(); + err = TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: Read the global attribute: AcceptedCommandList\n"); - err = TestStep5ReadTheGlobalAttributeAcceptedCommandList_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads the AcceptedCommandList attribute from the DUT.\n"); + err = TestStep5ThReadsTheAcceptedCommandListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: Read the global attribute: GeneratedCommandList\n"); - err = TestStep6ReadTheGlobalAttributeGeneratedCommandList_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads the GeneratedCommandList attribute from the DUT.\n"); + err = TestStep6ThReadsTheGeneratedCommandListAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads the EventList attribute from the DUT.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -96869,7 +96956,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -96877,7 +96964,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96886,9 +96973,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 2: Read ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96905,7 +96992,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96914,9 +97001,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 3: Read FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96933,7 +97020,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96942,9 +97029,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96966,7 +97053,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96975,9 +97062,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96998,7 +97085,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97007,9 +97094,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97023,7 +97110,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheGlobalAttributeAcceptedCommandList_6() + CHIP_ERROR TestStep5ThReadsTheAcceptedCommandListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97032,9 +97119,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 5: TH reads the AcceptedCommandList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 5: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 5: TH reads the AcceptedCommandList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97051,7 +97138,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeGeneratedCommandList_7() + CHIP_ERROR TestStep6ThReadsTheGeneratedCommandListAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97060,9 +97147,9 @@ class Test_TC_RH_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads the GeneratedCommandList attribute from the DUT.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 6: TH reads the GeneratedCommandList attribute from the DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97121,20 +97208,20 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT\n"); - err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !RVCCLEANM.S.F00 ")) { NextTest(); return; } - err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: Given RVCCLEANM.S.F00(DEPONOFF) ensure featuremap has the correct bit set\n"); @@ -97145,20 +97232,20 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { err = TestStep3GivenRvccleanmsf00deponoffEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_5(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads the optional attribute(StartUpMode) in AttributeList from the DUT\n"); @@ -97169,23 +97256,23 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { err = TestStep4bThReadsTheOptionalAttributeStartUpModeInAttributeListFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT\n"); if (ShouldSkip("RVCCLEANM.S.F00")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7(); + err = TestStep4cThReadsTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT\n"); if (ShouldSkip(" !RVCCLEANM.S.F00 ")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8(); + err = TestStep4cThReadsTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Read the global attribute: EventList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -97193,20 +97280,20 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { NextTest(); return; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute AcceptedCommandList. Check if it contains id 0x0 (ChangeToMode)\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads from the DUT the AcceptedCommandList attribute. Check if it contains id 0x0 (ChangeToMode)\n"); if (ShouldSkip("RVCCLEANM.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheGlobalAttributeAcceptedCommandListCheckIfItContainsId0x0ChangeToMode_10(); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttributeCheckIfItContainsId0x0ChangeToMode_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Read the global attribute: GeneratedCommandList. Check if it contains id 0x1 (ChangeToModeResponse)\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads from the DUT the GeneratedCommandList attribute. Check if it contains id 0x1 (ChangeToModeResponse)\n"); if (ShouldSkip("RVCCLEANM.S.C01.Tx")) { NextTest(); return; } - err = TestStep7ReadTheGlobalAttributeGeneratedCommandListCheckIfItContainsId0x1ChangeToModeResponse_11(); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttributeCheckIfItContainsId0x1ChangeToModeResponse_11(); break; } @@ -97272,7 +97359,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -97280,7 +97367,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97289,9 +97376,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97308,7 +97395,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97317,9 +97404,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97359,7 +97446,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97368,9 +97455,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97391,7 +97478,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_5() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97400,9 +97487,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97447,7 +97534,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97456,9 +97543,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97472,7 +97559,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentRVCCLEANMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97481,9 +97568,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent(RVCCLEANM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97497,7 +97584,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandListCheckIfItContainsId0x0ChangeToMode_10() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttributeCheckIfItContainsId0x0ChangeToMode_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97506,9 +97593,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute AcceptedCommandList. Check if it contains id 0x0 (ChangeToMode): Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute. Check if it contains id 0x0 (ChangeToMode): Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute AcceptedCommandList. Check if it contains id 0x0 (ChangeToMode): Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute. Check if it contains id 0x0 (ChangeToMode): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97526,7 +97613,7 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandListCheckIfItContainsId0x1ChangeToModeResponse_11() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttributeCheckIfItContainsId0x1ChangeToModeResponse_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97535,9 +97622,9 @@ class Test_TC_RVCCLEANM_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList. Check if it contains id 0x1 (ChangeToModeResponse): Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute. Check if it contains id 0x1 (ChangeToModeResponse): Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList. Check if it contains id 0x1 (ChangeToModeResponse): Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute. Check if it contains id 0x1 (ChangeToModeResponse): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97597,20 +97684,20 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT\n"); - err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads the FeatureMap attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !RVCRUNM.S.F00 ")) { NextTest(); return; } - err = TestStep3aThReadsTheFeatureMapAttributeFromTheDut_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given RVCRUNM.S.F00(DEPONOFF) ensure featuremap has the correct bit set\n"); @@ -97621,20 +97708,20 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { err = TestStep3bGivenRvcrunmsf00deponoffEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_5(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads the optional attribute(StartUpMode) in AttributeList from the DUT\n"); @@ -97645,23 +97732,23 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { err = TestStep4bThReadsTheOptionalAttributeStartUpModeInAttributeListFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4c: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT\n"); if (ShouldSkip("RVCRUNM.S.F00")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7(); + err = TestStep4cThReadsTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4d: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4d: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT\n"); if (ShouldSkip(" !RVCRUNM.S.F00 ")) { NextTest(); return; } - err = TestStep4dReadTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8(); + err = TestStep4dThReadsTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: Read the global attribute: EventList from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -97669,20 +97756,20 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { NextTest(); return; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: Read the global attribute AcceptedCommandList. Check if it contains id 0x0 (ChangeToMode)\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6: TH reads from the DUT the AcceptedCommandList attribute. Check if it contains id 0x0 (ChangeToMode)\n"); if (ShouldSkip("RVCRUNM.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheGlobalAttributeAcceptedCommandListCheckIfItContainsId0x0ChangeToMode_10(); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttributeCheckIfItContainsId0x0ChangeToMode_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: Read the global attribute: GeneratedCommandList. Check if it contains id 0x1 (ChangeToModeResponse)\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7: TH reads from the DUT the GeneratedCommandList attribute. Check if it contains id 0x1 (ChangeToModeResponse)\n"); if (ShouldSkip("RVCRUNM.S.C01.Tx")) { NextTest(); return; } - err = TestStep7ReadTheGlobalAttributeGeneratedCommandListCheckIfItContainsId0x1ChangeToModeResponse_11(); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttributeCheckIfItContainsId0x1ChangeToModeResponse_11(); break; } @@ -97748,7 +97835,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -97756,7 +97843,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97765,9 +97852,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97784,7 +97871,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsTheFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97793,9 +97880,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97835,7 +97922,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97844,9 +97931,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97867,7 +97954,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_5() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97876,9 +97963,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97923,7 +98010,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsInAttributeListFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97932,9 +98019,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is in AttributeList from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97948,7 +98035,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8() + CHIP_ERROR TestStep4dThReadsTheFeatureDependentRVCRUNMSF00DeponoffAndOptionalAttributeOnModeIsNotInAttributeListFromTheDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97957,9 +98044,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Error: %@", err); + NSLog(@"Step 4d: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Error: %@", err); } else { - NSLog(@"Step 4d: Read the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Success"); + NSLog(@"Step 4d: TH reads the Feature dependent(RVCRUNM.S.F00 - DEPONOFF) and optional attribute(OnMode) is not in AttributeList from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -97973,7 +98060,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandListCheckIfItContainsId0x0ChangeToMode_10() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttributeCheckIfItContainsId0x0ChangeToMode_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -97982,9 +98069,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute AcceptedCommandList. Check if it contains id 0x0 (ChangeToMode): Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute. Check if it contains id 0x0 (ChangeToMode): Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute AcceptedCommandList. Check if it contains id 0x0 (ChangeToMode): Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute. Check if it contains id 0x0 (ChangeToMode): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98002,7 +98089,7 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandListCheckIfItContainsId0x1ChangeToModeResponse_11() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttributeCheckIfItContainsId0x1ChangeToModeResponse_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98011,9 +98098,9 @@ class Test_TC_RVCRUNM_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList. Check if it contains id 0x1 (ChangeToModeResponse): Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute. Check if it contains id 0x1 (ChangeToModeResponse): Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList. Check if it contains id 0x1 (ChangeToModeResponse): Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute. Check if it contains id 0x1 (ChangeToModeResponse): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98073,32 +98160,32 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test)\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision attribute from the DUT\n"); - err = TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the FeatureMap attribute from the DUT\n"); - err = TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute\n"); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_3(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the AttributeList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsTheAttributeListAttributeFromTheDut_4(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads from the DUT the optional attribute(CountdownTime) in the AttributeList from the DUT\n"); @@ -98125,52 +98212,52 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { NextTest(); return; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6a: Read the optional command(Pause) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6a: TH reads the optional command(Pause) in AcceptedCommandList\n"); if (ShouldSkip("RVCOPSTATE.S.C00.Rsp || RVCOPSTATE.S.C03.Rsp")) { NextTest(); return; } - err = TestStep6aReadTheOptionalCommandPauseInAcceptedCommandList_8(); + err = TestStep6aThReadsTheOptionalCommandPauseInAcceptedCommandList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6b: Read the optional command(Stop) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6b: TH reads the optional command(Stop) in AcceptedCommandList\n"); if (ShouldSkip("RVCOPSTATE.S.C01.Rsp || RVCOPSTATE.S.C02.Rsp")) { NextTest(); return; } - err = TestStep6bReadTheOptionalCommandStopInAcceptedCommandList_9(); + err = TestStep6bThReadsTheOptionalCommandStopInAcceptedCommandList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6c: Read the optional command(Start) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6c: TH reads the optional command(Start) in AcceptedCommandList\n"); if (ShouldSkip("RVCOPSTATE.S.C02.Rsp")) { NextTest(); return; } - err = TestStep6cReadTheOptionalCommandStartInAcceptedCommandList_10(); + err = TestStep6cThReadsTheOptionalCommandStartInAcceptedCommandList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 6d: Read the optional command(Resume) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 6d: TH reads the optional command(Resume) in AcceptedCommandList\n"); if (ShouldSkip("RVCOPSTATE.S.C03.Rsp || RVCOPSTATE.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6dReadTheOptionalCommandResumeInAcceptedCommandList_11(); + err = TestStep6dThReadsTheOptionalCommandResumeInAcceptedCommandList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7: Read the global attribute: GeneratedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7: TH reads from the DUT the GeneratedCommandList attribute\n"); if (ShouldSkip(" !RVCOPSTATE.S.C00.Rsp && !RVCOPSTATE.S.C01.Rsp && !RVCOPSTATE.S.C02.Rsp && !RVCOPSTATE.S.C03.Rsp ")) { NextTest(); return; } - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_12(); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 7: Read the global attribute: GeneratedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 7: TH reads from the DUT the GeneratedCommandList attribute\n"); if (ShouldSkip(" RVCOPSTATE.S.C00.Rsp || RVCOPSTATE.S.C01.Rsp || RVCOPSTATE.S.C02.Rsp || RVCOPSTATE.S.C03.Rsp ")) { NextTest(); return; } - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_13(); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_13(); break; } @@ -98242,7 +98329,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -98250,7 +98337,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98259,9 +98346,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98278,7 +98365,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsTheFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98287,9 +98374,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute: Error: %@", err); } else { - NSLog(@"Step 3: TH reads the FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98306,7 +98393,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_3() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98315,9 +98402,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98341,7 +98428,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheAttributeListAttributeFromTheDut_4() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98350,9 +98437,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the AttributeList attribute from the DUT: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98400,7 +98487,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadTheOptionalCommandPauseInAcceptedCommandList_8() + CHIP_ERROR TestStep6aThReadsTheOptionalCommandPauseInAcceptedCommandList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98409,9 +98496,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read the optional command(Pause) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads the optional command(Pause) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6a: Read the optional command(Pause) in AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads the optional command(Pause) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98426,7 +98513,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadTheOptionalCommandStopInAcceptedCommandList_9() + CHIP_ERROR TestStep6bThReadsTheOptionalCommandStopInAcceptedCommandList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98435,9 +98522,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read the optional command(Stop) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6b: TH reads the optional command(Stop) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6b: Read the optional command(Stop) in AcceptedCommandList: Success"); + NSLog(@"Step 6b: TH reads the optional command(Stop) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98452,7 +98539,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cReadTheOptionalCommandStartInAcceptedCommandList_10() + CHIP_ERROR TestStep6cThReadsTheOptionalCommandStartInAcceptedCommandList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98461,9 +98548,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: Read the optional command(Start) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6c: TH reads the optional command(Start) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6c: Read the optional command(Start) in AcceptedCommandList: Success"); + NSLog(@"Step 6c: TH reads the optional command(Start) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98477,7 +98564,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6dReadTheOptionalCommandResumeInAcceptedCommandList_11() + CHIP_ERROR TestStep6dThReadsTheOptionalCommandResumeInAcceptedCommandList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98486,9 +98573,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: Read the optional command(Resume) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6d: TH reads the optional command(Resume) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6d: Read the optional command(Resume) in AcceptedCommandList: Success"); + NSLog(@"Step 6d: TH reads the optional command(Resume) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98503,7 +98590,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_12() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98512,9 +98599,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -98531,7 +98618,7 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_13() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -98540,9 +98627,9 @@ class Test_TC_RVCOPSTATE_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -100541,12 +100628,12 @@ class Test_TC_TCCM_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); @@ -100673,7 +100760,7 @@ class Test_TC_TCCM_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -100681,7 +100768,7 @@ class Test_TC_TCCM_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -100690,9 +100777,9 @@ class Test_TC_TCCM_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102708,47 +102795,47 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read ClusterRevision attribute from the DUT\n"); - err = TestStep2ReadClusterRevisionAttributeFromTheDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads ClusterRevision attribute from the DUT\n"); + err = TestStep2ThReadsClusterRevisionAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read FeatureMap attribute from the DUT\n"); - err = TestStep3ReadFeatureMapAttributeFromTheDut_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads FeatureMap attribute from the DUT\n"); + err = TestStep3ThReadsFeatureMapAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads the global attribute: AttributeList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + err = TestStep4aThReadsTheGlobalAttributeAttributeList_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads the global attribute: AttributeList\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + err = TestStep4aThReadsTheGlobalAttributeAttributeList_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Read the optional attribute(Tolerance) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: TH reads the optional attribute(Tolerance) in AttributeList\n"); if (ShouldSkip("TMP.S.A0003")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5(); + err = TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: Read AcceptedCommandList attribute from the DUT\n"); - err = TestStep5ReadAcceptedCommandListAttributeFromTheDut_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads AcceptedCommandList attribute from the DUT\n"); + err = TestStep5ThReadsAcceptedCommandListAttributeFromTheDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: Read GeneratedCommandList attribute from the DUT\n"); - err = TestStep6ReadGeneratedCommandListAttributeFromTheDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads GeneratedCommandList attribute from the DUT\n"); + err = TestStep6ThReadsGeneratedCommandListAttributeFromTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: Read EventList attribute from the DUT.\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads EventList attribute from the DUT.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -102818,7 +102905,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadClusterRevisionAttributeFromTheDut_1() + CHIP_ERROR TestStep2ThReadsClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -102827,9 +102914,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read ClusterRevision attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads ClusterRevision attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read ClusterRevision attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads ClusterRevision attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102846,7 +102933,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadFeatureMapAttributeFromTheDut_2() + CHIP_ERROR TestStep3ThReadsFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -102855,9 +102942,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read FeatureMap attribute from the DUT: Error: %@", err); + NSLog(@"Step 3: TH reads FeatureMap attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read FeatureMap attribute from the DUT: Success"); + NSLog(@"Step 3: TH reads FeatureMap attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102874,7 +102961,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_3() + CHIP_ERROR TestStep4aThReadsTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -102883,9 +102970,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102907,7 +102994,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_4() + CHIP_ERROR TestStep4aThReadsTheGlobalAttributeAttributeList_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -102916,9 +103003,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102939,7 +103026,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeToleranceInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -102948,9 +103035,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the optional attribute(Tolerance) in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the optional attribute(Tolerance) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102964,7 +103051,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadAcceptedCommandListAttributeFromTheDut_6() + CHIP_ERROR TestStep5ThReadsAcceptedCommandListAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -102973,9 +103060,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read AcceptedCommandList attribute from the DUT: Error: %@", err); + NSLog(@"Step 5: TH reads AcceptedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 5: Read AcceptedCommandList attribute from the DUT: Success"); + NSLog(@"Step 5: TH reads AcceptedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -102992,7 +103079,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadGeneratedCommandListAttributeFromTheDut_7() + CHIP_ERROR TestStep6ThReadsGeneratedCommandListAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -103001,9 +103088,9 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read GeneratedCommandList attribute from the DUT: Error: %@", err); + NSLog(@"Step 6: TH reads GeneratedCommandList attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Read GeneratedCommandList attribute from the DUT: Success"); + NSLog(@"Step 6: TH reads GeneratedCommandList attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -103062,40 +103149,40 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the mandatory attribute: MinMeasuredValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the MinMeasuredValue attribute from the DUT\n"); if (ShouldSkip("TMP.S.A0001")) { NextTest(); return; } - err = TestStep2ReadTheMandatoryAttributeMinMeasuredValue_1(); + err = TestStep2ThReadsTheMinMeasuredValueAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the mandatory attribute: MaxMeasuredValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the MaxMeasuredValue attribute from the DUT\n"); if (ShouldSkip("TMP.S.A0002")) { NextTest(); return; } - err = TestStep3ReadTheMandatoryAttributeMaxMeasuredValue_2(); + err = TestStep3ThReadsTheMaxMeasuredValueAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Read the mandatory attribute: MeasuredValue\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads the MeasuredValue attribute from the DUT\n"); if (ShouldSkip("TMP.S.A0000")) { NextTest(); return; } - err = TestStep4ReadTheMandatoryAttributeMeasuredValue_3(); + err = TestStep4ThReadsTheMeasuredValueAttributeFromTheDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 6: Read the optional attribute: Tolerance\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads the Tolerance attribute from the DUT\n"); if (ShouldSkip("TMP.S.A0003")) { NextTest(); return; } - err = TestStep6ReadTheOptionalAttributeTolerance_4(); + err = TestStep5ThReadsTheToleranceAttributeFromTheDut_4(); break; } @@ -103140,7 +103227,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -103149,7 +103236,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { } NSNumber * _Nullable CurrentMinMeasured; - CHIP_ERROR TestStep2ReadTheMandatoryAttributeMinMeasuredValue_1() + CHIP_ERROR TestStep2ThReadsTheMinMeasuredValueAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -103158,9 +103245,9 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { [cluster readAttributeMinMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the mandatory attribute: MinMeasuredValue: Error: %@", err); + NSLog(@"Step 2: TH reads the MinMeasuredValue attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the mandatory attribute: MinMeasuredValue: Success"); + NSLog(@"Step 2: TH reads the MinMeasuredValue attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -103182,7 +103269,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { } NSNumber * _Nullable CurrentMaxMeasured; - CHIP_ERROR TestStep3ReadTheMandatoryAttributeMaxMeasuredValue_2() + CHIP_ERROR TestStep3ThReadsTheMaxMeasuredValueAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -103191,9 +103278,9 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { [cluster readAttributeMaxMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the mandatory attribute: MaxMeasuredValue: Error: %@", err); + NSLog(@"Step 3: TH reads the MaxMeasuredValue attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the mandatory attribute: MaxMeasuredValue: Success"); + NSLog(@"Step 3: TH reads the MaxMeasuredValue attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -103214,7 +103301,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheMandatoryAttributeMeasuredValue_3() + CHIP_ERROR TestStep4ThReadsTheMeasuredValueAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -103223,9 +103310,9 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { [cluster readAttributeMeasuredValueWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the mandatory attribute: MeasuredValue: Error: %@", err); + NSLog(@"Step 4: TH reads the MeasuredValue attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the mandatory attribute: MeasuredValue: Success"); + NSLog(@"Step 4: TH reads the MeasuredValue attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -103243,7 +103330,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheOptionalAttributeTolerance_4() + CHIP_ERROR TestStep5ThReadsTheToleranceAttributeFromTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -103252,9 +103339,9 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { [cluster readAttributeToleranceWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the optional attribute: Tolerance: Error: %@", err); + NSLog(@"Step 5: TH reads the Tolerance attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 6: Read the optional attribute: Tolerance: Success"); + NSLog(@"Step 5: TH reads the Tolerance attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -103311,20 +103398,20 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("!TSTAT.S.F00 && !TSTAT.S.F01 && !TSTAT.S.F02 && !TSTAT.S.F03 && !TSTAT.S.F04 && !TSTAT.S.F05")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given TSTAT.S.F00(HEAT ensure featuremap has the correct bit set\n"); @@ -103383,401 +103470,401 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { err = TestStep3hGivenTstatsf06ltneEnsureFeaturemapHasTheCorrectBitSet_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_10(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_11(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12(); + err = TestStep4bThReadsTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13(); + err = TestStep4cThReadsTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4dReadTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14(); + err = TestStep4dThReadsTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4eReadTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15(); + err = TestStep4eThReadsTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4fReadTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16(); + err = TestStep4fThReadsTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F05")) { NextTest(); return; } - err = TestStep4gReadTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17(); + err = TestStep4gThReadsTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F03")) { NextTest(); return; } - err = TestStep4hReadTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18(); + err = TestStep4hThReadsTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F04")) { NextTest(); return; } - err = TestStep4iReadTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19(); + err = TestStep4iThReadsTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F04 && TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4jReadTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20(); + err = TestStep4jThReadsTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4k: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4k: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0001")) { NextTest(); return; } - err = TestStep4kReadTheOptionalAttributeInAttributeList_21(); + err = TestStep4kThReadsTheOptionalAttributeInAttributeList_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4l: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4l: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0009")) { NextTest(); return; } - err = TestStep4lReadTheOptionalAttributeInAttributeList_22(); + err = TestStep4lThReadsTheOptionalAttributeInAttributeList_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4m: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4m: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0010")) { NextTest(); return; } - err = TestStep4mReadTheOptionalAttributeInAttributeList_23(); + err = TestStep4mThReadsTheOptionalAttributeInAttributeList_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4n: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4n: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A001a")) { NextTest(); return; } - err = TestStep4nReadTheOptionalAttributeInAttributeList_24(); + err = TestStep4nThReadsTheOptionalAttributeInAttributeList_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4o: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4o: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A001d")) { NextTest(); return; } - err = TestStep4oReadTheOptionalAttributeInAttributeList_25(); + err = TestStep4oThReadsTheOptionalAttributeInAttributeList_25(); break; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4p: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4p: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0023")) { NextTest(); return; } - err = TestStep4pReadTheOptionalAttributeInAttributeList_26(); + err = TestStep4pThReadsTheOptionalAttributeInAttributeList_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 4q: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 4q: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0024")) { NextTest(); return; } - err = TestStep4qReadTheOptionalAttributeInAttributeList_27(); + err = TestStep4qThReadsTheOptionalAttributeInAttributeList_27(); break; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 4r: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 4r: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0025")) { NextTest(); return; } - err = TestStep4rReadTheOptionalAttributeInAttributeList_28(); + err = TestStep4rThReadsTheOptionalAttributeInAttributeList_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 4s: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 4s: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0029")) { NextTest(); return; } - err = TestStep4sReadTheOptionalAttributeInAttributeList_29(); + err = TestStep4sThReadsTheOptionalAttributeInAttributeList_29(); break; case 30: - ChipLogProgress(chipTool, " ***** Test Step 30 : Step 4t: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 30 : Step 4t: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0030")) { NextTest(); return; } - err = TestStep4tReadTheOptionalAttributeInAttributeList_30(); + err = TestStep4tThReadsTheOptionalAttributeInAttributeList_30(); break; case 31: - ChipLogProgress(chipTool, " ***** Test Step 31 : Step 4u: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 31 : Step 4u: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0031")) { NextTest(); return; } - err = TestStep4uReadTheOptionalAttributeInAttributeList_31(); + err = TestStep4uThReadsTheOptionalAttributeInAttributeList_31(); break; case 32: - ChipLogProgress(chipTool, " ***** Test Step 32 : Step 4x: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 32 : Step 4x: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0032")) { NextTest(); return; } - err = TestStep4xReadTheOptionalAttributeInAttributeList_32(); + err = TestStep4xThReadsTheOptionalAttributeInAttributeList_32(); break; case 33: - ChipLogProgress(chipTool, " ***** Test Step 33 : Step 5y: Read the optional attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 33 : Step 4y: TH reads the optional attribute: AttributeList\n"); if (ShouldSkip("TSTAT.S.A003a")) { NextTest(); return; } - err = TestStep5yReadTheOptionalAttributeAttributeList_33(); + err = TestStep4yThReadsTheOptionalAttributeAttributeList_33(); break; case 34: - ChipLogProgress(chipTool, " ***** Test Step 34 : Step 4z: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 34 : Step 4z: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0040")) { NextTest(); return; } - err = TestStep4zReadTheOptionalAttributeInAttributeList_34(); + err = TestStep4zThReadsTheOptionalAttributeInAttributeList_34(); break; case 35: - ChipLogProgress(chipTool, " ***** Test Step 35 : Step 4A: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 35 : Step 4A: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0041")) { NextTest(); return; } - err = TestStep4aReadTheOptionalAttributeInAttributeList_35(); + err = TestStep4aThReadsTheOptionalAttributeInAttributeList_35(); break; case 36: - ChipLogProgress(chipTool, " ***** Test Step 36 : Step 4B: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 36 : Step 4B: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0042")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeInAttributeList_36(); + err = TestStep4bThReadsTheOptionalAttributeInAttributeList_36(); break; case 37: - ChipLogProgress(chipTool, " ***** Test Step 37 : Step 4C: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 37 : Step 4C: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0043")) { NextTest(); return; } - err = TestStep4cReadTheOptionalAttributeInAttributeList_37(); + err = TestStep4cThReadsTheOptionalAttributeInAttributeList_37(); break; case 38: - ChipLogProgress(chipTool, " ***** Test Step 38 : Step 5D: Read the optional attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 38 : Step 4D: TH reads the optional attribute: AttributeList\n"); if (ShouldSkip("TSTAT.S.A0044")) { NextTest(); return; } - err = TestStep5dReadTheOptionalAttributeAttributeList_38(); + err = TestStep4dThReadsTheOptionalAttributeAttributeList_38(); break; case 39: - ChipLogProgress(chipTool, " ***** Test Step 39 : Step 4E: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 39 : Step 4E: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0045")) { NextTest(); return; } - err = TestStep4eReadTheOptionalAttributeInAttributeList_39(); + err = TestStep4eThReadsTheOptionalAttributeInAttributeList_39(); break; case 40: - ChipLogProgress(chipTool, " ***** Test Step 40 : Step 4F: Read the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 40 : Step 4F: TH reads the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0046")) { NextTest(); return; } - err = TestStep4fReadTheOptionalAttributeInAttributeList_40(); + err = TestStep4fThReadsTheOptionalAttributeInAttributeList_40(); break; case 41: - ChipLogProgress(chipTool, " ***** Test Step 41 : Step 5G: Read the optional attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 41 : Step 4g: TH reads the optional attribute: AttributeList\n"); if (ShouldSkip("TSTAT.S.A0047")) { NextTest(); return; } - err = TestStep5gReadTheOptionalAttributeAttributeList_41(); + err = TestStep4gThReadsTheOptionalAttributeAttributeList_41(); break; case 42: - ChipLogProgress(chipTool, " ***** Test Step 42 : Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 42 : Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0003")) { NextTest(); return; } - err = TestStep4hReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42(); + err = TestStep4hThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42(); break; case 43: - ChipLogProgress(chipTool, " ***** Test Step 43 : Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 43 : Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0004")) { NextTest(); return; } - err = TestStep4iReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43(); + err = TestStep4iThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43(); break; case 44: - ChipLogProgress(chipTool, " ***** Test Step 44 : Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 44 : Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0008")) { NextTest(); return; } - err = TestStep4jReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44(); + err = TestStep4jThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44(); break; case 45: - ChipLogProgress(chipTool, " ***** Test Step 45 : Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 45 : Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0015")) { NextTest(); return; } - err = TestStep4kReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45(); + err = TestStep4kThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45(); break; case 46: - ChipLogProgress(chipTool, " ***** Test Step 46 : Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 46 : Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0016")) { NextTest(); return; } - err = TestStep4lReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46(); + err = TestStep4lThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46(); break; case 47: - ChipLogProgress(chipTool, " ***** Test Step 47 : Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 47 : Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0005")) { NextTest(); return; } - err = TestStep4mReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47(); + err = TestStep4mThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47(); break; case 48: - ChipLogProgress(chipTool, " ***** Test Step 48 : Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 48 : Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0007")) { NextTest(); return; } - err = TestStep4nReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48(); + err = TestStep4nThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48(); break; case 49: - ChipLogProgress(chipTool, " ***** Test Step 49 : Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 49 : Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0007")) { NextTest(); return; } - err = TestStep4oReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49(); + err = TestStep4oThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49(); break; case 50: - ChipLogProgress(chipTool, " ***** Test Step 50 : Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 50 : Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0017")) { NextTest(); return; } - err = TestStep4pReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50(); + err = TestStep4pThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50(); break; case 51: - ChipLogProgress(chipTool, " ***** Test Step 51 : Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 51 : Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0018")) { NextTest(); return; } - err = TestStep4qReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51(); + err = TestStep4qThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51(); break; case 52: - ChipLogProgress(chipTool, " ***** Test Step 52 : Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 52 : Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F05 && TSTAT.S.A001e")) { NextTest(); return; } - err = TestStep4rReadTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52(); + err = TestStep4rThReadsTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52(); break; case 53: - ChipLogProgress(chipTool, " ***** Test Step 53 : Step 5a: Read the mandatory commands in AcceptedCommandList\n"); - err = TestStep5aReadTheMandatoryCommandsInAcceptedCommandList_53(); - break; - case 54: - ChipLogProgress(chipTool, " ***** Test Step 54 : Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList\n"); - if (ShouldSkip("TSTAT.S.F03")) { + ChipLogProgress(chipTool, " ***** Test Step 53 : Step 5: TH reads EventList attribute from the DUT.\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep5bReadFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_54(); + NextTest(); + return; + case 54: + ChipLogProgress(chipTool, " ***** Test Step 54 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_54(); break; case 55: - ChipLogProgress(chipTool, " ***** Test Step 55 : Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList\n"); - if (ShouldSkip("TSTAT.S.C04.Rsp")) { + ChipLogProgress(chipTool, " ***** Test Step 55 : Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList\n"); + if (ShouldSkip("TSTAT.S.F03")) { NextTest(); return; } - err = TestStep5cReadTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_55(); + err = TestStep6bThReadsFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_55(); break; case 56: - ChipLogProgress(chipTool, " ***** Test Step 56 : Step 6a: Read the global attribute: GeneratedCommandList\n"); - if (ShouldSkip(" !TSTAT.S.C04.Rsp && !TSTAT.S.C02.Rsp ")) { + ChipLogProgress(chipTool, " ***** Test Step 56 : Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList\n"); + if (ShouldSkip("TSTAT.S.C04.Rsp")) { NextTest(); return; } - err = TestStep6aReadTheGlobalAttributeGeneratedCommandList_56(); + err = TestStep6cThReadsTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_56(); break; case 57: - ChipLogProgress(chipTool, " ***** Test Step 57 : Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList\n"); - if (ShouldSkip("TSTAT.S.F03")) { + ChipLogProgress(chipTool, " ***** Test Step 57 : Step 7a: TH reads from the DUT the GeneratedCommandList attribute.\n"); + if (ShouldSkip(" !TSTAT.S.C04.Rsp && !TSTAT.S.C02.Rsp ")) { NextTest(); return; } - err = TestStep6bReadFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_57(); + err = TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_57(); break; case 58: - ChipLogProgress(chipTool, " ***** Test Step 58 : Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList\n"); - if (ShouldSkip("TSTAT.S.C04.Rsp")) { + ChipLogProgress(chipTool, " ***** Test Step 58 : Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList\n"); + if (ShouldSkip("TSTAT.S.F03")) { NextTest(); return; } - err = TestStep6cReadOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_58(); + err = TestStep7bThReadsFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_58(); break; case 59: - ChipLogProgress(chipTool, " ***** Test Step 59 : Step 7: Read EventList attribute from the DUT.\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + ChipLogProgress(chipTool, " ***** Test Step 59 : Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList\n"); + if (ShouldSkip("TSTAT.S.C04.Rsp")) { NextTest(); return; } - NextTest(); - return; + err = TestStep7cThReadsOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_59(); + break; } if (CHIP_NO_ERROR != err) { @@ -103986,7 +104073,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -103994,7 +104081,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104003,9 +104090,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104022,7 +104109,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104031,9 +104118,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104211,7 +104298,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_10() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104220,9 +104307,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104244,7 +104331,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_11() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104253,9 +104340,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104276,7 +104363,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12() + CHIP_ERROR TestStep4bThReadsTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104285,9 +104372,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104301,7 +104388,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104310,9 +104397,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104326,7 +104413,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14() + CHIP_ERROR TestStep4dThReadsTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104335,9 +104422,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104351,7 +104438,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15() + CHIP_ERROR TestStep4eThReadsTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104360,9 +104447,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104376,7 +104463,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16() + CHIP_ERROR TestStep4fThReadsTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104385,9 +104472,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104401,7 +104488,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gReadTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17() + CHIP_ERROR TestStep4gThReadsTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104410,9 +104497,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Success"); + NSLog(@"Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104428,7 +104515,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18() + CHIP_ERROR TestStep4hThReadsTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104437,9 +104524,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Success"); + NSLog(@"Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104455,7 +104542,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4iReadTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19() + CHIP_ERROR TestStep4iThReadsTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104464,9 +104551,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Success"); + NSLog(@"Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104482,7 +104569,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20() + CHIP_ERROR TestStep4jThReadsTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104491,9 +104578,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104509,7 +104596,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4kReadTheOptionalAttributeInAttributeList_21() + CHIP_ERROR TestStep4kThReadsTheOptionalAttributeInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104518,9 +104605,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4k: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4k: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4k: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4k: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104534,7 +104621,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4lReadTheOptionalAttributeInAttributeList_22() + CHIP_ERROR TestStep4lThReadsTheOptionalAttributeInAttributeList_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104543,9 +104630,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4l: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4l: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4l: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4l: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104559,7 +104646,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4mReadTheOptionalAttributeInAttributeList_23() + CHIP_ERROR TestStep4mThReadsTheOptionalAttributeInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104568,9 +104655,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4m: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4m: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4m: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4m: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104584,7 +104671,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4nReadTheOptionalAttributeInAttributeList_24() + CHIP_ERROR TestStep4nThReadsTheOptionalAttributeInAttributeList_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104593,9 +104680,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4n: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4n: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4n: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4n: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104609,7 +104696,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4oReadTheOptionalAttributeInAttributeList_25() + CHIP_ERROR TestStep4oThReadsTheOptionalAttributeInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104618,9 +104705,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4o: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4o: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4o: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4o: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104634,7 +104721,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4pReadTheOptionalAttributeInAttributeList_26() + CHIP_ERROR TestStep4pThReadsTheOptionalAttributeInAttributeList_26() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104643,9 +104730,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4p: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4p: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4p: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4p: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104659,7 +104746,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4qReadTheOptionalAttributeInAttributeList_27() + CHIP_ERROR TestStep4qThReadsTheOptionalAttributeInAttributeList_27() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104668,9 +104755,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4q: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4q: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4q: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4q: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104684,7 +104771,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4rReadTheOptionalAttributeInAttributeList_28() + CHIP_ERROR TestStep4rThReadsTheOptionalAttributeInAttributeList_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104693,9 +104780,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4r: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4r: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4r: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4r: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104709,7 +104796,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4sReadTheOptionalAttributeInAttributeList_29() + CHIP_ERROR TestStep4sThReadsTheOptionalAttributeInAttributeList_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104718,9 +104805,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4s: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4s: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4s: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4s: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104734,7 +104821,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4tReadTheOptionalAttributeInAttributeList_30() + CHIP_ERROR TestStep4tThReadsTheOptionalAttributeInAttributeList_30() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104743,9 +104830,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4t: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4t: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4t: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4t: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104759,7 +104846,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4uReadTheOptionalAttributeInAttributeList_31() + CHIP_ERROR TestStep4uThReadsTheOptionalAttributeInAttributeList_31() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104768,9 +104855,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4u: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4u: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4u: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4u: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104784,7 +104871,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4xReadTheOptionalAttributeInAttributeList_32() + CHIP_ERROR TestStep4xThReadsTheOptionalAttributeInAttributeList_32() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104793,9 +104880,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4x: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4x: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4x: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4x: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104809,7 +104896,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5yReadTheOptionalAttributeAttributeList_33() + CHIP_ERROR TestStep4yThReadsTheOptionalAttributeAttributeList_33() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104818,9 +104905,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5y: Read the optional attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4y: TH reads the optional attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 5y: Read the optional attribute: AttributeList: Success"); + NSLog(@"Step 4y: TH reads the optional attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104834,7 +104921,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4zReadTheOptionalAttributeInAttributeList_34() + CHIP_ERROR TestStep4zThReadsTheOptionalAttributeInAttributeList_34() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104843,9 +104930,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4z: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4z: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4z: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4z: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104859,7 +104946,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheOptionalAttributeInAttributeList_35() + CHIP_ERROR TestStep4aThReadsTheOptionalAttributeInAttributeList_35() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104868,9 +104955,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4A: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4A: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4A: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4A: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104884,7 +104971,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheOptionalAttributeInAttributeList_36() + CHIP_ERROR TestStep4bThReadsTheOptionalAttributeInAttributeList_36() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104893,9 +104980,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4B: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4B: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4B: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4B: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104909,7 +104996,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalAttributeInAttributeList_37() + CHIP_ERROR TestStep4cThReadsTheOptionalAttributeInAttributeList_37() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104918,9 +105005,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4C: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4C: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4C: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4C: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104934,7 +105021,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5dReadTheOptionalAttributeAttributeList_38() + CHIP_ERROR TestStep4dThReadsTheOptionalAttributeAttributeList_38() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104943,9 +105030,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5D: Read the optional attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4D: TH reads the optional attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 5D: Read the optional attribute: AttributeList: Success"); + NSLog(@"Step 4D: TH reads the optional attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104959,7 +105046,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheOptionalAttributeInAttributeList_39() + CHIP_ERROR TestStep4eThReadsTheOptionalAttributeInAttributeList_39() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104968,9 +105055,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4E: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4E: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4E: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4E: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104984,7 +105071,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalAttributeInAttributeList_40() + CHIP_ERROR TestStep4fThReadsTheOptionalAttributeInAttributeList_40() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104993,9 +105080,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4F: Read the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4F: TH reads the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4F: Read the optional attribute in AttributeList: Success"); + NSLog(@"Step 4F: TH reads the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105009,7 +105096,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5gReadTheOptionalAttributeAttributeList_41() + CHIP_ERROR TestStep4gThReadsTheOptionalAttributeAttributeList_41() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105018,9 +105105,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5G: Read the optional attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4g: TH reads the optional attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 5G: Read the optional attribute: AttributeList: Success"); + NSLog(@"Step 4g: TH reads the optional attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105034,7 +105121,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42() + CHIP_ERROR TestStep4hThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105043,9 +105130,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105059,7 +105146,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4iReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43() + CHIP_ERROR TestStep4iThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105068,9 +105155,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105084,7 +105171,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44() + CHIP_ERROR TestStep4jThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105093,9 +105180,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105109,7 +105196,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4kReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45() + CHIP_ERROR TestStep4kThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105118,9 +105205,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105134,7 +105221,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4lReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46() + CHIP_ERROR TestStep4lThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105143,9 +105230,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105159,7 +105246,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4mReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47() + CHIP_ERROR TestStep4mThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105168,9 +105255,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105184,7 +105271,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4nReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48() + CHIP_ERROR TestStep4nThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105193,9 +105280,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105209,7 +105296,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4oReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49() + CHIP_ERROR TestStep4oThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105218,9 +105305,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105234,7 +105321,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4pReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50() + CHIP_ERROR TestStep4pThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105243,9 +105330,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105259,7 +105346,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4qReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51() + CHIP_ERROR TestStep4qThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105268,9 +105355,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105284,7 +105371,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4rReadTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52() + CHIP_ERROR TestStep4rThReadsTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105293,9 +105380,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105309,7 +105396,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aReadTheMandatoryCommandsInAcceptedCommandList_53() + CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_54() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105318,9 +105405,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5a: Read the mandatory commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 5a: Read the mandatory commands in AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105334,7 +105421,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5bReadFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_54() + CHIP_ERROR TestStep6bThReadsFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_55() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105343,9 +105430,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Success"); + NSLog(@"Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105361,7 +105448,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5cReadTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_55() + CHIP_ERROR TestStep6cThReadsTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_56() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105370,9 +105457,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList: Success"); + NSLog(@"Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105386,7 +105473,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadTheGlobalAttributeGeneratedCommandList_56() + CHIP_ERROR TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_57() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105395,9 +105482,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6a: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105414,7 +105501,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_57() + CHIP_ERROR TestStep7bThReadsFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_58() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105423,9 +105510,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Success"); + NSLog(@"Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105439,7 +105526,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cReadOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_58() + CHIP_ERROR TestStep7cThReadsOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_59() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105448,9 +105535,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Success"); + NSLog(@"Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105506,8 +105593,8 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); @@ -105612,7 +105699,7 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -105862,32 +105949,32 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the mandatory attribute: TemperatureDisplayMode\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the TemperatureDisplayMode attribute from the DUT\n"); if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } - err = TestStep2ReadTheMandatoryAttributeTemperatureDisplayMode_1(); + err = TestStep2ThReadsTheTemperatureDisplayModeAttributeFromTheDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the mandatory attribute: KeypadLockout\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads the KeypadLockout attribute from the DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3ReadTheMandatoryAttributeKeypadLockout_2(); + err = TestStep3ThReadsTheKeypadLockoutAttributeFromTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Read the optional attribute: ScheduleProgrammingVisibility\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads the ScheduleProgrammingVisibility attribute from the DUT\n"); if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } - err = TestStep4ReadTheOptionalAttributeScheduleProgrammingVisibility_3(); + err = TestStep4ThReadsTheScheduleProgrammingVisibilityAttributeFromTheDut_3(); break; } @@ -105929,7 +106016,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -105937,7 +106024,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheMandatoryAttributeTemperatureDisplayMode_1() + CHIP_ERROR TestStep2ThReadsTheTemperatureDisplayModeAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105946,9 +106033,9 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { [cluster readAttributeTemperatureDisplayModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the mandatory attribute: TemperatureDisplayMode: Error: %@", err); + NSLog(@"Step 2: TH reads the TemperatureDisplayMode attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 2: Read the mandatory attribute: TemperatureDisplayMode: Success"); + NSLog(@"Step 2: TH reads the TemperatureDisplayMode attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105963,7 +106050,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheMandatoryAttributeKeypadLockout_2() + CHIP_ERROR TestStep3ThReadsTheKeypadLockoutAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105972,9 +106059,9 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { [cluster readAttributeKeypadLockoutWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the mandatory attribute: KeypadLockout: Error: %@", err); + NSLog(@"Step 3: TH reads the KeypadLockout attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 3: Read the mandatory attribute: KeypadLockout: Success"); + NSLog(@"Step 3: TH reads the KeypadLockout attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105989,7 +106076,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheOptionalAttributeScheduleProgrammingVisibility_3() + CHIP_ERROR TestStep4ThReadsTheScheduleProgrammingVisibilityAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105998,9 +106085,9 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { [cluster readAttributeScheduleProgrammingVisibilityWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the optional attribute: ScheduleProgrammingVisibility: Error: %@", err); + NSLog(@"Step 4: TH reads the ScheduleProgrammingVisibility attribute from the DUT: Error: %@", err); } else { - NSLog(@"Step 4: Read the optional attribute: ScheduleProgrammingVisibility: Success"); + NSLog(@"Step 4: TH reads the ScheduleProgrammingVisibility attribute from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106057,16 +106144,16 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: Writes a value of 0 to TemperatureDisplayMode attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH writes a value of 0 to TemperatureDisplayMode attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } - err = TestStep2aWritesAValueOf0ToTemperatureDisplayModeAttributeOfDut_1(); + err = TestStep2aThWritesAValueOf0ToTemperatureDisplayModeAttributeOfDut_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Verify device temperature displayed in °C\n"); @@ -106085,12 +106172,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep2bThReadsTheTemperatureDisplayModeAttributeOfDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2c: Writes a value of 1 to TemperatureDisplayMode attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2c: TH writes a value of 1 to TemperatureDisplayMode attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } - err = TestStep2cWritesAValueOf1ToTemperatureDisplayModeAttributeOfDut_4(); + err = TestStep2cThWritesAValueOf1ToTemperatureDisplayModeAttributeOfDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Verify device temperature displayed in °F\n"); @@ -106109,12 +106196,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep2dThReadsTheTemperatureDisplayModeAttributeOfDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2e: Writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2e: TH writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0000")) { NextTest(); return; } - err = TestStep2eWritesAValueOfGreaterThan1ToTemperatureDisplayModeAttributeOfDut_7(); + err = TestStep2eThWritesAValueOfGreaterThan1ToTemperatureDisplayModeAttributeOfDut_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2f: TH reads the TemperatureDisplayMode attribute of DUT\n"); @@ -106125,12 +106212,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep2fThReadsTheTemperatureDisplayModeAttributeOfDut_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3a: Writes a value of 0 to KeypadLockout attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3a: TH writes a value of 0 to KeypadLockout attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3aWritesAValueOf0ToKeypadLockoutAttributeOfDut_9(); + err = TestStep3aThWritesAValueOf0ToKeypadLockoutAttributeOfDut_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : Verify all device functionality available to the user\n"); @@ -106149,12 +106236,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep3bThReadsTheKeypadLockoutAttributeOfDut_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3c: Writes a value of 1 to KeypadLockout attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3c: TH writes a value of 1 to KeypadLockout attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3cWritesAValueOf1ToKeypadLockoutAttributeOfDut_12(); + err = TestStep3cThWritesAValueOf1ToKeypadLockoutAttributeOfDut_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Verify device operates at Level 1 reduced functionality\n"); @@ -106173,12 +106260,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep3dThReadsTheKeypadLockoutAttributeOfDut_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 3e: Writes a value of 2 to KeypadLockout attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 3e: TH writes a value of 2 to KeypadLockout attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3eWritesAValueOf2ToKeypadLockoutAttributeOfDut_15(); + err = TestStep3eThWritesAValueOf2ToKeypadLockoutAttributeOfDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Verify device operates at Level 2 reduced functionality\n"); @@ -106197,12 +106284,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep3fThReadsTheKeypadLockoutAttributeOfDut_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 3g: Writes a value of 3 to KeypadLockout attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 3g: TH writes a value of 3 to KeypadLockout attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3gWritesAValueOf3ToKeypadLockoutAttributeOfDut_18(); + err = TestStep3gThWritesAValueOf3ToKeypadLockoutAttributeOfDut_18(); break; case 19: ChipLogProgress(chipTool, " ***** Test Step 19 : Verify device operates at Level 3 reduced functionality\n"); @@ -106221,12 +106308,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep3hThReadsTheKeypadLockoutAttributeOfDut_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 3i: Writes a value of 4 to KeypadLockout attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 3i: TH writes a value of 4 to KeypadLockout attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3iWritesAValueOf4ToKeypadLockoutAttributeOfDut_21(); + err = TestStep3iThWritesAValueOf4ToKeypadLockoutAttributeOfDut_21(); break; case 22: ChipLogProgress(chipTool, " ***** Test Step 22 : Verify device operates at Level 4 reduced functionality\n"); @@ -106245,12 +106332,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep3jThReadsTheKeypadLockoutAttributeOfDut_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 3k: Writes a value of 5 to KeypadLockout attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 3k: TH writes a value of 5 to KeypadLockout attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0001")) { NextTest(); return; } - err = TestStep3kWritesAValueOf5ToKeypadLockoutAttributeOfDut_24(); + err = TestStep3kThWritesAValueOf5ToKeypadLockoutAttributeOfDut_24(); break; case 25: ChipLogProgress(chipTool, " ***** Test Step 25 : Verify device operates at least functionality level\n"); @@ -106285,12 +106372,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep3nThReadsTheKeypadLockoutAttributeOfDut_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 4a: Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 4a: TH writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } - err = TestStep4aWritesAValueOf0ToScheduleProgrammingVisibilityAttributeOfDut_29(); + err = TestStep4aThWritesAValueOf0ToScheduleProgrammingVisibilityAttributeOfDut_29(); break; case 30: ChipLogProgress(chipTool, " ***** Test Step 30 : Verify local schedule programming functionality is enabled at the thermostat\n"); @@ -106309,12 +106396,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep4bThReadsTheScheduleProgrammingVisibilityAttributeOfDut_31(); break; case 32: - ChipLogProgress(chipTool, " ***** Test Step 32 : Step 4c: Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 32 : Step 4c: TH writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } - err = TestStep4cWritesAValueOf1ToScheduleProgrammingVisibilityAttributeOfDut_32(); + err = TestStep4cThWritesAValueOf1ToScheduleProgrammingVisibilityAttributeOfDut_32(); break; case 33: ChipLogProgress(chipTool, " ***** Test Step 33 : Verify local schedule programming functionality is disabled at the thermostat\n"); @@ -106333,12 +106420,12 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { err = TestStep4dThReadsTheScheduleProgrammingVisibilityAttributeOfDut_34(); break; case 35: - ChipLogProgress(chipTool, " ***** Test Step 35 : Step 4e: Writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 35 : Step 4e: TH writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT\n"); if (ShouldSkip("TSUIC.S.A0002")) { NextTest(); return; } - err = TestStep4eWritesAValueOfGreaterThan1ToScheduleProgrammingVisibilityAttributeOfDut_35(); + err = TestStep4eThWritesAValueOfGreaterThan1ToScheduleProgrammingVisibilityAttributeOfDut_35(); break; case 36: ChipLogProgress(chipTool, " ***** Test Step 36 : Step 4f: TH reads the ScheduleProgrammingVisibility attribute of DUT\n"); @@ -106487,7 +106574,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -106495,7 +106582,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2aWritesAValueOf0ToTemperatureDisplayModeAttributeOfDut_1() + CHIP_ERROR TestStep2aThWritesAValueOf0ToTemperatureDisplayModeAttributeOfDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106507,9 +106594,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeTemperatureDisplayModeWithValue:temperatureDisplayModeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Writes a value of 0 to TemperatureDisplayMode attribute of DUT: Error: %@", err); + NSLog(@"Step 2a: TH writes a value of 0 to TemperatureDisplayMode attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Writes a value of 0 to TemperatureDisplayMode attribute of DUT: Success"); + NSLog(@"Step 2a: TH writes a value of 0 to TemperatureDisplayMode attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106557,7 +106644,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2cWritesAValueOf1ToTemperatureDisplayModeAttributeOfDut_4() + CHIP_ERROR TestStep2cThWritesAValueOf1ToTemperatureDisplayModeAttributeOfDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106569,9 +106656,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:1U]; [cluster writeAttributeTemperatureDisplayModeWithValue:temperatureDisplayModeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: Writes a value of 1 to TemperatureDisplayMode attribute of DUT: Error: %@", err); + NSLog(@"Step 2c: TH writes a value of 1 to TemperatureDisplayMode attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 2c: Writes a value of 1 to TemperatureDisplayMode attribute of DUT: Success"); + NSLog(@"Step 2c: TH writes a value of 1 to TemperatureDisplayMode attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106619,7 +106706,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2eWritesAValueOfGreaterThan1ToTemperatureDisplayModeAttributeOfDut_7() + CHIP_ERROR TestStep2eThWritesAValueOfGreaterThan1ToTemperatureDisplayModeAttributeOfDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106631,9 +106718,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:2U]; [cluster writeAttributeTemperatureDisplayModeWithValue:temperatureDisplayModeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2e: Writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT: Error: %@", err); + NSLog(@"Step 2e: TH writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 2e: Writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT: Success"); + NSLog(@"Step 2e: TH writes a value of greater than 1 to TemperatureDisplayMode attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -106670,7 +106757,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aWritesAValueOf0ToKeypadLockoutAttributeOfDut_9() + CHIP_ERROR TestStep3aThWritesAValueOf0ToKeypadLockoutAttributeOfDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106682,9 +106769,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeKeypadLockoutWithValue:keypadLockoutArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Writes a value of 0 to KeypadLockout attribute of DUT: Error: %@", err); + NSLog(@"Step 3a: TH writes a value of 0 to KeypadLockout attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 3a: Writes a value of 0 to KeypadLockout attribute of DUT: Success"); + NSLog(@"Step 3a: TH writes a value of 0 to KeypadLockout attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106732,7 +106819,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cWritesAValueOf1ToKeypadLockoutAttributeOfDut_12() + CHIP_ERROR TestStep3cThWritesAValueOf1ToKeypadLockoutAttributeOfDut_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106744,9 +106831,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:1U]; [cluster writeAttributeKeypadLockoutWithValue:keypadLockoutArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Writes a value of 1 to KeypadLockout attribute of DUT: Error: %@", err); + NSLog(@"Step 3c: TH writes a value of 1 to KeypadLockout attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 3c: Writes a value of 1 to KeypadLockout attribute of DUT: Success"); + NSLog(@"Step 3c: TH writes a value of 1 to KeypadLockout attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106794,7 +106881,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3eWritesAValueOf2ToKeypadLockoutAttributeOfDut_15() + CHIP_ERROR TestStep3eThWritesAValueOf2ToKeypadLockoutAttributeOfDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106806,9 +106893,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:2U]; [cluster writeAttributeKeypadLockoutWithValue:keypadLockoutArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3e: Writes a value of 2 to KeypadLockout attribute of DUT: Error: %@", err); + NSLog(@"Step 3e: TH writes a value of 2 to KeypadLockout attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 3e: Writes a value of 2 to KeypadLockout attribute of DUT: Success"); + NSLog(@"Step 3e: TH writes a value of 2 to KeypadLockout attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106856,7 +106943,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3gWritesAValueOf3ToKeypadLockoutAttributeOfDut_18() + CHIP_ERROR TestStep3gThWritesAValueOf3ToKeypadLockoutAttributeOfDut_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106868,9 +106955,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:3U]; [cluster writeAttributeKeypadLockoutWithValue:keypadLockoutArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3g: Writes a value of 3 to KeypadLockout attribute of DUT: Error: %@", err); + NSLog(@"Step 3g: TH writes a value of 3 to KeypadLockout attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 3g: Writes a value of 3 to KeypadLockout attribute of DUT: Success"); + NSLog(@"Step 3g: TH writes a value of 3 to KeypadLockout attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106918,7 +107005,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3iWritesAValueOf4ToKeypadLockoutAttributeOfDut_21() + CHIP_ERROR TestStep3iThWritesAValueOf4ToKeypadLockoutAttributeOfDut_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106930,9 +107017,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:4U]; [cluster writeAttributeKeypadLockoutWithValue:keypadLockoutArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3i: Writes a value of 4 to KeypadLockout attribute of DUT: Error: %@", err); + NSLog(@"Step 3i: TH writes a value of 4 to KeypadLockout attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 3i: Writes a value of 4 to KeypadLockout attribute of DUT: Success"); + NSLog(@"Step 3i: TH writes a value of 4 to KeypadLockout attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -106980,7 +107067,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3kWritesAValueOf5ToKeypadLockoutAttributeOfDut_24() + CHIP_ERROR TestStep3kThWritesAValueOf5ToKeypadLockoutAttributeOfDut_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -106992,9 +107079,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:5U]; [cluster writeAttributeKeypadLockoutWithValue:keypadLockoutArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3k: Writes a value of 5 to KeypadLockout attribute of DUT: Error: %@", err); + NSLog(@"Step 3k: TH writes a value of 5 to KeypadLockout attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 3k: Writes a value of 5 to KeypadLockout attribute of DUT: Success"); + NSLog(@"Step 3k: TH writes a value of 5 to KeypadLockout attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -107093,7 +107180,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aWritesAValueOf0ToScheduleProgrammingVisibilityAttributeOfDut_29() + CHIP_ERROR TestStep4aThWritesAValueOf0ToScheduleProgrammingVisibilityAttributeOfDut_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -107105,9 +107192,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeScheduleProgrammingVisibilityWithValue:scheduleProgrammingVisibilityArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT: Error: %@", err); + NSLog(@"Step 4a: TH writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 4a: Writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT: Success"); + NSLog(@"Step 4a: TH writes a value of 0 to ScheduleProgrammingVisibility attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -107155,7 +107242,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cWritesAValueOf1ToScheduleProgrammingVisibilityAttributeOfDut_32() + CHIP_ERROR TestStep4cThWritesAValueOf1ToScheduleProgrammingVisibilityAttributeOfDut_32() { MTRBaseDevice * device = GetDevice("alpha"); @@ -107167,9 +107254,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:1U]; [cluster writeAttributeScheduleProgrammingVisibilityWithValue:scheduleProgrammingVisibilityArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT: Error: %@", err); + NSLog(@"Step 4c: TH writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT: Success"); + NSLog(@"Step 4c: TH writes a value of 1 to ScheduleProgrammingVisibility attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -107217,7 +107304,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eWritesAValueOfGreaterThan1ToScheduleProgrammingVisibilityAttributeOfDut_35() + CHIP_ERROR TestStep4eThWritesAValueOfGreaterThan1ToScheduleProgrammingVisibilityAttributeOfDut_35() { MTRBaseDevice * device = GetDevice("alpha"); @@ -107229,9 +107316,9 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:2U]; [cluster writeAttributeScheduleProgrammingVisibilityWithValue:scheduleProgrammingVisibilityArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT: Error: %@", err); + NSLog(@"Step 4e: TH writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT: Error: %@", err); } else { - NSLog(@"Step 4e: Writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT: Success"); + NSLog(@"Step 4e: TH writes a value of greater than 1 to ScheduleProgrammingVisibility attribute of DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -107398,28 +107485,28 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { err = TestStep4dThReadsFeatureDependentAttributeDgthreadsf03maccntInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4e: Read the optional attribute (ActiveTimestamp) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4e: TH reads the optional attribute (ActiveTimestamp) in AttributeList\n"); if (ShouldSkip("DGTHREAD.S.A0038")) { NextTest(); return; } - err = TestStep4eReadTheOptionalAttributeActiveTimestampInAttributeList_12(); + err = TestStep4eThReadsTheOptionalAttributeActiveTimestampInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4f: Read the optional attribute (PendingTimestamp) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4f: TH reads the optional attribute (PendingTimestamp) in AttributeList\n"); if (ShouldSkip("DGTHREAD.S.A0039")) { NextTest(); return; } - err = TestStep4fReadTheOptionalAttributePendingTimestampInAttributeList_13(); + err = TestStep4fThReadsTheOptionalAttributePendingTimestampInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4g: Read the optional attribute (Delay) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4g: TH reads the optional attribute (Delay) in AttributeList\n"); if (ShouldSkip("DGTHREAD.S.A003a")) { NextTest(); return; } - err = TestStep4gReadTheOptionalAttributeDelayInAttributeList_14(); + err = TestStep4gThReadsTheOptionalAttributeDelayInAttributeList_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5a: TH reads EventList from DUT\n"); @@ -107920,7 +108007,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheOptionalAttributeActiveTimestampInAttributeList_12() + CHIP_ERROR TestStep4eThReadsTheOptionalAttributeActiveTimestampInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -107929,9 +108016,9 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the optional attribute (ActiveTimestamp) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the optional attribute (ActiveTimestamp) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the optional attribute (ActiveTimestamp) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the optional attribute (ActiveTimestamp) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -107945,7 +108032,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheOptionalAttributePendingTimestampInAttributeList_13() + CHIP_ERROR TestStep4fThReadsTheOptionalAttributePendingTimestampInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -107954,9 +108041,9 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the optional attribute (PendingTimestamp) in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the optional attribute (PendingTimestamp) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the optional attribute (PendingTimestamp) in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the optional attribute (PendingTimestamp) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -107970,7 +108057,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gReadTheOptionalAttributeDelayInAttributeList_14() + CHIP_ERROR TestStep4gThReadsTheOptionalAttributeDelayInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -107979,9 +108066,9 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: Read the optional attribute (Delay) in AttributeList: Error: %@", err); + NSLog(@"Step 4g: TH reads the optional attribute (Delay) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: Read the optional attribute (Delay) in AttributeList: Success"); + NSLog(@"Step 4g: TH reads the optional attribute (Delay) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108118,175 +108205,175 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : TS2: read the global attribute: ClusterRevision\n"); - err = TestTs2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : TS3: Given TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs3GivenTimesyncsf00tzEnsureFeaturemapHasTheCorrectBitSet_2(); + err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : TS3: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear\n"); if (ShouldSkip("!TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs3Giventimesyncsf00tzEnsureFeaturemapHasTheCorrectBitClear_3(); + err = TestStep3bGiventimesyncsf00tzEnsureFeaturemapHasTheCorrectBitClear_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : TS3: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set\n"); if (ShouldSkip("TIMESYNC.S.F01")) { NextTest(); return; } - err = TestTs3GivenTimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitSet_4(); + err = TestStep3cGivenTimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : TS3: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear\n"); if (ShouldSkip("!TIMESYNC.S.F01")) { NextTest(); return; } - err = TestTs3Giventimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitClear_5(); + err = TestStep3dGiventimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitClear_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : TS3: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3e: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set\n"); if (ShouldSkip("TIMESYNC.S.F02")) { NextTest(); return; } - err = TestTs3GivenTimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitSet_6(); + err = TestStep3eGivenTimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitSet_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : TS3: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3f: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear\n"); if (ShouldSkip("!TIMESYNC.S.F02")) { NextTest(); return; } - err = TestTs3Giventimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitClear_7(); + err = TestStep3fGiventimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitClear_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : TS3: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3g: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set\n"); if (ShouldSkip("TIMESYNC.S.F03")) { NextTest(); return; } - err = TestTs3GivenTimesyncsf03tscEnsureFeaturemapHasTheCorrectBitSet_8(); + err = TestStep3gGivenTimesyncsf03tscEnsureFeaturemapHasTheCorrectBitSet_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : TS3: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3h: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear\n"); if (ShouldSkip("!TIMESYNC.S.F03")) { NextTest(); return; } - err = TestTs3Giventimesyncsf03tscEnsureFeaturemapHasTheCorrectBitClear_9(); + err = TestStep3hGiventimesyncsf03tscEnsureFeaturemapHasTheCorrectBitClear_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : TS4: Check for mandatory attributes in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestTs4CheckForMandatoryAttributesInAttributeList_10(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : TS4: Check for mandatory attributes in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4b: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestTs4CheckForMandatoryAttributesInAttributeList_11(); + err = TestStep4bThReadsFromTheDutTheAttributeListAttribute_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : TS4: Check for optional attribute TimeSource in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4c: Check for optional attribute TimeSource in AttributeList\n"); if (ShouldSkip("TIMESYNC.S.A0002")) { NextTest(); return; } - err = TestTs4CheckForOptionalAttributeTimeSourceInAttributeList_12(); + err = TestStep4cCheckForOptionalAttributeTimeSourceInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : TS4: Check for optional attribute TimeSource not in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4d: Check for optional attribute TimeSource not in AttributeList\n"); if (ShouldSkip("!TIMESYNC.S.A0002")) { NextTest(); return; } - err = TestTs4CheckForOptionalAttributeTimeSourceNotInAttributeList_13(); + err = TestStep4dCheckForOptionalAttributeTimeSourceNotInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : TS4: Check for TZ feature-based attributes in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4e: Check for TZ feature-based attributes in AttributeList\n"); if (ShouldSkip("TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs4CheckForTzFeatureBasedAttributesInAttributeList_14(); + err = TestStep4eCheckForTzFeatureBasedAttributesInAttributeList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : TS4: Check for TZ feature-based attributes not in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4f: Check for TZ feature-based attributes not in AttributeList\n"); if (ShouldSkip("!TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs4CheckForTzFeatureBasedAttributesNotInAttributeList_15(); + err = TestStep4fCheckForTzFeatureBasedAttributesNotInAttributeList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : TS4: Check for NTPC feature-based attributes in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4g: Check for NTPC feature-based attributes in AttributeList\n"); if (ShouldSkip("TIMESYNC.S.F01")) { NextTest(); return; } - err = TestTs4CheckForNtpcFeatureBasedAttributesInAttributeList_16(); + err = TestStep4gCheckForNtpcFeatureBasedAttributesInAttributeList_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : TS4: Check for NTPC feature-based attributes not in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4h: Check for NTPC feature-based attributes not in AttributeList\n"); if (ShouldSkip("!TIMESYNC.S.F01")) { NextTest(); return; } - err = TestTs4CheckForNtpcFeatureBasedAttributesNotInAttributeList_17(); + err = TestStep4hCheckForNtpcFeatureBasedAttributesNotInAttributeList_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : TS4: Check for NTPS feature-based attributes in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4i: Check for NTPS feature-based attributes in AttributeList\n"); if (ShouldSkip("TIMESYNC.S.F02")) { NextTest(); return; } - err = TestTs4CheckForNtpsFeatureBasedAttributesInAttributeList_18(); + err = TestStep4iCheckForNtpsFeatureBasedAttributesInAttributeList_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : TS4: Check for NTPS feature-based attributes not in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4j: Check for NTPS feature-based attributes not in AttributeList\n"); if (ShouldSkip("!TIMESYNC.S.F02")) { NextTest(); return; } - err = TestTs4CheckForNtpsFeatureBasedAttributesNotInAttributeList_19(); + err = TestStep4jCheckForNtpsFeatureBasedAttributesNotInAttributeList_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : TS4: Check for TSC feature-based attributes in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4k: Check for TSC feature-based attributes in AttributeList\n"); if (ShouldSkip("TIMESYNC.S.F03")) { NextTest(); return; } - err = TestTs4CheckForTscFeatureBasedAttributesInAttributeList_20(); + err = TestStep4kCheckForTscFeatureBasedAttributesInAttributeList_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : TS4: Check for TSC feature-based attributes not in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4l: Check for TSC feature-based attributes not in AttributeList\n"); if (ShouldSkip("!TIMESYNC.S.F03")) { NextTest(); return; } - err = TestTs4CheckForTscFeatureBasedAttributesNotInAttributeList_21(); + err = TestStep4lCheckForTscFeatureBasedAttributesNotInAttributeList_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : TS5: Check for mandatory events in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 5a: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -108294,7 +108381,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { NextTest(); return; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : TS5: Check for TZ feature-based events in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 5b: Check for TZ feature-based events in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && TIMESYNC.S.F00")) { NextTest(); return; @@ -108302,7 +108389,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { NextTest(); return; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : TS5: Check for TZ feature-based events not in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 5c: Check for TZ feature-based events not in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && !TIMESYNC.S.F00")) { NextTest(); return; @@ -108310,7 +108397,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { NextTest(); return; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : TS5: Check for TSC feature-based events in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 5d: Check for TSC feature-based events in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && TIMESYNC.S.F03")) { NextTest(); return; @@ -108318,7 +108405,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { NextTest(); return; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : TS5: Check for TSC feature-based events not in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5e: Check for TSC feature-based events not in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && !TIMESYNC.S.F03")) { NextTest(); return; @@ -108326,72 +108413,72 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { NextTest(); return; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : TS6: Check for mandatory commands in AcceptedCommandList\n"); - err = TestTs6CheckForMandatoryCommandsInAcceptedCommandList_27(); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_27(); break; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : TS6: Check for TZ feature-based commands in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 6b: Check for TZ feature-based commands in AcceptedCommandList\n"); if (ShouldSkip("TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs6CheckForTzFeatureBasedCommandsInAcceptedCommandList_28(); + err = TestStep6bCheckForTzFeatureBasedCommandsInAcceptedCommandList_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : TS6: Check for TZ feature-based commands in not AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 6c: Check for TZ feature-based commands in not AcceptedCommandList\n"); if (ShouldSkip("!TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs6CheckForTzFeatureBasedCommandsInNotAcceptedCommandList_29(); + err = TestStep6cCheckForTzFeatureBasedCommandsInNotAcceptedCommandList_29(); break; case 30: - ChipLogProgress(chipTool, " ***** Test Step 30 : TS6: Check for NTPC feature-based commands in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 30 : Step 6d: Check for NTPC feature-based commands in AcceptedCommandList\n"); if (ShouldSkip("TIMESYNC.S.F01")) { NextTest(); return; } - err = TestTs6CheckForNtpcFeatureBasedCommandsInAcceptedCommandList_30(); + err = TestStep6dCheckForNtpcFeatureBasedCommandsInAcceptedCommandList_30(); break; case 31: - ChipLogProgress(chipTool, " ***** Test Step 31 : TS6: Check for NTPC feature-based commands in not AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 31 : Step 6e: Check for NTPC feature-based commands in not AcceptedCommandList\n"); if (ShouldSkip("!TIMESYNC.S.F01")) { NextTest(); return; } - err = TestTs6CheckForNtpcFeatureBasedCommandsInNotAcceptedCommandList_31(); + err = TestStep6eCheckForNtpcFeatureBasedCommandsInNotAcceptedCommandList_31(); break; case 32: - ChipLogProgress(chipTool, " ***** Test Step 32 : TS6: Check for TSC feature-based commands in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 32 : Step 6f: Check for TSC feature-based commands in AcceptedCommandList\n"); if (ShouldSkip("TIMESYNC.S.F03")) { NextTest(); return; } - err = TestTs6CheckForTscFeatureBasedCommandsInAcceptedCommandList_32(); + err = TestStep6fCheckForTscFeatureBasedCommandsInAcceptedCommandList_32(); break; case 33: - ChipLogProgress(chipTool, " ***** Test Step 33 : TS6: Check for TSC feature-based commands in not AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 33 : Step 6g: Check for TSC feature-based commands in not AcceptedCommandList\n"); if (ShouldSkip("!TIMESYNC.S.F03")) { NextTest(); return; } - err = TestTs6CheckForTscFeatureBasedCommandsInNotAcceptedCommandList_33(); + err = TestStep6gCheckForTscFeatureBasedCommandsInNotAcceptedCommandList_33(); break; case 34: - ChipLogProgress(chipTool, " ***** Test Step 34 : TS7: Check for TZ feature-based commands in GeneratedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 34 : Step 7a: TH reads from the DUT the GeneratedCommandList attribute\n"); if (ShouldSkip("TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs7CheckForTzFeatureBasedCommandsInGeneratedCommandList_34(); + err = TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_34(); break; case 35: - ChipLogProgress(chipTool, " ***** Test Step 35 : TS7: Check for TZ feature-based commands in not GeneratedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 35 : Step 7b: Check for TZ feature-based commands in not GeneratedCommandList\n"); if (ShouldSkip("!TIMESYNC.S.F00")) { NextTest(); return; } - err = TestTs7CheckForTzFeatureBasedCommandsInNotGeneratedCommandList_35(); + err = TestStep7bCheckForTzFeatureBasedCommandsInNotGeneratedCommandList_35(); break; } @@ -108529,7 +108616,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -108537,7 +108624,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestTs2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108546,9 +108633,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS2: read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"TS2: read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108564,7 +108651,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3GivenTimesyncsf00tzEnsureFeaturemapHasTheCorrectBitSet_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108573,9 +108660,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"TS3: Given TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108587,7 +108674,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3Giventimesyncsf00tzEnsureFeaturemapHasTheCorrectBitClear_3() + CHIP_ERROR TestStep3bGiventimesyncsf00tzEnsureFeaturemapHasTheCorrectBitClear_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108596,9 +108683,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear: Error: %@", err); + NSLog(@"Step 3b: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear: Error: %@", err); } else { - NSLog(@"TS3: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear: Success"); + NSLog(@"Step 3b: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108610,7 +108697,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3GivenTimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitSet_4() + CHIP_ERROR TestStep3cGivenTimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitSet_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108619,9 +108706,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3c: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"TS3: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3c: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108633,7 +108720,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3Giventimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitClear_5() + CHIP_ERROR TestStep3dGiventimesyncsf01ntpcEnsureFeaturemapHasTheCorrectBitClear_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108642,9 +108729,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear: Error: %@", err); + NSLog(@"Step 3d: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear: Error: %@", err); } else { - NSLog(@"TS3: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear: Success"); + NSLog(@"Step 3d: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108656,7 +108743,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3GivenTimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitSet_6() + CHIP_ERROR TestStep3eGivenTimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitSet_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108665,9 +108752,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3e: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"TS3: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3e: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108679,7 +108766,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3Giventimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitClear_7() + CHIP_ERROR TestStep3fGiventimesyncsf02ntpsEnsureFeaturemapHasTheCorrectBitClear_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108688,9 +108775,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear: Error: %@", err); + NSLog(@"Step 3f: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear: Error: %@", err); } else { - NSLog(@"TS3: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear: Success"); + NSLog(@"Step 3f: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108702,7 +108789,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3GivenTimesyncsf03tscEnsureFeaturemapHasTheCorrectBitSet_8() + CHIP_ERROR TestStep3gGivenTimesyncsf03tscEnsureFeaturemapHasTheCorrectBitSet_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108711,9 +108798,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 3g: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"TS3: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 3g: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108725,7 +108812,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs3Giventimesyncsf03tscEnsureFeaturemapHasTheCorrectBitClear_9() + CHIP_ERROR TestStep3hGiventimesyncsf03tscEnsureFeaturemapHasTheCorrectBitClear_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108734,9 +108821,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS3: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear: Error: %@", err); + NSLog(@"Step 3h: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear: Error: %@", err); } else { - NSLog(@"TS3: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear: Success"); + NSLog(@"Step 3h: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108748,7 +108835,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForMandatoryAttributesInAttributeList_10() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108757,9 +108844,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for mandatory attributes in AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"TS4: Check for mandatory attributes in AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108779,7 +108866,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForMandatoryAttributesInAttributeList_11() + CHIP_ERROR TestStep4bThReadsFromTheDutTheAttributeListAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108788,9 +108875,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for mandatory attributes in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"TS4: Check for mandatory attributes in AttributeList: Success"); + NSLog(@"Step 4b: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108809,7 +108896,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForOptionalAttributeTimeSourceInAttributeList_12() + CHIP_ERROR TestStep4cCheckForOptionalAttributeTimeSourceInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108818,9 +108905,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for optional attribute TimeSource in AttributeList: Error: %@", err); + NSLog(@"Step 4c: Check for optional attribute TimeSource in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for optional attribute TimeSource in AttributeList: Success"); + NSLog(@"Step 4c: Check for optional attribute TimeSource in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108833,7 +108920,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForOptionalAttributeTimeSourceNotInAttributeList_13() + CHIP_ERROR TestStep4dCheckForOptionalAttributeTimeSourceNotInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108842,9 +108929,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for optional attribute TimeSource not in AttributeList: Error: %@", err); + NSLog(@"Step 4d: Check for optional attribute TimeSource not in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for optional attribute TimeSource not in AttributeList: Success"); + NSLog(@"Step 4d: Check for optional attribute TimeSource not in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108857,7 +108944,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForTzFeatureBasedAttributesInAttributeList_14() + CHIP_ERROR TestStep4eCheckForTzFeatureBasedAttributesInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108866,9 +108953,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for TZ feature-based attributes in AttributeList: Error: %@", err); + NSLog(@"Step 4e: Check for TZ feature-based attributes in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for TZ feature-based attributes in AttributeList: Success"); + NSLog(@"Step 4e: Check for TZ feature-based attributes in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108886,7 +108973,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForTzFeatureBasedAttributesNotInAttributeList_15() + CHIP_ERROR TestStep4fCheckForTzFeatureBasedAttributesNotInAttributeList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108895,9 +108982,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for TZ feature-based attributes not in AttributeList: Error: %@", err); + NSLog(@"Step 4f: Check for TZ feature-based attributes not in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for TZ feature-based attributes not in AttributeList: Success"); + NSLog(@"Step 4f: Check for TZ feature-based attributes not in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108915,7 +109002,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForNtpcFeatureBasedAttributesInAttributeList_16() + CHIP_ERROR TestStep4gCheckForNtpcFeatureBasedAttributesInAttributeList_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108924,9 +109011,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for NTPC feature-based attributes in AttributeList: Error: %@", err); + NSLog(@"Step 4g: Check for NTPC feature-based attributes in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for NTPC feature-based attributes in AttributeList: Success"); + NSLog(@"Step 4g: Check for NTPC feature-based attributes in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108940,7 +109027,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForNtpcFeatureBasedAttributesNotInAttributeList_17() + CHIP_ERROR TestStep4hCheckForNtpcFeatureBasedAttributesNotInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108949,9 +109036,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for NTPC feature-based attributes not in AttributeList: Error: %@", err); + NSLog(@"Step 4h: Check for NTPC feature-based attributes not in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for NTPC feature-based attributes not in AttributeList: Success"); + NSLog(@"Step 4h: Check for NTPC feature-based attributes not in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108965,7 +109052,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForNtpsFeatureBasedAttributesInAttributeList_18() + CHIP_ERROR TestStep4iCheckForNtpsFeatureBasedAttributesInAttributeList_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108974,9 +109061,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for NTPS feature-based attributes in AttributeList: Error: %@", err); + NSLog(@"Step 4i: Check for NTPS feature-based attributes in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for NTPS feature-based attributes in AttributeList: Success"); + NSLog(@"Step 4i: Check for NTPS feature-based attributes in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -108989,7 +109076,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForNtpsFeatureBasedAttributesNotInAttributeList_19() + CHIP_ERROR TestStep4jCheckForNtpsFeatureBasedAttributesNotInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -108998,9 +109085,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for NTPS feature-based attributes not in AttributeList: Error: %@", err); + NSLog(@"Step 4j: Check for NTPS feature-based attributes not in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for NTPS feature-based attributes not in AttributeList: Success"); + NSLog(@"Step 4j: Check for NTPS feature-based attributes not in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109013,7 +109100,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForTscFeatureBasedAttributesInAttributeList_20() + CHIP_ERROR TestStep4kCheckForTscFeatureBasedAttributesInAttributeList_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109022,9 +109109,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for TSC feature-based attributes in AttributeList: Error: %@", err); + NSLog(@"Step 4k: Check for TSC feature-based attributes in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for TSC feature-based attributes in AttributeList: Success"); + NSLog(@"Step 4k: Check for TSC feature-based attributes in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109037,7 +109124,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs4CheckForTscFeatureBasedAttributesNotInAttributeList_21() + CHIP_ERROR TestStep4lCheckForTscFeatureBasedAttributesNotInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109046,9 +109133,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS4: Check for TSC feature-based attributes not in AttributeList: Error: %@", err); + NSLog(@"Step 4l: Check for TSC feature-based attributes not in AttributeList: Error: %@", err); } else { - NSLog(@"TS4: Check for TSC feature-based attributes not in AttributeList: Success"); + NSLog(@"Step 4l: Check for TSC feature-based attributes not in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109061,7 +109148,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForMandatoryCommandsInAcceptedCommandList_27() + CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_27() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109070,9 +109157,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for mandatory commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"TS6: Check for mandatory commands in AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109085,7 +109172,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForTzFeatureBasedCommandsInAcceptedCommandList_28() + CHIP_ERROR TestStep6bCheckForTzFeatureBasedCommandsInAcceptedCommandList_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109094,9 +109181,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for TZ feature-based commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6b: Check for TZ feature-based commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"TS6: Check for TZ feature-based commands in AcceptedCommandList: Success"); + NSLog(@"Step 6b: Check for TZ feature-based commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109110,7 +109197,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForTzFeatureBasedCommandsInNotAcceptedCommandList_29() + CHIP_ERROR TestStep6cCheckForTzFeatureBasedCommandsInNotAcceptedCommandList_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109119,9 +109206,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for TZ feature-based commands in not AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6c: Check for TZ feature-based commands in not AcceptedCommandList: Error: %@", err); } else { - NSLog(@"TS6: Check for TZ feature-based commands in not AcceptedCommandList: Success"); + NSLog(@"Step 6c: Check for TZ feature-based commands in not AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109135,7 +109222,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForNtpcFeatureBasedCommandsInAcceptedCommandList_30() + CHIP_ERROR TestStep6dCheckForNtpcFeatureBasedCommandsInAcceptedCommandList_30() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109144,9 +109231,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for NTPC feature-based commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6d: Check for NTPC feature-based commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"TS6: Check for NTPC feature-based commands in AcceptedCommandList: Success"); + NSLog(@"Step 6d: Check for NTPC feature-based commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109159,7 +109246,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForNtpcFeatureBasedCommandsInNotAcceptedCommandList_31() + CHIP_ERROR TestStep6eCheckForNtpcFeatureBasedCommandsInNotAcceptedCommandList_31() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109168,9 +109255,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for NTPC feature-based commands in not AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6e: Check for NTPC feature-based commands in not AcceptedCommandList: Error: %@", err); } else { - NSLog(@"TS6: Check for NTPC feature-based commands in not AcceptedCommandList: Success"); + NSLog(@"Step 6e: Check for NTPC feature-based commands in not AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109183,7 +109270,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForTscFeatureBasedCommandsInAcceptedCommandList_32() + CHIP_ERROR TestStep6fCheckForTscFeatureBasedCommandsInAcceptedCommandList_32() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109192,9 +109279,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for TSC feature-based commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6f: Check for TSC feature-based commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"TS6: Check for TSC feature-based commands in AcceptedCommandList: Success"); + NSLog(@"Step 6f: Check for TSC feature-based commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109207,7 +109294,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs6CheckForTscFeatureBasedCommandsInNotAcceptedCommandList_33() + CHIP_ERROR TestStep6gCheckForTscFeatureBasedCommandsInNotAcceptedCommandList_33() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109216,9 +109303,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS6: Check for TSC feature-based commands in not AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6g: Check for TSC feature-based commands in not AcceptedCommandList: Error: %@", err); } else { - NSLog(@"TS6: Check for TSC feature-based commands in not AcceptedCommandList: Success"); + NSLog(@"Step 6g: Check for TSC feature-based commands in not AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109231,7 +109318,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs7CheckForTzFeatureBasedCommandsInGeneratedCommandList_34() + CHIP_ERROR TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_34() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109240,9 +109327,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS7: Check for TZ feature-based commands in GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); } else { - NSLog(@"TS7: Check for TZ feature-based commands in GeneratedCommandList: Success"); + NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109255,7 +109342,7 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestTs7CheckForTzFeatureBasedCommandsInNotGeneratedCommandList_35() + CHIP_ERROR TestStep7bCheckForTzFeatureBasedCommandsInNotGeneratedCommandList_35() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109264,9 +109351,9 @@ class Test_TC_TIMESYNC_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"TS7: Check for TZ feature-based commands in not GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7b: Check for TZ feature-based commands in not GeneratedCommandList: Error: %@", err); } else { - NSLog(@"TS7: Check for TZ feature-based commands in not GeneratedCommandList: Success"); + NSLog(@"Step 7b: Check for TZ feature-based commands in not GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109599,8 +109686,8 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); @@ -109627,7 +109714,7 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads EventList attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -109635,12 +109722,12 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { NextTest(); return; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads AcceptedCommandList attribute from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListAttributeFromDut_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads GeneratedCommandList attribute from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListAttributeFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7(); break; } @@ -109694,7 +109781,7 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -109819,7 +109906,7 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListAttributeFromDut_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109828,9 +109915,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList attribute from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109847,7 +109934,7 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListAttributeFromDut_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109856,9 +109943,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList attribute from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -109917,16 +110004,16 @@ class Test_TC_ULABEL_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads LabelList attribute of the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH reads LabelList from the DUT\n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep1ThReadsLabelListAttributeOfTheDut_1(); + err = TestStep1ThReadsLabelListFromTheDut_1(); break; } @@ -109962,7 +110049,7 @@ class Test_TC_ULABEL_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -109970,7 +110057,7 @@ class Test_TC_ULABEL_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ThReadsLabelListAttributeOfTheDut_1() + CHIP_ERROR TestStep1ThReadsLabelListFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -109979,9 +110066,9 @@ class Test_TC_ULABEL_2_1 : public TestCommandBridge { [cluster readAttributeLabelListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH reads LabelList attribute of the DUT: Error: %@", err); + NSLog(@"Step 1: TH reads LabelList from the DUT: Error: %@", err); } else { - NSLog(@"Step 1: TH reads LabelList attribute of the DUT: Success"); + NSLog(@"Step 1: TH reads LabelList from the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -110035,24 +110122,24 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH writes LabelList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH writes LabelList attribute on the DUT with following entry: 'roomName':'master bedroom 1','orientation':'east', 'floor':'2', 'roomType':'bedroom'\n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep1ThWritesLabelListAttributeFromTheDut_1(); + err = TestStep1ThWritesLabelListAttributeOnTheDutWithFollowingEntryroomNamemasterBedroom1orientationeastfloor2roomTypebedroom_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads LabelList attribute from the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads LabelList attribute of the DUT\n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep2ThReadsLabelListAttributeFromTheDut_2(); + err = TestStep2ThReadsLabelListAttributeOfTheDut_2(); break; } @@ -110091,7 +110178,7 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -110099,7 +110186,7 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ThWritesLabelListAttributeFromTheDut_1() + CHIP_ERROR TestStep1ThWritesLabelListAttributeOnTheDutWithFollowingEntryroomNamemasterBedroom1orientationeastfloor2roomTypebedroom_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -110129,9 +110216,9 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { } [cluster writeAttributeLabelListWithValue:labelListArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH writes LabelList attribute from the DUT: Error: %@", err); + NSLog(@"Step 1: TH writes LabelList attribute on the DUT with following entry: 'roomName':'master bedroom 1','orientation':'east', 'floor':'2', 'roomType':'bedroom': Error: %@", err); } else { - NSLog(@"Step 1: TH writes LabelList attribute from the DUT: Success"); + NSLog(@"Step 1: TH writes LabelList attribute on the DUT with following entry: 'roomName':'master bedroom 1','orientation':'east', 'floor':'2', 'roomType':'bedroom': Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -110142,7 +110229,7 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ThReadsLabelListAttributeFromTheDut_2() + CHIP_ERROR TestStep2ThReadsLabelListAttributeOfTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -110151,9 +110238,9 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { [cluster readAttributeLabelListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads LabelList attribute from the DUT: Error: %@", err); + NSLog(@"Step 2: TH reads LabelList attribute of the DUT: Error: %@", err); } else { - NSLog(@"Step 2: TH reads LabelList attribute from the DUT: Success"); + NSLog(@"Step 2: TH reads LabelList attribute of the DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -110221,24 +110308,24 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH writes LabelList attribute of the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH writes LabelList attribute of the DUT by setting 'room':'17_bytesIsTooLong'\n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep1ThWritesLabelListAttributeOfTheDut_1(); + err = TestStep1ThWritesLabelListAttributeOfTheDutBySettingroom17BytesIsTooLong_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH writes LabelList attribute of the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH writes LabelList attribute of the DUT by setting '17_bytesIsTooLong':'foobar'\n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep2ThWritesLabelListAttributeOfTheDut_2(); + err = TestStep2ThWritesLabelListAttributeOfTheDutBySetting17BytesIsTooLongfoobar_2(); break; } @@ -110277,7 +110364,7 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -110285,7 +110372,7 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ThWritesLabelListAttributeOfTheDut_1() + CHIP_ERROR TestStep1ThWritesLabelListAttributeOfTheDutBySettingroom17BytesIsTooLong_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -110303,9 +110390,9 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { } [cluster writeAttributeLabelListWithValue:labelListArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH writes LabelList attribute of the DUT: Error: %@", err); + NSLog(@"Step 1: TH writes LabelList attribute of the DUT by setting 'room':'17_bytesIsTooLong': Error: %@", err); } else { - NSLog(@"Step 1: TH writes LabelList attribute of the DUT: Success"); + NSLog(@"Step 1: TH writes LabelList attribute of the DUT by setting 'room':'17_bytesIsTooLong': Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -110315,7 +110402,7 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2ThWritesLabelListAttributeOfTheDut_2() + CHIP_ERROR TestStep2ThWritesLabelListAttributeOfTheDutBySetting17BytesIsTooLongfoobar_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -110333,9 +110420,9 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { } [cluster writeAttributeLabelListWithValue:labelListArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH writes LabelList attribute of the DUT: Error: %@", err); + NSLog(@"Step 2: TH writes LabelList attribute of the DUT by setting '17_bytesIsTooLong':'foobar': Error: %@", err); } else { - NSLog(@"Step 2: TH writes LabelList attribute of the DUT: Success"); + NSLog(@"Step 2: TH writes LabelList attribute of the DUT by setting '17_bytesIsTooLong':'foobar': Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); @@ -110387,16 +110474,16 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Wait for the commissioned device to be retrieved\n"); - err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH writes LabelList attribute of the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: TH writes LabelList attribute of the DUT with entry as following: 'room':'bedroom 1','orientation':'east' \n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep1ThWritesLabelListAttributeOfTheDut_1(); + err = TestStep1ThWritesLabelListAttributeOfTheDutWithEntryAsFollowingroombedroom1orientationeast_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH reads LabelList attribute of the DUT\n"); @@ -110407,12 +110494,12 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { err = TestStep2ThReadsLabelListAttributeOfTheDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH writes LabelList attribute of the DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH writes LabelList attribute of the DUT with an entry as empty values in the list\n"); if (ShouldSkip("ULABEL.S.A0000")) { NextTest(); return; } - err = TestStep3ThWritesLabelListAttributeOfTheDut_3(); + err = TestStep3ThWritesLabelListAttributeOfTheDutWithAnEntryAsEmptyValuesInTheList_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads LabelList attribute of the DUT\n"); @@ -110465,7 +110552,7 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestCommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -110473,7 +110560,7 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1ThWritesLabelListAttributeOfTheDut_1() + CHIP_ERROR TestStep1ThWritesLabelListAttributeOfTheDutWithEntryAsFollowingroombedroom1orientationeast_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -110495,9 +110582,9 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { } [cluster writeAttributeLabelListWithValue:labelListArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1: TH writes LabelList attribute of the DUT: Error: %@", err); + NSLog(@"Step 1: TH writes LabelList attribute of the DUT with entry as following: 'room':'bedroom 1','orientation':'east' : Error: %@", err); } else { - NSLog(@"Step 1: TH writes LabelList attribute of the DUT: Success"); + NSLog(@"Step 1: TH writes LabelList attribute of the DUT with entry as following: 'room':'bedroom 1','orientation':'east' : Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -110539,7 +110626,7 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThWritesLabelListAttributeOfTheDut_3() + CHIP_ERROR TestStep3ThWritesLabelListAttributeOfTheDutWithAnEntryAsEmptyValuesInTheList_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -110557,9 +110644,9 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { } [cluster writeAttributeLabelListWithValue:labelListArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH writes LabelList attribute of the DUT: Error: %@", err); + NSLog(@"Step 3: TH writes LabelList attribute of the DUT with an entry as empty values in the list: Error: %@", err); } else { - NSLog(@"Step 3: TH writes LabelList attribute of the DUT: Success"); + NSLog(@"Step 3: TH writes LabelList attribute of the DUT with an entry as empty values in the list: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111237,100 +111324,100 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { err = TestStep2ThReadsBssidAttributeFromDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Reads SecurityType attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads SecurityType attribute constraints\n"); if (ShouldSkip("DGWIFI.S.A0001")) { NextTest(); return; } - err = TestStep3ReadsSecurityTypeAttributeConstraints_2(); + err = TestStep3ThReadsSecurityTypeAttributeConstraints_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Reads WiFiVersion attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads WiFiVersion attribute constraints\n"); if (ShouldSkip("DGWIFI.S.A0002")) { NextTest(); return; } - err = TestStep4ReadsWiFiVersionAttributeConstraints_3(); + err = TestStep4ThReadsWiFiVersionAttributeConstraints_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Reads ChannelNumber attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads ChannelNumber attribute constraints\n"); if (ShouldSkip("DGWIFI.S.A0003")) { NextTest(); return; } - err = TestStep5ReadsChannelNumberAttributeConstraints_4(); + err = TestStep5ThReadsChannelNumberAttributeConstraints_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: Reads RSSI attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads RSSI attribute constraints\n"); if (ShouldSkip("DGWIFI.S.A0004")) { NextTest(); return; } - err = TestStep6ReadsRssiAttributeConstraints_5(); + err = TestStep6ThReadsRssiAttributeConstraints_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: Reads BeaconLostCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads BeaconLostCount attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0005")) { NextTest(); return; } - err = TestStep7ReadsBeaconLostCountAttributeConstraints_6(); + err = TestStep7ThReadsBeaconLostCountAttributeConstraints_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: Reads BeaconRxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: TH reads BeaconRxCount attribute constraints\n"); if (ShouldSkip("DGWIFI.S.A0006")) { NextTest(); return; } - err = TestStep8ReadsBeaconRxCountAttributeConstraints_7(); + err = TestStep8ThReadsBeaconRxCountAttributeConstraints_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Reads PacketMulticastRxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: TH reads PacketMulticastRxCount attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0007")) { NextTest(); return; } - err = TestStep9ReadsPacketMulticastRxCountAttributeConstraints_8(); + err = TestStep9ThReadsPacketMulticastRxCountAttributeConstraints_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: Reads PacketMulticastTxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads PacketMulticastTxCount attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0008")) { NextTest(); return; } - err = TestStep10ReadsPacketMulticastTxCountAttributeConstraints_9(); + err = TestStep10ThReadsPacketMulticastTxCountAttributeConstraints_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 11: Reads PacketUnicastRxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 11: TH reads PacketUnicastRxCount attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A0009")) { NextTest(); return; } - err = TestStep11ReadsPacketUnicastRxCountAttributeConstraints_10(); + err = TestStep11ThReadsPacketUnicastRxCountAttributeConstraints_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 12: Reads PacketUnicastTxCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 12: TH reads PacketUnicastTxCount attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000a")) { NextTest(); return; } - err = TestStep12ReadsPacketUnicastTxCountAttributeConstraints_11(); + err = TestStep12ThReadsPacketUnicastTxCountAttributeConstraints_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 13: Reads CurrentMaxRate attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 13: TH reads CurrentMaxRate attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000b")) { NextTest(); return; } - err = TestStep13ReadsCurrentMaxRateAttributeConstraints_12(); + err = TestStep13ThReadsCurrentMaxRateAttributeConstraints_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 14: Reads OverrunCount attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 14: TH reads OverrunCount attribute constraints\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000c")) { NextTest(); return; } - err = TestStep14ReadsOverrunCountAttributeConstraints_13(); + err = TestStep14ThReadsOverrunCountAttributeConstraints_13(); break; } @@ -111437,7 +111524,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadsSecurityTypeAttributeConstraints_2() + CHIP_ERROR TestStep3ThReadsSecurityTypeAttributeConstraints_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111446,9 +111533,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeSecurityTypeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Reads SecurityType attribute constraints: Error: %@", err); + NSLog(@"Step 3: TH reads SecurityType attribute constraints: Error: %@", err); } else { - NSLog(@"Step 3: Reads SecurityType attribute constraints: Success"); + NSLog(@"Step 3: TH reads SecurityType attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111464,7 +111551,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadsWiFiVersionAttributeConstraints_3() + CHIP_ERROR TestStep4ThReadsWiFiVersionAttributeConstraints_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111473,9 +111560,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeWiFiVersionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Reads WiFiVersion attribute constraints: Error: %@", err); + NSLog(@"Step 4: TH reads WiFiVersion attribute constraints: Error: %@", err); } else { - NSLog(@"Step 4: Reads WiFiVersion attribute constraints: Success"); + NSLog(@"Step 4: TH reads WiFiVersion attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111493,7 +111580,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadsChannelNumberAttributeConstraints_4() + CHIP_ERROR TestStep5ThReadsChannelNumberAttributeConstraints_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111502,9 +111589,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeChannelNumberWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Reads ChannelNumber attribute constraints: Error: %@", err); + NSLog(@"Step 5: TH reads ChannelNumber attribute constraints: Error: %@", err); } else { - NSLog(@"Step 5: Reads ChannelNumber attribute constraints: Success"); + NSLog(@"Step 5: TH reads ChannelNumber attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111522,7 +111609,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadsRssiAttributeConstraints_5() + CHIP_ERROR TestStep6ThReadsRssiAttributeConstraints_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111531,9 +111618,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeRSSIWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Reads RSSI attribute constraints: Error: %@", err); + NSLog(@"Step 6: TH reads RSSI attribute constraints: Error: %@", err); } else { - NSLog(@"Step 6: Reads RSSI attribute constraints: Success"); + NSLog(@"Step 6: TH reads RSSI attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111551,7 +111638,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadsBeaconLostCountAttributeConstraints_6() + CHIP_ERROR TestStep7ThReadsBeaconLostCountAttributeConstraints_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111560,9 +111647,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeBeaconLostCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Reads BeaconLostCount attribute constraints: Error: %@", err); + NSLog(@"Step 7: TH reads BeaconLostCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 7: Reads BeaconLostCount attribute constraints: Success"); + NSLog(@"Step 7: TH reads BeaconLostCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111580,7 +111667,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ReadsBeaconRxCountAttributeConstraints_7() + CHIP_ERROR TestStep8ThReadsBeaconRxCountAttributeConstraints_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111589,9 +111676,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeBeaconRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Reads BeaconRxCount attribute constraints: Error: %@", err); + NSLog(@"Step 8: TH reads BeaconRxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 8: Reads BeaconRxCount attribute constraints: Success"); + NSLog(@"Step 8: TH reads BeaconRxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111609,7 +111696,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ReadsPacketMulticastRxCountAttributeConstraints_8() + CHIP_ERROR TestStep9ThReadsPacketMulticastRxCountAttributeConstraints_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111618,9 +111705,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributePacketMulticastRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Reads PacketMulticastRxCount attribute constraints: Error: %@", err); + NSLog(@"Step 9: TH reads PacketMulticastRxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 9: Reads PacketMulticastRxCount attribute constraints: Success"); + NSLog(@"Step 9: TH reads PacketMulticastRxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111638,7 +111725,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ReadsPacketMulticastTxCountAttributeConstraints_9() + CHIP_ERROR TestStep10ThReadsPacketMulticastTxCountAttributeConstraints_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111647,9 +111734,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributePacketMulticastTxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Reads PacketMulticastTxCount attribute constraints: Error: %@", err); + NSLog(@"Step 10: TH reads PacketMulticastTxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 10: Reads PacketMulticastTxCount attribute constraints: Success"); + NSLog(@"Step 10: TH reads PacketMulticastTxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111667,7 +111754,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep11ReadsPacketUnicastRxCountAttributeConstraints_10() + CHIP_ERROR TestStep11ThReadsPacketUnicastRxCountAttributeConstraints_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111676,9 +111763,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributePacketUnicastRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: Reads PacketUnicastRxCount attribute constraints: Error: %@", err); + NSLog(@"Step 11: TH reads PacketUnicastRxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 11: Reads PacketUnicastRxCount attribute constraints: Success"); + NSLog(@"Step 11: TH reads PacketUnicastRxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111696,7 +111783,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12ReadsPacketUnicastTxCountAttributeConstraints_11() + CHIP_ERROR TestStep12ThReadsPacketUnicastTxCountAttributeConstraints_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111705,9 +111792,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributePacketUnicastTxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: Reads PacketUnicastTxCount attribute constraints: Error: %@", err); + NSLog(@"Step 12: TH reads PacketUnicastTxCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 12: Reads PacketUnicastTxCount attribute constraints: Success"); + NSLog(@"Step 12: TH reads PacketUnicastTxCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111725,7 +111812,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep13ReadsCurrentMaxRateAttributeConstraints_12() + CHIP_ERROR TestStep13ThReadsCurrentMaxRateAttributeConstraints_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111734,9 +111821,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeCurrentMaxRateWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 13: Reads CurrentMaxRate attribute constraints: Error: %@", err); + NSLog(@"Step 13: TH reads CurrentMaxRate attribute constraints: Error: %@", err); } else { - NSLog(@"Step 13: Reads CurrentMaxRate attribute constraints: Success"); + NSLog(@"Step 13: TH reads CurrentMaxRate attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111752,7 +111839,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep14ReadsOverrunCountAttributeConstraints_13() + CHIP_ERROR TestStep14ThReadsOverrunCountAttributeConstraints_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111761,9 +111848,9 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { [cluster readAttributeOverrunCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 14: Reads OverrunCount attribute constraints: Error: %@", err); + NSLog(@"Step 14: TH reads OverrunCount attribute constraints: Error: %@", err); } else { - NSLog(@"Step 14: Reads OverrunCount attribute constraints: Success"); + NSLog(@"Step 14: TH reads OverrunCount attribute constraints: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111833,52 +111920,52 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { err = TestStep2ThSendsResetCountsCommandToDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Reads BeaconLostCount attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: TH reads BeaconLostCount attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0005")) { NextTest(); return; } - err = TestStep2aReadsBeaconLostCountAttributeFromDut_2(); + err = TestStep2aThReadsBeaconLostCountAttributeFromDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Reads BeaconRxCount attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH reads BeaconRxCount attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0006")) { NextTest(); return; } - err = TestStep2bReadsBeaconRxCountAttributeFromDut_3(); + err = TestStep2bThReadsBeaconRxCountAttributeFromDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2c: Reads PacketMulticastRxCount attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2c: TH reads PacketMulticastRxCount attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0007")) { NextTest(); return; } - err = TestStep2cReadsPacketMulticastRxCountAttributeFromDut_4(); + err = TestStep2cThReadsPacketMulticastRxCountAttributeFromDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2d: Reads PacketMulticastTxCount attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2d: TH reads PacketMulticastTxCount attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0008")) { NextTest(); return; } - err = TestStep2dReadsPacketMulticastTxCountAttributeFromDut_5(); + err = TestStep2dThReadsPacketMulticastTxCountAttributeFromDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 2e: Reads PacketUnicastRxCount attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 2e: TH reads PacketUnicastRxCount attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0009")) { NextTest(); return; } - err = TestStep2eReadsPacketUnicastRxCountAttributeFromDut_6(); + err = TestStep2eThReadsPacketUnicastRxCountAttributeFromDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2f: Reads PacketUnicastTxCount attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2f: TH reads PacketUnicastTxCount attribute from DUT\n"); if (ShouldSkip("PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A000a")) { NextTest(); return; } - err = TestStep2fReadsPacketUnicastTxCountAttributeFromDut_7(); + err = TestStep2fThReadsPacketUnicastTxCountAttributeFromDut_7(); break; } @@ -111963,7 +112050,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadsBeaconLostCountAttributeFromDut_2() + CHIP_ERROR TestStep2aThReadsBeaconLostCountAttributeFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -111972,9 +112059,9 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { [cluster readAttributeBeaconLostCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Reads BeaconLostCount attribute from DUT: Error: %@", err); + NSLog(@"Step 2a: TH reads BeaconLostCount attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Reads BeaconLostCount attribute from DUT: Success"); + NSLog(@"Step 2a: TH reads BeaconLostCount attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -111992,7 +112079,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bReadsBeaconRxCountAttributeFromDut_3() + CHIP_ERROR TestStep2bThReadsBeaconRxCountAttributeFromDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112001,9 +112088,9 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { [cluster readAttributeBeaconRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Reads BeaconRxCount attribute from DUT: Error: %@", err); + NSLog(@"Step 2b: TH reads BeaconRxCount attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2b: Reads BeaconRxCount attribute from DUT: Success"); + NSLog(@"Step 2b: TH reads BeaconRxCount attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112021,7 +112108,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2cReadsPacketMulticastRxCountAttributeFromDut_4() + CHIP_ERROR TestStep2cThReadsPacketMulticastRxCountAttributeFromDut_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112030,9 +112117,9 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { [cluster readAttributePacketMulticastRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: Reads PacketMulticastRxCount attribute from DUT: Error: %@", err); + NSLog(@"Step 2c: TH reads PacketMulticastRxCount attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2c: Reads PacketMulticastRxCount attribute from DUT: Success"); + NSLog(@"Step 2c: TH reads PacketMulticastRxCount attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112050,7 +112137,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2dReadsPacketMulticastTxCountAttributeFromDut_5() + CHIP_ERROR TestStep2dThReadsPacketMulticastTxCountAttributeFromDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112059,9 +112146,9 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { [cluster readAttributePacketMulticastTxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2d: Reads PacketMulticastTxCount attribute from DUT: Error: %@", err); + NSLog(@"Step 2d: TH reads PacketMulticastTxCount attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2d: Reads PacketMulticastTxCount attribute from DUT: Success"); + NSLog(@"Step 2d: TH reads PacketMulticastTxCount attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112079,7 +112166,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2eReadsPacketUnicastRxCountAttributeFromDut_6() + CHIP_ERROR TestStep2eThReadsPacketUnicastRxCountAttributeFromDut_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112088,9 +112175,9 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { [cluster readAttributePacketUnicastRxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2e: Reads PacketUnicastRxCount attribute from DUT: Error: %@", err); + NSLog(@"Step 2e: TH reads PacketUnicastRxCount attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2e: Reads PacketUnicastRxCount attribute from DUT: Success"); + NSLog(@"Step 2e: TH reads PacketUnicastRxCount attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112108,7 +112195,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2fReadsPacketUnicastTxCountAttributeFromDut_7() + CHIP_ERROR TestStep2fThReadsPacketUnicastTxCountAttributeFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112117,9 +112204,9 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { [cluster readAttributePacketUnicastTxCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2f: Reads PacketUnicastTxCount attribute from DUT: Error: %@", err); + NSLog(@"Step 2f: TH reads PacketUnicastTxCount attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2f: Reads PacketUnicastTxCount attribute from DUT: Success"); + NSLog(@"Step 2f: TH reads PacketUnicastTxCount attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112179,8 +112266,8 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the (0xFFFD) ClusterRevision attribute\n"); @@ -112259,39 +112346,39 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { err = TestStep4bThReadsOptionalAttributeSafetyStatusInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList\n"); if (ShouldSkip("WNCV.S.F00 && WNCV.S.F02 && WNCV.S.F03")) { NextTest(); return; } - err = TestStep4cReadTheFeatureDependentWNCVSF00Wncvsf02Wncvsf03AttributeInAttributeList_11(); + err = TestStep4cThReadsTheFeatureDependentWNCVSF00Wncvsf02Wncvsf03AttributeInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList\n"); if (ShouldSkip("WNCV.S.F00 && WNCV.S.F02")) { NextTest(); return; } - err = TestStep4dReadTheFeatureDependentWNCVSF00Wncvsf02AttributeInAttributeList_12(); + err = TestStep4dThReadsTheFeatureDependentWNCVSF00Wncvsf02AttributeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4e: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4e: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList\n"); if (ShouldSkip("WNCV.S.F01 && WNCV.S.F04 && WNCV.S.F03")) { NextTest(); return; } - err = TestStep4eReadTheFeatureDependentWNCVSF01Wncvsf04Wncvsf03AttributeInAttributeList_13(); + err = TestStep4eThReadsTheFeatureDependentWNCVSF01Wncvsf04Wncvsf03AttributeInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4f: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4f: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList\n"); if (ShouldSkip("WNCV.S.F01 && WNCV.S.F04")) { NextTest(); return; } - err = TestStep4fReadTheFeatureDependentWNCVSF01Wncvsf04AttributeInAttributeList_14(); + err = TestStep4fThReadsTheFeatureDependentWNCVSF01Wncvsf04AttributeInAttributeList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5: TH reads from the DUT the (0xFFFA) EventList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -112421,7 +112508,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -112697,7 +112784,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheFeatureDependentWNCVSF00Wncvsf02Wncvsf03AttributeInAttributeList_11() + CHIP_ERROR TestStep4cThReadsTheFeatureDependentWNCVSF00Wncvsf02Wncvsf03AttributeInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112706,9 +112793,9 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 & WNCV.S.F03) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112723,7 +112810,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheFeatureDependentWNCVSF00Wncvsf02AttributeInAttributeList_12() + CHIP_ERROR TestStep4dThReadsTheFeatureDependentWNCVSF00Wncvsf02AttributeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112732,9 +112819,9 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the Feature dependent(WNCV.S.F00 & WNCV.S.F02 ) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112749,7 +112836,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheFeatureDependentWNCVSF01Wncvsf04Wncvsf03AttributeInAttributeList_13() + CHIP_ERROR TestStep4eThReadsTheFeatureDependentWNCVSF01Wncvsf04Wncvsf03AttributeInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112758,9 +112845,9 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 & WNCV.S.F03) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112775,7 +112862,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fReadTheFeatureDependentWNCVSF01Wncvsf04AttributeInAttributeList_14() + CHIP_ERROR TestStep4fThReadsTheFeatureDependentWNCVSF01Wncvsf04AttributeInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -112784,9 +112871,9 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4f: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: Read the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList: Success"); + NSLog(@"Step 4f: TH reads the Feature dependent(WNCV.S.F01 & WNCV.S.F04 ) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -112977,204 +113064,204 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: read the RO mandatory attribute default: Type\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH reads from the DUT the ( 0) Type attribute\n"); if (ShouldSkip("WNCV.S.A0000")) { NextTest(); return; } - err = TestStep1aReadTheRoMandatoryAttributeDefaultType_1(); + err = TestStep1aThReadsFromTheDutThe0TypeAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: read the RO mandatory attribute default: ConfigStatus\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH reads from the DUT the ( 7) ConfigStatus attribute\n"); if (ShouldSkip("WNCV.S.A0007")) { NextTest(); return; } - err = TestStep1bReadTheRoMandatoryAttributeDefaultConfigStatus_2(); + err = TestStep1bThReadsFromTheDutThe7ConfigStatusAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: read the RO mandatory attribute default: OperationalStatus\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: TH reads from the DUT the (10) OperationalStatus attribute: OperationalStatus\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep1cReadTheRoMandatoryAttributeDefaultOperationalStatus_3(); + err = TestStep1cThReadsFromTheDutThe10OperationalStatusAttributeOperationalStatus_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: read the RO mandatory attribute default: EndProductType\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: TH reads from the DUT the (13) EndProductType attribute\n"); if (ShouldSkip("WNCV.S.A000d")) { NextTest(); return; } - err = TestStep1dReadTheRoMandatoryAttributeDefaultEndProductType_4(); + err = TestStep1dThReadsFromTheDutThe13EndProductTypeAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: read the RW mandatory attribute default: Mode\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: TH reads from the DUT the (23) Mode attribute\n"); if (ShouldSkip("WNCV.S.A0017")) { NextTest(); return; } - err = TestStep1eReadTheRwMandatoryAttributeDefaultMode_5(); + err = TestStep1eThReadsFromTheDutThe23ModeAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 1f: write a value into the RW mandatory attribute:: Mode\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 1f: TH writes to (23) Mode attribute the value 0\n"); if (ShouldSkip("WNCV.S.A0017")) { NextTest(); return; } - err = TestStep1fWriteAValueIntoTheRwMandatoryAttributeMode_6(); + err = TestStep1fThWritesTo23ModeAttributeTheValue0_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2a: read the RO optional attribute default: TargetPositionLiftPercent100ths\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2a: TH reads from the DUT the (11) TargetPositionLiftPercent100ths attribute\n"); if (ShouldSkip("WNCV.S.A000b")) { NextTest(); return; } - err = TestStep2aReadTheRoOptionalAttributeDefaultTargetPositionLiftPercent100ths_7(); + err = TestStep2aThReadsFromTheDutThe11TargetPositionLiftPercent100thsAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2b: read the RO optional attribute default: TargetPositionTiltPercent100ths\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2b: TH reads from the DUT the (12) TargetPositionTiltPercent100ths attribute\n"); if (ShouldSkip("WNCV.S.A000c")) { NextTest(); return; } - err = TestStep2bReadTheRoOptionalAttributeDefaultTargetPositionTiltPercent100ths_8(); + err = TestStep2bThReadsFromTheDutThe12TargetPositionTiltPercent100thsAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2c: read the RO optional attribute default: CurrentPositionLiftPercent100ths\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2c: TH reads from the DUT the (14) CurrentPositionLiftPercent100ths attribute\n"); if (ShouldSkip("WNCV.S.A000e")) { NextTest(); return; } - err = TestStep2cReadTheRoOptionalAttributeDefaultCurrentPositionLiftPercent100ths_9(); + err = TestStep2cThReadsFromTheDutThe14CurrentPositionLiftPercent100thsAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 2d: read the RO optional attribute default: CurrentPositionTiltPercent100ths\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 2d: TH reads from the DUT the (15) CurrentPositionTiltPercent100ths attribute\n"); if (ShouldSkip("WNCV.S.A000f")) { NextTest(); return; } - err = TestStep2dReadTheRoOptionalAttributeDefaultCurrentPositionTiltPercent100ths_10(); + err = TestStep2dThReadsFromTheDutThe15CurrentPositionTiltPercent100thsAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: read the RO optional attribute default: InstalledOpenLimitLift\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: TH reads from the DUT the (16) InstalledOpenLimitLift attribute\n"); if (ShouldSkip("WNCV.S.A0010")) { NextTest(); return; } - err = TestStep2eReadTheRoOptionalAttributeDefaultInstalledOpenLimitLift_11(); + err = TestStep2eThReadsFromTheDutThe16InstalledOpenLimitLiftAttribute_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 2f: read the RO optional attribute default: InstalledClosedLimitLift\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 2f: TH reads from the DUT the (17) InstalledClosedLimitLift attribute\n"); if (ShouldSkip("WNCV.S.A0011")) { NextTest(); return; } - err = TestStep2fReadTheRoOptionalAttributeDefaultInstalledClosedLimitLift_12(); + err = TestStep2fThReadsFromTheDutThe17InstalledClosedLimitLiftAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 2g: read the RO optional attribute default: InstalledOpenLimitTilt\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 2g: TH reads from the DUT the (18) InstalledOpenLimitTilt attribute\n"); if (ShouldSkip("WNCV.S.A0012")) { NextTest(); return; } - err = TestStep2gReadTheRoOptionalAttributeDefaultInstalledOpenLimitTilt_13(); + err = TestStep2gThReadsFromTheDutThe18InstalledOpenLimitTiltAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 2h: read the RO optional attribute default: InstalledClosedLimitTilt\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 2h: TH reads from the DUT the (19) InstalledClosedLimitTilt attribute\n"); if (ShouldSkip("WNCV.S.A0013")) { NextTest(); return; } - err = TestStep2hReadTheRoOptionalAttributeDefaultInstalledClosedLimitTilt_14(); + err = TestStep2hThReadsFromTheDutThe19InstalledClosedLimitTiltAttribute_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 3a: read the RO mandatory attribute default: SafetyStatus\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 3a: TH reads from the DUT the (26) SafetyStatus attribute\n"); if (ShouldSkip("WNCV.S.A001a")) { NextTest(); return; } - err = TestStep3aReadTheRoMandatoryAttributeDefaultSafetyStatus_15(); + err = TestStep3aThReadsFromTheDutThe26SafetyStatusAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 3b: read the RO optional attribute default: PhysicalClosedLimitLift\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 3b: TH reads from the DUT the ( 1) PhysicalClosedLimitLift attribute\n"); if (ShouldSkip("WNCV.S.A0001")) { NextTest(); return; } - err = TestStep3bReadTheRoOptionalAttributeDefaultPhysicalClosedLimitLift_16(); + err = TestStep3bThReadsFromTheDutThe1PhysicalClosedLimitLiftAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 3c: read the RO optional attribute default: PhysicalClosedLimitTilt\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 3c: TH reads from the DUT the ( 2) PhysicalClosedLimitTilt attribute\n"); if (ShouldSkip("WNCV.S.A0002")) { NextTest(); return; } - err = TestStep3cReadTheRoOptionalAttributeDefaultPhysicalClosedLimitTilt_17(); + err = TestStep3cThReadsFromTheDutThe2PhysicalClosedLimitTiltAttribute_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 3d: read the RO optional attribute default: CurrentPositionLift\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 3d: TH reads from the DUT the ( 3) CurrentPositionLift attribute\n"); if (ShouldSkip("WNCV.S.A0003 && !WNCV.S.A0010 && !WNCV.S.A0011")) { NextTest(); return; } - err = TestStep3dReadTheRoOptionalAttributeDefaultCurrentPositionLift_18(); + err = TestStep3dThReadsFromTheDutThe3CurrentPositionLiftAttribute_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 3d: read the RO optional attribute default: CurrentPositionLift\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 3d: TH reads the RO optional attribute default: CurrentPositionLift\n"); if (ShouldSkip("WNCV.S.A0003 && WNCV.S.A0010 && WNCV.S.A0011")) { NextTest(); return; } - err = TestStep3dReadTheRoOptionalAttributeDefaultCurrentPositionLift_19(); + err = TestStep3dThReadsTheRoOptionalAttributeDefaultCurrentPositionLift_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 3e: read the RO optional attribute default: CurrentPositionTilt\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 3e: TH reads from the DUT the ( 4) CurrentPositionTilt attribute\n"); if (ShouldSkip("WNCV.S.A0004 && !WNCV.S.A0012 && !WNCV.S.A0013")) { NextTest(); return; } - err = TestStep3eReadTheRoOptionalAttributeDefaultCurrentPositionTilt_20(); + err = TestStep3eThReadsFromTheDutThe4CurrentPositionTiltAttribute_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 3e: read the RO optional attribute default: CurrentPositionTilt\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 3e: TH reads the RO optional attribute default: CurrentPositionTilt\n"); if (ShouldSkip("WNCV.S.A0004 && WNCV.S.A0012 && WNCV.S.A0013")) { NextTest(); return; } - err = TestStep3eReadTheRoOptionalAttributeDefaultCurrentPositionTilt_21(); + err = TestStep3eThReadsTheRoOptionalAttributeDefaultCurrentPositionTilt_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 3f: read the RO optional attribute default: NumberOfActuationsLift\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 3f: TH reads from the DUT the ( 5) NumberOfActuationsLift attribute\n"); if (ShouldSkip("WNCV.S.A0005")) { NextTest(); return; } - err = TestStep3fReadTheRoOptionalAttributeDefaultNumberOfActuationsLift_22(); + err = TestStep3fThReadsFromTheDutThe5NumberOfActuationsLiftAttribute_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 3g: read the RO optional attribute default: NumberOfActuationsTilt\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 3g: TH reads from the DUT the ( 6) NumberOfActuationsTilt attribute\n"); if (ShouldSkip("WNCV.S.A0006")) { NextTest(); return; } - err = TestStep3gReadTheRoOptionalAttributeDefaultNumberOfActuationsTilt_23(); + err = TestStep3gThReadsFromTheDutThe6NumberOfActuationsTiltAttribute_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 3h: read the RO optional attribute default: CurrentPositionLiftPercentage\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 3h: TH reads from the DUT the ( 8) CurrentPositionLiftPercentage attribute\n"); if (ShouldSkip("WNCV.S.A0008")) { NextTest(); return; } - err = TestStep3hReadTheRoOptionalAttributeDefaultCurrentPositionLiftPercentage_24(); + err = TestStep3hThReadsFromTheDutThe8CurrentPositionLiftPercentageAttribute_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 3i:read the RO optional attribute default: CurrentPositionTiltPercentage\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 3i: TH reads from the DUT the ( 9) CurrentPositionTiltPercentage attribute\n"); if (ShouldSkip("WNCV.S.A0009")) { NextTest(); return; } - err = TestStep3ireadTheRoOptionalAttributeDefaultCurrentPositionTiltPercentage_25(); + err = TestStep3iThReadsFromTheDutThe9CurrentPositionTiltPercentageAttribute_25(); break; } @@ -113290,7 +113377,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1aReadTheRoMandatoryAttributeDefaultType_1() + CHIP_ERROR TestStep1aThReadsFromTheDutThe0TypeAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113299,9 +113386,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeTypeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: read the RO mandatory attribute default: Type: Error: %@", err); + NSLog(@"Step 1a: TH reads from the DUT the ( 0) Type attribute: Error: %@", err); } else { - NSLog(@"Step 1a: read the RO mandatory attribute default: Type: Success"); + NSLog(@"Step 1a: TH reads from the DUT the ( 0) Type attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113316,7 +113403,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bReadTheRoMandatoryAttributeDefaultConfigStatus_2() + CHIP_ERROR TestStep1bThReadsFromTheDutThe7ConfigStatusAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113325,9 +113412,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeConfigStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1b: read the RO mandatory attribute default: ConfigStatus: Error: %@", err); + NSLog(@"Step 1b: TH reads from the DUT the ( 7) ConfigStatus attribute: Error: %@", err); } else { - NSLog(@"Step 1b: read the RO mandatory attribute default: ConfigStatus: Success"); + NSLog(@"Step 1b: TH reads from the DUT the ( 7) ConfigStatus attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113342,7 +113429,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1cReadTheRoMandatoryAttributeDefaultOperationalStatus_3() + CHIP_ERROR TestStep1cThReadsFromTheDutThe10OperationalStatusAttributeOperationalStatus_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113351,9 +113438,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1c: read the RO mandatory attribute default: OperationalStatus: Error: %@", err); + NSLog(@"Step 1c: TH reads from the DUT the (10) OperationalStatus attribute: OperationalStatus: Error: %@", err); } else { - NSLog(@"Step 1c: read the RO mandatory attribute default: OperationalStatus: Success"); + NSLog(@"Step 1c: TH reads from the DUT the (10) OperationalStatus attribute: OperationalStatus: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113368,7 +113455,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1dReadTheRoMandatoryAttributeDefaultEndProductType_4() + CHIP_ERROR TestStep1dThReadsFromTheDutThe13EndProductTypeAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113377,9 +113464,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeEndProductTypeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1d: read the RO mandatory attribute default: EndProductType: Error: %@", err); + NSLog(@"Step 1d: TH reads from the DUT the (13) EndProductType attribute: Error: %@", err); } else { - NSLog(@"Step 1d: read the RO mandatory attribute default: EndProductType: Success"); + NSLog(@"Step 1d: TH reads from the DUT the (13) EndProductType attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113394,7 +113481,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1eReadTheRwMandatoryAttributeDefaultMode_5() + CHIP_ERROR TestStep1eThReadsFromTheDutThe23ModeAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113403,9 +113490,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1e: read the RW mandatory attribute default: Mode: Error: %@", err); + NSLog(@"Step 1e: TH reads from the DUT the (23) Mode attribute: Error: %@", err); } else { - NSLog(@"Step 1e: read the RW mandatory attribute default: Mode: Success"); + NSLog(@"Step 1e: TH reads from the DUT the (23) Mode attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113420,7 +113507,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1fWriteAValueIntoTheRwMandatoryAttributeMode_6() + CHIP_ERROR TestStep1fThWritesTo23ModeAttributeTheValue0_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113432,9 +113519,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [NSNumber numberWithUnsignedChar:0U]; [cluster writeAttributeModeWithValue:modeArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1f: write a value into the RW mandatory attribute:: Mode: Error: %@", err); + NSLog(@"Step 1f: TH writes to (23) Mode attribute the value 0: Error: %@", err); } else { - NSLog(@"Step 1f: write a value into the RW mandatory attribute:: Mode: Success"); + NSLog(@"Step 1f: TH writes to (23) Mode attribute the value 0: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113445,7 +113532,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2aReadTheRoOptionalAttributeDefaultTargetPositionLiftPercent100ths_7() + CHIP_ERROR TestStep2aThReadsFromTheDutThe11TargetPositionLiftPercent100thsAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113454,9 +113541,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeTargetPositionLiftPercent100thsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: read the RO optional attribute default: TargetPositionLiftPercent100ths: Error: %@", err); + NSLog(@"Step 2a: TH reads from the DUT the (11) TargetPositionLiftPercent100ths attribute: Error: %@", err); } else { - NSLog(@"Step 2a: read the RO optional attribute default: TargetPositionLiftPercent100ths: Success"); + NSLog(@"Step 2a: TH reads from the DUT the (11) TargetPositionLiftPercent100ths attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113474,7 +113561,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bReadTheRoOptionalAttributeDefaultTargetPositionTiltPercent100ths_8() + CHIP_ERROR TestStep2bThReadsFromTheDutThe12TargetPositionTiltPercent100thsAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113483,9 +113570,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeTargetPositionTiltPercent100thsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: read the RO optional attribute default: TargetPositionTiltPercent100ths: Error: %@", err); + NSLog(@"Step 2b: TH reads from the DUT the (12) TargetPositionTiltPercent100ths attribute: Error: %@", err); } else { - NSLog(@"Step 2b: read the RO optional attribute default: TargetPositionTiltPercent100ths: Success"); + NSLog(@"Step 2b: TH reads from the DUT the (12) TargetPositionTiltPercent100ths attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113503,7 +113590,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2cReadTheRoOptionalAttributeDefaultCurrentPositionLiftPercent100ths_9() + CHIP_ERROR TestStep2cThReadsFromTheDutThe14CurrentPositionLiftPercent100thsAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113512,9 +113599,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionLiftPercent100thsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: read the RO optional attribute default: CurrentPositionLiftPercent100ths: Error: %@", err); + NSLog(@"Step 2c: TH reads from the DUT the (14) CurrentPositionLiftPercent100ths attribute: Error: %@", err); } else { - NSLog(@"Step 2c: read the RO optional attribute default: CurrentPositionLiftPercent100ths: Success"); + NSLog(@"Step 2c: TH reads from the DUT the (14) CurrentPositionLiftPercent100ths attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113532,7 +113619,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2dReadTheRoOptionalAttributeDefaultCurrentPositionTiltPercent100ths_10() + CHIP_ERROR TestStep2dThReadsFromTheDutThe15CurrentPositionTiltPercent100thsAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113541,9 +113628,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionTiltPercent100thsWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2d: read the RO optional attribute default: CurrentPositionTiltPercent100ths: Error: %@", err); + NSLog(@"Step 2d: TH reads from the DUT the (15) CurrentPositionTiltPercent100ths attribute: Error: %@", err); } else { - NSLog(@"Step 2d: read the RO optional attribute default: CurrentPositionTiltPercent100ths: Success"); + NSLog(@"Step 2d: TH reads from the DUT the (15) CurrentPositionTiltPercent100ths attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113562,7 +113649,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { } NSNumber * _Nonnull InstalledOpenLimitLiftValue; - CHIP_ERROR TestStep2eReadTheRoOptionalAttributeDefaultInstalledOpenLimitLift_11() + CHIP_ERROR TestStep2eThReadsFromTheDutThe16InstalledOpenLimitLiftAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113571,9 +113658,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeInstalledOpenLimitLiftWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2e: read the RO optional attribute default: InstalledOpenLimitLift: Error: %@", err); + NSLog(@"Step 2e: TH reads from the DUT the (16) InstalledOpenLimitLift attribute: Error: %@", err); } else { - NSLog(@"Step 2e: read the RO optional attribute default: InstalledOpenLimitLift: Success"); + NSLog(@"Step 2e: TH reads from the DUT the (16) InstalledOpenLimitLift attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113592,7 +113679,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { } NSNumber * _Nonnull InstalledClosedLimitLiftValue; - CHIP_ERROR TestStep2fReadTheRoOptionalAttributeDefaultInstalledClosedLimitLift_12() + CHIP_ERROR TestStep2fThReadsFromTheDutThe17InstalledClosedLimitLiftAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113601,9 +113688,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeInstalledClosedLimitLiftWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2f: read the RO optional attribute default: InstalledClosedLimitLift: Error: %@", err); + NSLog(@"Step 2f: TH reads from the DUT the (17) InstalledClosedLimitLift attribute: Error: %@", err); } else { - NSLog(@"Step 2f: read the RO optional attribute default: InstalledClosedLimitLift: Success"); + NSLog(@"Step 2f: TH reads from the DUT the (17) InstalledClosedLimitLift attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113622,7 +113709,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { } NSNumber * _Nonnull InstalledOpenLimitTiltValue; - CHIP_ERROR TestStep2gReadTheRoOptionalAttributeDefaultInstalledOpenLimitTilt_13() + CHIP_ERROR TestStep2gThReadsFromTheDutThe18InstalledOpenLimitTiltAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113631,9 +113718,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeInstalledOpenLimitTiltWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2g: read the RO optional attribute default: InstalledOpenLimitTilt: Error: %@", err); + NSLog(@"Step 2g: TH reads from the DUT the (18) InstalledOpenLimitTilt attribute: Error: %@", err); } else { - NSLog(@"Step 2g: read the RO optional attribute default: InstalledOpenLimitTilt: Success"); + NSLog(@"Step 2g: TH reads from the DUT the (18) InstalledOpenLimitTilt attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113652,7 +113739,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { } NSNumber * _Nonnull InstalledClosedLimitTiltValue; - CHIP_ERROR TestStep2hReadTheRoOptionalAttributeDefaultInstalledClosedLimitTilt_14() + CHIP_ERROR TestStep2hThReadsFromTheDutThe19InstalledClosedLimitTiltAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113661,9 +113748,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeInstalledClosedLimitTiltWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2h: read the RO optional attribute default: InstalledClosedLimitTilt: Error: %@", err); + NSLog(@"Step 2h: TH reads from the DUT the (19) InstalledClosedLimitTilt attribute: Error: %@", err); } else { - NSLog(@"Step 2h: read the RO optional attribute default: InstalledClosedLimitTilt: Success"); + NSLog(@"Step 2h: TH reads from the DUT the (19) InstalledClosedLimitTilt attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113681,7 +113768,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheRoMandatoryAttributeDefaultSafetyStatus_15() + CHIP_ERROR TestStep3aThReadsFromTheDutThe26SafetyStatusAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113690,9 +113777,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeSafetyStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: read the RO mandatory attribute default: SafetyStatus: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the (26) SafetyStatus attribute: Error: %@", err); } else { - NSLog(@"Step 3a: read the RO mandatory attribute default: SafetyStatus: Success"); + NSLog(@"Step 3a: TH reads from the DUT the (26) SafetyStatus attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113707,7 +113794,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheRoOptionalAttributeDefaultPhysicalClosedLimitLift_16() + CHIP_ERROR TestStep3bThReadsFromTheDutThe1PhysicalClosedLimitLiftAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113716,9 +113803,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributePhysicalClosedLimitLiftWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: read the RO optional attribute default: PhysicalClosedLimitLift: Error: %@", err); + NSLog(@"Step 3b: TH reads from the DUT the ( 1) PhysicalClosedLimitLift attribute: Error: %@", err); } else { - NSLog(@"Step 3b: read the RO optional attribute default: PhysicalClosedLimitLift: Success"); + NSLog(@"Step 3b: TH reads from the DUT the ( 1) PhysicalClosedLimitLift attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113733,7 +113820,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheRoOptionalAttributeDefaultPhysicalClosedLimitTilt_17() + CHIP_ERROR TestStep3cThReadsFromTheDutThe2PhysicalClosedLimitTiltAttribute_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113742,9 +113829,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributePhysicalClosedLimitTiltWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: read the RO optional attribute default: PhysicalClosedLimitTilt: Error: %@", err); + NSLog(@"Step 3c: TH reads from the DUT the ( 2) PhysicalClosedLimitTilt attribute: Error: %@", err); } else { - NSLog(@"Step 3c: read the RO optional attribute default: PhysicalClosedLimitTilt: Success"); + NSLog(@"Step 3c: TH reads from the DUT the ( 2) PhysicalClosedLimitTilt attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113759,7 +113846,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadTheRoOptionalAttributeDefaultCurrentPositionLift_18() + CHIP_ERROR TestStep3dThReadsFromTheDutThe3CurrentPositionLiftAttribute_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113768,9 +113855,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionLiftWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: read the RO optional attribute default: CurrentPositionLift: Error: %@", err); + NSLog(@"Step 3d: TH reads from the DUT the ( 3) CurrentPositionLift attribute: Error: %@", err); } else { - NSLog(@"Step 3d: read the RO optional attribute default: CurrentPositionLift: Success"); + NSLog(@"Step 3d: TH reads from the DUT the ( 3) CurrentPositionLift attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113788,7 +113875,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadTheRoOptionalAttributeDefaultCurrentPositionLift_19() + CHIP_ERROR TestStep3dThReadsTheRoOptionalAttributeDefaultCurrentPositionLift_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113797,9 +113884,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionLiftWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: read the RO optional attribute default: CurrentPositionLift: Error: %@", err); + NSLog(@"Step 3d: TH reads the RO optional attribute default: CurrentPositionLift: Error: %@", err); } else { - NSLog(@"Step 3d: read the RO optional attribute default: CurrentPositionLift: Success"); + NSLog(@"Step 3d: TH reads the RO optional attribute default: CurrentPositionLift: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113817,7 +113904,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3eReadTheRoOptionalAttributeDefaultCurrentPositionTilt_20() + CHIP_ERROR TestStep3eThReadsFromTheDutThe4CurrentPositionTiltAttribute_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113826,9 +113913,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionTiltWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3e: read the RO optional attribute default: CurrentPositionTilt: Error: %@", err); + NSLog(@"Step 3e: TH reads from the DUT the ( 4) CurrentPositionTilt attribute: Error: %@", err); } else { - NSLog(@"Step 3e: read the RO optional attribute default: CurrentPositionTilt: Success"); + NSLog(@"Step 3e: TH reads from the DUT the ( 4) CurrentPositionTilt attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113846,7 +113933,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3eReadTheRoOptionalAttributeDefaultCurrentPositionTilt_21() + CHIP_ERROR TestStep3eThReadsTheRoOptionalAttributeDefaultCurrentPositionTilt_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113855,9 +113942,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionTiltWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3e: read the RO optional attribute default: CurrentPositionTilt: Error: %@", err); + NSLog(@"Step 3e: TH reads the RO optional attribute default: CurrentPositionTilt: Error: %@", err); } else { - NSLog(@"Step 3e: read the RO optional attribute default: CurrentPositionTilt: Success"); + NSLog(@"Step 3e: TH reads the RO optional attribute default: CurrentPositionTilt: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113875,7 +113962,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3fReadTheRoOptionalAttributeDefaultNumberOfActuationsLift_22() + CHIP_ERROR TestStep3fThReadsFromTheDutThe5NumberOfActuationsLiftAttribute_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113884,9 +113971,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeNumberOfActuationsLiftWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3f: read the RO optional attribute default: NumberOfActuationsLift: Error: %@", err); + NSLog(@"Step 3f: TH reads from the DUT the ( 5) NumberOfActuationsLift attribute: Error: %@", err); } else { - NSLog(@"Step 3f: read the RO optional attribute default: NumberOfActuationsLift: Success"); + NSLog(@"Step 3f: TH reads from the DUT the ( 5) NumberOfActuationsLift attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113901,7 +113988,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3gReadTheRoOptionalAttributeDefaultNumberOfActuationsTilt_23() + CHIP_ERROR TestStep3gThReadsFromTheDutThe6NumberOfActuationsTiltAttribute_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113910,9 +113997,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeNumberOfActuationsTiltWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3g: read the RO optional attribute default: NumberOfActuationsTilt: Error: %@", err); + NSLog(@"Step 3g: TH reads from the DUT the ( 6) NumberOfActuationsTilt attribute: Error: %@", err); } else { - NSLog(@"Step 3g: read the RO optional attribute default: NumberOfActuationsTilt: Success"); + NSLog(@"Step 3g: TH reads from the DUT the ( 6) NumberOfActuationsTilt attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113927,7 +114014,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3hReadTheRoOptionalAttributeDefaultCurrentPositionLiftPercentage_24() + CHIP_ERROR TestStep3hThReadsFromTheDutThe8CurrentPositionLiftPercentageAttribute_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113936,9 +114023,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionLiftPercentageWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3h: read the RO optional attribute default: CurrentPositionLiftPercentage: Error: %@", err); + NSLog(@"Step 3h: TH reads from the DUT the ( 8) CurrentPositionLiftPercentage attribute: Error: %@", err); } else { - NSLog(@"Step 3h: read the RO optional attribute default: CurrentPositionLiftPercentage: Success"); + NSLog(@"Step 3h: TH reads from the DUT the ( 8) CurrentPositionLiftPercentage attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -113956,7 +114043,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ireadTheRoOptionalAttributeDefaultCurrentPositionTiltPercentage_25() + CHIP_ERROR TestStep3iThReadsFromTheDutThe9CurrentPositionTiltPercentageAttribute_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -113965,9 +114052,9 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { [cluster readAttributeCurrentPositionTiltPercentageWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3i:read the RO optional attribute default: CurrentPositionTiltPercentage: Error: %@", err); + NSLog(@"Step 3i: TH reads from the DUT the ( 9) CurrentPositionTiltPercentage attribute: Error: %@", err); } else { - NSLog(@"Step 3i:read the RO optional attribute default: CurrentPositionTiltPercentage: Success"); + NSLog(@"Step 3i: TH reads from the DUT the ( 9) CurrentPositionTiltPercentage attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -114031,44 +114118,44 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b\n"); if (ShouldSkip("WNCV.S.A0007 && WNCV.S.F00 && WNCV.S.F02")) { NextTest(); return; } - err = TestStep1aReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_1(); + err = TestStep1aThReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b\n"); if (ShouldSkip("WNCV.S.A0007 && !WNCV.S.F00 && !WNCV.S.F02")) { NextTest(); return; } - err = TestStep1bReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_2(); + err = TestStep1bThReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,\n"); if (ShouldSkip("WNCV.S.A0007 && WNCV.S.F01 && WNCV.S.F04")) { NextTest(); return; } - err = TestStep1cReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_3(); + err = TestStep1cThReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,\n"); if (ShouldSkip("WNCV.S.A0007 && !WNCV.S.F01 && !WNCV.S.F04")) { NextTest(); return; } - err = TestStep1dReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_4(); + err = TestStep1dThReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: Reads ConfigStatus attribute from DUT, value of bit 0 must be 1b (operational)\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: TH reads ConfigStatus attribute from DUT, value of bit 0 must be 1b (operational)\n"); if (ShouldSkip("WNCV.S.A0007")) { NextTest(); return; } - err = TestStep1eReadsConfigStatusAttributeFromDutValueOfBit0MustBe1bOperational_5(); + err = TestStep1eThReadsConfigStatusAttributeFromDutValueOfBit0MustBe1bOperational_5(); break; } @@ -114124,7 +114211,7 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1aReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_1() + CHIP_ERROR TestStep1aThReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -114133,9 +114220,9 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { [cluster readAttributeConfigStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Error: %@", err); + NSLog(@"Step 1a: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Error: %@", err); } else { - NSLog(@"Step 1a: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Success"); + NSLog(@"Step 1a: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -114147,7 +114234,7 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_2() + CHIP_ERROR TestStep1bThReadsConfigStatusAttributeFromDutIfWncvsf00lfWncvsf02paLfValueOfBit3MustBe1bElse0b_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -114156,9 +114243,9 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { [cluster readAttributeConfigStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1b: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Error: %@", err); + NSLog(@"Step 1b: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Error: %@", err); } else { - NSLog(@"Step 1b: Reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Success"); + NSLog(@"Step 1b: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F00(LF) & WNCV.S.F02(PA_LF)) value of bit 3 must be 1b else 0b: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -114170,7 +114257,7 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1cReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_3() + CHIP_ERROR TestStep1cThReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -114179,9 +114266,9 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { [cluster readAttributeConfigStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1c: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Error: %@", err); + NSLog(@"Step 1c: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Error: %@", err); } else { - NSLog(@"Step 1c: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Success"); + NSLog(@"Step 1c: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -114193,7 +114280,7 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1dReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_4() + CHIP_ERROR TestStep1dThReadsConfigStatusAttributeFromDutIfWncvsf01tlWncvsf04paTlValueOfBit4MustBe1bElse0b_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -114202,9 +114289,9 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { [cluster readAttributeConfigStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1d: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Error: %@", err); + NSLog(@"Step 1d: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Error: %@", err); } else { - NSLog(@"Step 1d: Reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Success"); + NSLog(@"Step 1d: TH reads ConfigStatus attribute from DUT, if (WNCV.S.F01(TL) & WNCV.S.F04(PA_TL)) value of bit 4 must be 1b else 0b,: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -114216,7 +114303,7 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1eReadsConfigStatusAttributeFromDutValueOfBit0MustBe1bOperational_5() + CHIP_ERROR TestStep1eThReadsConfigStatusAttributeFromDutValueOfBit0MustBe1bOperational_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -114225,9 +114312,9 @@ class Test_TC_WNCV_2_2 : public TestCommandBridge { [cluster readAttributeConfigStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1e: Reads ConfigStatus attribute from DUT, value of bit 0 must be 1b (operational): Error: %@", err); + NSLog(@"Step 1e: TH reads ConfigStatus attribute from DUT, value of bit 0 must be 1b (operational): Error: %@", err); } else { - NSLog(@"Step 1e: Reads ConfigStatus attribute from DUT, value of bit 0 must be 1b (operational): Success"); + NSLog(@"Step 1e: TH reads ConfigStatus attribute from DUT, value of bit 0 must be 1b (operational): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -115157,8 +115244,8 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { err = TestStep2aThSendsUpOrOpenCommandToDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2b: DUT updates its attributes\n"); - err = TestStep2bDutUpdatesItsAttributes_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2b: TH waits for 100-1000 ms\n"); + err = TestStep2bThWaitsFor1001000Ms_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2c: If (PA & LF) TH reads TargetPositionLiftPercent100ths attribute from DUT\n"); @@ -115177,8 +115264,8 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { err = TestStep2dIfPaTlThReadsTargetPositionTiltPercent100thsAttributeFromDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: TH leave the device moving for 1-5 seconds\n"); - err = TestStep2eThLeaveTheDeviceMovingFor15Seconds_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: TH waits for 1-5 seconds movement(s) on the DUT\n"); + err = TestStep2eThWaitsFor15SecondsMovementsOnTheDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3a1: TH reads OperationalStatus attribute's bit 0..1\n"); @@ -115273,20 +115360,20 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { err = TestStep4aThSendsAStopMotionCommandToDut_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4b: TH waits for 3 seconds the end of inertial movement(s) on the device\n"); - err = TestStep4bThWaitsFor3SecondsTheEndOfInertialMovementsOnTheDevice_24(); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4b: TH waits for 1-5 seconds end of motion(s) on the DUT\n"); + err = TestStep4bThWaitsFor15SecondsEndOfMotionsOnTheDut_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4c: Verify DUT update OperationalStatus attribute to TH after a StopMotion\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4c: TH reads OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep4cVerifyDutUpdateOperationalStatusAttributeToThAfterAStopMotion_25(); + err = TestStep4cThReadsOperationalStatusAttributeFromDut_25(); break; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5a: TH waits for x seconds attributes update on the device\n"); - err = TestStep5aThWaitsForXSecondsAttributesUpdateOnTheDevice_26(); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5a: TH waits for 100-1000 ms\n"); + err = TestStep5aThWaitsFor1001000Ms_26(); break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5b: If (PA & LF) TH reads TargetPositionLiftPercent100ths attribute from DUT\n"); @@ -115602,7 +115689,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bDutUpdatesItsAttributes_8() + CHIP_ERROR TestStep2bThWaitsFor1001000Ms_8() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -115666,7 +115753,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2eThLeaveTheDeviceMovingFor15Seconds_11() + CHIP_ERROR TestStep2eThWaitsFor15SecondsMovementsOnTheDut_11() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -115986,7 +116073,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThWaitsFor3SecondsTheEndOfInertialMovementsOnTheDevice_24() + CHIP_ERROR TestStep4bThWaitsFor15SecondsEndOfMotionsOnTheDut_24() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -115994,7 +116081,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4cVerifyDutUpdateOperationalStatusAttributeToThAfterAStopMotion_25() + CHIP_ERROR TestStep4cThReadsOperationalStatusAttributeFromDut_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -116003,9 +116090,9 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Verify DUT update OperationalStatus attribute to TH after a StopMotion: Error: %@", err); + NSLog(@"Step 4c: TH reads OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Verify DUT update OperationalStatus attribute to TH after a StopMotion: Success"); + NSLog(@"Step 4c: TH reads OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -116021,7 +116108,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aThWaitsForXSecondsAttributesUpdateOnTheDevice_26() + CHIP_ERROR TestStep5aThWaitsFor1001000Ms_26() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -116190,8 +116277,8 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { err = TestStep2aThSendsDownOrCloseCommandToDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2b: DUT updates its attributes\n"); - err = TestStep2bDutUpdatesItsAttributes_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 2b: TH waits for 100-1000 ms\n"); + err = TestStep2bThWaitsFor1001000Ms_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2c: If (PA & LF) TH reads TargetPositionLiftPercent100ths attribute from DUT\n"); @@ -116306,20 +116393,20 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { err = TestStep4aThSendsAStopMotionCommandToDut_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4b: TH waits for 3 seconds the end of inertial movement(s) on the device\n"); - err = TestStep4bThWaitsFor3SecondsTheEndOfInertialMovementsOnTheDevice_24(); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4b: TH waits for 1-5 seconds end of motion(s) on the DUT\n"); + err = TestStep4bThWaitsFor15SecondsEndOfMotionsOnTheDut_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4c: Verify DUT update OperationalStatus attribute to TH after a StopMotion\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4c: TH reads OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep4cVerifyDutUpdateOperationalStatusAttributeToThAfterAStopMotion_25(); + err = TestStep4cThReadsOperationalStatusAttributeFromDut_25(); break; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5a: TH waits for x seconds attributes update on the device\n"); - err = TestStep5aThWaitsForXSecondsAttributesUpdateOnTheDevice_26(); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 5a: TH waits for 100-1000 ms\n"); + err = TestStep5aThWaitsFor1001000Ms_26(); break; case 27: ChipLogProgress(chipTool, " ***** Test Step 27 : Step 5b: If (PA & LF) TH reads TargetPositionLiftPercent100ths attribute from DUT\n"); @@ -116635,7 +116722,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bDutUpdatesItsAttributes_8() + CHIP_ERROR TestStep2bThWaitsFor1001000Ms_8() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117019,7 +117106,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThWaitsFor3SecondsTheEndOfInertialMovementsOnTheDevice_24() + CHIP_ERROR TestStep4bThWaitsFor15SecondsEndOfMotionsOnTheDut_24() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117027,7 +117114,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep4cVerifyDutUpdateOperationalStatusAttributeToThAfterAStopMotion_25() + CHIP_ERROR TestStep4cThReadsOperationalStatusAttributeFromDut_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -117036,9 +117123,9 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Verify DUT update OperationalStatus attribute to TH after a StopMotion: Error: %@", err); + NSLog(@"Step 4c: TH reads OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4c: Verify DUT update OperationalStatus attribute to TH after a StopMotion: Success"); + NSLog(@"Step 4c: TH reads OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -117054,7 +117141,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aThWaitsForXSecondsAttributesUpdateOnTheDevice_26() + CHIP_ERROR TestStep5aThWaitsFor1001000Ms_26() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117174,8 +117261,8 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { err = TestStep1aThSendsDownOrCloseCommandToPrepositionTheDutInTheOppositeDirection_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH Waits for 6-8 seconds movement(s) on the device\n"); - err = TestStep1bThWaitsFor68SecondsMovementsOnTheDevice_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH waits for 6-8 seconds movement(s) on the DUT\n"); + err = TestStep1bThWaitsFor68SecondsMovementsOnTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 1c: TH sends UpOrOpen command to preposition the DUT in the opposite direction\n"); @@ -117186,8 +117273,8 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { err = TestStep1cThSendsUpOrOpenCommandToPrepositionTheDutInTheOppositeDirection_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: TH Waits for 2 seconds movement(s) on the device\n"); - err = TestStep1dThWaitsFor2SecondsMovementsOnTheDevice_4(); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 1d: TH waits for 1-5 seconds revert motion(s) on the DUT\n"); + err = TestStep1dThWaitsFor15SecondsRevertMotionsOnTheDut_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 1e: TH reads OperationalStatus attribute from DUT\n"); @@ -117198,8 +117285,8 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { err = TestStep1eThReadsOperationalStatusAttributeFromDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 1d: TH Waits for 2 seconds movement(s) on the device\n"); - err = TestStep1dThWaitsFor2SecondsMovementsOnTheDevice_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 1f: TH waits for 2 seconds\n"); + err = TestStep1fThWaitsFor2Seconds_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Report: Step 2: Subscribe to DUT reports on OperationalStatus attribute\n"); @@ -117218,16 +117305,16 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { err = TestStep2aThSendsAStopMotionCommandToDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 2b: TH waits for 3 seconds the end of inertial movement(s) on the device\n"); - err = TestStep2bThWaitsFor3SecondsTheEndOfInertialMovementsOnTheDevice_10(); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 2b: TH waits for 1-5 seconds end of motion(s) on the DUT\n"); + err = TestStep2bThWaitsFor15SecondsEndOfMotionsOnTheDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2c: TH reads OperationalStatus attribute from DUT after a StopMotion\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2c: TH reads OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep2cThReadsOperationalStatusAttributeFromDutAfterAStopMotion_11(); + err = TestStep2cThReadsOperationalStatusAttributeFromDut_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Step 2d: TH waits for 100ms - 3s attributes update on the device\n"); @@ -117386,7 +117473,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bThWaitsFor68SecondsMovementsOnTheDevice_2() + CHIP_ERROR TestStep1bThWaitsFor68SecondsMovementsOnTheDut_2() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117417,7 +117504,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1dThWaitsFor2SecondsMovementsOnTheDevice_4() + CHIP_ERROR TestStep1dThWaitsFor15SecondsRevertMotionsOnTheDut_4() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117449,7 +117536,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1dThWaitsFor2SecondsMovementsOnTheDevice_6() + CHIP_ERROR TestStep1fThWaitsFor2Seconds_6() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117545,7 +117632,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bThWaitsFor3SecondsTheEndOfInertialMovementsOnTheDevice_10() + CHIP_ERROR TestStep2bThWaitsFor15SecondsEndOfMotionsOnTheDut_10() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117553,7 +117640,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep2cThReadsOperationalStatusAttributeFromDutAfterAStopMotion_11() + CHIP_ERROR TestStep2cThReadsOperationalStatusAttributeFromDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -117562,9 +117649,9 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT after a StopMotion: Error: %@", err); + NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT after a StopMotion: Success"); + NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -117799,8 +117886,8 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { err = TestStep1aThSendsDownOrCloseCommandToPrepositionTheDutInTheOppositeDirection_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH Waits for fastMotionDuration seconds movement(s) on the device\n"); - err = TestStep1bThWaitsForFastMotionDurationSecondsMovementsOnTheDevice_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH waits for 5-15 seconds movement(s) on the DUT\n"); + err = TestStep1bThWaitsFor515SecondsMovementsOnTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2a: TH sends UpOrOpen command to DUT\n"); @@ -117811,16 +117898,16 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { err = TestStep2aThSendsUpOrOpenCommandToDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2b: TH Waits for fullMotionDuration seconds movement(s) on the device\n"); - err = TestStep2bThWaitsForFullMotionDurationSecondsMovementsOnTheDevice_4(); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2b: TH waits for PIXIT.WNCV.FULLMOTION on the DUT\n"); + err = TestStep2bThWaitsForPixitwncvfullmotionOnTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH reads OperationalStatus attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH checks OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep2cThReadsOperationalStatusAttributeFromDut_5(); + err = TestStep2cThChecksOperationalStatusAttributeFromDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: If (PA & LF) TH reads CurrentPositionLiftPercent100ths attribute from DUT\n"); @@ -117945,7 +118032,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bThWaitsForFastMotionDurationSecondsMovementsOnTheDevice_2() + CHIP_ERROR TestStep1bThWaitsFor515SecondsMovementsOnTheDut_2() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117976,7 +118063,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bThWaitsForFullMotionDurationSecondsMovementsOnTheDevice_4() + CHIP_ERROR TestStep2bThWaitsForPixitwncvfullmotionOnTheDut_4() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -117984,7 +118071,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep2cThReadsOperationalStatusAttributeFromDut_5() + CHIP_ERROR TestStep2cThChecksOperationalStatusAttributeFromDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -117993,9 +118080,9 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT: Error: %@", err); + NSLog(@"Step 2c: TH checks OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT: Success"); + NSLog(@"Step 2c: TH checks OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -118171,16 +118258,16 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH sends UpOrOpen command to preposition the DUT in the opposite direction\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1a: TH sends UpOrOpen command to DUT\n"); if (ShouldSkip("WNCV.S.C00.Rsp")) { NextTest(); return; } - err = TestStep1aThSendsUpOrOpenCommandToPrepositionTheDutInTheOppositeDirection_1(); + err = TestStep1aThSendsUpOrOpenCommandToDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH Waits for fastMotionDuration seconds movement(s) on the device\n"); - err = TestStep1bThWaitsForFastMotionDurationSecondsMovementsOnTheDevice_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH waits for 5-15 seconds movement(s) on the DUT\n"); + err = TestStep1bThWaitsFor515SecondsMovementsOnTheDut_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2a: TH sends DownOrClose command to DUT\n"); @@ -118191,16 +118278,16 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { err = TestStep2aThSendsDownOrCloseCommandToDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2b: TH Waits for fullMotionDuration seconds movement(s) on the device\n"); - err = TestStep2bThWaitsForFullMotionDurationSecondsMovementsOnTheDevice_4(); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2b: TH waits for PIXIT.WNCV.FULLMOTION on the DUT\n"); + err = TestStep2bThWaitsForPixitwncvfullmotionOnTheDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH reads OperationalStatus attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH checks OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep2cThReadsOperationalStatusAttributeFromDut_5(); + err = TestStep2cThChecksOperationalStatusAttributeFromDut_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: If (PA & LF) TH reads CurrentPositionLiftPercent100ths attribute from DUT\n"); @@ -118302,7 +118389,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep1aThSendsUpOrOpenCommandToPrepositionTheDutInTheOppositeDirection_1() + CHIP_ERROR TestStep1aThSendsUpOrOpenCommandToDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -118312,9 +118399,9 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { [cluster upOrOpenWithCompletion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 1a: TH sends UpOrOpen command to preposition the DUT in the opposite direction: Error: %@", err); + NSLog(@"Step 1a: TH sends UpOrOpen command to DUT: Error: %@", err); } else { - NSLog(@"Step 1a: TH sends UpOrOpen command to preposition the DUT in the opposite direction: Success"); + NSLog(@"Step 1a: TH sends UpOrOpen command to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -118325,7 +118412,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bThWaitsForFastMotionDurationSecondsMovementsOnTheDevice_2() + CHIP_ERROR TestStep1bThWaitsFor515SecondsMovementsOnTheDut_2() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -118356,7 +118443,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bThWaitsForFullMotionDurationSecondsMovementsOnTheDevice_4() + CHIP_ERROR TestStep2bThWaitsForPixitwncvfullmotionOnTheDut_4() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -118364,7 +118451,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep2cThReadsOperationalStatusAttributeFromDut_5() + CHIP_ERROR TestStep2cThChecksOperationalStatusAttributeFromDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -118373,9 +118460,9 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT: Error: %@", err); + NSLog(@"Step 2c: TH checks OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2c: TH reads OperationalStatus attribute from DUT: Success"); + NSLog(@"Step 2c: TH checks OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -118578,8 +118665,8 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { err = TestStep2aThSendsGoToLiftPercentageCommandWith25PercentToDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2b: DUT updates its attributes\n"); - err = TestStep2bDutUpdatesItsAttributes_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2b: TH waits for 100-1000 ms\n"); + err = TestStep2bThWaitsFor1001000Ms_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 2c: If (PA & LF) TH reads TargetPositionLiftPercent100ths attribute from DUT\n"); @@ -118590,16 +118677,16 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { err = TestStep2cIfPaLfThReadsTargetPositionLiftPercent100thsAttributeFromDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: TH set a timeout of X minutes for failure\n"); - err = TestStep3aThSetATimeoutOfXMinutesForFailure_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT\n"); + err = TestStep3aThWaitsForPixitwncvfullmotionOnTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: TH reads OperationalStatus attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: TH checks OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep3bThReadsOperationalStatusAttributeFromDut_8(); + err = TestStep3bThChecksOperationalStatusAttributeFromDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3c: If (PA & LF) TH reads CurrentPositionLiftPercent100ths attribute from DUT\n"); @@ -118626,8 +118713,8 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { err = TestStep4aThSendsGoToLiftPercentageCommandWith7520PercentToDut_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: DUT updates its attributes\n"); - err = TestStep4bDutUpdatesItsAttributes_12(); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: TH waits for 100-1000 ms\n"); + err = TestStep4bThWaitsFor1001000Ms_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4c: If (PA & LF) TH reads TargetPositionLiftPercent100ths attribute from DUT\n"); @@ -118638,16 +118725,16 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { err = TestStep4cIfPaLfThReadsTargetPositionLiftPercent100thsAttributeFromDut_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5a: TH waits for x seconds movement(s) on the DUT\n"); - err = TestStep5aThWaitsForXSecondsMovementsOnTheDut_14(); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT\n"); + err = TestStep5aThWaitsForPixitwncvfullmotionOnTheDut_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5b: TH reads OperationalStatus attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5b: TH checks OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep5bThReadsOperationalStatusAttributeFromDut_15(); + err = TestStep5bThChecksOperationalStatusAttributeFromDut_15(); break; case 16: ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5c: If (PA & LF) TH reads CurrentPositionLiftPercent100ths attribute from DUT\n"); @@ -118839,7 +118926,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bDutUpdatesItsAttributes_5() + CHIP_ERROR TestStep2bThWaitsFor1001000Ms_5() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -118875,7 +118962,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThSetATimeoutOfXMinutesForFailure_7() + CHIP_ERROR TestStep3aThWaitsForPixitwncvfullmotionOnTheDut_7() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -118883,7 +118970,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep3bThReadsOperationalStatusAttributeFromDut_8() + CHIP_ERROR TestStep3bThChecksOperationalStatusAttributeFromDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -118892,9 +118979,9 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: TH reads OperationalStatus attribute from DUT: Error: %@", err); + NSLog(@"Step 3b: TH checks OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 3b: TH reads OperationalStatus attribute from DUT: Success"); + NSLog(@"Step 3b: TH checks OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -118992,7 +119079,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bDutUpdatesItsAttributes_12() + CHIP_ERROR TestStep4bThWaitsFor1001000Ms_12() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -119028,7 +119115,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aThWaitsForXSecondsMovementsOnTheDut_14() + CHIP_ERROR TestStep5aThWaitsForPixitwncvfullmotionOnTheDut_14() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -119036,7 +119123,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep5bThReadsOperationalStatusAttributeFromDut_15() + CHIP_ERROR TestStep5bThChecksOperationalStatusAttributeFromDut_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -119045,9 +119132,9 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5b: TH reads OperationalStatus attribute from DUT: Error: %@", err); + NSLog(@"Step 5b: TH checks OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 5b: TH reads OperationalStatus attribute from DUT: Success"); + NSLog(@"Step 5b: TH checks OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -119194,8 +119281,8 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { err = TestStep2aThSendsGoToTiltPercentageCommandWith30PercentToDut_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2b: DUT updates its attributes\n"); - err = TestStep2bDutUpdatesItsAttributes_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2b: TH waits for 100-1000 ms\n"); + err = TestStep2bThWaitsFor1001000Ms_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 2c: If (PA & TL) TH reads TargetPositionTiltPercent100ths attribute from DUT\n"); @@ -119206,16 +119293,16 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { err = TestStep2cIfPaTlThReadsTargetPositionTiltPercent100thsAttributeFromDut_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: TH set a timeout of X minutes for failure\n"); - err = TestStep3aThSetATimeoutOfXMinutesForFailure_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT\n"); + err = TestStep3aThWaitsForPixitwncvfullmotionOnTheDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: TH reads OperationalStatus attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: TH checks OperationalStatus attribute from DUT\n"); if (ShouldSkip("WNCV.S.A000a")) { NextTest(); return; } - err = TestStep3bThReadsOperationalStatusAttributeFromDut_8(); + err = TestStep3bThChecksOperationalStatusAttributeFromDut_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3c: If (PA & TL) TH reads CurrentPositionTiltPercent100ths attribute from DUT\n"); @@ -119242,8 +119329,8 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { err = TestStep4aThSendsGoToTiltPercentageCommandWith6005PercentToDut_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: DUT updates its attributes\n"); - err = TestStep4bDutUpdatesItsAttributes_12(); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: TH waits for 100-1000 ms\n"); + err = TestStep4bThWaitsFor1001000Ms_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4c: If (PA & TL) TH reads TargetPositionTiltPercent100ths attribute from DUT\n"); @@ -119254,8 +119341,8 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { err = TestStep4cIfPaTlThReadsTargetPositionTiltPercent100thsAttributeFromDut_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5a: TH waits for x seconds movement(s) on the DUT\n"); - err = TestStep5aThWaitsForXSecondsMovementsOnTheDut_14(); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5a: TH waits for PIXIT.WNCV.FULLMOTION on the DUT\n"); + err = TestStep5aThWaitsForPixitwncvfullmotionOnTheDut_14(); break; case 15: ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5b: TH reads OperationalStatus attribute from DUT\n"); @@ -119455,7 +119542,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bDutUpdatesItsAttributes_5() + CHIP_ERROR TestStep2bThWaitsFor1001000Ms_5() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -119491,7 +119578,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThSetATimeoutOfXMinutesForFailure_7() + CHIP_ERROR TestStep3aThWaitsForPixitwncvfullmotionOnTheDut_7() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -119499,7 +119586,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { return WaitForMs("alpha", value); } - CHIP_ERROR TestStep3bThReadsOperationalStatusAttributeFromDut_8() + CHIP_ERROR TestStep3bThChecksOperationalStatusAttributeFromDut_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -119508,9 +119595,9 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { [cluster readAttributeOperationalStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: TH reads OperationalStatus attribute from DUT: Error: %@", err); + NSLog(@"Step 3b: TH checks OperationalStatus attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 3b: TH reads OperationalStatus attribute from DUT: Success"); + NSLog(@"Step 3b: TH checks OperationalStatus attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -119608,7 +119695,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bDutUpdatesItsAttributes_12() + CHIP_ERROR TestStep4bThWaitsFor1001000Ms_12() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -119644,7 +119731,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aThWaitsForXSecondsMovementsOnTheDut_14() + CHIP_ERROR TestStep5aThWaitsForPixitwncvfullmotionOnTheDut_14() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; @@ -183418,60 +183505,60 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { err = TestStep1ThReadsNumberOfHolidaySchedulesSupportedAndSavesForFutureUse_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: Create Holiday schedule with 1 index\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: TH sends Set Holiday Schedule Command to DUT with the following values: a)HolidayIndex as 1 b)LocalStartTime as 20 Seconds c)LocalEndTime as 30 Seconds d)OperatingMode as 0\n"); if (ShouldSkip("DRLK.S.F0b && DRLK.S.C11.Rsp")) { NextTest(); return; } - err = TestStep2CreateHolidayScheduleWith1Index_2(); + err = TestStep2ThSendsSetHolidayScheduleCommandToDutWithTheFollowingValuesAHolidayIndexAs1BLocalStartTimeAs20SecondsCLocalEndTimeAs30SecondsDOperatingModeAs0_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Get Holiday Schedule with HolidayIndex as 1\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1\n"); if (ShouldSkip("DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx")) { NextTest(); return; } - err = TestStep3aGetHolidayScheduleWithHolidayIndexAs1_3(); + err = TestStep3aThSendsGetHolidayScheduleCommandToDutWithHolidayIndexAs1_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: Create Holiday schedule with invalid operating mode\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH sends Set Holiday Schedule Command to DUT with the following values: a)HolidayIndex as 1 b)LocalStartTime as 20 c)LocalEndTime as 30 d)OperatingMode as 5(Invalid value)\n"); if (ShouldSkip("DRLK.S.C11.Rsp")) { NextTest(); return; } - err = TestStep4CreateHolidayScheduleWithInvalidOperatingMode_4(); + err = TestStep4ThSendsSetHolidayScheduleCommandToDutWithTheFollowingValuesAHolidayIndexAs1BLocalStartTimeAs20CLocalEndTimeAs30DOperatingModeAs5InvalidValue_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: Get Holiday Schedule with Invalid HolidayIndex 15.\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH sends Get Holiday Schedule Command to DUT with Invalid HolidayIndex as 15\n"); if (ShouldSkip("DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx")) { NextTest(); return; } - err = TestStep5GetHolidayScheduleWithInvalidHolidayIndex15_5(); + err = TestStep5ThSendsGetHolidayScheduleCommandToDutWithInvalidHolidayIndexAs15_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: Get Holiday Schedule with the Non-scheduled HolidayIndex\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH sends Get Holiday Schedule Command to DUT with the HolidayIndex as 10 (value is in the the range of step 1 but Holiday Schedule entry not available)\n"); if (ShouldSkip("DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx")) { NextTest(); return; } - err = TestStep6GetHolidayScheduleWithTheNonScheduledHolidayIndex_6(); + err = TestStep6ThSendsGetHolidayScheduleCommandToDutWithTheHolidayIndexAs10ValueIsInTheTheRangeOfStep1ButHolidayScheduleEntryNotAvailable_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: Clear Holiday schedule with 1 index\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH send Clear Holiday Schedule Command to DUT with HolidayIndex as 1\n"); if (ShouldSkip("DRLK.S.F0b && DRLK.S.C13.Rsp")) { NextTest(); return; } - err = TestStep7ClearHolidayScheduleWith1Index_7(); + err = TestStep7ThSendClearHolidayScheduleCommandToDutWithHolidayIndexAs1_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: Make sure that holiday schedule was deleted\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1\n"); if (ShouldSkip("DRLK.S.F0b && DRLK.S.C12.Rsp && DRLK.S.C12.Tx")) { NextTest(); return; } - err = TestStep8MakeSureThatHolidayScheduleWasDeleted_8(); + err = TestStep8ThSendsGetHolidayScheduleCommandToDutWithHolidayIndexAs1_8(); break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Cleanup the created user\n"); @@ -183572,7 +183659,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2CreateHolidayScheduleWith1Index_2() + CHIP_ERROR TestStep2ThSendsSetHolidayScheduleCommandToDutWithTheFollowingValuesAHolidayIndexAs1BLocalStartTimeAs20SecondsCLocalEndTimeAs30SecondsDOperatingModeAs0_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183591,9 +183678,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster setHolidayScheduleWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Create Holiday schedule with 1 index: Error: %@", err); + NSLog(@"Step 2: TH sends Set Holiday Schedule Command to DUT with the following values: a)HolidayIndex as 1 b)LocalStartTime as 20 Seconds c)LocalEndTime as 30 Seconds d)OperatingMode as 0: Error: %@", err); } else { - NSLog(@"Step 2: Create Holiday schedule with 1 index: Success"); + NSLog(@"Step 2: TH sends Set Holiday Schedule Command to DUT with the following values: a)HolidayIndex as 1 b)LocalStartTime as 20 Seconds c)LocalEndTime as 30 Seconds d)OperatingMode as 0: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -183604,7 +183691,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aGetHolidayScheduleWithHolidayIndexAs1_3() + CHIP_ERROR TestStep3aThSendsGetHolidayScheduleCommandToDutWithHolidayIndexAs1_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183617,9 +183704,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster getHolidayScheduleWithParams:params completion: ^(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Get Holiday Schedule with HolidayIndex as 1: Error: %@", err); + NSLog(@"Step 3a: TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1: Error: %@", err); } else { - NSLog(@"Step 3a: Get Holiday Schedule with HolidayIndex as 1: Success"); + NSLog(@"Step 3a: TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -183660,7 +183747,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4CreateHolidayScheduleWithInvalidOperatingMode_4() + CHIP_ERROR TestStep4ThSendsSetHolidayScheduleCommandToDutWithTheFollowingValuesAHolidayIndexAs1BLocalStartTimeAs20CLocalEndTimeAs30DOperatingModeAs5InvalidValue_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183679,9 +183766,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster setHolidayScheduleWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Create Holiday schedule with invalid operating mode: Error: %@", err); + NSLog(@"Step 4: TH sends Set Holiday Schedule Command to DUT with the following values: a)HolidayIndex as 1 b)LocalStartTime as 20 c)LocalEndTime as 30 d)OperatingMode as 5(Invalid value): Error: %@", err); } else { - NSLog(@"Step 4: Create Holiday schedule with invalid operating mode: Success"); + NSLog(@"Step 4: TH sends Set Holiday Schedule Command to DUT with the following values: a)HolidayIndex as 1 b)LocalStartTime as 20 c)LocalEndTime as 30 d)OperatingMode as 5(Invalid value): Success"); } VerifyOrReturn(CheckValue("status", err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, EMBER_ZCL_STATUS_INVALID_COMMAND)); @@ -183691,7 +183778,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5GetHolidayScheduleWithInvalidHolidayIndex15_5() + CHIP_ERROR TestStep5ThSendsGetHolidayScheduleCommandToDutWithInvalidHolidayIndexAs15_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183704,9 +183791,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster getHolidayScheduleWithParams:params completion: ^(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Get Holiday Schedule with Invalid HolidayIndex 15.: Error: %@", err); + NSLog(@"Step 5: TH sends Get Holiday Schedule Command to DUT with Invalid HolidayIndex as 15: Error: %@", err); } else { - NSLog(@"Step 5: Get Holiday Schedule with Invalid HolidayIndex 15.: Success"); + NSLog(@"Step 5: TH sends Get Holiday Schedule Command to DUT with Invalid HolidayIndex as 15: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -183727,7 +183814,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6GetHolidayScheduleWithTheNonScheduledHolidayIndex_6() + CHIP_ERROR TestStep6ThSendsGetHolidayScheduleCommandToDutWithTheHolidayIndexAs10ValueIsInTheTheRangeOfStep1ButHolidayScheduleEntryNotAvailable_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183740,9 +183827,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster getHolidayScheduleWithParams:params completion: ^(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Get Holiday Schedule with the Non-scheduled HolidayIndex: Error: %@", err); + NSLog(@"Step 6: TH sends Get Holiday Schedule Command to DUT with the HolidayIndex as 10 (value is in the the range of step 1 but Holiday Schedule entry not available): Error: %@", err); } else { - NSLog(@"Step 6: Get Holiday Schedule with the Non-scheduled HolidayIndex: Success"); + NSLog(@"Step 6: TH sends Get Holiday Schedule Command to DUT with the HolidayIndex as 10 (value is in the the range of step 1 but Holiday Schedule entry not available): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -183763,7 +183850,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ClearHolidayScheduleWith1Index_7() + CHIP_ERROR TestStep7ThSendClearHolidayScheduleCommandToDutWithHolidayIndexAs1_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183776,9 +183863,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster clearHolidayScheduleWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Clear Holiday schedule with 1 index: Error: %@", err); + NSLog(@"Step 7: TH send Clear Holiday Schedule Command to DUT with HolidayIndex as 1: Error: %@", err); } else { - NSLog(@"Step 7: Clear Holiday schedule with 1 index: Success"); + NSLog(@"Step 7: TH send Clear Holiday Schedule Command to DUT with HolidayIndex as 1: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -183789,7 +183876,7 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8MakeSureThatHolidayScheduleWasDeleted_8() + CHIP_ERROR TestStep8ThSendsGetHolidayScheduleCommandToDutWithHolidayIndexAs1_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -183802,9 +183889,9 @@ class Test_TC_DRLK_2_6 : public TestCommandBridge { [cluster getHolidayScheduleWithParams:params completion: ^(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Make sure that holiday schedule was deleted: Error: %@", err); + NSLog(@"Step 8: TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1: Error: %@", err); } else { - NSLog(@"Step 8: Make sure that holiday schedule was deleted: Success"); + NSLog(@"Step 8: TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -188467,20 +188554,20 @@ class Test_TC_G_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads the ClusterRevision from DUT\n"); - err = TestStep2ThReadsTheClusterRevisionFromDut_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads the FeatureMap from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip(" !G.S.F00 ")) { NextTest(); return; } - err = TestStep3aThReadsTheFeatureMapFromDut_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given G.S.F00 ensure featuremap has the correct bit set\n"); @@ -188491,23 +188578,23 @@ class Test_TC_G_1_1 : public TestCommandBridge { err = TestStep3bGivenGsf00EnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_4(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads AttributeList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsAttributeListFromDut_5(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -188515,12 +188602,12 @@ class Test_TC_G_1_1 : public TestCommandBridge { NextTest(); return; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads GeneratedCommandList from DUT\n"); - err = TestStep7ThReadsGeneratedCommandListFromDut_8(); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8(); break; } @@ -188577,7 +188664,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -188585,7 +188672,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsTheClusterRevisionFromDut_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -188594,9 +188681,9 @@ class Test_TC_G_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: TH reads the ClusterRevision from DUT: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -188613,7 +188700,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsTheFeatureMapFromDut_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -188622,9 +188709,9 @@ class Test_TC_G_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads the FeatureMap from DUT: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads the FeatureMap from DUT: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -188664,7 +188751,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_4() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -188673,9 +188760,9 @@ class Test_TC_G_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -188695,7 +188782,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsAttributeListFromDut_5() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -188704,9 +188791,9 @@ class Test_TC_G_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads AttributeList from DUT: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads AttributeList from DUT: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -188725,7 +188812,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_7() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -188734,9 +188821,9 @@ class Test_TC_G_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: TH reads AcceptedCommandList from DUT: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -188755,7 +188842,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_8() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -188764,9 +188851,9 @@ class Test_TC_G_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -189893,115 +189980,115 @@ class Test_TC_S_1_1 : public TestCommandBridge { err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read ClusterRevision (global attribute 65533)\n"); - err = TestStep2ReadClusterRevisionGlobalAttribute65533_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read FeatureMap NameSupport bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532)\n"); if (ShouldSkip("(!S.S.F00)")) { NextTest(); return; } - err = TestStep3aReadFeatureMapNameSupportBitGlobalAttribute65532_2(); + err = TestStep3aThReadsFeatureMapNameSupportBitGlobalAttribute65532_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Read FeatureMap NameSupport bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532)\n"); if (ShouldSkip("S.S.F00")) { NextTest(); return; } - err = TestStep3aReadFeatureMapNameSupportBitGlobalAttribute65532_3(); + err = TestStep3aThReadsFeatureMapNameSupportBitGlobalAttribute65532_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: Read FeatureMap Explicit bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532)\n"); if (ShouldSkip("(!S.S.F01)")) { NextTest(); return; } - err = TestStep3bReadFeatureMapExplicitBitGlobalAttribute65532_4(); + err = TestStep3bThReadsFeatureMapExplicitBitGlobalAttribute65532_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: Read FeatureMap Explicit bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532)\n"); if (ShouldSkip("S.S.F01")) { NextTest(); return; } - err = TestStep3bReadFeatureMapExplicitBitGlobalAttribute65532_5(); + err = TestStep3bThReadsFeatureMapExplicitBitGlobalAttribute65532_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3c: Read FeatureMap TableSize bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532)\n"); if (ShouldSkip("(!S.S.F02)")) { NextTest(); return; } - err = TestStep3cReadFeatureMapTableSizeBitGlobalAttribute65532_6(); + err = TestStep3cThReadsFeatureMapTableSizeBitGlobalAttribute65532_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3c: Read FeatureMap TableSize bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532)\n"); if (ShouldSkip("S.S.F02")) { NextTest(); return; } - err = TestStep3cReadFeatureMapTableSizeBitGlobalAttribute65532_7(); + err = TestStep3cThReadsFeatureMapTableSizeBitGlobalAttribute65532_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3d: Read FeatureMap FabricScene bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532)\n"); if (ShouldSkip("(!S.S.F03)")) { NextTest(); return; } - err = TestStep3dReadFeatureMapFabricSceneBitGlobalAttribute65532_8(); + err = TestStep3dThReadsFeatureMapFabricSceneBitGlobalAttribute65532_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3d: Read FeatureMap FabricScene bit (global attribute 65532)\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532)\n"); if (ShouldSkip("S.S.F03")) { NextTest(); return; } - err = TestStep3dReadFeatureMapFabricSceneBitGlobalAttribute65532_9(); + err = TestStep3dThReadsFeatureMapFabricSceneBitGlobalAttribute65532_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4: Read Mandatory attributes in AttributeList (global attribute 65531)\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("S.S")) { NextTest(); return; } - err = TestStep4ReadMandatoryAttributesInAttributeListGlobalAttribute65531_10(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4b: Read optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531)\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4b: TH reads optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531)\n"); if (ShouldSkip("(!S.S.F03)")) { NextTest(); return; } - err = TestStep4bReadOptionalAttributesSceneCountCurrentSceneCurrentGroupSceneValidInAttributeListGlobalAttribute65531_11(); + err = TestStep4bThReadsOptionalAttributesSceneCountCurrentSceneCurrentGroupSceneValidInAttributeListGlobalAttribute65531_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4c: Read optinnal attribute(LastConfiguredBy) in AttributeList (global attribute 65531)\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4c: TH reads optinnal attribute(LastConfiguredBy) in AttributeList (global attribute 65531)\n"); if (ShouldSkip("S.S.A0005")) { NextTest(); return; } - err = TestStep4cReadOptinnalAttributeLastConfiguredByInAttributeListGlobalAttribute65531_12(); + err = TestStep4cThReadsOptinnalAttributeLastConfiguredByInAttributeListGlobalAttribute65531_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4d: Read optionnal attribute(SceneTableSize) in AttributeList (global attribute 65531)\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4d: TH reads optionnal attribute(SceneTableSize) in AttributeList (global attribute 65531)\n"); if (ShouldSkip("S.S.F02")) { NextTest(); return; } - err = TestStep4dReadOptionnalAttributeSceneTableSizeInAttributeListGlobalAttribute65531_13(); + err = TestStep4dThReadsOptionnalAttributeSceneTableSizeInAttributeListGlobalAttribute65531_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4e: Read optional attribute(FabricSceneInfo) in AttributeList (global attribute 65531)\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4e: TH reads optional attribute(FabricSceneInfo) in AttributeList (global attribute 65531)\n"); if (ShouldSkip("S.S.F03")) { NextTest(); return; } - err = TestStep4eReadOptionalAttributeFabricSceneInfoInAttributeListGlobalAttribute65531_14(); + err = TestStep4eThReadsOptionalAttributeFabricSceneInfoInAttributeListGlobalAttribute65531_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5: Read EventList (global attribute 65530)\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5: TH reads from the DUT the EventList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -190009,64 +190096,64 @@ class Test_TC_S_1_1 : public TestCommandBridge { NextTest(); return; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6a: Read Mandatory commands in AcceptedCommandList (global attribute 65529)\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6a:TH reads from the DUT the AcceptedCommandList attribute\n"); if (ShouldSkip("S.S")) { NextTest(); return; } - err = TestStep6aReadMandatoryCommandsInAcceptedCommandListGlobalAttribute65529_16(); + err = TestStep6aTHReadsFromTheDutTheAcceptedCommandListAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6b: Read optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529)\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6b: TH reads optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529)\n"); if (ShouldSkip("S.S.C40.Rsp")) { NextTest(); return; } - err = TestStep6bReadOptionalCommandEnhancedAddSceneResponseAcceptedCommandListGlobalAttribute65529_17(); + err = TestStep6bThReadsOptionalCommandEnhancedAddSceneResponseAcceptedCommandListGlobalAttribute65529_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6c: Read optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529)\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6c: TH reads optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529)\n"); if (ShouldSkip("S.S.C41.Rsp")) { NextTest(); return; } - err = TestStep6cReadOptionalCommandEnhancedViewSceneResponseAcceptedCommandListGlobalAttribute65529_18(); + err = TestStep6cThReadsOptionalCommandEnhancedViewSceneResponseAcceptedCommandListGlobalAttribute65529_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 6d: Read optional command(CopySceneResponse) AcceptedCommandList (global attribute 65529)\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 6d: TH reads optional command(CopySceneResponse) AcceptedCommandList (global attribute 65529)\n"); if (ShouldSkip("S.S.C42.Rsp")) { NextTest(); return; } - err = TestStep6dReadOptionalCommandCopySceneResponseAcceptedCommandListGlobalAttribute65529_19(); + err = TestStep6dThReadsOptionalCommandCopySceneResponseAcceptedCommandListGlobalAttribute65529_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 7a: Read GeneratedCommandList (global attribute 65528)\n"); - err = TestStep7aReadGeneratedCommandListGlobalAttribute65528_20(); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 7a: TH reads from the DUT the GeneratedCommandList attribute\n"); + err = TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 7b: Read optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528)\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 7b: TH reads optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528)\n"); if (ShouldSkip("S.S.C40.Rsp")) { NextTest(); return; } - err = TestStep7bReadOptionalCommandEnhancedAddSceneResponseInGeneratedCommandListGlobalAttribute65528_21(); + err = TestStep7bThReadsOptionalCommandEnhancedAddSceneResponseInGeneratedCommandListGlobalAttribute65528_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 7c: Read optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528)\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 7c: TH reads optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528)\n"); if (ShouldSkip("S.S.C41.Rsp")) { NextTest(); return; } - err = TestStep7cReadOptionalCommandEnhancedViewSceneResponseInGeneratedCommandListGlobalAttribute65528_22(); + err = TestStep7cThReadsOptionalCommandEnhancedViewSceneResponseInGeneratedCommandListGlobalAttribute65528_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 7d: Read optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528)\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 7d: TH reads optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528)\n"); if (ShouldSkip("S.S.C42.Rsp")) { NextTest(); return; } - err = TestStep7dReadOptionalCommandCopySceneResponseInGeneratedCommandListGlobalAttribute65528_23(); + err = TestStep7dThReadsOptionalCommandCopySceneResponseInGeneratedCommandListGlobalAttribute65528_23(); break; } @@ -190176,7 +190263,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadClusterRevisionGlobalAttribute65533_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190185,9 +190272,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read ClusterRevision (global attribute 65533): Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Error: %@", err); } else { - NSLog(@"Step 2: Read ClusterRevision (global attribute 65533): Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190204,7 +190291,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadFeatureMapNameSupportBitGlobalAttribute65532_2() + CHIP_ERROR TestStep3aThReadsFeatureMapNameSupportBitGlobalAttribute65532_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190213,9 +190300,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read FeatureMap NameSupport bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3a: Read FeatureMap NameSupport bit (global attribute 65532): Success"); + NSLog(@"Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190227,7 +190314,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadFeatureMapNameSupportBitGlobalAttribute65532_3() + CHIP_ERROR TestStep3aThReadsFeatureMapNameSupportBitGlobalAttribute65532_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190236,9 +190323,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read FeatureMap NameSupport bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3a: Read FeatureMap NameSupport bit (global attribute 65532): Success"); + NSLog(@"Step 3a: TH reads FeatureMap NameSupport bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190250,7 +190337,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadFeatureMapExplicitBitGlobalAttribute65532_4() + CHIP_ERROR TestStep3bThReadsFeatureMapExplicitBitGlobalAttribute65532_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190259,9 +190346,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read FeatureMap Explicit bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3b: Read FeatureMap Explicit bit (global attribute 65532): Success"); + NSLog(@"Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190273,7 +190360,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadFeatureMapExplicitBitGlobalAttribute65532_5() + CHIP_ERROR TestStep3bThReadsFeatureMapExplicitBitGlobalAttribute65532_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190282,9 +190369,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read FeatureMap Explicit bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3b: Read FeatureMap Explicit bit (global attribute 65532): Success"); + NSLog(@"Step 3b: TH reads FeatureMap Explicit bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190296,7 +190383,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadFeatureMapTableSizeBitGlobalAttribute65532_6() + CHIP_ERROR TestStep3cThReadsFeatureMapTableSizeBitGlobalAttribute65532_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190305,9 +190392,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read FeatureMap TableSize bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3c: Read FeatureMap TableSize bit (global attribute 65532): Success"); + NSLog(@"Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190319,7 +190406,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadFeatureMapTableSizeBitGlobalAttribute65532_7() + CHIP_ERROR TestStep3cThReadsFeatureMapTableSizeBitGlobalAttribute65532_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190328,9 +190415,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read FeatureMap TableSize bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3c: Read FeatureMap TableSize bit (global attribute 65532): Success"); + NSLog(@"Step 3c: TH reads FeatureMap TableSize bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190342,7 +190429,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadFeatureMapFabricSceneBitGlobalAttribute65532_8() + CHIP_ERROR TestStep3dThReadsFeatureMapFabricSceneBitGlobalAttribute65532_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190351,9 +190438,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Read FeatureMap FabricScene bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3d: Read FeatureMap FabricScene bit (global attribute 65532): Success"); + NSLog(@"Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190365,7 +190452,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadFeatureMapFabricSceneBitGlobalAttribute65532_9() + CHIP_ERROR TestStep3dThReadsFeatureMapFabricSceneBitGlobalAttribute65532_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190374,9 +190461,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Read FeatureMap FabricScene bit (global attribute 65532): Error: %@", err); + NSLog(@"Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532): Error: %@", err); } else { - NSLog(@"Step 3d: Read FeatureMap FabricScene bit (global attribute 65532): Success"); + NSLog(@"Step 3d: TH reads FeatureMap FabricScene bit (global attribute 65532): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190388,7 +190475,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadMandatoryAttributesInAttributeListGlobalAttribute65531_10() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190397,9 +190484,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read Mandatory attributes in AttributeList (global attribute 65531): Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4: Read Mandatory attributes in AttributeList (global attribute 65531): Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190418,7 +190505,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadOptionalAttributesSceneCountCurrentSceneCurrentGroupSceneValidInAttributeListGlobalAttribute65531_11() + CHIP_ERROR TestStep4bThReadsOptionalAttributesSceneCountCurrentSceneCurrentGroupSceneValidInAttributeListGlobalAttribute65531_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190427,9 +190514,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531): Error: %@", err); + NSLog(@"Step 4b: TH reads optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531): Error: %@", err); } else { - NSLog(@"Step 4b: Read optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531): Success"); + NSLog(@"Step 4b: TH reads optional attributes(SceneCount, CurrentScene, CurrentGroup, SceneValid) in AttributeList (global attribute 65531): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190446,7 +190533,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadOptinnalAttributeLastConfiguredByInAttributeListGlobalAttribute65531_12() + CHIP_ERROR TestStep4cThReadsOptinnalAttributeLastConfiguredByInAttributeListGlobalAttribute65531_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190455,9 +190542,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read optinnal attribute(LastConfiguredBy) in AttributeList (global attribute 65531): Error: %@", err); + NSLog(@"Step 4c: TH reads optinnal attribute(LastConfiguredBy) in AttributeList (global attribute 65531): Error: %@", err); } else { - NSLog(@"Step 4c: Read optinnal attribute(LastConfiguredBy) in AttributeList (global attribute 65531): Success"); + NSLog(@"Step 4c: TH reads optinnal attribute(LastConfiguredBy) in AttributeList (global attribute 65531): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190471,7 +190558,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadOptionnalAttributeSceneTableSizeInAttributeListGlobalAttribute65531_13() + CHIP_ERROR TestStep4dThReadsOptionnalAttributeSceneTableSizeInAttributeListGlobalAttribute65531_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190480,9 +190567,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read optionnal attribute(SceneTableSize) in AttributeList (global attribute 65531): Error: %@", err); + NSLog(@"Step 4d: TH reads optionnal attribute(SceneTableSize) in AttributeList (global attribute 65531): Error: %@", err); } else { - NSLog(@"Step 4d: Read optionnal attribute(SceneTableSize) in AttributeList (global attribute 65531): Success"); + NSLog(@"Step 4d: TH reads optionnal attribute(SceneTableSize) in AttributeList (global attribute 65531): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190496,7 +190583,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadOptionalAttributeFabricSceneInfoInAttributeListGlobalAttribute65531_14() + CHIP_ERROR TestStep4eThReadsOptionalAttributeFabricSceneInfoInAttributeListGlobalAttribute65531_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190505,9 +190592,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read optional attribute(FabricSceneInfo) in AttributeList (global attribute 65531): Error: %@", err); + NSLog(@"Step 4e: TH reads optional attribute(FabricSceneInfo) in AttributeList (global attribute 65531): Error: %@", err); } else { - NSLog(@"Step 4e: Read optional attribute(FabricSceneInfo) in AttributeList (global attribute 65531): Success"); + NSLog(@"Step 4e: TH reads optional attribute(FabricSceneInfo) in AttributeList (global attribute 65531): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190521,7 +190608,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadMandatoryCommandsInAcceptedCommandListGlobalAttribute65529_16() + CHIP_ERROR TestStep6aTHReadsFromTheDutTheAcceptedCommandListAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190530,9 +190617,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read Mandatory commands in AcceptedCommandList (global attribute 65529): Error: %@", err); + NSLog(@"Step 6a:TH reads from the DUT the AcceptedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 6a: Read Mandatory commands in AcceptedCommandList (global attribute 65529): Success"); + NSLog(@"Step 6a:TH reads from the DUT the AcceptedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190552,7 +190639,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadOptionalCommandEnhancedAddSceneResponseAcceptedCommandListGlobalAttribute65529_17() + CHIP_ERROR TestStep6bThReadsOptionalCommandEnhancedAddSceneResponseAcceptedCommandListGlobalAttribute65529_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190561,9 +190648,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529): Error: %@", err); + NSLog(@"Step 6b: TH reads optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529): Error: %@", err); } else { - NSLog(@"Step 6b: Read optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529): Success"); + NSLog(@"Step 6b: TH reads optional command(EnhancedAddSceneResponse) AcceptedCommandList (global attribute 65529): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190577,7 +190664,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cReadOptionalCommandEnhancedViewSceneResponseAcceptedCommandListGlobalAttribute65529_18() + CHIP_ERROR TestStep6cThReadsOptionalCommandEnhancedViewSceneResponseAcceptedCommandListGlobalAttribute65529_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190586,9 +190673,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: Read optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529): Error: %@", err); + NSLog(@"Step 6c: TH reads optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529): Error: %@", err); } else { - NSLog(@"Step 6c: Read optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529): Success"); + NSLog(@"Step 6c: TH reads optional command(EnhancedViewSceneResponse) AcceptedCommandList (global attribute 65529): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190602,7 +190689,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6dReadOptionalCommandCopySceneResponseAcceptedCommandListGlobalAttribute65529_19() + CHIP_ERROR TestStep6dThReadsOptionalCommandCopySceneResponseAcceptedCommandListGlobalAttribute65529_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190611,9 +190698,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: Read optional command(CopySceneResponse) AcceptedCommandList (global attribute 65529): Error: %@", err); + NSLog(@"Step 6d: TH reads optional command(CopySceneResponse) AcceptedCommandList (global attribute 65529): Error: %@", err); } else { - NSLog(@"Step 6d: Read optional command(CopySceneResponse) AcceptedCommandList (global attribute 65529): Success"); + NSLog(@"Step 6d: TH reads optional command(CopySceneResponse) AcceptedCommandList (global attribute 65529): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190627,7 +190714,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7aReadGeneratedCommandListGlobalAttribute65528_20() + CHIP_ERROR TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190636,9 +190723,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7a: Read GeneratedCommandList (global attribute 65528): Error: %@", err); + NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); } else { - NSLog(@"Step 7a: Read GeneratedCommandList (global attribute 65528): Success"); + NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190657,7 +190744,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7bReadOptionalCommandEnhancedAddSceneResponseInGeneratedCommandListGlobalAttribute65528_21() + CHIP_ERROR TestStep7bThReadsOptionalCommandEnhancedAddSceneResponseInGeneratedCommandListGlobalAttribute65528_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190666,9 +190753,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7b: Read optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528): Error: %@", err); + NSLog(@"Step 7b: TH reads optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528): Error: %@", err); } else { - NSLog(@"Step 7b: Read optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528): Success"); + NSLog(@"Step 7b: TH reads optional command(EnhancedAddSceneResponse) in GeneratedCommandList (global attribute 65528): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190682,7 +190769,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7cReadOptionalCommandEnhancedViewSceneResponseInGeneratedCommandListGlobalAttribute65528_22() + CHIP_ERROR TestStep7cThReadsOptionalCommandEnhancedViewSceneResponseInGeneratedCommandListGlobalAttribute65528_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190691,9 +190778,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7c: Read optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528): Error: %@", err); + NSLog(@"Step 7c: TH reads optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528): Error: %@", err); } else { - NSLog(@"Step 7c: Read optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528): Success"); + NSLog(@"Step 7c: TH reads optional command(EnhancedViewSceneResponse) in GeneratedCommandList (global attribute 65528): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190707,7 +190794,7 @@ class Test_TC_S_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7dReadOptionalCommandCopySceneResponseInGeneratedCommandListGlobalAttribute65528_23() + CHIP_ERROR TestStep7dThReadsOptionalCommandCopySceneResponseInGeneratedCommandListGlobalAttribute65528_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190716,9 +190803,9 @@ class Test_TC_S_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7d: Read optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528): Error: %@", err); + NSLog(@"Step 7d: TH reads optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528): Error: %@", err); } else { - NSLog(@"Step 7d: Read optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528): Success"); + NSLog(@"Step 7d: TH reads optional command(CopySceneResponse) in GeneratedCommandList (global attribute 65528): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190774,80 +190861,80 @@ class Test_TC_S_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the (0x0000) SceneCount attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the SceneCount attribute\n"); if (ShouldSkip("S.S.A0000 && (!S.S.F03)")) { NextTest(); return; } - err = TestStep2ThReadsFromTheDutThe0x0000SceneCountAttribute_1(); + err = TestStep2ThReadsFromTheDutTheSceneCountAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the (0x0001) CurrentScene attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the CurrentScene attribute\n"); if (ShouldSkip("S.S.A0001 && (!S.S.F03)")) { NextTest(); return; } - err = TestStep3ThReadsFromTheDutThe0x0001CurrentSceneAttribute_2(); + err = TestStep3ThReadsFromTheDutTheCurrentSceneAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the (0x0002) CurrentGroup attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the CurrentGroup attribute\n"); if (ShouldSkip("S.S.A0002 && (!S.S.F03)")) { NextTest(); return; } - err = TestStep4ThReadsFromTheDutThe0x0002CurrentGroupAttribute_3(); + err = TestStep4ThReadsFromTheDutTheCurrentGroupAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the (0x0003) SceneValid attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the SceneValid attribute\n"); if (ShouldSkip("S.S.A0003 && (!S.S.F03)")) { NextTest(); return; } - err = TestStep5ThReadsFromTheDutThe0x0003SceneValidAttribute_4(); + err = TestStep5ThReadsFromTheDutTheSceneValidAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the (0x0004) NameSupport attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the NameSupport attribute\n"); if (ShouldSkip("S.S.A0004 && S.S.F00")) { NextTest(); return; } - err = TestStep6ThReadsFromTheDutThe0x0004NameSupportAttribute_5(); + err = TestStep6ThReadsFromTheDutTheNameSupportAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the (0x0004) NameSupport attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the NameSupport attribute\n"); if (ShouldSkip("S.S.A0004 && (!S.S.F00)")) { NextTest(); return; } - err = TestStep6ThReadsFromTheDutThe0x0004NameSupportAttribute_6(); + err = TestStep6ThReadsFromTheDutTheNameSupportAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the (0x0005) LastConfiguredBy attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the LastConfiguredBy attribute\n"); if (ShouldSkip("S.S.A0005")) { NextTest(); return; } - err = TestStep7ThReadsFromTheDutThe0x0005LastConfiguredByAttribute_7(); + err = TestStep7ThReadsFromTheDutTheLastConfiguredByAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH reads from the DUT the (0x0006) SceneTableSize attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 8: TH reads from the DUT the SceneTableSize attribute\n"); if (ShouldSkip("S.S.A0006")) { NextTest(); return; } - err = TestStep8ThReadsFromTheDutThe0x0006SceneTableSizeAttribute_8(); + err = TestStep8ThReadsFromTheDutTheSceneTableSizeAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 9: TH reads from the DUT the (0x0007) FabricSceneInfo attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 9: TH reads from the DUT the FabricSceneInfo attribute\n"); if (ShouldSkip("S.S.A0007")) { NextTest(); return; } - err = TestStep9ThReadsFromTheDutThe0x0007FabricSceneInfoAttribute_9(); + err = TestStep9ThReadsFromTheDutTheFabricSceneInfoAttribute_9(); break; } @@ -190907,7 +190994,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -190915,7 +191002,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsFromTheDutThe0x0000SceneCountAttribute_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheSceneCountAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190924,9 +191011,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeSceneCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads from the DUT the (0x0000) SceneCount attribute: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the SceneCount attribute: Error: %@", err); } else { - NSLog(@"Step 2: TH reads from the DUT the (0x0000) SceneCount attribute: Success"); + NSLog(@"Step 2: TH reads from the DUT the SceneCount attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190938,7 +191025,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsFromTheDutThe0x0001CurrentSceneAttribute_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheCurrentSceneAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190947,9 +191034,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeCurrentSceneWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads from the DUT the (0x0001) CurrentScene attribute: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the CurrentScene attribute: Error: %@", err); } else { - NSLog(@"Step 3: TH reads from the DUT the (0x0001) CurrentScene attribute: Success"); + NSLog(@"Step 3: TH reads from the DUT the CurrentScene attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190961,7 +191048,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsFromTheDutThe0x0002CurrentGroupAttribute_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheCurrentGroupAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190970,9 +191057,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeCurrentGroupWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads from the DUT the (0x0002) CurrentGroup attribute: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the CurrentGroup attribute: Error: %@", err); } else { - NSLog(@"Step 4: TH reads from the DUT the (0x0002) CurrentGroup attribute: Success"); + NSLog(@"Step 4: TH reads from the DUT the CurrentGroup attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -190984,7 +191071,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThReadsFromTheDutThe0x0003SceneValidAttribute_4() + CHIP_ERROR TestStep5ThReadsFromTheDutTheSceneValidAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -190993,9 +191080,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeSceneValidWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: TH reads from the DUT the (0x0003) SceneValid attribute: Error: %@", err); + NSLog(@"Step 5: TH reads from the DUT the SceneValid attribute: Error: %@", err); } else { - NSLog(@"Step 5: TH reads from the DUT the (0x0003) SceneValid attribute: Success"); + NSLog(@"Step 5: TH reads from the DUT the SceneValid attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191007,7 +191094,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsFromTheDutThe0x0004NameSupportAttribute_5() + CHIP_ERROR TestStep6ThReadsFromTheDutTheNameSupportAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191016,9 +191103,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeNameSupportWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads from the DUT the (0x0004) NameSupport attribute: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the NameSupport attribute: Error: %@", err); } else { - NSLog(@"Step 6: TH reads from the DUT the (0x0004) NameSupport attribute: Success"); + NSLog(@"Step 6: TH reads from the DUT the NameSupport attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191035,7 +191122,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsFromTheDutThe0x0004NameSupportAttribute_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheNameSupportAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191044,9 +191131,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeNameSupportWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads from the DUT the (0x0004) NameSupport attribute: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the NameSupport attribute: Error: %@", err); } else { - NSLog(@"Step 6: TH reads from the DUT the (0x0004) NameSupport attribute: Success"); + NSLog(@"Step 6: TH reads from the DUT the NameSupport attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191063,7 +191150,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutThe0x0005LastConfiguredByAttribute_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheLastConfiguredByAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191072,9 +191159,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeLastConfiguredByWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads from the DUT the (0x0005) LastConfiguredBy attribute: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the LastConfiguredBy attribute: Error: %@", err); } else { - NSLog(@"Step 7: TH reads from the DUT the (0x0005) LastConfiguredBy attribute: Success"); + NSLog(@"Step 7: TH reads from the DUT the LastConfiguredBy attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191090,7 +191177,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ThReadsFromTheDutThe0x0006SceneTableSizeAttribute_8() + CHIP_ERROR TestStep8ThReadsFromTheDutTheSceneTableSizeAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191099,9 +191186,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { [cluster readAttributeSceneTableSizeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: TH reads from the DUT the (0x0006) SceneTableSize attribute: Error: %@", err); + NSLog(@"Step 8: TH reads from the DUT the SceneTableSize attribute: Error: %@", err); } else { - NSLog(@"Step 8: TH reads from the DUT the (0x0006) SceneTableSize attribute: Success"); + NSLog(@"Step 8: TH reads from the DUT the SceneTableSize attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191113,7 +191200,7 @@ class Test_TC_S_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ThReadsFromTheDutThe0x0007FabricSceneInfoAttribute_9() + CHIP_ERROR TestStep9ThReadsFromTheDutTheFabricSceneInfoAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191124,9 +191211,9 @@ class Test_TC_S_2_1 : public TestCommandBridge { params.filterByFabric = true; [cluster readAttributeFabricSceneInfoWithParams:params completion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: TH reads from the DUT the (0x0007) FabricSceneInfo attribute: Error: %@", err); + NSLog(@"Step 9: TH reads from the DUT the FabricSceneInfo attribute: Error: %@", err); } else { - NSLog(@"Step 9: TH reads from the DUT the (0x0007) FabricSceneInfo attribute: Success"); + NSLog(@"Step 9: TH reads from the DUT the FabricSceneInfo attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191185,12 +191272,12 @@ class Test_TC_S_2_4 : public TestCommandBridge { err = TestWaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 0a: preparation step for using commands from Groups cluster: Add KeySet\n"); - err = TestStep0aPreparationStepForUsingCommandsFromGroupsClusterAddKeySet_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 0a: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT using a key that is pre-installed on the TH. GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a1 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 2220000 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 2220001 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 2220002\n"); + err = TestStep0aThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutUsingAKeyThatIsPreInstalledOnTheThGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a12GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime022200005EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime122200017EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime22220002_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 0b: Preparation step for using commands from Groups cluster: Write Group Keys\n"); - err = TestStep0bPreparationStepForUsingCommandsFromGroupsClusterWriteGroupKeys_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 0b: TH binds GroupId 0x0001 with GroupKeySetID 0x01a1 in the GroupKeyMap attribute list on GroupKeyManagement cluster by writing the GroupKeyMap attribute with one entry as follows: List item 1: 1)FabricIndex: 1 2)GroupId: 0x0001 3)GroupKeySetId: 0x01a1\n"); + err = TestStep0bThBindsGroupId0x0001WithGroupKeySetID0x01a1InTheGroupKeyMapAttributeListOnGroupKeyManagementClusterByWritingTheGroupKeyMapAttributeWithOneEntryAsFollowsListItem11FabricIndex12GroupId0x00013GroupKeySetId0x01a1_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 0c: TH sends a RemoveAllGroups command to DUT.\n"); @@ -191217,12 +191304,12 @@ class Test_TC_S_2_4 : public TestCommandBridge { err = TestStep2bThSendsARemoveAllScenesCommandToDutWithTheGroupIDFieldSetToG1_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0001 and a set of extension fields appropriate to AC1.\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0014 (20s) and no extension field sets.\n"); if (ShouldSkip("S.S.C00.Rsp")) { NextTest(); return; } - err = TestStep3ThSendsAAddSceneCommandToDutWithTheGroupIDFieldSetToG1TheSceneIDFieldSetTo0x01TheTransitionTimeFieldSetTo0x0001AndASetOfExtensionFieldsAppropriateToAc1_6(); + err = TestStep3ThSendsAAddSceneCommandToDutWithTheGroupIDFieldSetToG1TheSceneIDFieldSetTo0x01TheTransitionTimeFieldSetTo0x001420sAndNoExtensionFieldSets_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: TH configures AC1 on DUT for all implemented application clusters supporting scenes.\n"); @@ -191501,7 +191588,7 @@ class Test_TC_S_2_4 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep0aPreparationStepForUsingCommandsFromGroupsClusterAddKeySet_1() + CHIP_ERROR TestStep0aThSendsKeySetWriteCommandInTheGroupKeyManagementClusterToDutUsingAKeyThatIsPreInstalledOnTheThGroupKeySetFieldsAreAsFollows1GroupKeySetID0x01a12GroupKeySecurityPolicyTrustFirst03EpochKey0D0d1d2d3d4d5d6d7d8d9dadbdcdddedf4EpochStartTime022200005EpochKey1D1d1d2d3d4d5d6d7d8d9dadbdcdddedf6EpochStartTime122200017EpochKey2D2d1d2d3d4d5d6d7d8d9dadbdcdddedf8EpochStartTime22220002_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191530,9 +191617,9 @@ class Test_TC_S_2_4 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 0a: preparation step for using commands from Groups cluster: Add KeySet: Error: %@", err); + NSLog(@"Step 0a: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT using a key that is pre-installed on the TH. GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a1 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 2220000 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 2220001 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 2220002: Error: %@", err); } else { - NSLog(@"Step 0a: preparation step for using commands from Groups cluster: Add KeySet: Success"); + NSLog(@"Step 0a: TH sends KeySetWrite command in the GroupKeyManagement cluster to DUT using a key that is pre-installed on the TH. GroupKeySet fields are as follows: 1)GroupKeySetID: 0x01a1 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 2220000 5)EpochKey1: d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: 2220001 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf 8)EpochStartTime2: 2220002: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191543,7 +191630,7 @@ class Test_TC_S_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep0bPreparationStepForUsingCommandsFromGroupsClusterWriteGroupKeys_2() + CHIP_ERROR TestStep0bThBindsGroupId0x0001WithGroupKeySetID0x01a1InTheGroupKeyMapAttributeListOnGroupKeyManagementClusterByWritingTheGroupKeyMapAttributeWithOneEntryAsFollowsListItem11FabricIndex12GroupId0x00013GroupKeySetId0x01a1_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191564,9 +191651,9 @@ class Test_TC_S_2_4 : public TestCommandBridge { } [cluster writeAttributeGroupKeyMapWithValue:groupKeyMapArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 0b: Preparation step for using commands from Groups cluster: Write Group Keys: Error: %@", err); + NSLog(@"Step 0b: TH binds GroupId 0x0001 with GroupKeySetID 0x01a1 in the GroupKeyMap attribute list on GroupKeyManagement cluster by writing the GroupKeyMap attribute with one entry as follows: List item 1: 1)FabricIndex: 1 2)GroupId: 0x0001 3)GroupKeySetId: 0x01a1: Error: %@", err); } else { - NSLog(@"Step 0b: Preparation step for using commands from Groups cluster: Write Group Keys: Success"); + NSLog(@"Step 0b: TH binds GroupId 0x0001 with GroupKeySetID 0x01a1 in the GroupKeyMap attribute list on GroupKeyManagement cluster by writing the GroupKeyMap attribute with one entry as follows: List item 1: 1)FabricIndex: 1 2)GroupId: 0x0001 3)GroupKeySetId: 0x01a1: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -191671,7 +191758,7 @@ class Test_TC_S_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThSendsAAddSceneCommandToDutWithTheGroupIDFieldSetToG1TheSceneIDFieldSetTo0x01TheTransitionTimeFieldSetTo0x0001AndASetOfExtensionFieldsAppropriateToAc1_6() + CHIP_ERROR TestStep3ThSendsAAddSceneCommandToDutWithTheGroupIDFieldSetToG1TheSceneIDFieldSetTo0x01TheTransitionTimeFieldSetTo0x001420sAndNoExtensionFieldSets_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -191692,9 +191779,9 @@ class Test_TC_S_2_4 : public TestCommandBridge { [cluster addSceneWithParams:params completion: ^(MTRScenesClusterAddSceneResponseParams * _Nullable values, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0001 and a set of extension fields appropriate to AC1.: Error: %@", err); + NSLog(@"Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0014 (20s) and no extension field sets.: Error: %@", err); } else { - NSLog(@"Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0001 and a set of extension fields appropriate to AC1.: Success"); + NSLog(@"Step 3: TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0014 (20s) and no extension field sets.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192526,20 +192613,20 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("!ACFREMON.S.F00 && !ACFREMON.S.F01 && !ACFREMON.S.F02")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given ACFREMON.S.F00(Condition) ensure featuremap has the correct bit set\n"); @@ -192566,52 +192653,52 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { err = TestStep3dGivenACFREMONSF01ReplacementProductListEnsureFeaturemapHasTheCorrectBitSet_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_6(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_7(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: Read the feature dependent(ACFREMON.S.F00) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: TH reads the feature dependent(ACFREMON.S.F00) attribute in AttributeList\n"); if (ShouldSkip("ACFREMON.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheFeatureDependentACFREMONSF00AttributeInAttributeList_8(); + err = TestStep4bThReadsTheFeatureDependentACFREMONSF00AttributeInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: Read the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: TH reads the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList\n"); if (ShouldSkip("ACFREMON.S.A0003")) { NextTest(); return; } - err = TestStep4cReadTheOptionalAttributeInPlaceIndicatorAcfremonsa0003InAttributeList_9(); + err = TestStep4cThReadsTheOptionalAttributeInPlaceIndicatorAcfremonsa0003InAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: Read the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: TH reads the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList\n"); if (ShouldSkip("ACFREMON.S.A0004")) { NextTest(); return; } - err = TestStep4dReadTheOptionalAttributeLastChangedTimeAcfremonsa0004InAttributeList_10(); + err = TestStep4dThReadsTheOptionalAttributeLastChangedTimeAcfremonsa0004InAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4e: Read the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4e: TH reads the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList\n"); if (ShouldSkip("ACFREMON.S.F02")) { NextTest(); return; } - err = TestStep4eReadTheOptionalAttributeReplacementProductListAcfremonsf02InAttributeList_11(); + err = TestStep4eThReadsTheOptionalAttributeReplacementProductListAcfremonsf02InAttributeList_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5: TH reads EventList attribute from DUT\n"); @@ -192622,24 +192709,24 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { NextTest(); return; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: Read the global attribute: AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); if (ShouldSkip("!ACFREMON.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_13(); + err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6: Read the optional command (ResetCondition) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6b: TH reads the optional command (ResetCondition) in AcceptedCommandList\n"); if (ShouldSkip("ACFREMON.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheOptionalCommandResetConditionInAcceptedCommandList_14(); + err = TestStep6bThReadsTheOptionalCommandResetConditionInAcceptedCommandList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_15(); break; } @@ -192717,7 +192804,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -192725,7 +192812,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192734,9 +192821,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192753,7 +192840,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192762,9 +192849,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192850,7 +192937,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192859,9 +192946,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192881,7 +192968,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192890,9 +192977,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192911,7 +192998,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheFeatureDependentACFREMONSF00AttributeInAttributeList_8() + CHIP_ERROR TestStep4bThReadsTheFeatureDependentACFREMONSF00AttributeInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192920,9 +193007,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the feature dependent(ACFREMON.S.F00) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the feature dependent(ACFREMON.S.F00) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the feature dependent(ACFREMON.S.F00) attribute in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the feature dependent(ACFREMON.S.F00) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192938,7 +193025,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalAttributeInPlaceIndicatorAcfremonsa0003InAttributeList_9() + CHIP_ERROR TestStep4cThReadsTheOptionalAttributeInPlaceIndicatorAcfremonsa0003InAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192947,9 +193034,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the optional attribute InPlaceIndicator (ACFREMON.S.A0003) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192963,7 +193050,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalAttributeLastChangedTimeAcfremonsa0004InAttributeList_10() + CHIP_ERROR TestStep4dThReadsTheOptionalAttributeLastChangedTimeAcfremonsa0004InAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192972,9 +193059,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional attribute LastChangedTime (ACFREMON.S.A0004) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -192988,7 +193075,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheOptionalAttributeReplacementProductListAcfremonsf02InAttributeList_11() + CHIP_ERROR TestStep4eThReadsTheOptionalAttributeReplacementProductListAcfremonsf02InAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -192997,9 +193084,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the optional attribute ReplacementProductList (ACFREMON.S.F02) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193013,7 +193100,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_13() + CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193022,9 +193109,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193041,7 +193128,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheOptionalCommandResetConditionInAcceptedCommandList_14() + CHIP_ERROR TestStep6bThReadsTheOptionalCommandResetConditionInAcceptedCommandList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193050,9 +193137,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the optional command (ResetCondition) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6b: TH reads the optional command (ResetCondition) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6: Read the optional command (ResetCondition) in AcceptedCommandList: Success"); + NSLog(@"Step 6b: TH reads the optional command (ResetCondition) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193066,7 +193153,7 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_15() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193075,9 +193162,9 @@ class Test_TC_ACFREMON_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193136,8 +193223,8 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the Condition attribute.\n"); @@ -193156,36 +193243,44 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { err = TestStep3ThReadsFromTheDutTheDegradationDirectionAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the ChangeIndication attribute.\n"); - if (ShouldSkip("ACFREMON.S.A0002")) { + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the ChangeIndication attribute.\n"); + if (ShouldSkip(" ACFREMON.S.A0002 && !ACFREMON.S.F01 ")) { NextTest(); return; } - err = TestStep4ThReadsFromTheDutTheChangeIndicationAttribute_3(); + err = TestStep4aThReadsFromTheDutTheChangeIndicationAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the InPlaceIndicator attribute\n"); - if (ShouldSkip("ACFREMON.S.A0003")) { + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4b: TH reads from the DUT the ChangeIndication attribute.\n"); + if (ShouldSkip("ACFREMON.S.F01 && ACFREMON.S.A0002")) { NextTest(); return; } - err = TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_4(); + err = TestStep4bThReadsFromTheDutTheChangeIndicationAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the LastChangedTime attribute\n"); - if (ShouldSkip("ACFREMON.S.A0004")) { + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the InPlaceIndicator attribute\n"); + if (ShouldSkip("ACFREMON.S.A0003")) { NextTest(); return; } - err = TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_5(); + err = TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads from the DUT the ReplacementProductList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the LastChangedTime attribute\n"); + if (ShouldSkip("ACFREMON.S.A0004")) { + NextTest(); + return; + } + err = TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_6(); + break; + case 7: + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the ReplacementProductList attribute\n"); if (ShouldSkip("ACFREMON.S.A0005")) { NextTest(); return; } - err = TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_6(); + err = TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_7(); break; } @@ -193219,6 +193314,9 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 7: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -193229,14 +193327,14 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 7; + const uint16_t mTestCount = 8; chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -193296,7 +193394,7 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsFromTheDutTheChangeIndicationAttribute_3() + CHIP_ERROR TestStep4aThReadsFromTheDutTheChangeIndicationAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193305,24 +193403,49 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { [cluster readAttributeChangeIndicationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads from the DUT the ChangeIndication attribute.: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the ChangeIndication attribute.: Error: %@", err); } else { - NSLog(@"Step 4: TH reads from the DUT the ChangeIndication attribute.: Success"); + NSLog(@"Step 4a: TH reads from the DUT the ChangeIndication attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("changeIndication", "enum8", "enum8")); - VerifyOrReturn(CheckConstraintMinValue("changeIndication", [value unsignedCharValue], 0U)); - VerifyOrReturn(CheckConstraintMaxValue("changeIndication", [value unsignedCharValue], 2U)); + NextTest(); + }]; + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestStep4bThReadsFromTheDutTheChangeIndicationAttribute_4() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterActivatedCarbonFilterMonitoring alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeChangeIndicationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + if (err != nil) { + NSLog(@"Step 4b: TH reads from the DUT the ChangeIndication attribute.: Error: %@", err); + } else { + NSLog(@"Step 4b: TH reads from the DUT the ChangeIndication attribute.: Success"); + } + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + { + id actualValue = value; + VerifyOrReturn(CheckValue("ChangeIndication", actualValue, 1U)); + } + + VerifyOrReturn(CheckConstraintType("changeIndication", "enum8", "enum8")); NextTest(); }]; return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_4() + CHIP_ERROR TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193345,7 +193468,7 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_5() + CHIP_ERROR TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193372,7 +193495,7 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_6() + CHIP_ERROR TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193437,20 +193560,20 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); if (ShouldSkip("!HEPAFREMON.S.F00 && !HEPAFREMON.S.F01 && !HEPAFREMON.S.F02")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given HEPAFREMON.S.F00(Condition) ensure featuremap has the correct bit set\n"); @@ -193477,55 +193600,55 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { err = TestStep3dGivenHEPAFREMONSF02ReplacementProductListEnsureFeaturemapHasTheCorrectBitSet_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ReadTheGlobalAttributeAttributeList_6(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ReadTheGlobalAttributeAttributeList_7(); + err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: Read the feature dependent(HEPAFREMON.S.F00) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: TH reads the feature dependent(HEPAFREMON.S.F00) attribute in AttributeList\n"); if (ShouldSkip("HEPAFREMON.S.F00")) { NextTest(); return; } - err = TestStep4bReadTheFeatureDependentHEPAFREMONSF00AttributeInAttributeList_8(); + err = TestStep4bThReadsTheFeatureDependentHEPAFREMONSF00AttributeInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: Read the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: TH reads the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList\n"); if (ShouldSkip("HEPAFREMON.S.A0003")) { NextTest(); return; } - err = TestStep4cReadTheOptionalAttributeInPlaceIndicatorHepafremonsa0003InAttributeList_9(); + err = TestStep4cThReadsTheOptionalAttributeInPlaceIndicatorHepafremonsa0003InAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: Read the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: TH reads the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList\n"); if (ShouldSkip("HEPAFREMON.S.A0004")) { NextTest(); return; } - err = TestStep4dReadTheOptionalAttributeLastChangedTimeHepafremonsa0004InAttributeList_10(); + err = TestStep4dThReadsTheOptionalAttributeLastChangedTimeHepafremonsa0004InAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4e: Read the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4e: TH reads the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList\n"); if (ShouldSkip("HEPAFREMON.S.F02")) { NextTest(); return; } - err = TestStep4eReadTheOptionalAttributeReplacementProductListHepafremonsf02InAttributeList_11(); + err = TestStep4eThReadsTheOptionalAttributeReplacementProductListHepafremonsf02InAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5: TH reads EventList attribute from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5: TH reads from the DUT the EventList attribute.\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -193533,24 +193656,24 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { NextTest(); return; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: Read the global attribute: AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); if (ShouldSkip("!HEPAFREMON.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_13(); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6: Read the optional command (ResetCondition) in AcceptedCommandList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6: TH reads the optional command (ResetCondition) in AcceptedCommandList\n"); if (ShouldSkip("HEPAFREMON.S.C00.Rsp")) { NextTest(); return; } - err = TestStep6ReadTheOptionalCommandResetConditionInAcceptedCommandList_14(); + err = TestStep6ThReadsTheOptionalCommandResetConditionInAcceptedCommandList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7: Read the global attribute: GeneratedCommandList\n"); - err = TestStep7ReadTheGlobalAttributeGeneratedCommandList_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_15(); break; } @@ -193628,7 +193751,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -193636,7 +193759,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193645,9 +193768,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193664,7 +193787,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193673,9 +193796,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193761,7 +193884,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193770,9 +193893,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193792,7 +193915,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193801,9 +193924,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193822,7 +193945,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadTheFeatureDependentHEPAFREMONSF00AttributeInAttributeList_8() + CHIP_ERROR TestStep4bThReadsTheFeatureDependentHEPAFREMONSF00AttributeInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193831,9 +193954,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read the feature dependent(HEPAFREMON.S.F00) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads the feature dependent(HEPAFREMON.S.F00) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: Read the feature dependent(HEPAFREMON.S.F00) attribute in AttributeList: Success"); + NSLog(@"Step 4b: TH reads the feature dependent(HEPAFREMON.S.F00) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193849,7 +193972,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalAttributeInPlaceIndicatorHepafremonsa0003InAttributeList_9() + CHIP_ERROR TestStep4cThReadsTheOptionalAttributeInPlaceIndicatorHepafremonsa0003InAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193858,9 +193981,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: TH reads the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList: Success"); + NSLog(@"Step 4c: TH reads the optional attribute InPlaceIndicator (HEPAFREMON.S.A0003) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193874,7 +193997,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadTheOptionalAttributeLastChangedTimeHepafremonsa0004InAttributeList_10() + CHIP_ERROR TestStep4dThReadsTheOptionalAttributeLastChangedTimeHepafremonsa0004InAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193883,9 +194006,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Read the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Read the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList: Success"); + NSLog(@"Step 4d: TH reads the optional attribute LastChangedTime (HEPAFREMON.S.A0004) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193899,7 +194022,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eReadTheOptionalAttributeReplacementProductListHepafremonsf02InAttributeList_11() + CHIP_ERROR TestStep4eThReadsTheOptionalAttributeReplacementProductListHepafremonsf02InAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193908,9 +194031,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: Read the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: Read the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the optional attribute ReplacementProductList (HEPAFREMON.S.F02) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193924,7 +194047,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_13() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193933,9 +194056,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193952,7 +194075,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheOptionalCommandResetConditionInAcceptedCommandList_14() + CHIP_ERROR TestStep6ThReadsTheOptionalCommandResetConditionInAcceptedCommandList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193961,9 +194084,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the optional command (ResetCondition) in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 6: TH reads the optional command (ResetCondition) in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6: Read the optional command (ResetCondition) in AcceptedCommandList: Success"); + NSLog(@"Step 6: TH reads the optional command (ResetCondition) in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193977,7 +194100,7 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheGlobalAttributeGeneratedCommandList_15() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193986,9 +194109,9 @@ class Test_TC_HEPAFREMON_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the global attribute: GeneratedCommandList: Success"); + NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -194047,8 +194170,8 @@ class Test_TC_HEPAFREMON_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the Condition attribute.\n"); @@ -194147,7 +194270,7 @@ class Test_TC_HEPAFREMON_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; From 7ab961e090c5f3c37ec133c92046af10b468c4b8 Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Tue, 9 Jan 2024 18:01:59 +0530 Subject: [PATCH 3/7] modifed FAN-2.1 file --- .../suites/certification/Test_TC_FAN_2_1.yaml | 2 +- .../certification/Test_TC_FLDCONC_2_1.yaml | 2 +- .../certification/Test_TC_NDOCONC_2_1.yaml | 4 ++- .../certification/Test_TC_OZCONC_2_1.yaml | 6 ++-- .../certification/Test_TC_RNCONC_2_1.yaml | 6 ++-- .../certification/Test_TC_TVOCCONC_2_1.yaml | 6 ++-- .../zap-generated/test/Commands.h | 30 +++++++++---------- 7 files changed, 32 insertions(+), 24 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml index 8f4c23f5c9a301..e8d763a2c1ff6d 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_FLDCONC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLDCONC_2_1.yaml index 3a9ca77e47a334..d19cce4e0dc2bf 100644 --- a/src/app/tests/suites/certification/Test_TC_FLDCONC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLDCONC_2_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 145.1.2. [TC-FLDCONC-2.1] Attributes with server as DUT +name: 145.1.2. [TC-FLDCONC-2.1] Attributes with DUT as Server PICS: - FLDCONC.S diff --git a/src/app/tests/suites/certification/Test_TC_NDOCONC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_NDOCONC_2_1.yaml index e795b775716df8..6b95469676c749 100644 --- a/src/app/tests/suites/certification/Test_TC_NDOCONC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_NDOCONC_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_OZCONC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OZCONC_2_1.yaml index 96223f37b386f5..2674209738bb10 100644 --- a/src/app/tests/suites/certification/Test_TC_OZCONC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OZCONC_2_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 145.1.2. [TC-OZCONC-2.1] Attributes with server as DUT +name: 145.1.2. [TC-OZCONC-2.1] Attributes with DUT as Server PICS: - OZCONC.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_RNCONC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_RNCONC_2_1.yaml index dffcf2e7b39818..bcdc0a4fac14a6 100644 --- a/src/app/tests/suites/certification/Test_TC_RNCONC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RNCONC_2_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 145.1.2. [TC-RNCONC-2.1] Attributes with server as DUT +name: 145.1.2. [TC-RNCONC-2.1] Attributes with DUT as Server PICS: - RNCONC.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_TVOCCONC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TVOCCONC_2_1.yaml index a63ecaecfabe5a..faab94430f50ca 100644 --- a/src/app/tests/suites/certification/Test_TC_TVOCCONC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TVOCCONC_2_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 145.1.2. [TC-TVOCCONC-2.1] Attributes with server as DUT +name: 145.1.2. [TC-TVOCCONC-2.1] Attributes with DUT as Server PICS: - TVOCCONC.S @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index e7d44a7b08a68c..93df3024382482 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -34785,8 +34785,8 @@ class Test_TC_NDOCONC_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MinMeasuredValue attribute.\n"); @@ -34940,7 +34940,7 @@ class Test_TC_NDOCONC_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -36388,8 +36388,8 @@ class Test_TC_OZCONC_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MinMeasuredValue attribute.\n"); @@ -36543,7 +36543,7 @@ class Test_TC_OZCONC_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -42800,8 +42800,8 @@ class Test_TC_RNCONC_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MinMeasuredValue attribute.\n"); @@ -42955,7 +42955,7 @@ class Test_TC_RNCONC_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -44403,8 +44403,8 @@ class Test_TC_TVOCCONC_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MinMeasuredValue attribute.\n"); @@ -44558,7 +44558,7 @@ class Test_TC_TVOCCONC_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -50886,8 +50886,8 @@ class Test_TC_FAN_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH\n"); + err = TestStep1CommissionDutToTh_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the the FanMode attribute\n"); @@ -50964,7 +50964,7 @@ class Test_TC_FAN_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToTh_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; From 8c844a446f5b7a70aa7b7674898a5b6273504f10 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 9 Jan 2024 12:32:55 +0000 Subject: [PATCH 4/7] Restyled by whitespace --- .../Test_TC_AUDIOOUTPUT_7_2.yaml | 2 +- .../suites/certification/Test_TC_CC_5_1.yaml | 2 +- .../certification/Test_TC_DGGEN_2_1.yaml | 272 +++++++++--------- .../suites/certification/Test_TC_PS_2_2.yaml | 8 +- .../certification/Test_TC_REFALM_2_3.yaml | 2 +- .../certification/Test_TC_RVCCLEANM_3_3.yaml | 2 +- 6 files changed, 144 insertions(+), 144 deletions(-) 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 8c76ce6e07d152..13ce5941999fb8 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 @@ -60,7 +60,7 @@ tests: "Step 3: TH reads the OutputList attribute from the DUT. Verify that the output at the index provided in step 2 has the name CertTest" verification: | - The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): + The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): ./chip-tool audiooutput read output-list 1 1 ./chip-tv-casting-app audiooutput read output-list 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml index 41e81a36bdcf55..cd08746ac79df0 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml @@ -30,7 +30,7 @@ tests: values: - name: "nodeId" value: nodeId - + - label: "Step 1a: TH writes 0 to the Options attribute" PICS: CC.S.F03 && CC.S.A000f command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml index b127ce126bcbc4..e9e9681a82198b 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml @@ -126,147 +126,147 @@ tests: On TH(chip-tool), Verify that The NetworkInterfaces attribute SHALL be a list of NetworkInterface structs, i.e The read data type( NetworkInterface struct) must match the value listed below • Name(interface name) - • IsOperational (indicates the node is operational in the fabric) - • OffPremiseServicesReachableIPv4(Ability to reach off-premise services it uses by utilizing IPv4, if not NULL) - • OffPremiseServicesReachableIPv6(Ability to reach off-premise services it uses by utilizing IPv6, if not NULL) + • IsOperational (indicates the node is operational in the fabric) + • OffPremiseServicesReachableIPv4(Ability to reach off-premise services it uses by utilizing IPv4, if not NULL) + • OffPremiseServicesReachableIPv6(Ability to reach off-premise services it uses by utilizing IPv6, if not NULL) • HardwareAddress(MAC-layer address for a 802.3 or IEEE 802.11-2020 network interface, or 802.15.4) - • IPv4Addresses and IPv6Addresses (a list of the unicast IPv6 addresses that are GUA and ULA) + • IPv4Addresses and IPv6Addresses (a list of the unicast IPv6 addresses that are GUA and ULA) • Type(Interface types). Below is the example value which is observed in the RPI platform the value may be differ based on the dut implementation. - [1692949910.768802][3792:3794] CHIP:DMG: } - [1692949910.769530][3792:3794] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_0000 DataVersion: 131147943 - [1692949910.769722][3792:3794] CHIP:TOO: NetworkInterfaces: 11 entries - [1692949910.769815][3792:3794] CHIP:TOO: [1]: { - [1692949910.769837][3792:3794] CHIP:TOO: Name: veth6419a29 - [1692949910.769856][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.769875][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.769894][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.770166][3792:3794] CHIP:TOO: HardwareAddress: 2209DC9A5648 - [1692949910.770207][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries - [1692949910.770233][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.770258][3792:3794] CHIP:TOO: [1]: FE800000000000002009DCFFFE9A5648 - [1692949910.770290][3792:3794] CHIP:TOO: Type: 0 - [1692949910.770309][3792:3794] CHIP:TOO: } - [1692949910.770343][3792:3794] CHIP:TOO: [2]: { - [1692949910.770362][3792:3794] CHIP:TOO: Name: vethdd2acfa - [1692949910.770380][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.770398][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.770416][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.770435][3792:3794] CHIP:TOO: HardwareAddress: 4ED603419EAE - [1692949910.770454][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries - [1692949910.770474][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.770497][3792:3794] CHIP:TOO: [1]: FE800000000000004CD603FFFE419EAE - [1692949910.770517][3792:3794] CHIP:TOO: Type: 0 - [1692949910.770535][3792:3794] CHIP:TOO: } - [1692949910.770564][3792:3794] CHIP:TOO: [3]: { - [1692949910.770583][3792:3794] CHIP:TOO: Name: vethdf8d5bd - [1692949910.770601][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.770618][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.770636][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.770655][3792:3794] CHIP:TOO: HardwareAddress: 5E39DB1257D2 - [1692949910.770673][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries - [1692949910.770694][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.770717][3792:3794] CHIP:TOO: [1]: FE800000000000005C39DBFFFE1257D2 - [1692949910.770737][3792:3794] CHIP:TOO: Type: 0 - [1692949910.770755][3792:3794] CHIP:TOO: } - [1692949910.770784][3792:3794] CHIP:TOO: [4]: { - [1692949910.770820][3792:3794] CHIP:TOO: Name: veth0c1b827 - [1692949910.770838][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.770856][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.770874][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.770893][3792:3794] CHIP:TOO: HardwareAddress: 5200F618FE06 - [1692949910.770913][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries - [1692949910.770934][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.770957][3792:3794] CHIP:TOO: [1]: FE800000000000005000F6FFFE18FE06 - [1692949910.770979][3792:3794] CHIP:TOO: Type: 0 - [1692949910.771001][3792:3794] CHIP:TOO: } - [1692949910.771047][3792:3794] CHIP:TOO: [5]: { - [1692949910.771079][3792:3794] CHIP:TOO: Name: veth95d2688 - [1692949910.771099][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.771119][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.771140][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.771161][3792:3794] CHIP:TOO: HardwareAddress: EE70AD9213F7 - [1692949910.771182][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries - [1692949910.771206][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.771231][3792:3794] CHIP:TOO: [1]: FE80000000000000EC70ADFFFE9213F7 - [1692949910.771254][3792:3794] CHIP:TOO: Type: 0 - [1692949910.771274][3792:3794] CHIP:TOO: } - [1692949910.771308][3792:3794] CHIP:TOO: [6]: { - [1692949910.771329][3792:3794] CHIP:TOO: Name: br-78aec9e78929 - [1692949910.771348][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.771368][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.771388][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.771409][3792:3794] CHIP:TOO: HardwareAddress: 024209ABE784 - [1692949910.771431][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries - [1692949910.771455][3792:3794] CHIP:TOO: [1]: AC130001 - [1692949910.771478][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.771503][3792:3794] CHIP:TOO: [1]: FE80000000000000004209FFFEABE784 - [1692949910.771526][3792:3794] CHIP:TOO: Type: 0 - [1692949910.771546][3792:3794] CHIP:TOO: } - [1692949910.771579][3792:3794] CHIP:TOO: [7]: { - [1692949910.771600][3792:3794] CHIP:TOO: Name: docker0 - [1692949910.771620][3792:3794] CHIP:TOO: IsOperational: FALSE - [1692949910.771639][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.771659][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.771680][3792:3794] CHIP:TOO: HardwareAddress: 0242AB987D7E - [1692949910.771702][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries - [1692949910.771726][3792:3794] CHIP:TOO: [1]: AC110001 - [1692949910.771750][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.771774][3792:3794] CHIP:TOO: [1]: - [1692949910.771796][3792:3794] CHIP:TOO: Type: 0 - [1692949910.771816][3792:3794] CHIP:TOO: } - [1692949910.771973][3792:3794] CHIP:TOO: [8]: { - [1692949910.771999][3792:3794] CHIP:TOO: Name: br-33eb65c97608 - [1692949910.772020][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.772041][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.772062][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.772083][3792:3794] CHIP:TOO: HardwareAddress: 02426545C6AD - [1692949910.772106][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries - [1692949910.772130][3792:3794] CHIP:TOO: [1]: AC120001 - [1692949910.772154][3792:3794] CHIP:TOO: IPv6Addresses: 3 entries - [1692949910.772179][3792:3794] CHIP:TOO: [1]: FD006D61747465720000000000000001 - [1692949910.772204][3792:3794] CHIP:TOO: [2]: FE80000000000000004265FFFE45C6AD - [1692949910.772229][3792:3794] CHIP:TOO: [3]: FE800000000000000000000000000001 - [1692949910.772251][3792:3794] CHIP:TOO: Type: 0 - [1692949910.772271][3792:3794] CHIP:TOO: } - [1692949910.772304][3792:3794] CHIP:TOO: [9]: { - [1692949910.772325][3792:3794] CHIP:TOO: Name: wlan0 - [1692949910.772345][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.772365][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.772385][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.772405][3792:3794] CHIP:TOO: HardwareAddress: E45F010F1A01 - [1692949910.772426][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries - [1692949910.772450][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.772475][3792:3794] CHIP:TOO: [1]: FE80000000000000E65F01FFFE0F1A01 - [1692949910.772498][3792:3794] CHIP:TOO: Type: 1 - [1692949910.772518][3792:3794] CHIP:TOO: } - [1692949910.772552][3792:3794] CHIP:TOO: [10]: { - [1692949910.772572][3792:3794] CHIP:TOO: Name: eth0 - [1692949910.772592][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.772612][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.772632][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.772653][3792:3794] CHIP:TOO: HardwareAddress: E45F010F19FF - [1692949910.772675][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries - [1692949910.772698][3792:3794] CHIP:TOO: [1]: C0A80864 - [1692949910.772721][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.772746][3792:3794] CHIP:TOO: [1]: FE80000000000000E65F01FFFE0F19FF - [1692949910.772769][3792:3794] CHIP:TOO: Type: 2 - [1692949910.772789][3792:3794] CHIP:TOO: } - [1692949910.772821][3792:3794] CHIP:TOO: [11]: { - [1692949910.772842][3792:3794] CHIP:TOO: Name: lo - [1692949910.772862][3792:3794] CHIP:TOO: IsOperational: TRUE - [1692949910.772882][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null - [1692949910.772901][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null - [1692949910.772922][3792:3794] CHIP:TOO: HardwareAddress: 000000000000 - [1692949910.772944][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries - [1692949910.772968][3792:3794] CHIP:TOO: [1]: 7F000001 - [1692949910.772991][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries - [1692949910.773016][3792:3794] CHIP:TOO: [1]: 00000000000000000000000000000001 - [1692949910.773039][3792:3794] CHIP:TOO: Type: 0 - [1692949910.773059][3792:3794] CHIP:TOO: } - [1692949910.773294][3792:3794] CHIP:EM: <<< [E:2323i S:55592 M:93290487 (Ack:187838562)] (S) Msg TX to 1:0000000000000001 [3E67] --- Type 0000:10 (SecureChannel:StandaloneAck) + [1692949910.768802][3792:3794] CHIP:DMG: } + [1692949910.769530][3792:3794] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_0000 DataVersion: 131147943 + [1692949910.769722][3792:3794] CHIP:TOO: NetworkInterfaces: 11 entries + [1692949910.769815][3792:3794] CHIP:TOO: [1]: { + [1692949910.769837][3792:3794] CHIP:TOO: Name: veth6419a29 + [1692949910.769856][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.769875][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.769894][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770166][3792:3794] CHIP:TOO: HardwareAddress: 2209DC9A5648 + [1692949910.770207][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770233][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770258][3792:3794] CHIP:TOO: [1]: FE800000000000002009DCFFFE9A5648 + [1692949910.770290][3792:3794] CHIP:TOO: Type: 0 + [1692949910.770309][3792:3794] CHIP:TOO: } + [1692949910.770343][3792:3794] CHIP:TOO: [2]: { + [1692949910.770362][3792:3794] CHIP:TOO: Name: vethdd2acfa + [1692949910.770380][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.770398][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.770416][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770435][3792:3794] CHIP:TOO: HardwareAddress: 4ED603419EAE + [1692949910.770454][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770474][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770497][3792:3794] CHIP:TOO: [1]: FE800000000000004CD603FFFE419EAE + [1692949910.770517][3792:3794] CHIP:TOO: Type: 0 + [1692949910.770535][3792:3794] CHIP:TOO: } + [1692949910.770564][3792:3794] CHIP:TOO: [3]: { + [1692949910.770583][3792:3794] CHIP:TOO: Name: vethdf8d5bd + [1692949910.770601][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.770618][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.770636][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770655][3792:3794] CHIP:TOO: HardwareAddress: 5E39DB1257D2 + [1692949910.770673][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770694][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770717][3792:3794] CHIP:TOO: [1]: FE800000000000005C39DBFFFE1257D2 + [1692949910.770737][3792:3794] CHIP:TOO: Type: 0 + [1692949910.770755][3792:3794] CHIP:TOO: } + [1692949910.770784][3792:3794] CHIP:TOO: [4]: { + [1692949910.770820][3792:3794] CHIP:TOO: Name: veth0c1b827 + [1692949910.770838][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.770856][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.770874][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.770893][3792:3794] CHIP:TOO: HardwareAddress: 5200F618FE06 + [1692949910.770913][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.770934][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.770957][3792:3794] CHIP:TOO: [1]: FE800000000000005000F6FFFE18FE06 + [1692949910.770979][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771001][3792:3794] CHIP:TOO: } + [1692949910.771047][3792:3794] CHIP:TOO: [5]: { + [1692949910.771079][3792:3794] CHIP:TOO: Name: veth95d2688 + [1692949910.771099][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.771119][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.771140][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.771161][3792:3794] CHIP:TOO: HardwareAddress: EE70AD9213F7 + [1692949910.771182][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.771206][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.771231][3792:3794] CHIP:TOO: [1]: FE80000000000000EC70ADFFFE9213F7 + [1692949910.771254][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771274][3792:3794] CHIP:TOO: } + [1692949910.771308][3792:3794] CHIP:TOO: [6]: { + [1692949910.771329][3792:3794] CHIP:TOO: Name: br-78aec9e78929 + [1692949910.771348][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.771368][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.771388][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.771409][3792:3794] CHIP:TOO: HardwareAddress: 024209ABE784 + [1692949910.771431][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.771455][3792:3794] CHIP:TOO: [1]: AC130001 + [1692949910.771478][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.771503][3792:3794] CHIP:TOO: [1]: FE80000000000000004209FFFEABE784 + [1692949910.771526][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771546][3792:3794] CHIP:TOO: } + [1692949910.771579][3792:3794] CHIP:TOO: [7]: { + [1692949910.771600][3792:3794] CHIP:TOO: Name: docker0 + [1692949910.771620][3792:3794] CHIP:TOO: IsOperational: FALSE + [1692949910.771639][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.771659][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.771680][3792:3794] CHIP:TOO: HardwareAddress: 0242AB987D7E + [1692949910.771702][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.771726][3792:3794] CHIP:TOO: [1]: AC110001 + [1692949910.771750][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.771774][3792:3794] CHIP:TOO: [1]: + [1692949910.771796][3792:3794] CHIP:TOO: Type: 0 + [1692949910.771816][3792:3794] CHIP:TOO: } + [1692949910.771973][3792:3794] CHIP:TOO: [8]: { + [1692949910.771999][3792:3794] CHIP:TOO: Name: br-33eb65c97608 + [1692949910.772020][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772041][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772062][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772083][3792:3794] CHIP:TOO: HardwareAddress: 02426545C6AD + [1692949910.772106][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.772130][3792:3794] CHIP:TOO: [1]: AC120001 + [1692949910.772154][3792:3794] CHIP:TOO: IPv6Addresses: 3 entries + [1692949910.772179][3792:3794] CHIP:TOO: [1]: FD006D61747465720000000000000001 + [1692949910.772204][3792:3794] CHIP:TOO: [2]: FE80000000000000004265FFFE45C6AD + [1692949910.772229][3792:3794] CHIP:TOO: [3]: FE800000000000000000000000000001 + [1692949910.772251][3792:3794] CHIP:TOO: Type: 0 + [1692949910.772271][3792:3794] CHIP:TOO: } + [1692949910.772304][3792:3794] CHIP:TOO: [9]: { + [1692949910.772325][3792:3794] CHIP:TOO: Name: wlan0 + [1692949910.772345][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772365][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772385][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772405][3792:3794] CHIP:TOO: HardwareAddress: E45F010F1A01 + [1692949910.772426][3792:3794] CHIP:TOO: IPv4Addresses: 0 entries + [1692949910.772450][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.772475][3792:3794] CHIP:TOO: [1]: FE80000000000000E65F01FFFE0F1A01 + [1692949910.772498][3792:3794] CHIP:TOO: Type: 1 + [1692949910.772518][3792:3794] CHIP:TOO: } + [1692949910.772552][3792:3794] CHIP:TOO: [10]: { + [1692949910.772572][3792:3794] CHIP:TOO: Name: eth0 + [1692949910.772592][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772612][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772632][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772653][3792:3794] CHIP:TOO: HardwareAddress: E45F010F19FF + [1692949910.772675][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.772698][3792:3794] CHIP:TOO: [1]: C0A80864 + [1692949910.772721][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.772746][3792:3794] CHIP:TOO: [1]: FE80000000000000E65F01FFFE0F19FF + [1692949910.772769][3792:3794] CHIP:TOO: Type: 2 + [1692949910.772789][3792:3794] CHIP:TOO: } + [1692949910.772821][3792:3794] CHIP:TOO: [11]: { + [1692949910.772842][3792:3794] CHIP:TOO: Name: lo + [1692949910.772862][3792:3794] CHIP:TOO: IsOperational: TRUE + [1692949910.772882][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv4: null + [1692949910.772901][3792:3794] CHIP:TOO: OffPremiseServicesReachableIPv6: null + [1692949910.772922][3792:3794] CHIP:TOO: HardwareAddress: 000000000000 + [1692949910.772944][3792:3794] CHIP:TOO: IPv4Addresses: 1 entries + [1692949910.772968][3792:3794] CHIP:TOO: [1]: 7F000001 + [1692949910.772991][3792:3794] CHIP:TOO: IPv6Addresses: 1 entries + [1692949910.773016][3792:3794] CHIP:TOO: [1]: 00000000000000000000000000000001 + [1692949910.773039][3792:3794] CHIP:TOO: Type: 0 + [1692949910.773059][3792:3794] CHIP:TOO: } + [1692949910.773294][3792:3794] CHIP:EM: <<< [E:2323i S:55592 M:93290487 (Ack:187838562)] (S) Msg TX to 1:0000000000000001 [3E67] --- Type 0000:10 (SecureChannel:StandaloneAck) [1692949910.773342][3792:3794] CHIP:IN: (S) Sending msg 93290487 on secure session with LSID: 55592 cluster: "LogCommands" command: "UserPrompt" diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml index 1728c467455aa3..92cddf48004b71 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml @@ -93,7 +93,7 @@ tests: disabled: true - label: "Step 3b: Bring the DUT into a wired fault state." - PICS: PS.S.E00 && PS.S.M.ManualWiredFault + PICS: PS.S.E00 && PS.S.M.ManualWiredFault verification: | DUT ACTION REQUIRED disabled: true @@ -181,7 +181,7 @@ tests: disabled: true - label: "Step 8b: Bring the DUT into a battery fault state." - PICS: PS.S.E01 && PS.S.M.ManualBatFault + PICS: PS.S.E01 && PS.S.M.ManualBatFault verification: | DUT ACTION REQUIRED disabled: true @@ -211,7 +211,7 @@ tests: - label: "Step 12b: TH reads the ActiveBatChargeFaults attribute from the DUT" - PICS: PS.S.A001e + PICS: PS.S.A001e verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -262,7 +262,7 @@ tests: disabled: true - label: "Step 13b: Bring the DUT into a charge fault state." - PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault + PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault verification: | DUT ACTION REQUIRED disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml b/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml index 0e5ef4f42dec05..9ef4dda1cd4580 100644 --- a/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml @@ -30,7 +30,7 @@ tests: verification: | This is a simulated example log for instructional purposes only. In real scenarios, the actual log may vary depending on the feature implementation in Reference App. disabled: true - + - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)" diff --git a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml index 9b4981a192349d..bb212c3aaaa362 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml @@ -22,7 +22,7 @@ PICS: - RVCCLEANM.S.A0003 - RVCCLEANM.S.F00 - OO.S.A4003 - + config: nodeId: 0x12344321 cluster: "Basic Information" From ecc1f14285f3804c2d057eca372229c74e3e50f8 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 9 Jan 2024 12:33:14 +0000 Subject: [PATCH 5/7] Restyled by prettier-yaml --- src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml | 8 ++++++-- src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml | 4 +++- src/app/tests/suites/certification/Test_TC_I_1_1.yaml | 1 - src/app/tests/suites/certification/Test_TC_I_2_3.yaml | 1 - src/app/tests/suites/certification/Test_TC_PS_2_2.yaml | 8 ++++++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml b/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml index c242612ec17bc4..e4f5410b413dd4 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_3_1.yaml @@ -52,7 +52,9 @@ tests: - name: "ms" value: 1000 - - label: "Step 2b: after a few seconds, TH reads from the DUT the the FanMode attribute" + - label: + "Step 2b: after a few seconds, TH reads from the DUT the the FanMode + attribute" PICS: FAN.S.A0000 command: "readAttribute" attribute: "FanMode" @@ -136,7 +138,9 @@ tests: - name: "ms" value: 1000 - - label: "Step 3.1b: after a few seconds, TH reads from the DUT the the FanMode attribute" + - label: + "Step 3.1b: after a few seconds, TH reads from the DUT the the FanMode + attribute" PICS: FAN.S.A0000 command: "readAttribute" attribute: "FanMode" diff --git a/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml b/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml index c37082983cbf26..e32e14af5bad43 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_3_2.yaml @@ -57,7 +57,9 @@ tests: - name: "ms" value: 1000 - - label: "Step 4: After a few seconds, TH reads from the DUT the SpeedSetting attribute" + - label: + "Step 4: After a few seconds, TH reads from the DUT the SpeedSetting + attribute" PICS: FAN.S.A0005 command: "readAttribute" attribute: "SpeedSetting" diff --git a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml index 660efd76fb9392..ab2e3cffa89628 100644 --- a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml @@ -123,7 +123,6 @@ tests: value: [] constraints: type: list - #Commenting out the step IdentifyQueryResponse (0x00) is not supported by Matter 1.0 #- label: # "TH reads the optional command(IdentifyQueryResponse) in diff --git a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml index d3cd0b42003b0a..379ed424638c9b 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml @@ -18,7 +18,6 @@ PICS: - I.S - I.S.C40.Rsp - config: nodeId: 0x12344321 cluster: "Identify" diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml index 92cddf48004b71..2f4495168602ea 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml @@ -110,7 +110,9 @@ tests: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - - label: "Step 5: The Current field of Step 3b has to be the same as the value of Step 4." + - label: + "Step 5: The Current field of Step 3b has to be the same as the value + of Step 4." PICS: PS.S.E00 && PS.S.A000a && PS.S.M.ManualWiredFault verification: | @@ -279,7 +281,9 @@ tests: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - - label: "Step 5: The Current field of Step 13b has to be the same as the value of Step 14." + - label: + "Step 5: The Current field of Step 13b has to be the same as the value + of Step 14." PICS: PS.S.E02 && PS.S.A001e && PS.S.M.ManualWiredFault verification: | From bb94d3ef93a107f49ba150b25f373a8d16bce0b0 Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Wed, 10 Jan 2024 17:27:40 +0530 Subject: [PATCH 6/7] Modified files: TC_CNET_1_3.yaml TC_DISHM_3_2.yaml TC_PCC_2_1.yaml TC_PCC_2_2.yaml TC_PCC_2_3.yaml TC_PCC_2_4.yaml TC_TCCM_2_1.yaml TC_TSTAT_2_1.yaml --- .../certification/Test_TC_CNET_1_3.yaml | 84 ++- .../certification/Test_TC_DISHM_3_2.yaml | 2 +- .../suites/certification/Test_TC_PCC_2_1.yaml | 54 +- .../suites/certification/Test_TC_PCC_2_2.yaml | 4 +- .../suites/certification/Test_TC_PCC_2_3.yaml | 4 +- .../suites/certification/Test_TC_PCC_2_4.yaml | 37 +- .../certification/Test_TC_TCCM_2_1.yaml | 7 +- .../certification/Test_TC_TSTAT_2_1.yaml | 150 +++-- .../zap-generated/test/Commands.h | 627 ++++++++++-------- 9 files changed, 546 insertions(+), 423 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml index 0422d108ac71ff..94fa7878b948b2 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml @@ -12,9 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: - 12.1.3. [TC-CNET-1.3] Global Attributes for Networking commissioning cluster - [DUT-Server] +name: 12.1.3. [TC-CNET-1.3] Global Attributes with DUT as Server PICS: - CNET.S @@ -33,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the global attribute: ClusterRevision" + - label: "Step 2: TH reads from the DUT the ClusterRevision attribute" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3a: Read the global attribute: FeatureMap" + - label: "Step 3a: TH reads from the DUT the FeatureMap attribute" PICS: " !CNET.S.F00 && !CNET.S.F01 && !CNET.S.F02 " command: "readAttribute" attribute: "FeatureMap" @@ -49,7 +47,8 @@ tests: value: 0 - label: - "Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set" + "Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is + set" PICS: CNET.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -57,7 +56,8 @@ tests: value: 1 - label: - "Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set" + "Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is + set" PICS: CNET.S.F01 command: "readAttribute" attribute: "FeatureMap" @@ -65,14 +65,15 @@ tests: value: 2 - label: - "Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set" + "Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is + set" PICS: CNET.S.F02 command: "readAttribute" attribute: "FeatureMap" response: value: 4 - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4a: TH reads from the DUT the AttributeList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -81,7 +82,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: Read the global attribute: AttributeList" + - label: "Step 4b: TH reads from the DUT the AttributeList attribute." PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -91,7 +92,7 @@ tests: contains: [65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: Read mandatory attributes in AttributeList if + "Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true" PICS: CNET.S.F00 || CNET.S.F01 || CNET.S.F02 command: "readAttribute" @@ -102,9 +103,9 @@ tests: contains: [0, 1, 4, 5, 6, 7] - label: - "Step 4c: Read the optional attribute(ScanMaxTimeSeconds): - AttributeList" - PICS: CNET.S.A0002 + "Step 4d: TH reads the feature dependent + attribute(ScanMaxTimeSeconds): AttributeList" + PICS: CNET.S.F00 || CNET.S.F01 command: "readAttribute" attribute: "AttributeList" response: @@ -113,9 +114,9 @@ tests: contains: [2] - label: - "Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in - AttributeList" - PICS: CNET.S.A0003 + "Step 4e: TH reads the feature dependent + attribute(ConnectMaxTimeSeconds) in AttributeList" + PICS: CNET.S.F00 || CNET.S.F01 command: "readAttribute" attribute: "AttributeList" response: @@ -123,7 +124,29 @@ tests: type: list contains: [3] - - label: "Step 5: Read the global attribute: EventList" + - label: + "Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in + AttributeList" + PICS: CNET.S.F00 + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [8] + + - label: + "Step 4g: TH reads Thread related attribute (SupportedWiFiBands and + ThreadVersion) in AttributeList" + PICS: CNET.S.F01 + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [9, 10] + + - label: "Step 5: TH reads from the DUT the EventList attribute" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -133,8 +156,8 @@ tests: type: list - label: - "Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread - related features CNET.S.F00(WI),CNET.S.F01(TH)" + "Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT + supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH)" PICS: ( CNET.S.F00 || CNET.S.F01 ) command: "readAttribute" attribute: "AcceptedCommandList" @@ -144,8 +167,8 @@ tests: contains: [0, 4, 6, 8] - label: - "Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related - features (CNET.S.F00(WI) is true)" + "Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT + supports Wi-Fi related features (CNET.S.F00(WI) is true)" PICS: CNET.S.F00 command: "readAttribute" attribute: "AcceptedCommandList" @@ -155,8 +178,8 @@ tests: contains: [2] - label: - "Step 6c: Read AcceptedCommandList If DUT supports Thread related - features(CNET.S.F01(TH) is true)" + "Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT + supports Thread related features(CNET.S.F01(TH) is true)" PICS: CNET.S.F01 command: "readAttribute" attribute: "AcceptedCommandList" @@ -166,8 +189,8 @@ tests: contains: [3] - label: - "Step 6d: Read AcceptedCommandList If DUT supports Ethernet related - features(CNET.S.F02(TH) is true)" + "Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT + supports Ethernet related features(CNET.S.F02(TH) is true)" PICS: CNET.S.F02 command: "readAttribute" attribute: "AcceptedCommandList" @@ -175,8 +198,9 @@ tests: value: [] - label: - "Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread - related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true)" + "Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT + supports Wi-Fi/Thread related features(CNET.S.F00(WI) or + CNET.S.F01(TH) is true)" PICS: ( CNET.S.F00 || CNET.S.F01 ) command: "readAttribute" attribute: "GeneratedCommandList" @@ -186,8 +210,8 @@ tests: contains: [1, 5, 7] - label: - "Step 7b: Read the GeneratedCommandList If DUT supports Ethernet - related features(CNET.S.F02(ET) must be true)" + "Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT + supports Ethernet related features(CNET.S.F02(ET) must be true)" PICS: CNET.S.F02 command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml index 76a6a643bdff7b..9043b8f8f31d9c 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.4.2. [TC-DISHM-3.2] StartUpMode verification with DUT as Server +name: 263.4.2. [TC-DISHM-3.2] Startup Mode functionality with DUT as Server PICS: - DISHM.S.A0002 diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml index d79c8904980f00..668f8c32f608d4 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Read the mandatory attribute: MaxPressure" + - label: "Step 2: TH reads from the DUT the MaxPressure attribute." PICS: PCC.S.A0000 command: "readAttribute" attribute: "MaxPressure" @@ -41,7 +43,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 3: Read the mandatory attribute: MaxSpeed" + - label: "Step 3: TH reads from the DUT the MaxSpeed attribute." PICS: PCC.S.A0001 command: "readAttribute" attribute: "MaxSpeed" @@ -51,7 +53,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 4: Read the mandatory attribute: MaxFlow" + - label: "Step 4: TH reads from the DUT the MaxFlow attribute." PICS: PCC.S.A0002 command: "readAttribute" attribute: "MaxFlow" @@ -61,7 +63,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 5: Read the optional attribute: MinConstPressure" + - label: "Step 5: TH reads from the DUT the MinConstPressure attribute." PICS: PCC.S.A0003 command: "readAttribute" attribute: "MinConstPressure" @@ -71,7 +73,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 6: Read the optional attribute: MaxConstPressure" + - label: "Step 6: TH reads from the DUT the MaxConstPressure attribute." PICS: PCC.S.A0004 command: "readAttribute" attribute: "MaxConstPressure" @@ -81,7 +83,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 7: Read the optional attribute: MinCompPressure" + - label: "Step 7: TH reads from the DUT the MinCompPressure attribute." PICS: PCC.S.A0005 command: "readAttribute" attribute: "MinCompPressure" @@ -91,7 +93,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 8: Read the optional attribute: MaxCompPressure" + - label: "Step 8: TH reads from the DUT the MaxCompPressure attribute." PICS: PCC.S.A0006 command: "readAttribute" attribute: "MaxCompPressure" @@ -101,7 +103,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 9: Read the optional attribute: MinConstSpeed" + - label: "Step 9: TH reads from the DUT the MinConstSpeed attribute." PICS: PCC.S.A0007 command: "readAttribute" attribute: "MinConstSpeed" @@ -111,7 +113,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 10: Read the optional attribute: MaxConstSpeed" + - label: "Step 10: TH reads from the DUT the MaxConstSpeed attribute." PICS: PCC.S.A0008 command: "readAttribute" attribute: "MaxConstSpeed" @@ -121,7 +123,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 11: Read the optional attribute: MinConstFlow" + - label: "Step 11: TH reads from the DUT the MinConstFlow attribute." PICS: PCC.S.A0009 command: "readAttribute" attribute: "MinConstFlow" @@ -131,7 +133,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 12: Read the optional attribute: MaxConstFlow" + - label: "Step 12: TH reads from the DUT the MaxConstFlow attribute." PICS: PCC.S.A000a command: "readAttribute" attribute: "MaxConstFlow" @@ -141,7 +143,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 13: Read the optional attribute: MinConstTemp" + - label: "Step 13: TH reads from the DUT the MinConstTemp attribute." PICS: PCC.S.A000b command: "readAttribute" attribute: "MinConstTemp" @@ -151,7 +153,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 14: Read the optional attribute: MaxConstTemp" + - label: "Step 14: TH reads from the DUT the MaxConstTemp attribute." PICS: PCC.S.A000c command: "readAttribute" attribute: "MaxConstTemp" @@ -161,7 +163,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 15: Read the optional attribute: PumpStatus" + - label: "Step 15: TH reads from the DUT the PumpStatus attribute." PICS: PCC.S.A0010 command: "readAttribute" attribute: "PumpStatus" @@ -171,7 +173,8 @@ tests: minValue: 0 maxValue: 8 - - label: "Step 16: Read attribute: EffectiveOperationMode" + - label: + "Step 16: TH reads from the DUT the EffectiveOperationMode attribute." PICS: PCC.S.A0011 command: "readAttribute" attribute: "EffectiveOperationMode" @@ -181,7 +184,8 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 17: Read attribute: EffectiveControlMode" + - label: + "Step 17: TH reads from the DUT the EffectiveControlMode attribute." PICS: PCC.S.A0012 command: "readAttribute" attribute: "EffectiveControlMode" @@ -191,7 +195,7 @@ tests: minValue: 0 maxValue: 7 - - label: "Step 18: Read attribute: Capacity" + - label: "Step 18: TH reads from the DUT the Capacity attribute." PICS: PCC.S.A0013 command: "readAttribute" attribute: "Capacity" @@ -201,7 +205,7 @@ tests: minValue: -32768 maxValue: 32767 - - label: "Step 19: Read the optional attribute: Speed" + - label: "Step 19: TH reads from the DUT the Speed attribute." PICS: PCC.S.A0014 command: "readAttribute" attribute: "Speed" @@ -211,7 +215,8 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 20: Read the optional attribute: LifetimeRunningHours" + - label: + "Step 20: TH reads from the DUT the LifetimeRunningHours attribute." PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" @@ -221,7 +226,7 @@ tests: minValue: 0 maxValue: 16777215 - - label: "Step 21: Read the optional attribute: Power" + - label: "Step 21: TH reads from the DUT the Power attribute." PICS: PCC.S.A0016 command: "readAttribute" attribute: "Power" @@ -231,7 +236,8 @@ tests: minValue: 0 maxValue: 16777215 - - label: "Step 22: Read the optional attribute: LifetimeEnergyConsumed" + - label: + "Step 22: TH reads from the DUT the LifetimeEnergyConsumed attribute." PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" @@ -241,7 +247,7 @@ tests: minValue: 0 maxValue: 4294967295 - - label: "Step 23: Read optional attribute: OperationMode" + - label: "Step 23: TH reads from the DUT the OperationMode attribute." PICS: PCC.S.A0020 command: "readAttribute" attribute: "OperationMode" @@ -251,7 +257,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 24: Read optional attribute: ControlMode" + - label: "Step 24: TH reads from the DUT the ControlMode attribute." PICS: PCC.S.A0021 command: "readAttribute" attribute: "ControlMode" diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml index 76e086a55b279b..887d6451867dd4 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml index 39ba327c08bc31..68cb32048088f1 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml index aa7462ed481d0c..4df3a74112e37c 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml @@ -23,7 +23,9 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: + "Step 1: Commission DUT to TH (can be skipped if done in a preceding + test)." cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -31,84 +33,93 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2a: Write 1 to the LifetimeRunningHours attribute to DUT" + - label: "Step 2a: TH Write 1 to the LifetimeRunningHours attribute to DUT" PICS: PCC.S.A0015 command: "writeAttribute" attribute: "LifetimeRunningHours" arguments: value: 1 - - label: "Step 2b: Reads the attribute: LifetimeRunningHours" + - label: + "Step 2b: TH reads from the DUT the LifetimeRunningHours attribute." PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" response: value: 1 - - label: "Step 3a: Write 2 to the LifetimeRunningHours attribute to DUT" + - label: "Step 3a: TH write 2 to the LifetimeRunningHours attribute of DUT." PICS: PCC.S.A0015 command: "writeAttribute" attribute: "LifetimeRunningHours" arguments: value: 2 - - label: "Step 3b: Reads the attribute: LifetimeRunningHours" + - label: + "Step 3b: TH reads from the DUT the LifetimeRunningHours attribute." PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" response: value: 2 - - label: "Step 4a: Write 3 to the LifetimeRunningHours attribute to DUT" + - label: "Step 4a: TH Write 3 to the LifetimeRunningHours attribute to DUT" PICS: PCC.S.A0015 command: "writeAttribute" attribute: "LifetimeRunningHours" arguments: value: 3 - - label: "Step 4b: Reads the attribute: LifetimeRunningHours" + - label: + "Step 4b: TH reads from the DUT the LifetimeRunningHours attribute." PICS: PCC.S.A0015 command: "readAttribute" attribute: "LifetimeRunningHours" response: value: 3 - - label: "Step 5a: Write 1 to the LifetimeEnergyConsumed attribute to DUT" + - label: + "Step 5a: TH write 1 to the LifetimeEnergyConsumed attribute of DUT." PICS: PCC.S.A0017 command: "writeAttribute" attribute: "LifetimeEnergyConsumed" arguments: value: 1 - - label: "Step 5b: Reads the attribute: LifetimeEnergyConsumed" + - label: + "Step 5b: TH reads from the DUT the LifetimeEnergyConsumed attribute." PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" response: value: 1 - - label: "Step 6a: Write 2 to the LifetimeEnergyConsumed attribute to DUT" + - label: + "Step 6a: TH write 2 to the LifetimeEnergyConsumed attribute of DUT." PICS: PCC.S.A0017 command: "writeAttribute" attribute: "LifetimeEnergyConsumed" arguments: value: 2 - - label: "Step 6b: Reads the attribute: LifetimeEnergyConsumed" + - label: + "Step 6b: TH reads from the DUT the LifetimeEnergyConsumed attribute." PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" response: value: 2 - - label: "Step 7a: Write 3 to the LifetimeEnergyConsumed attribute to DUT" + - label: + "Step 7a: TH write 3 to the LifetimeEnergyConsumed attribute of DUT." PICS: PCC.S.A0017 command: "writeAttribute" attribute: "LifetimeEnergyConsumed" arguments: value: 3 - - label: "Step 7b: Reads the attribute: LifetimeEnergyConsumed" + - label: + "Step 7b: TH reads from the DUT the LifetimeEnergyConsumed attribute." PICS: PCC.S.A0017 command: "readAttribute" attribute: "LifetimeEnergyConsumed" diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml index fa09a143c70f99..1b5ebfd1c6b2f6 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml @@ -99,13 +99,13 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.TCCM.MODE_CHANGE_FAIL" - PICS: TCCM.S.M.CAN_TEST_MODE_FAILURE + PICS: TCCM.S.M.CAN_TEST_MODE_FAILURE && TCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required disabled: true - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: TCCM.S.A0001 + PICS: TCCM.S.A0001 && TCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read current-mode 1 1 @@ -147,12 +147,13 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.TCCM.MODE_CHANGE_OK" + PICS: TCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required disabled: true - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: TCCM.S.A0001 + PICS: TCCM.S.A0001 && TCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read current-mode 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml index 36b535a024f6c0..63aba52fe3f3f6 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -119,7 +119,7 @@ tests: response: saveAs: UnoccupiedCoolingSetpointValue - - label: "Step 2: Reads mandatory attributes from DUT: LocalTemperature" + - label: "Step 2: TH reads the LocalTemperature attribute from the DUT" command: "readAttribute" attribute: "LocalTemperature" response: @@ -128,7 +128,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 3: Read OutdoorTemperature attribute from the DUT" + - label: "Step 3: TH reads the OutdoorTemperature attribute from the DUT" PICS: TSTAT.S.A0001 command: "readAttribute" attribute: "OutdoorTemperature" @@ -138,7 +138,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 4: Read Occupancy attribute from the DUT" + - label: "Step 4: TH reads the Occupancy attribute from the DUT" PICS: TSTAT.S.F02 command: "readAttribute" attribute: "Occupancy" @@ -149,7 +149,7 @@ tests: maxValue: 1 - label: - "Step 5a: Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 + "Step 5a: TH reads attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is supported" PICS: TSTAT.S.A0003 && TSTAT.S.A0005 && TSTAT.S.F05 command: "readAttribute" @@ -160,7 +160,7 @@ tests: maxValue: AbsMinCoolSetpointLimitStep5 - MinSetpointDeadBandValue - label: - "Step 5b: Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 + "Step 5b: TH reads attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is supported" PICS: TSTAT.S.A0003 && !TSTAT.S.A0005 && TSTAT.S.F05 command: "readAttribute" @@ -170,7 +170,7 @@ tests: type: int16s maxValue: 1575 - - label: "Step 6a: Read attribute AbsMinHeatSetpointLimit from DUT" + - label: "Step 6a: TH reads attribute AbsMinHeatSetpointLimit from DUT" PICS: TSTAT.S.A0003 && !TSTAT.S.F05 command: "readAttribute" attribute: "AbsMinHeatSetpointLimit" @@ -181,7 +181,8 @@ tests: maxValue: 32767 - label: - "Step 6b: Reads mandatory attributes from DUT: AbsMaxHeatSetpointLimit" + "Step 6b: TH reads mandatory attributes from DUT: + AbsMaxHeatSetpointLimit" PICS: TSTAT.S.A0004 command: "readAttribute" attribute: "AbsMaxHeatSetpointLimit" @@ -191,7 +192,8 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 7: Read attribute AbsMinCoolSetpointLimit from DUT" + - label: + "Step 7: TH reads the AbsMinCoolSetpointLimit attribute from the DUT" PICS: TSTAT.S.A0005 command: "readAttribute" attribute: "AbsMinCoolSetpointLimit" @@ -201,7 +203,8 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 8: Read attribute AbsMaxCoolSetpointLimit from DUT" + - label: + "Step 8: TH reads the AbsMaxCoolSetpointLimit attribute from the DUT" PICS: TSTAT.S.A0006 command: "readAttribute" attribute: "AbsMaxCoolSetpointLimit" @@ -211,7 +214,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 9: Read PICoolingDemand attribute from the DUT" + - label: "Step 9: TH reads the PICoolingDemand attribute from the DUT" PICS: TSTAT.S.A0007 command: "readAttribute" attribute: "PICoolingDemand" @@ -221,7 +224,7 @@ tests: minValue: 0 maxValue: 100 - - label: "Step 10: Read PIHeatingDemand attribute from the DUT" + - label: "Step 10: TH reads the PIHeatingDemand attribute from the DUT" PICS: TSTAT.S.A0008 command: "readAttribute" attribute: "PIHeatingDemand" @@ -231,17 +234,9 @@ tests: minValue: 0 maxValue: 100 - - label: "Step 11: Read HVACSystemTypeConfiguration attribute from the DUT" - PICS: TSTAT.S.A0009 - command: "readAttribute" - attribute: "HVACSystemTypeConfiguration" - response: - constraints: - type: bitmap8 - minValue: 0 - maxValue: 63 - - - label: "Step 12: Read LocalTemperatureCalibration attribute from the DUT" + - label: + "Step 12: TH reads the LocalTemperatureCalibration attribute from the + DUT" PICS: TSTAT.S.A0010 command: "readAttribute" attribute: "LocalTemperatureCalibration" @@ -251,7 +246,7 @@ tests: minValue: -25 maxValue: 25 - - label: "Step 13a: Read attribute OccupiedCoolingSetpoint from the DUT" + - label: "Step 13a: TH reads attribute OccupiedCoolingSetpoint from the DUT" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 command: "readAttribute" attribute: "OccupiedCoolingSetpoint" @@ -261,7 +256,7 @@ tests: minValue: MinCoolSetpointLimitValue maxValue: MaxCoolSetpointLimitValue - - label: "Step 13b: Read attribute OccupiedCoolingSetpoint from the DUT" + - label: "Step 13b: TH reads attribute OccupiedCoolingSetpoint from the DUT" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018 command: "readAttribute" attribute: "OccupiedCoolingSetpoint" @@ -272,7 +267,7 @@ tests: maxValue: 3200 - label: - "Step 14a: Read attribute OccupiedHeatingSetpoint if TSTAT.S.F05 + "Step 14a: TH reads attribute OccupiedHeatingSetpoint if TSTAT.S.F05 feature is supported" PICS: TSTAT.S.F05 && TSTAT.S.F00 command: "readAttribute" @@ -283,7 +278,7 @@ tests: minValue: AbsMinCoolSetpointLimitStep5 maxValue: OccupiedCoolingSetpointValue - MinSetpointDeadBandValue - - label: "Step 14b: Read attribute OccupiedHeatingSetpoint from the DUT" + - label: "Step 14b: TH reads attribute OccupiedHeatingSetpoint from the DUT" PICS: TSTAT.S.F00 && !TSTAT.S.F05 command: "readAttribute" attribute: "OccupiedHeatingSetpoint" @@ -293,7 +288,8 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 15a: Read UnoccupiedCoolingSetpoint attribute from the DUT" + - label: + "Step 15a: TH reads UnoccupiedCoolingSetpoint attribute from the DUT" PICS: TSTAT.S.F05 && TSTAT.S.A0013 command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -303,7 +299,8 @@ tests: minValue: AbsMinHeatValue maxValue: AbsMaxHeatValue - - label: "Step 15b: Read UnoccupiedCoolingSetpoint attribute from the DUT" + - label: + "Step 15b: TH reads UnoccupiedCoolingSetpoint attribute from the DUT" PICS: TSTAT.S.F01 && TSTAT.S.F02 && !TSTAT.S.F05 command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -313,7 +310,8 @@ tests: minValue: 1600 maxValue: 3200 - - label: "Step 16a: Read UnoccupiedHeatingSetpoint attribute from the DUT" + - label: + "Step 16a: TH reads UnoccupiedHeatingSetpoint attribute from the DUT" PICS: TSTAT.S.F00 && TSTAT.S.F02 && TSTAT.S.F05 && TSTAT.S.A0013 command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -324,7 +322,8 @@ tests: maxValue: UnoccupiedCoolingSetpointValue - MinSetpointDeadBandValue - - label: "Step 16b: Read UnoccupiedHeatingSetpoint attribute from the DUT" + - label: + "Step 16b: TH reads UnoccupiedHeatingSetpoint attribute from the DUT" PICS: TSTAT.S.F00 && TSTAT.S.F02 && !TSTAT.S.F05 command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -334,7 +333,7 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 17a: Reads attribute from DUT: MinHeatSetpointLimit" + - label: "Step 17a: TH reads attribute from DUT: MinHeatSetpointLimit" PICS: TSTAT.S.A0015 && TSTAT.S.F05 && TSTAT.S.A0017 && TSTAT.S.A0019 command: "readAttribute" attribute: "MinHeatSetpointLimit" @@ -345,7 +344,7 @@ tests: maxValue: MinCoolSetpointLimitValue - MinSetpointDeadBandValue - label: - "Step 17b: Reads MinHeatSetpointLimit attribute from Server DUT and + "Step 17b: TH reads MinHeatSetpointLimit attribute from Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" @@ -358,7 +357,7 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 17c: Reads MinHeatSetpointLimit attribute from Server DUT and + "Step 17c: TH reads MinHeatSetpointLimit attribute from Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" @@ -369,7 +368,7 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 18a: Read attribute MaxHeatSetpointLimit from the DUT" + - label: "Step 18a: TH reads attribute MaxHeatSetpointLimit from the DUT" PICS: TSTAT.S.A0016 && !TSTAT.S.F05 command: "readAttribute" attribute: "MaxHeatSetpointLimit" @@ -379,7 +378,7 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 18b: Reads attribute from DUT: MaxHeatSetpointLimit" + - label: "Step 18b: TH reads attribute from DUT: MaxHeatSetpointLimit" PICS: TSTAT.S.A0016 && TSTAT.S.F05 && TSTAT.S.A0018 command: "readAttribute" attribute: "MaxHeatSetpointLimit" @@ -389,7 +388,7 @@ tests: minValue: 700 maxValue: MaxCoolSetpointLimitValue - MinSetpointDeadBandValue - - label: "Step 19a: Read attribute MinCoolSetpointLimit from DUT" + - label: "Step 19a: TH reads attribute MinCoolSetpointLimit from DUT" PICS: TSTAT.S.A0017 && TSTAT.S.A0018 && TSTAT.S.A0005 command: "readAttribute" attribute: "MinCoolSetpointLimit" @@ -399,7 +398,7 @@ tests: minValue: AbsMinCoolSetpointLimitStep5 maxValue: MaxCoolSetpointLimitValue - - label: "Step 19b: Read attribute MinCoolSetpointLimit from DUT" + - label: "Step 19b: TH reads attribute MinCoolSetpointLimit from DUT" PICS: TSTAT.S.A0017 && !TSTAT.S.A0018 && !TSTAT.S.A0005 command: "readAttribute" attribute: "MinCoolSetpointLimit" @@ -409,7 +408,7 @@ tests: minValue: 1600 maxValue: 3200 - - label: "Step 20: Read attribute MaxCoolSetpointLimit from DUT" + - label: "Step 20: TH reads the MaxCoolSetpointLimit attribute from the DUT" PICS: TSTAT.S.A0018 && TSTAT.S.A0006 && TSTAT.S.A0017 command: "readAttribute" attribute: "MaxCoolSetpointLimit" @@ -419,7 +418,7 @@ tests: minValue: MinCoolSetpointLimitValue maxValue: AbsMaxCoolSetpointLimitStep6 - - label: "Step 21: Read attribute MinSetpointDeadBand from DUT" + - label: "Step 21: TH reads the MinSetpointDeadBand attribute from the DUT" PICS: TSTAT.S.F05 command: "readAttribute" attribute: "MinSetpointDeadBand" @@ -429,7 +428,7 @@ tests: minValue: 0 maxValue: 25 - - label: "Step 22: Read RemoteSensing attribute from the DUT" + - label: "Step 22: TH reads the RemoteSensing attribute from the DUT" PICS: TSTAT.S.A001a command: "readAttribute" attribute: "RemoteSensing" @@ -439,7 +438,9 @@ tests: minValue: 0 maxValue: 7 - - label: "Step 23: Read attribute ControlSequenceOfOperation from DUT" + - label: + "Step 23: TH reads the ControlSequenceOfOperation attribute from the + DUT" PICS: TSTAT.S.A001b command: "readAttribute" attribute: "ControlSequenceOfOperation" @@ -449,7 +450,7 @@ tests: minValue: 0 maxValue: 5 - - label: "Step 24: Read attribute SystemMode from DUT" + - label: "Step 24: TH reads the SystemMode attribute from the DUT" PICS: TSTAT.S.A001c command: "readAttribute" attribute: "SystemMode" @@ -459,7 +460,8 @@ tests: minValue: 0 maxValue: 9 - - label: "Step 26: Read ThermostatRunningMode attribute from the DUT" + - label: + "Step 26: TH reads the ThermostatRunningMode attribute from the DUT" PICS: TSTAT.S.A001e command: "readAttribute" attribute: "ThermostatRunningMode" @@ -469,9 +471,7 @@ tests: minValue: 0 maxValue: 9 - - label: - "Step 27: Reads constraints of optional attributes from DUT: - StartOfWeek" + - label: "Step 27: TH reads the StartOfWeek attribute from the DUT" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "StartOfWeek" @@ -482,8 +482,8 @@ tests: maxValue: 6 - label: - "Step 28: Reads optional attributes from DUT: - NumberOfWeeklyTransitions" + "Step 28: TH reads the NumberOfWeeklyTransitions attribute from the + DUT" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "NumberOfWeeklyTransitions" @@ -494,7 +494,7 @@ tests: maxValue: 255 - label: - "Step 29: Reads optional attributes from DUT: NumberOfDailyTransitions" + "Step 29: TH reads the NumberOfDailyTransitions attribute from the DUT" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "NumberOfDailyTransitions" @@ -504,7 +504,8 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 30: Read TemperatureSetpointHold attribute from the DUT" + - label: + "Step 30: TH reads the TemperatureSetpointHold attribute from the DUT" PICS: TSTAT.S.A0023 command: "readAttribute" attribute: "TemperatureSetpointHold" @@ -515,7 +516,8 @@ tests: maxValue: 1 - label: - "Step 31: Read TemperatureSetpointHoldDuration attribute from the DUT" + "Step 31: TH reads the TemperatureSetpointHoldDuration attribute from + the DUT" PICS: TSTAT.S.A0024 command: "readAttribute" attribute: "TemperatureSetpointHoldDuration" @@ -526,8 +528,8 @@ tests: maxValue: 1440 - label: - "Step 32: Read ThermostatProgrammingOperationMode attribute from the - DUT" + "Step 32: TH reads the ThermostatProgrammingOperationMode attribute + from the DUT" PICS: TSTAT.S.A0025 command: "readAttribute" attribute: "ThermostatProgrammingOperationMode" @@ -537,7 +539,8 @@ tests: minValue: 0 maxValue: 7 - - label: "Step 33: Read ThermostatRunningState attribute from the DUT" + - label: + "Step 33: TH reads the ThermostatRunningState attribute from the DUT" PICS: TSTAT.S.A0029 command: "readAttribute" attribute: "ThermostatRunningState" @@ -547,7 +550,7 @@ tests: minValue: 0 maxValue: 127 - - label: "Step 34: Read SetpointChangeSource attribute from the DUT" + - label: "Step 34: TH reads the SetpointChangeSource attribute from the DUT" PICS: TSTAT.S.A0030 command: "readAttribute" attribute: "SetpointChangeSource" @@ -557,7 +560,7 @@ tests: minValue: 0 maxValue: 2 - - label: "Step 35: Read SetpointChangeAmount attribute from the DUT" + - label: "Step 35: TH reads the SetpointChangeAmount attribute from the DUT" PICS: TSTAT.S.A0031 command: "readAttribute" attribute: "SetpointChangeAmount" @@ -568,7 +571,8 @@ tests: maxValue: 32767 - label: - "Step 36: Read SetpointChangeSourceTimestamp attribute from the DUT" + "Step 36: TH reads the SetpointChangeSourceTimestamp attribute from + the DUT" PICS: TSTAT.S.A0032 command: "readAttribute" attribute: "SetpointChangeSourceTimestamp" @@ -576,7 +580,7 @@ tests: constraints: type: epoch_s - - label: "Step 37: Read OccupiedSetback attribute from the DUT" + - label: "Step 37: TH reads the OccupiedSetback attribute from the DUT" PICS: TSTAT.S.F04 command: "readAttribute" attribute: "OccupiedSetback" @@ -586,7 +590,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 38: Read OccupiedSetbackMin attribute from the DUT" + - label: "Step 38: TH reads the OccupiedSetbackMin attribute from the DUT" PICS: TSTAT.S.F04 command: "readAttribute" attribute: "OccupiedSetbackMin" @@ -596,7 +600,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 39: Read OccupiedSetbackMax attribute from the DUT" + - label: "Step 39: TH reads the OccupiedSetbackMax attribute from the DUT" PICS: TSTAT.S.F04 command: "readAttribute" attribute: "OccupiedSetbackMax" @@ -606,7 +610,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 40: Read UnoccupiedSetback attribute from the DUT" + - label: "Step 40: TH reads the UnoccupiedSetback attribute from the DUT" PICS: TSTAT.S.F02 && TSTAT.S.F04 command: "readAttribute" attribute: "UnoccupiedSetback" @@ -616,7 +620,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 41: Read UnoccupiedSetbackMin attribute from the DUT" + - label: "Step 41: TH reads the UnoccupiedSetbackMin attribute from the DUT" PICS: TSTAT.S.F02 && TSTAT.S.F04 command: "readAttribute" attribute: "UnoccupiedSetbackMin" @@ -626,7 +630,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 42: Read UnoccupiedSetbackMax attribute from the DUT" + - label: "Step 42: TH reads the UnoccupiedSetbackMax attribute from the DUT" PICS: TSTAT.S.F02 && TSTAT.S.F04 command: "readAttribute" attribute: "UnoccupiedSetbackMax" @@ -636,7 +640,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 43: Read EmergencyHeatDelta attribute from the DUT" + - label: "Step 43: TH reads the EmergencyHeatDelta attribute from the DUT" PICS: TSTAT.S.A003a command: "readAttribute" attribute: "EmergencyHeatDelta" @@ -646,7 +650,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 44: Read ACType attribute from the DUT" + - label: "Step 44: TH reads the ACType attribute from the DUT" PICS: TSTAT.S.A0040 command: "readAttribute" attribute: "ACType" @@ -656,7 +660,7 @@ tests: minValue: 0 maxValue: 4 - - label: "Step 45: Read ACCapacity attribute from the DUT" + - label: "Step 45: TH reads the ACCapacity attribute from the DUT" PICS: TSTAT.S.A0041 command: "readAttribute" attribute: "ACCapacity" @@ -666,7 +670,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 46: Read ACRefrigerantType attribute from the DUT" + - label: "Step 46: TH reads the ACRefrigerantType attribute from the DUT" PICS: TSTAT.S.A0042 command: "readAttribute" attribute: "ACRefrigerantType" @@ -676,7 +680,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 47: Read ACCompressorType attribute from the DUT" + - label: "Step 47: TH reads the ACCompressorType attribute from the DUT" PICS: TSTAT.S.A0043 command: "readAttribute" attribute: "ACCompressorType" @@ -686,7 +690,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 48: Read ACErrorCode attribute from the DUT" + - label: "Step 48: TH reads the ACErrorCode attribute from the DUT" PICS: TSTAT.S.A0044 command: "readAttribute" attribute: "ACErrorCode" @@ -694,7 +698,7 @@ tests: constraints: type: bitmap32 - - label: "Step 49: Read ACLouverPosition attribute from the DUT" + - label: "Step 49: TH reads the ACLouverPosition attribute from the DUT" PICS: TSTAT.S.A0045 command: "readAttribute" attribute: "ACLouverPosition" @@ -704,7 +708,7 @@ tests: minValue: 1 maxValue: 5 - - label: "Step 50: Read ACCoilTemperature attribute from the DUT" + - label: "Step 50: TH reads the ACCoilTemperature attribute from the DUT" PICS: TSTAT.S.A0046 command: "readAttribute" attribute: "ACCoilTemperature" @@ -714,7 +718,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 51: Read ACCapacityFormat attribute from the DUT" + - label: "Step 51: TH reads the ACCapacityFormat attribute from the DUT" PICS: TSTAT.S.A0047 command: "readAttribute" attribute: "ACCapacityformat" diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 93df3024382482..29eeeb1d5dac7c 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -45953,136 +45953,152 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); - err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); + err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute\n"); if (ShouldSkip(" !CNET.S.F00 && !CNET.S.F01 && !CNET.S.F02 ")) { NextTest(); return; } - err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); + err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is set\n"); if (ShouldSkip("CNET.S.F00")) { NextTest(); return; } - err = TestStep3bReadTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3(); + err = TestStep3bThReadsTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is set\n"); if (ShouldSkip("CNET.S.F01")) { NextTest(); return; } - err = TestStep3cReadTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4(); + err = TestStep3cThReadsTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is set\n"); if (ShouldSkip("CNET.S.F02")) { NextTest(); return; } - err = TestStep3dReadTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5(); + err = TestStep3dThReadsTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_6(); + err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: Read the global attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b: TH reads from the DUT the AttributeList attribute.\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_7(); + err = TestStep4bThReadsFromTheDutTheAttributeListAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true\n"); if (ShouldSkip("CNET.S.F00 || CNET.S.F01 || CNET.S.F02")) { NextTest(); return; } - err = TestStep4bReadMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8(); + err = TestStep4cThReadsMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: Read the optional attribute(ScanMaxTimeSeconds): AttributeList\n"); - if (ShouldSkip("CNET.S.A0002")) { + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4d: TH reads the feature dependent attribute(ScanMaxTimeSeconds): AttributeList\n"); + if (ShouldSkip("CNET.S.F00 || CNET.S.F01")) { NextTest(); return; } - err = TestStep4cReadTheOptionalAttributeScanMaxTimeSecondsAttributeList_9(); + err = TestStep4dThReadsTheFeatureDependentAttributeScanMaxTimeSecondsAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList\n"); - if (ShouldSkip("CNET.S.A0003")) { + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4e: TH reads the feature dependent attribute(ConnectMaxTimeSeconds) in AttributeList\n"); + if (ShouldSkip("CNET.S.F00 || CNET.S.F01")) { NextTest(); return; } - err = TestStep4dReadingOptionalAttributeConnectMaxTimeSecondsInAttributeList_10(); + err = TestStep4eThReadsTheFeatureDependentAttributeConnectMaxTimeSecondsInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5: Read the global attribute: EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in AttributeList\n"); + if (ShouldSkip("CNET.S.F00")) { + NextTest(); + return; + } + err = TestStep4fThReadsWifiRelatedAttributeSupportedWiFiBandsInAttributeList_11(); + break; + case 12: + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4g: TH reads Thread related attribute (SupportedWiFiBands and ThreadVersion) in AttributeList\n"); + if (ShouldSkip("CNET.S.F01")) { + NextTest(); + return; + } + err = TestStep4gThReadsThreadRelatedAttributeSupportedWiFiBandsAndThreadVersionInAttributeList_12(); + break; + case 13: + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5: TH reads from the DUT the EventList attribute\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH)\n"); + case 14: + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH)\n"); if (ShouldSkip("( CNET.S.F00 || CNET.S.F01 )")) { NextTest(); return; } - err = TestStep6aReadAcceptedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_12(); + err = TestStep6aThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_14(); break; - case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true)\n"); + case 15: + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true)\n"); if (ShouldSkip("CNET.S.F00")) { NextTest(); return; } - err = TestStep6bReadAcceptedCommandListIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_13(); + err = TestStep6bThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_15(); break; - case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6c: Read AcceptedCommandList If DUT supports Thread related features(CNET.S.F01(TH) is true)\n"); + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT supports Thread related features(CNET.S.F01(TH) is true)\n"); if (ShouldSkip("CNET.S.F01")) { NextTest(); return; } - err = TestStep6cReadAcceptedCommandListIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_14(); + err = TestStep6cThReadsAcceptedCommandListAttributeFromDutIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_16(); break; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6d: Read AcceptedCommandList If DUT supports Ethernet related features(CNET.S.F02(TH) is true)\n"); + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(TH) is true)\n"); if (ShouldSkip("CNET.S.F02")) { NextTest(); return; } - err = TestStep6dReadAcceptedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_15(); + err = TestStep6dThReadsAcceptedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_17(); break; - case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true)\n"); + case 18: + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true)\n"); if (ShouldSkip("( CNET.S.F00 || CNET.S.F01 )")) { NextTest(); return; } - err = TestStep7aReadTheGeneratedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_16(); + err = TestStep7aThReadsTheGeneratedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_18(); break; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 7b: Read the GeneratedCommandList If DUT supports Ethernet related features(CNET.S.F02(ET) must be true)\n"); + case 19: + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(ET) must be true)\n"); if (ShouldSkip("CNET.S.F02")) { NextTest(); return; } - err = TestStep7bReadTheGeneratedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_17(); + err = TestStep7bReadTheGeneratedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_19(); break; } @@ -46149,6 +46165,12 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 18: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 19: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -46159,7 +46181,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 18; + const uint16_t mTestCount = 20; chip::Optional mNodeId; chip::Optional mCluster; @@ -46174,7 +46196,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46183,9 +46205,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Error: %@", err); } else { - NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); + NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46202,7 +46224,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() + CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46211,9 +46233,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute: Error: %@", err); } else { - NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); + NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46229,7 +46251,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3() + CHIP_ERROR TestStep3bThReadsTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46238,9 +46260,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set: Error: %@", err); + NSLog(@"Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is set: Error: %@", err); } else { - NSLog(@"Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set: Success"); + NSLog(@"Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46256,7 +46278,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cReadTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4() + CHIP_ERROR TestStep3cThReadsTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46265,9 +46287,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set: Error: %@", err); + NSLog(@"Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is set: Error: %@", err); } else { - NSLog(@"Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set: Success"); + NSLog(@"Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46283,7 +46305,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dReadTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5() + CHIP_ERROR TestStep3dThReadsTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46292,9 +46314,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set: Error: %@", err); + NSLog(@"Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is set: Error: %@", err); } else { - NSLog(@"Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set: Success"); + NSLog(@"Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46310,7 +46332,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_6() + CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46319,9 +46341,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46340,7 +46362,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_7() + CHIP_ERROR TestStep4bThReadsFromTheDutTheAttributeListAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46349,9 +46371,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); + NSLog(@"Step 4b: TH reads from the DUT the AttributeList attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); + NSLog(@"Step 4b: TH reads from the DUT the AttributeList attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46369,7 +46391,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8() + CHIP_ERROR TestStep4cThReadsMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46378,9 +46400,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Error: %@", err); + NSLog(@"Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Error: %@", err); } else { - NSLog(@"Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Success"); + NSLog(@"Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46399,7 +46421,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cReadTheOptionalAttributeScanMaxTimeSecondsAttributeList_9() + CHIP_ERROR TestStep4dThReadsTheFeatureDependentAttributeScanMaxTimeSecondsAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46408,9 +46430,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: Read the optional attribute(ScanMaxTimeSeconds): AttributeList: Error: %@", err); + NSLog(@"Step 4d: TH reads the feature dependent attribute(ScanMaxTimeSeconds): AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: Read the optional attribute(ScanMaxTimeSeconds): AttributeList: Success"); + NSLog(@"Step 4d: TH reads the feature dependent attribute(ScanMaxTimeSeconds): AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46424,7 +46446,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dReadingOptionalAttributeConnectMaxTimeSecondsInAttributeList_10() + CHIP_ERROR TestStep4eThReadsTheFeatureDependentAttributeConnectMaxTimeSecondsInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46433,9 +46455,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: TH reads the feature dependent attribute(ConnectMaxTimeSeconds) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList: Success"); + NSLog(@"Step 4e: TH reads the feature dependent attribute(ConnectMaxTimeSeconds) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46449,7 +46471,58 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aReadAcceptedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_12() + CHIP_ERROR TestStep4fThReadsWifiRelatedAttributeSupportedWiFiBandsInAttributeList_11() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { + if (err != nil) { + NSLog(@"Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in AttributeList: Error: %@", err); + } else { + NSLog(@"Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in AttributeList: Success"); + } + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 8UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestStep4gThReadsThreadRelatedAttributeSupportedWiFiBandsAndThreadVersionInAttributeList_12() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { + if (err != nil) { + NSLog(@"Step 4g: TH reads Thread related attribute (SupportedWiFiBands and ThreadVersion) in AttributeList: Error: %@", err); + } else { + NSLog(@"Step 4g: TH reads Thread related attribute (SupportedWiFiBands and ThreadVersion) in AttributeList: Success"); + } + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 9UL)); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 10UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestStep6aThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46458,9 +46531,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Error: %@", err); + NSLog(@"Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Error: %@", err); } else { - NSLog(@"Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Success"); + NSLog(@"Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46477,7 +46550,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadAcceptedCommandListIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_13() + CHIP_ERROR TestStep6bThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46486,9 +46559,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Error: %@", err); + NSLog(@"Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Error: %@", err); } else { - NSLog(@"Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Success"); + NSLog(@"Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46502,7 +46575,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cReadAcceptedCommandListIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_14() + CHIP_ERROR TestStep6cThReadsAcceptedCommandListAttributeFromDutIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46511,9 +46584,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: Read AcceptedCommandList If DUT supports Thread related features(CNET.S.F01(TH) is true): Error: %@", err); + NSLog(@"Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT supports Thread related features(CNET.S.F01(TH) is true): Error: %@", err); } else { - NSLog(@"Step 6c: Read AcceptedCommandList If DUT supports Thread related features(CNET.S.F01(TH) is true): Success"); + NSLog(@"Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT supports Thread related features(CNET.S.F01(TH) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46527,7 +46600,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6dReadAcceptedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_15() + CHIP_ERROR TestStep6dThReadsAcceptedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46536,9 +46609,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: Read AcceptedCommandList If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Error: %@", err); + NSLog(@"Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Error: %@", err); } else { - NSLog(@"Step 6d: Read AcceptedCommandList If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Success"); + NSLog(@"Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46554,7 +46627,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7aReadTheGeneratedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_16() + CHIP_ERROR TestStep7aThReadsTheGeneratedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46563,9 +46636,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Error: %@", err); + NSLog(@"Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Error: %@", err); } else { - NSLog(@"Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Success"); + NSLog(@"Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46581,7 +46654,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7bReadTheGeneratedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_17() + CHIP_ERROR TestStep7bReadTheGeneratedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46590,9 +46663,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7b: Read the GeneratedCommandList If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Error: %@", err); + NSLog(@"Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Error: %@", err); } else { - NSLog(@"Step 7b: Read the GeneratedCommandList If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Success"); + NSLog(@"Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -93814,192 +93887,192 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the mandatory attribute: MaxPressure\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MaxPressure attribute.\n"); if (ShouldSkip("PCC.S.A0000")) { NextTest(); return; } - err = TestStep2ReadTheMandatoryAttributeMaxPressure_1(); + err = TestStep2ThReadsFromTheDutTheMaxPressureAttribute_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the mandatory attribute: MaxSpeed\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the MaxSpeed attribute.\n"); if (ShouldSkip("PCC.S.A0001")) { NextTest(); return; } - err = TestStep3ReadTheMandatoryAttributeMaxSpeed_2(); + err = TestStep3ThReadsFromTheDutTheMaxSpeedAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: Read the mandatory attribute: MaxFlow\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the MaxFlow attribute.\n"); if (ShouldSkip("PCC.S.A0002")) { NextTest(); return; } - err = TestStep4ReadTheMandatoryAttributeMaxFlow_3(); + err = TestStep4ThReadsFromTheDutTheMaxFlowAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Read the optional attribute: MinConstPressure\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the MinConstPressure attribute.\n"); if (ShouldSkip("PCC.S.A0003")) { NextTest(); return; } - err = TestStep5ReadTheOptionalAttributeMinConstPressure_4(); + err = TestStep5ThReadsFromTheDutTheMinConstPressureAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: Read the optional attribute: MaxConstPressure\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the MaxConstPressure attribute.\n"); if (ShouldSkip("PCC.S.A0004")) { NextTest(); return; } - err = TestStep6ReadTheOptionalAttributeMaxConstPressure_5(); + err = TestStep6ThReadsFromTheDutTheMaxConstPressureAttribute_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: Read the optional attribute: MinCompPressure\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads from the DUT the MinCompPressure attribute.\n"); if (ShouldSkip("PCC.S.A0005")) { NextTest(); return; } - err = TestStep7ReadTheOptionalAttributeMinCompPressure_6(); + err = TestStep7ThReadsFromTheDutTheMinCompPressureAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: Read the optional attribute: MaxCompPressure\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 8: TH reads from the DUT the MaxCompPressure attribute.\n"); if (ShouldSkip("PCC.S.A0006")) { NextTest(); return; } - err = TestStep8ReadTheOptionalAttributeMaxCompPressure_7(); + err = TestStep8ThReadsFromTheDutTheMaxCompPressureAttribute_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Read the optional attribute: MinConstSpeed\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: TH reads from the DUT the MinConstSpeed attribute.\n"); if (ShouldSkip("PCC.S.A0007")) { NextTest(); return; } - err = TestStep9ReadTheOptionalAttributeMinConstSpeed_8(); + err = TestStep9ThReadsFromTheDutTheMinConstSpeedAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: Read the optional attribute: MaxConstSpeed\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads from the DUT the MaxConstSpeed attribute.\n"); if (ShouldSkip("PCC.S.A0008")) { NextTest(); return; } - err = TestStep10ReadTheOptionalAttributeMaxConstSpeed_9(); + err = TestStep10ThReadsFromTheDutTheMaxConstSpeedAttribute_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 11: Read the optional attribute: MinConstFlow\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 11: TH reads from the DUT the MinConstFlow attribute.\n"); if (ShouldSkip("PCC.S.A0009")) { NextTest(); return; } - err = TestStep11ReadTheOptionalAttributeMinConstFlow_10(); + err = TestStep11ThReadsFromTheDutTheMinConstFlowAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 12: Read the optional attribute: MaxConstFlow\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 12: TH reads from the DUT the MaxConstFlow attribute.\n"); if (ShouldSkip("PCC.S.A000a")) { NextTest(); return; } - err = TestStep12ReadTheOptionalAttributeMaxConstFlow_11(); + err = TestStep12ThReadsFromTheDutTheMaxConstFlowAttribute_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 13: Read the optional attribute: MinConstTemp\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 13: TH reads from the DUT the MinConstTemp attribute.\n"); if (ShouldSkip("PCC.S.A000b")) { NextTest(); return; } - err = TestStep13ReadTheOptionalAttributeMinConstTemp_12(); + err = TestStep13ThReadsFromTheDutTheMinConstTempAttribute_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 14: Read the optional attribute: MaxConstTemp\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 14: TH reads from the DUT the MaxConstTemp attribute.\n"); if (ShouldSkip("PCC.S.A000c")) { NextTest(); return; } - err = TestStep14ReadTheOptionalAttributeMaxConstTemp_13(); + err = TestStep14ThReadsFromTheDutTheMaxConstTempAttribute_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 15: Read the optional attribute: PumpStatus\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 15: TH reads from the DUT the PumpStatus attribute.\n"); if (ShouldSkip("PCC.S.A0010")) { NextTest(); return; } - err = TestStep15ReadTheOptionalAttributePumpStatus_14(); + err = TestStep15ThReadsFromTheDutThePumpStatusAttribute_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 16: Read attribute: EffectiveOperationMode\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 16: TH reads from the DUT the EffectiveOperationMode attribute.\n"); if (ShouldSkip("PCC.S.A0011")) { NextTest(); return; } - err = TestStep16ReadAttributeEffectiveOperationMode_15(); + err = TestStep16ThReadsFromTheDutTheEffectiveOperationModeAttribute_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 17: Read attribute: EffectiveControlMode\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 17: TH reads from the DUT the EffectiveControlMode attribute.\n"); if (ShouldSkip("PCC.S.A0012")) { NextTest(); return; } - err = TestStep17ReadAttributeEffectiveControlMode_16(); + err = TestStep17ThReadsFromTheDutTheEffectiveControlModeAttribute_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 18: Read attribute: Capacity\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 18: TH reads from the DUT the Capacity attribute.\n"); if (ShouldSkip("PCC.S.A0013")) { NextTest(); return; } - err = TestStep18ReadAttributeCapacity_17(); + err = TestStep18ThReadsFromTheDutTheCapacityAttribute_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 19: Read the optional attribute: Speed\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 19: TH reads from the DUT the Speed attribute.\n"); if (ShouldSkip("PCC.S.A0014")) { NextTest(); return; } - err = TestStep19ReadTheOptionalAttributeSpeed_18(); + err = TestStep19ThReadsFromTheDutTheSpeedAttribute_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 20: Read the optional attribute: LifetimeRunningHours\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 20: TH reads from the DUT the LifetimeRunningHours attribute.\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep20ReadTheOptionalAttributeLifetimeRunningHours_19(); + err = TestStep20ThReadsFromTheDutTheLifetimeRunningHoursAttribute_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 21: Read the optional attribute: Power\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 21: TH reads from the DUT the Power attribute.\n"); if (ShouldSkip("PCC.S.A0016")) { NextTest(); return; } - err = TestStep21ReadTheOptionalAttributePower_20(); + err = TestStep21ThReadsFromTheDutThePowerAttribute_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 22: Read the optional attribute: LifetimeEnergyConsumed\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 22: TH reads from the DUT the LifetimeEnergyConsumed attribute.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep22ReadTheOptionalAttributeLifetimeEnergyConsumed_21(); + err = TestStep22ThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 23: Read optional attribute: OperationMode\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 23: TH reads from the DUT the OperationMode attribute.\n"); if (ShouldSkip("PCC.S.A0020")) { NextTest(); return; } - err = TestStep23ReadOptionalAttributeOperationMode_22(); + err = TestStep23ThReadsFromTheDutTheOperationModeAttribute_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 24: Read optional attribute: ControlMode\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 24: TH reads from the DUT the ControlMode attribute.\n"); if (ShouldSkip("PCC.S.A0021")) { NextTest(); return; } - err = TestStep24ReadOptionalAttributeControlMode_23(); + err = TestStep24ThReadsFromTheDutTheControlModeAttribute_23(); break; } @@ -94101,7 +94174,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -94109,7 +94182,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ReadTheMandatoryAttributeMaxPressure_1() + CHIP_ERROR TestStep2ThReadsFromTheDutTheMaxPressureAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94118,9 +94191,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxPressureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Read the mandatory attribute: MaxPressure: Error: %@", err); + NSLog(@"Step 2: TH reads from the DUT the MaxPressure attribute.: Error: %@", err); } else { - NSLog(@"Step 2: Read the mandatory attribute: MaxPressure: Success"); + NSLog(@"Step 2: TH reads from the DUT the MaxPressure attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94138,7 +94211,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ReadTheMandatoryAttributeMaxSpeed_2() + CHIP_ERROR TestStep3ThReadsFromTheDutTheMaxSpeedAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94147,9 +94220,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: Read the mandatory attribute: MaxSpeed: Error: %@", err); + NSLog(@"Step 3: TH reads from the DUT the MaxSpeed attribute.: Error: %@", err); } else { - NSLog(@"Step 3: Read the mandatory attribute: MaxSpeed: Success"); + NSLog(@"Step 3: TH reads from the DUT the MaxSpeed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94167,7 +94240,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ReadTheMandatoryAttributeMaxFlow_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheMaxFlowAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94176,9 +94249,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxFlowWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Read the mandatory attribute: MaxFlow: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the MaxFlow attribute.: Error: %@", err); } else { - NSLog(@"Step 4: Read the mandatory attribute: MaxFlow: Success"); + NSLog(@"Step 4: TH reads from the DUT the MaxFlow attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94196,7 +94269,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ReadTheOptionalAttributeMinConstPressure_4() + CHIP_ERROR TestStep5ThReadsFromTheDutTheMinConstPressureAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94205,9 +94278,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMinConstPressureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5: Read the optional attribute: MinConstPressure: Error: %@", err); + NSLog(@"Step 5: TH reads from the DUT the MinConstPressure attribute.: Error: %@", err); } else { - NSLog(@"Step 5: Read the optional attribute: MinConstPressure: Success"); + NSLog(@"Step 5: TH reads from the DUT the MinConstPressure attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94225,7 +94298,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ReadTheOptionalAttributeMaxConstPressure_5() + CHIP_ERROR TestStep6ThReadsFromTheDutTheMaxConstPressureAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94234,9 +94307,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxConstPressureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Read the optional attribute: MaxConstPressure: Error: %@", err); + NSLog(@"Step 6: TH reads from the DUT the MaxConstPressure attribute.: Error: %@", err); } else { - NSLog(@"Step 6: Read the optional attribute: MaxConstPressure: Success"); + NSLog(@"Step 6: TH reads from the DUT the MaxConstPressure attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94254,7 +94327,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ReadTheOptionalAttributeMinCompPressure_6() + CHIP_ERROR TestStep7ThReadsFromTheDutTheMinCompPressureAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94263,9 +94336,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMinCompPressureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Read the optional attribute: MinCompPressure: Error: %@", err); + NSLog(@"Step 7: TH reads from the DUT the MinCompPressure attribute.: Error: %@", err); } else { - NSLog(@"Step 7: Read the optional attribute: MinCompPressure: Success"); + NSLog(@"Step 7: TH reads from the DUT the MinCompPressure attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94283,7 +94356,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep8ReadTheOptionalAttributeMaxCompPressure_7() + CHIP_ERROR TestStep8ThReadsFromTheDutTheMaxCompPressureAttribute_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94292,9 +94365,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxCompPressureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 8: Read the optional attribute: MaxCompPressure: Error: %@", err); + NSLog(@"Step 8: TH reads from the DUT the MaxCompPressure attribute.: Error: %@", err); } else { - NSLog(@"Step 8: Read the optional attribute: MaxCompPressure: Success"); + NSLog(@"Step 8: TH reads from the DUT the MaxCompPressure attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94312,7 +94385,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep9ReadTheOptionalAttributeMinConstSpeed_8() + CHIP_ERROR TestStep9ThReadsFromTheDutTheMinConstSpeedAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94321,9 +94394,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMinConstSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 9: Read the optional attribute: MinConstSpeed: Error: %@", err); + NSLog(@"Step 9: TH reads from the DUT the MinConstSpeed attribute.: Error: %@", err); } else { - NSLog(@"Step 9: Read the optional attribute: MinConstSpeed: Success"); + NSLog(@"Step 9: TH reads from the DUT the MinConstSpeed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94341,7 +94414,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep10ReadTheOptionalAttributeMaxConstSpeed_9() + CHIP_ERROR TestStep10ThReadsFromTheDutTheMaxConstSpeedAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94350,9 +94423,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxConstSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 10: Read the optional attribute: MaxConstSpeed: Error: %@", err); + NSLog(@"Step 10: TH reads from the DUT the MaxConstSpeed attribute.: Error: %@", err); } else { - NSLog(@"Step 10: Read the optional attribute: MaxConstSpeed: Success"); + NSLog(@"Step 10: TH reads from the DUT the MaxConstSpeed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94370,7 +94443,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep11ReadTheOptionalAttributeMinConstFlow_10() + CHIP_ERROR TestStep11ThReadsFromTheDutTheMinConstFlowAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94379,9 +94452,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMinConstFlowWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 11: Read the optional attribute: MinConstFlow: Error: %@", err); + NSLog(@"Step 11: TH reads from the DUT the MinConstFlow attribute.: Error: %@", err); } else { - NSLog(@"Step 11: Read the optional attribute: MinConstFlow: Success"); + NSLog(@"Step 11: TH reads from the DUT the MinConstFlow attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94399,7 +94472,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep12ReadTheOptionalAttributeMaxConstFlow_11() + CHIP_ERROR TestStep12ThReadsFromTheDutTheMaxConstFlowAttribute_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94408,9 +94481,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxConstFlowWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 12: Read the optional attribute: MaxConstFlow: Error: %@", err); + NSLog(@"Step 12: TH reads from the DUT the MaxConstFlow attribute.: Error: %@", err); } else { - NSLog(@"Step 12: Read the optional attribute: MaxConstFlow: Success"); + NSLog(@"Step 12: TH reads from the DUT the MaxConstFlow attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94428,7 +94501,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep13ReadTheOptionalAttributeMinConstTemp_12() + CHIP_ERROR TestStep13ThReadsFromTheDutTheMinConstTempAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94437,9 +94510,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMinConstTempWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 13: Read the optional attribute: MinConstTemp: Error: %@", err); + NSLog(@"Step 13: TH reads from the DUT the MinConstTemp attribute.: Error: %@", err); } else { - NSLog(@"Step 13: Read the optional attribute: MinConstTemp: Success"); + NSLog(@"Step 13: TH reads from the DUT the MinConstTemp attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94457,7 +94530,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep14ReadTheOptionalAttributeMaxConstTemp_13() + CHIP_ERROR TestStep14ThReadsFromTheDutTheMaxConstTempAttribute_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94466,9 +94539,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeMaxConstTempWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 14: Read the optional attribute: MaxConstTemp: Error: %@", err); + NSLog(@"Step 14: TH reads from the DUT the MaxConstTemp attribute.: Error: %@", err); } else { - NSLog(@"Step 14: Read the optional attribute: MaxConstTemp: Success"); + NSLog(@"Step 14: TH reads from the DUT the MaxConstTemp attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94486,7 +94559,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep15ReadTheOptionalAttributePumpStatus_14() + CHIP_ERROR TestStep15ThReadsFromTheDutThePumpStatusAttribute_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94495,9 +94568,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributePumpStatusWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 15: Read the optional attribute: PumpStatus: Error: %@", err); + NSLog(@"Step 15: TH reads from the DUT the PumpStatus attribute.: Error: %@", err); } else { - NSLog(@"Step 15: Read the optional attribute: PumpStatus: Success"); + NSLog(@"Step 15: TH reads from the DUT the PumpStatus attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94512,7 +94585,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep16ReadAttributeEffectiveOperationMode_15() + CHIP_ERROR TestStep16ThReadsFromTheDutTheEffectiveOperationModeAttribute_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94521,9 +94594,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeEffectiveOperationModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 16: Read attribute: EffectiveOperationMode: Error: %@", err); + NSLog(@"Step 16: TH reads from the DUT the EffectiveOperationMode attribute.: Error: %@", err); } else { - NSLog(@"Step 16: Read attribute: EffectiveOperationMode: Success"); + NSLog(@"Step 16: TH reads from the DUT the EffectiveOperationMode attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94538,7 +94611,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep17ReadAttributeEffectiveControlMode_16() + CHIP_ERROR TestStep17ThReadsFromTheDutTheEffectiveControlModeAttribute_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94547,9 +94620,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeEffectiveControlModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 17: Read attribute: EffectiveControlMode: Error: %@", err); + NSLog(@"Step 17: TH reads from the DUT the EffectiveControlMode attribute.: Error: %@", err); } else { - NSLog(@"Step 17: Read attribute: EffectiveControlMode: Success"); + NSLog(@"Step 17: TH reads from the DUT the EffectiveControlMode attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94564,7 +94637,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep18ReadAttributeCapacity_17() + CHIP_ERROR TestStep18ThReadsFromTheDutTheCapacityAttribute_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94573,9 +94646,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeCapacityWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 18: Read attribute: Capacity: Error: %@", err); + NSLog(@"Step 18: TH reads from the DUT the Capacity attribute.: Error: %@", err); } else { - NSLog(@"Step 18: Read attribute: Capacity: Success"); + NSLog(@"Step 18: TH reads from the DUT the Capacity attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94593,7 +94666,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep19ReadTheOptionalAttributeSpeed_18() + CHIP_ERROR TestStep19ThReadsFromTheDutTheSpeedAttribute_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94602,9 +94675,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeSpeedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 19: Read the optional attribute: Speed: Error: %@", err); + NSLog(@"Step 19: TH reads from the DUT the Speed attribute.: Error: %@", err); } else { - NSLog(@"Step 19: Read the optional attribute: Speed: Success"); + NSLog(@"Step 19: TH reads from the DUT the Speed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94622,7 +94695,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep20ReadTheOptionalAttributeLifetimeRunningHours_19() + CHIP_ERROR TestStep20ThReadsFromTheDutTheLifetimeRunningHoursAttribute_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94631,9 +94704,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeLifetimeRunningHoursWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 20: Read the optional attribute: LifetimeRunningHours: Error: %@", err); + NSLog(@"Step 20: TH reads from the DUT the LifetimeRunningHours attribute.: Error: %@", err); } else { - NSLog(@"Step 20: Read the optional attribute: LifetimeRunningHours: Success"); + NSLog(@"Step 20: TH reads from the DUT the LifetimeRunningHours attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94651,7 +94724,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep21ReadTheOptionalAttributePower_20() + CHIP_ERROR TestStep21ThReadsFromTheDutThePowerAttribute_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94660,9 +94733,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributePowerWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 21: Read the optional attribute: Power: Error: %@", err); + NSLog(@"Step 21: TH reads from the DUT the Power attribute.: Error: %@", err); } else { - NSLog(@"Step 21: Read the optional attribute: Power: Success"); + NSLog(@"Step 21: TH reads from the DUT the Power attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94680,7 +94753,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep22ReadTheOptionalAttributeLifetimeEnergyConsumed_21() + CHIP_ERROR TestStep22ThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94689,9 +94762,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeLifetimeEnergyConsumedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 22: Read the optional attribute: LifetimeEnergyConsumed: Error: %@", err); + NSLog(@"Step 22: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Error: %@", err); } else { - NSLog(@"Step 22: Read the optional attribute: LifetimeEnergyConsumed: Success"); + NSLog(@"Step 22: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94709,7 +94782,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep23ReadOptionalAttributeOperationMode_22() + CHIP_ERROR TestStep23ThReadsFromTheDutTheOperationModeAttribute_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94718,9 +94791,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeOperationModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 23: Read optional attribute: OperationMode: Error: %@", err); + NSLog(@"Step 23: TH reads from the DUT the OperationMode attribute.: Error: %@", err); } else { - NSLog(@"Step 23: Read optional attribute: OperationMode: Success"); + NSLog(@"Step 23: TH reads from the DUT the OperationMode attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94735,7 +94808,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep24ReadOptionalAttributeControlMode_23() + CHIP_ERROR TestStep24ThReadsFromTheDutTheControlModeAttribute_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -94744,9 +94817,9 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { [cluster readAttributeControlModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 24: Read optional attribute: ControlMode: Error: %@", err); + NSLog(@"Step 24: TH reads from the DUT the ControlMode attribute.: Error: %@", err); } else { - NSLog(@"Step 24: Read optional attribute: ControlMode: Success"); + NSLog(@"Step 24: TH reads from the DUT the ControlMode attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -94803,8 +94876,8 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH write 0 (Normal) to the OperationMode attribute to DUT\n"); @@ -94925,7 +94998,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -95183,8 +95256,8 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH write 0 (Normal) to the OperationMode attribute to DUT.\n"); @@ -95371,7 +95444,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -95785,104 +95858,104 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); - err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); + err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: Write 1 to the LifetimeRunningHours attribute to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH Write 1 to the LifetimeRunningHours attribute to DUT\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep2aWrite1ToTheLifetimeRunningHoursAttributeToDut_1(); + err = TestStep2aThWrite1ToTheLifetimeRunningHoursAttributeToDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2b: Reads the attribute: LifetimeRunningHours\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2b: TH reads from the DUT the LifetimeRunningHours attribute.\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep2bReadsTheAttributeLifetimeRunningHours_2(); + err = TestStep2bThReadsFromTheDutTheLifetimeRunningHoursAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: Write 2 to the LifetimeRunningHours attribute to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3a: TH write 2 to the LifetimeRunningHours attribute of DUT.\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep3aWrite2ToTheLifetimeRunningHoursAttributeToDut_3(); + err = TestStep3aThWrite2ToTheLifetimeRunningHoursAttributeOfDut_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: Reads the attribute: LifetimeRunningHours\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3b: TH reads from the DUT the LifetimeRunningHours attribute.\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep3bReadsTheAttributeLifetimeRunningHours_4(); + err = TestStep3bThReadsFromTheDutTheLifetimeRunningHoursAttribute_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: Write 3 to the LifetimeRunningHours attribute to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4a: TH Write 3 to the LifetimeRunningHours attribute to DUT\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep4aWrite3ToTheLifetimeRunningHoursAttributeToDut_5(); + err = TestStep4aThWrite3ToTheLifetimeRunningHoursAttributeToDut_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: Reads the attribute: LifetimeRunningHours\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4b: TH reads from the DUT the LifetimeRunningHours attribute.\n"); if (ShouldSkip("PCC.S.A0015")) { NextTest(); return; } - err = TestStep4bReadsTheAttributeLifetimeRunningHours_6(); + err = TestStep4bThReadsFromTheDutTheLifetimeRunningHoursAttribute_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5a: Write 1 to the LifetimeEnergyConsumed attribute to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5a: TH write 1 to the LifetimeEnergyConsumed attribute of DUT.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep5aWrite1ToTheLifetimeEnergyConsumedAttributeToDut_7(); + err = TestStep5aThWrite1ToTheLifetimeEnergyConsumedAttributeOfDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5b: Reads the attribute: LifetimeEnergyConsumed\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5b: TH reads from the DUT the LifetimeEnergyConsumed attribute.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep5bReadsTheAttributeLifetimeEnergyConsumed_8(); + err = TestStep5bThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6a: Write 2 to the LifetimeEnergyConsumed attribute to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 6a: TH write 2 to the LifetimeEnergyConsumed attribute of DUT.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep6aWrite2ToTheLifetimeEnergyConsumedAttributeToDut_9(); + err = TestStep6aThWrite2ToTheLifetimeEnergyConsumedAttributeOfDut_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6b: Reads the attribute: LifetimeEnergyConsumed\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 6b: TH reads from the DUT the LifetimeEnergyConsumed attribute.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep6bReadsTheAttributeLifetimeEnergyConsumed_10(); + err = TestStep6bThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7a: Write 3 to the LifetimeEnergyConsumed attribute to DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 7a: TH write 3 to the LifetimeEnergyConsumed attribute of DUT.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep7aWrite3ToTheLifetimeEnergyConsumedAttributeToDut_11(); + err = TestStep7aThWrite3ToTheLifetimeEnergyConsumedAttributeOfDut_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7b: Reads the attribute: LifetimeEnergyConsumed\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 7b: TH reads from the DUT the LifetimeEnergyConsumed attribute.\n"); if (ShouldSkip("PCC.S.A0017")) { NextTest(); return; } - err = TestStep7bReadsTheAttributeLifetimeEnergyConsumed_12(); + err = TestStep7bThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_12(); break; } @@ -95951,7 +96024,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -95959,7 +96032,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2aWrite1ToTheLifetimeRunningHoursAttributeToDut_1() + CHIP_ERROR TestStep2aThWrite1ToTheLifetimeRunningHoursAttributeToDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -95971,9 +96044,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [NSNumber numberWithUnsignedInt:1UL]; [cluster writeAttributeLifetimeRunningHoursWithValue:lifetimeRunningHoursArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: Write 1 to the LifetimeRunningHours attribute to DUT: Error: %@", err); + NSLog(@"Step 2a: TH Write 1 to the LifetimeRunningHours attribute to DUT: Error: %@", err); } else { - NSLog(@"Step 2a: Write 1 to the LifetimeRunningHours attribute to DUT: Success"); + NSLog(@"Step 2a: TH Write 1 to the LifetimeRunningHours attribute to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -95984,7 +96057,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2bReadsTheAttributeLifetimeRunningHours_2() + CHIP_ERROR TestStep2bThReadsFromTheDutTheLifetimeRunningHoursAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -95993,9 +96066,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [cluster readAttributeLifetimeRunningHoursWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: Reads the attribute: LifetimeRunningHours: Error: %@", err); + NSLog(@"Step 2b: TH reads from the DUT the LifetimeRunningHours attribute.: Error: %@", err); } else { - NSLog(@"Step 2b: Reads the attribute: LifetimeRunningHours: Success"); + NSLog(@"Step 2b: TH reads from the DUT the LifetimeRunningHours attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96012,7 +96085,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aWrite2ToTheLifetimeRunningHoursAttributeToDut_3() + CHIP_ERROR TestStep3aThWrite2ToTheLifetimeRunningHoursAttributeOfDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96024,9 +96097,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [NSNumber numberWithUnsignedInt:2UL]; [cluster writeAttributeLifetimeRunningHoursWithValue:lifetimeRunningHoursArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: Write 2 to the LifetimeRunningHours attribute to DUT: Error: %@", err); + NSLog(@"Step 3a: TH write 2 to the LifetimeRunningHours attribute of DUT.: Error: %@", err); } else { - NSLog(@"Step 3a: Write 2 to the LifetimeRunningHours attribute to DUT: Success"); + NSLog(@"Step 3a: TH write 2 to the LifetimeRunningHours attribute of DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96037,7 +96110,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bReadsTheAttributeLifetimeRunningHours_4() + CHIP_ERROR TestStep3bThReadsFromTheDutTheLifetimeRunningHoursAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96046,9 +96119,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [cluster readAttributeLifetimeRunningHoursWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Reads the attribute: LifetimeRunningHours: Error: %@", err); + NSLog(@"Step 3b: TH reads from the DUT the LifetimeRunningHours attribute.: Error: %@", err); } else { - NSLog(@"Step 3b: Reads the attribute: LifetimeRunningHours: Success"); + NSLog(@"Step 3b: TH reads from the DUT the LifetimeRunningHours attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96065,7 +96138,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aWrite3ToTheLifetimeRunningHoursAttributeToDut_5() + CHIP_ERROR TestStep4aThWrite3ToTheLifetimeRunningHoursAttributeToDut_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96077,9 +96150,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [NSNumber numberWithUnsignedInt:3UL]; [cluster writeAttributeLifetimeRunningHoursWithValue:lifetimeRunningHoursArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: Write 3 to the LifetimeRunningHours attribute to DUT: Error: %@", err); + NSLog(@"Step 4a: TH Write 3 to the LifetimeRunningHours attribute to DUT: Error: %@", err); } else { - NSLog(@"Step 4a: Write 3 to the LifetimeRunningHours attribute to DUT: Success"); + NSLog(@"Step 4a: TH Write 3 to the LifetimeRunningHours attribute to DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96090,7 +96163,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadsTheAttributeLifetimeRunningHours_6() + CHIP_ERROR TestStep4bThReadsFromTheDutTheLifetimeRunningHoursAttribute_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96099,9 +96172,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [cluster readAttributeLifetimeRunningHoursWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: Reads the attribute: LifetimeRunningHours: Error: %@", err); + NSLog(@"Step 4b: TH reads from the DUT the LifetimeRunningHours attribute.: Error: %@", err); } else { - NSLog(@"Step 4b: Reads the attribute: LifetimeRunningHours: Success"); + NSLog(@"Step 4b: TH reads from the DUT the LifetimeRunningHours attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96118,7 +96191,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5aWrite1ToTheLifetimeEnergyConsumedAttributeToDut_7() + CHIP_ERROR TestStep5aThWrite1ToTheLifetimeEnergyConsumedAttributeOfDut_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96130,9 +96203,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [NSNumber numberWithUnsignedInt:1UL]; [cluster writeAttributeLifetimeEnergyConsumedWithValue:lifetimeEnergyConsumedArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5a: Write 1 to the LifetimeEnergyConsumed attribute to DUT: Error: %@", err); + NSLog(@"Step 5a: TH write 1 to the LifetimeEnergyConsumed attribute of DUT.: Error: %@", err); } else { - NSLog(@"Step 5a: Write 1 to the LifetimeEnergyConsumed attribute to DUT: Success"); + NSLog(@"Step 5a: TH write 1 to the LifetimeEnergyConsumed attribute of DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96143,7 +96216,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5bReadsTheAttributeLifetimeEnergyConsumed_8() + CHIP_ERROR TestStep5bThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96152,9 +96225,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [cluster readAttributeLifetimeEnergyConsumedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 5b: Reads the attribute: LifetimeEnergyConsumed: Error: %@", err); + NSLog(@"Step 5b: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Error: %@", err); } else { - NSLog(@"Step 5b: Reads the attribute: LifetimeEnergyConsumed: Success"); + NSLog(@"Step 5b: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96171,7 +96244,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aWrite2ToTheLifetimeEnergyConsumedAttributeToDut_9() + CHIP_ERROR TestStep6aThWrite2ToTheLifetimeEnergyConsumedAttributeOfDut_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96183,9 +96256,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [NSNumber numberWithUnsignedInt:2UL]; [cluster writeAttributeLifetimeEnergyConsumedWithValue:lifetimeEnergyConsumedArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: Write 2 to the LifetimeEnergyConsumed attribute to DUT: Error: %@", err); + NSLog(@"Step 6a: TH write 2 to the LifetimeEnergyConsumed attribute of DUT.: Error: %@", err); } else { - NSLog(@"Step 6a: Write 2 to the LifetimeEnergyConsumed attribute to DUT: Success"); + NSLog(@"Step 6a: TH write 2 to the LifetimeEnergyConsumed attribute of DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96196,7 +96269,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bReadsTheAttributeLifetimeEnergyConsumed_10() + CHIP_ERROR TestStep6bThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96205,9 +96278,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [cluster readAttributeLifetimeEnergyConsumedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: Reads the attribute: LifetimeEnergyConsumed: Error: %@", err); + NSLog(@"Step 6b: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Error: %@", err); } else { - NSLog(@"Step 6b: Reads the attribute: LifetimeEnergyConsumed: Success"); + NSLog(@"Step 6b: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96224,7 +96297,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7aWrite3ToTheLifetimeEnergyConsumedAttributeToDut_11() + CHIP_ERROR TestStep7aThWrite3ToTheLifetimeEnergyConsumedAttributeOfDut_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96236,9 +96309,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [NSNumber numberWithUnsignedInt:3UL]; [cluster writeAttributeLifetimeEnergyConsumedWithValue:lifetimeEnergyConsumedArgument completion:^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7a: Write 3 to the LifetimeEnergyConsumed attribute to DUT: Error: %@", err); + NSLog(@"Step 7a: TH write 3 to the LifetimeEnergyConsumed attribute of DUT.: Error: %@", err); } else { - NSLog(@"Step 7a: Write 3 to the LifetimeEnergyConsumed attribute to DUT: Success"); + NSLog(@"Step 7a: TH write 3 to the LifetimeEnergyConsumed attribute of DUT.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -96249,7 +96322,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7bReadsTheAttributeLifetimeEnergyConsumed_12() + CHIP_ERROR TestStep7bThReadsFromTheDutTheLifetimeEnergyConsumedAttribute_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -96258,9 +96331,9 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { [cluster readAttributeLifetimeEnergyConsumedWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7b: Reads the attribute: LifetimeEnergyConsumed: Error: %@", err); + NSLog(@"Step 7b: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Error: %@", err); } else { - NSLog(@"Step 7b: Reads the attribute: LifetimeEnergyConsumed: Success"); + NSLog(@"Step 7b: TH reads from the DUT the LifetimeEnergyConsumed attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); From 44015983881fbc06c15d327611ca7ab394785666 Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Thu, 11 Jan 2024 15:55:49 +0530 Subject: [PATCH 7/7] Revert back the PICS and functionality changes. --- src/app/tests/suites/certification/PICS.yaml | 53 +- .../certification/Test_TC_ACFREMON_2_1.yaml | 20 +- .../suites/certification/Test_TC_ACL_2_1.yaml | 16 +- .../suites/certification/Test_TC_ACL_2_3.yaml | 3 +- .../certification/Test_TC_BINFO_1_1.yaml | 23 +- .../certification/Test_TC_BRBINFO_1_1.yaml | 26 +- .../certification/Test_TC_CNET_1_3.yaml | 84 +- .../certification/Test_TC_CNET_4_5.yaml | 2 +- .../certification/Test_TC_CNET_4_9.yaml | 6 +- .../suites/certification/Test_TC_DD_3_1.yaml | 1 - .../suites/certification/Test_TC_DD_3_2.yaml | 3 +- .../certification/Test_TC_DGGEN_1_1.yaml | 33 +- .../certification/Test_TC_DISHM_2_1.yaml | 9 +- .../certification/Test_TC_DISHM_3_1.yaml | 7 +- .../certification/Test_TC_DISHM_3_2.yaml | 4 +- .../certification/Test_TC_DISHM_3_3.yaml | 9 +- .../certification/Test_TC_DRLK_2_1.yaml | 43 +- .../certification/Test_TC_DRLK_2_5.yaml | 1 - .../certification/Test_TC_DRLK_2_7.yaml | 1 - .../suites/certification/Test_TC_FLW_2_2.yaml | 14 +- .../suites/certification/Test_TC_G_2_4.yaml | 20 +- .../suites/certification/Test_TC_I_2_3.yaml | 65 +- .../certification/Test_TC_LCFG_2_1.yaml | 8 +- .../suites/certification/Test_TC_LVL_1_1.yaml | 64 +- .../suites/certification/Test_TC_LWM_2_1.yaml | 10 +- .../suites/certification/Test_TC_LWM_3_1.yaml | 2 - .../suites/certification/Test_TC_LWM_3_2.yaml | 313 ++-- .../suites/certification/Test_TC_LWM_3_3.yaml | 337 ++-- .../suites/certification/Test_TC_OO_2_3.yaml | 107 +- .../certification/Test_TC_PSCFG_1_1.yaml | 28 +- .../suites/certification/Test_TC_PS_1_1.yaml | 61 +- .../suites/certification/Test_TC_PS_2_2.yaml | 36 +- .../certification/Test_TC_REFALM_2_3.yaml | 184 +- .../certification/Test_TC_RVCCLEANM_3_1.yaml | 3 - .../certification/Test_TC_RVCCLEANM_3_3.yaml | 1 - .../certification/Test_TC_RVCRUNM_3_3.yaml | 5 +- .../certification/Test_TC_TCCM_2_1.yaml | 7 +- .../certification/Test_TC_TCCM_3_1.yaml | 10 +- .../certification/Test_TC_TSTAT_1_1.yaml | 137 +- .../certification/Test_TC_TSTAT_2_1.yaml | 150 +- .../tests/suites/certification/ci-pics-values | 24 +- .../zap-generated/test/Commands.h | 1596 ++++++++--------- 42 files changed, 1475 insertions(+), 2051 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 298a360eebb43a..c54661aae78564 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -838,45 +838,6 @@ PICS: "Does the DUT support sending the DisableActionWithDuration command?" id: ACT.C.C0b.Tx - # - # server / commandsGenerated - # - - label: "Does the device implement of InstantAction command?" - id: ACT.S.C00.Rsp - - - label: "Does the device implement of InstantActionWithTransition command?" - id: ACT.S.C01.Rsp - - - label: "Does the device implement of StartAction command?" - id: ACT.S.C02.Rsp - - - label: "Does the device implement of StartActionWithDuration command?" - id: ACT.S.C03.Rsp - - - label: "Does the device implement of StopAction command?" - id: ACT.S.C04.Rsp - - - label: "Does the device implement of PauseAction command?" - id: ACT.S.C05.Rsp - - - label: "Does the device implement of PauseActionWithDuration command?" - id: ACT.S.C06.Rsp - - - label: "Does the device implement of ResumeAction command?" - id: ACT.S.C07.Rsp - - - label: "Does the device implement of EnableAction command?" - id: ACT.S.C08.Rsp - - - label: "Does the device implement of EnableActionWithDuration command?" - id: ACT.S.C09.Rsp - - - label: "Does the device implement of DisableAction command?" - id: ACT.S.C0a.Rsp - - - label: "Does the device implement of DisableActionWithDuration command?" - id: ACT.S.C0b.Rsp - # # client / manually # @@ -1846,12 +1807,9 @@ PICS: - label: "Does the device implement the DISHM cluster as a server?" id: DISHM.S - - label: "Does the DUT support testing the failed ChangeToMode command?" + - label: "IDoes the DUT support testing the failed ChangeToMode command?" id: DISHM.S.M.CAN_TEST_MODE_FAILURE - - label: "Can the mode changed by manually control at the device?" - id: DISHM.S.M.CAN_MANUALLY_CONTROLLED - # PIXIT - label: @@ -5368,13 +5326,13 @@ PICS: # server / manually # - label: "Can the DUT be brought into a Wired Fault state?" - id: PS.S.M.ManualWiredFault + id: PS.M.ManualWiredFault - label: "Can the DUT be brought into a Battery Fault state?" - id: PS.S.M.ManualBatFault + id: PS.M.ManualBatFault - label: "Can the DUT be brought into a Battery Charge Fault state?" - id: PS.S.M.ManualBatChargeFault + id: PS.M.ManualBatChargeFault # # client / manually @@ -8879,9 +8837,6 @@ PICS: - label: "Does the DUT support testing the failed ChangeToMode command?" id: LWM.S.M.CAN_TEST_MODE_FAILURE - - label: "Can the mode changed by manually control at the device?" - id: LWM.S.M.CAN_MANUALLY_CONTROLLED - - label: "Id of mode the device will fail to transition to, given its current state" diff --git a/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml index 7ae2ff3fb697ad..797e87c5adfe18 100644 --- a/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACFREMON_2_1.yaml @@ -23,9 +23,7 @@ config: endpoint: 1 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -54,23 +52,15 @@ tests: minValue: 0 maxValue: 1 - - label: "Step 4a: TH reads from the DUT the ChangeIndication attribute." - PICS: " ACFREMON.S.A0002 && !ACFREMON.S.F01 " - command: "readAttribute" - attribute: "ChangeIndication" - response: - constraints: - type: enum8 - anyOf: [0, 2] - - - label: "Step 4b: TH reads from the DUT the ChangeIndication attribute." - PICS: ACFREMON.S.F01 && ACFREMON.S.A0002 + - label: "Step 4: TH reads from the DUT the ChangeIndication attribute." + PICS: ACFREMON.S.A0002 command: "readAttribute" attribute: "ChangeIndication" response: - value: 1 constraints: type: enum8 + minValue: 0 + maxValue: 2 - label: "Step 5: TH reads from the DUT the InPlaceIndicator attribute" PICS: ACFREMON.S.A0003 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml index 98197f93ba4b27..7758d8d5c1cdea 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml @@ -24,7 +24,7 @@ config: endpoint: 0 tests: - - label: "Step 1: TH1 commissions DUT using admin node ID N1" + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -32,9 +32,7 @@ tests: - name: "nodeId" value: nodeId - - label: - "Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster - SubjectsPerAccessControlEntry attribute" + - label: "Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT" PICS: ACL.S.A0002 command: "readAttribute" attribute: "SubjectsPerAccessControlEntry" @@ -44,9 +42,7 @@ tests: minValue: 4 maxValue: 65535 - - label: - "Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster - TargetsPerAccessControlEntry attribute" + - label: "Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT" PICS: ACL.S.A0003 command: "readAttribute" attribute: "TargetsPerAccessControlEntry" @@ -56,14 +52,12 @@ tests: minValue: 3 maxValue: 65535 - - label: - "Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntriesPerFabric attribute" + - label: "Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT" PICS: ACL.S.A0004 command: "readAttribute" attribute: "AccessControlEntriesPerFabric" response: constraints: type: int16u - minValue: 4 + minValue: 3 maxValue: 65535 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml index 1e769ec3c362ad..af287a4fa97869 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml @@ -17,7 +17,6 @@ name: 133.2.3. [TC-ACL-2.3] Extension attribute PICS: - ACL.S - - ACL.S.A0001 config: nodeId: 0x12344321 @@ -55,7 +54,7 @@ config: defaultValue: "" tests: - - label: "Step 1: TH1 commissions DUT using admin node ID N1" + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml index 6a9c2eb23074b9..1f909b06b83b1a 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml @@ -12,7 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 12.1.1. [TC-BINFO-1.1] Global Attributes with DUT as Server +name: + 12.1.1. [TC-BINFO-1.1] Global Attributes for Basic Information Cluster + [DUT-Server] PICS: - BINFO.S @@ -182,17 +184,6 @@ tests: type: list contains: [18] - - label: - "Step 4j: TH reads optional attribute(ProductAppearance) in - attributeList" - PICS: BINFO.S.A0014 - command: "readAttribute" - attribute: "AttributeList" - response: - constraints: - type: list - contains: [20] - - label: "Step 5a: TH reads EventList from DUT" PICS: " !BINFO.S.E00 && !BINFO.S.E01 && !BINFO.S.E02 && !BINFO.S.A0011 && @@ -204,7 +195,7 @@ tests: constraints: type: list - - label: "Step 5b: TH reads BINFO.S.E00(StartUp) event in EventList" + - label: "Step 5b: Read BINFO.S.E00(StartUp) event in EventList" PICS: BINFO.S.E00 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -213,7 +204,7 @@ tests: type: list contains: [0] - - label: "Step 5c: TH reads BINFO.S.E01(ShutDown) event in EventList" + - label: "Step 5c: Read BINFO.S.E01(ShutDown) event in EventList" PICS: BINFO.S.E01 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -222,7 +213,7 @@ tests: type: list contains: [1] - - label: "Step 5d: TH reads BINFO.S.E02(Leave) event in EventList" + - label: "Step 5d: Read BINFO.S.E02(Leave) event in EventList" PICS: BINFO.S.E02 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -231,7 +222,7 @@ tests: type: list contains: [2] - - label: "Step 5e: TH reads (ReachableChanged) event in EventList" + - label: "Step 5e: Read (ReachableChanged) event in EventList" PICS: BINFO.S.A0011 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml index 184d167b37c53a..2112bad42bf989 100644 --- a/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml @@ -207,27 +207,7 @@ tests: type: list contains: [18] - - label: - "Step 4p: TH reads optional attribute(ProductAppearance) in - AttributeList" - PICS: BRBINFO.S.A0014 - command: "readAttribute" - attribute: "AttributeList" - response: - constraints: - type: list - contains: [20] - - - label: "Step 5a: TH reads from the DUT the EventList attribute" - PICS: PICS_EVENT_LIST_ENABLED - command: "readAttribute" - attribute: "EventList" - response: - constraints: - type: list - contains: [3] - - - label: "Step 5b: TH reads optional event(StartUp) in EventList" + - label: "Step 5a: TH reads optional event(StartUp) in EventList" PICS: BRBINFO.S.E00 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -236,7 +216,7 @@ tests: type: list contains: [0] - - label: "Step 5c: TH reads optional attribute(ShutDown) in EventList" + - label: "Step 5b: TH reads optional attribute(ShutDown) in EventList" PICS: BRBINFO.S.E01 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -245,7 +225,7 @@ tests: type: list contains: [1] - - label: "Step 5d TH reads optional attribute(Leave) in EventList" + - label: "Step 5c: TH reads optional attribute(Leave) in EventList" PICS: BRBINFO.S.E02 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml index 94fa7878b948b2..0422d108ac71ff 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml @@ -12,7 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 12.1.3. [TC-CNET-1.3] Global Attributes with DUT as Server +name: + 12.1.3. [TC-CNET-1.3] Global Attributes for Networking commissioning cluster + [DUT-Server] PICS: - CNET.S @@ -31,7 +33,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the ClusterRevision attribute" + - label: "Step 2: Read the global attribute: ClusterRevision" command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +41,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads from the DUT the FeatureMap attribute" + - label: "Step 3a: Read the global attribute: FeatureMap" PICS: " !CNET.S.F00 && !CNET.S.F01 && !CNET.S.F02 " command: "readAttribute" attribute: "FeatureMap" @@ -47,8 +49,7 @@ tests: value: 0 - label: - "Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is - set" + "Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set" PICS: CNET.S.F00 command: "readAttribute" attribute: "FeatureMap" @@ -56,8 +57,7 @@ tests: value: 1 - label: - "Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is - set" + "Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set" PICS: CNET.S.F01 command: "readAttribute" attribute: "FeatureMap" @@ -65,15 +65,14 @@ tests: value: 2 - label: - "Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is - set" + "Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set" PICS: CNET.S.F02 command: "readAttribute" attribute: "FeatureMap" response: value: 4 - - label: "Step 4a: TH reads from the DUT the AttributeList attribute" + - label: "Step 4a: Read the global attribute: AttributeList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -82,7 +81,7 @@ tests: type: list contains: [65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4b: TH reads from the DUT the AttributeList attribute." + - label: "Step 4a: Read the global attribute: AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -92,7 +91,7 @@ tests: contains: [65528, 65529, 65531, 65532, 65533] - label: - "Step 4c: TH reads mandatory attributes in AttributeList if + "Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true" PICS: CNET.S.F00 || CNET.S.F01 || CNET.S.F02 command: "readAttribute" @@ -103,9 +102,9 @@ tests: contains: [0, 1, 4, 5, 6, 7] - label: - "Step 4d: TH reads the feature dependent - attribute(ScanMaxTimeSeconds): AttributeList" - PICS: CNET.S.F00 || CNET.S.F01 + "Step 4c: Read the optional attribute(ScanMaxTimeSeconds): + AttributeList" + PICS: CNET.S.A0002 command: "readAttribute" attribute: "AttributeList" response: @@ -114,39 +113,17 @@ tests: contains: [2] - label: - "Step 4e: TH reads the feature dependent - attribute(ConnectMaxTimeSeconds) in AttributeList" - PICS: CNET.S.F00 || CNET.S.F01 - command: "readAttribute" - attribute: "AttributeList" - response: - constraints: - type: list - contains: [3] - - - label: - "Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in + "Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList" - PICS: CNET.S.F00 + PICS: CNET.S.A0003 command: "readAttribute" attribute: "AttributeList" response: constraints: type: list - contains: [8] - - - label: - "Step 4g: TH reads Thread related attribute (SupportedWiFiBands and - ThreadVersion) in AttributeList" - PICS: CNET.S.F01 - command: "readAttribute" - attribute: "AttributeList" - response: - constraints: - type: list - contains: [9, 10] + contains: [3] - - label: "Step 5: TH reads from the DUT the EventList attribute" + - label: "Step 5: Read the global attribute: EventList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -156,8 +133,8 @@ tests: type: list - label: - "Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT - supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH)" + "Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread + related features CNET.S.F00(WI),CNET.S.F01(TH)" PICS: ( CNET.S.F00 || CNET.S.F01 ) command: "readAttribute" attribute: "AcceptedCommandList" @@ -167,8 +144,8 @@ tests: contains: [0, 4, 6, 8] - label: - "Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT - supports Wi-Fi related features (CNET.S.F00(WI) is true)" + "Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related + features (CNET.S.F00(WI) is true)" PICS: CNET.S.F00 command: "readAttribute" attribute: "AcceptedCommandList" @@ -178,8 +155,8 @@ tests: contains: [2] - label: - "Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT - supports Thread related features(CNET.S.F01(TH) is true)" + "Step 6c: Read AcceptedCommandList If DUT supports Thread related + features(CNET.S.F01(TH) is true)" PICS: CNET.S.F01 command: "readAttribute" attribute: "AcceptedCommandList" @@ -189,8 +166,8 @@ tests: contains: [3] - label: - "Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT - supports Ethernet related features(CNET.S.F02(TH) is true)" + "Step 6d: Read AcceptedCommandList If DUT supports Ethernet related + features(CNET.S.F02(TH) is true)" PICS: CNET.S.F02 command: "readAttribute" attribute: "AcceptedCommandList" @@ -198,9 +175,8 @@ tests: value: [] - label: - "Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT - supports Wi-Fi/Thread related features(CNET.S.F00(WI) or - CNET.S.F01(TH) is true)" + "Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread + related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true)" PICS: ( CNET.S.F00 || CNET.S.F01 ) command: "readAttribute" attribute: "GeneratedCommandList" @@ -210,8 +186,8 @@ tests: contains: [1, 5, 7] - label: - "Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT - supports Ethernet related features(CNET.S.F02(ET) must be true)" + "Step 7b: Read the GeneratedCommandList If DUT supports Ethernet + related features(CNET.S.F02(ET) must be true)" PICS: CNET.S.F02 command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml index 0c940ec80085d4..3d5a732fae831b 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml @@ -88,7 +88,7 @@ tests: "Step 2: TH sends RemoveNetwork command to the DUT with NetworkID field set to PIXIT.CNET.WIFI_1ST_ACCE SSPOINT_SSID and Breadcrumb field set to 1" - PICS: CNET.S.C02.Rsp && CNET.S.C04.Rsp + PICS: CNET.S.C04.Rsp command: "RemoveNetwork" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml index a26524e4b59018..341fe7d1cae131 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml @@ -81,9 +81,7 @@ tests: - name: "DebugText" value: "" - - label: - "Step 2: TH reads Networks attribute from the DUT and saves the number - of entries as 'NumNetworks' " + - label: "Step 2: TH reads Networks attribute from the DUT " PICS: CNET.S.A0001 command: "readAttribute" attribute: "Networks" @@ -203,7 +201,6 @@ tests: - label: "Step 10: TH reads Breadcrumb attribute from the General Commissioning cluster of the DUT" - PICS: CNET.S.C04.Rsp cluster: "General Commissioning" command: "readAttribute" attribute: "Breadcrumb" @@ -280,7 +277,6 @@ tests: value: 0 - label: "Step 15: TH sends the CommissioningComplete command to the DUT" - PICS: CNET.S.C04.Rsp cluster: "General Commissioning" command: "CommissioningComplete" response: diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml index bfc80220b4a877..47def58fc08331 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml @@ -17,7 +17,6 @@ name: 3.3.1. [TC-DD-3.1] Commissioning Flow - Concurrent [DUT - Commissionee] PICS: - MCORE.ROLE.COMMISSIONEE - - "!MCORE.DD.NON_CONCURRENT_CONNECTION" config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml index 4814d35ee82829..58a43e7367e191 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml @@ -18,7 +18,6 @@ name: PICS: - MCORE.ROLE.COMMISSIONEE - - MCORE.DD.NON_CONCURRENT_CONNECTION config: nodeId: 0x12344321 @@ -299,7 +298,7 @@ tests: - label: "Step 9: Commissioner instructs Commissionee to connect to operational - network" + network if not already connected" verification: | Verify in TH(CHIP-TOOL) diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml index 7342101677e115..147242c5db841e 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml @@ -31,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." + - label: "Step 2: Read the global attribute: ClusterRevision" command: "readAttribute" attribute: "ClusterRevision" response: @@ -39,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads from the DUT the FeatureMap attribute." + - label: "Step 3: Read the global attribute: FeatureMap" command: "readAttribute" attribute: "FeatureMap" response: @@ -47,7 +47,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4a: TH reads from the DUT the AttributeList attribute." + - label: "Step 4a: Read the global attribute: AttributeList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -56,7 +56,7 @@ tests: type: list contains: [0, 1, 8, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads from the DUT the AttributeList attribute." + - label: "Step 4a: Read the global attribute: AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -68,7 +68,6 @@ tests: - label: "Step 4b: Validate presence of mandatory attribute(UpTime) in AttributeList" - PICS: DGGEN.S.A0002 command: "readAttribute" attribute: "AttributeList" response: @@ -77,7 +76,7 @@ tests: contains: [2] - label: - "Step 4c: TH reads optional attribute(TotalOperationalHours) in + "Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList" PICS: DGGEN.S.A0003 command: "readAttribute" @@ -87,7 +86,7 @@ tests: type: list contains: [3] - - label: "Step 4d: TH reads optional attribute(BootReason) in AttributeList" + - label: "Step 4d: Read optional attribute(BootReason) in AttributeList" PICS: DGGEN.S.A0004 command: "readAttribute" attribute: "AttributeList" @@ -97,7 +96,7 @@ tests: contains: [4] - label: - "Step 4e: TH reads optional attribute(ActiveHardwareFaults) in + "Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList" PICS: DGGEN.S.A0005 command: "readAttribute" @@ -108,8 +107,7 @@ tests: contains: [5] - label: - "Step 4f: TH reads optional attribute(ActiveRadioFaults) in - AttributeList" + "Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList" PICS: DGGEN.S.A0006 command: "readAttribute" attribute: "AttributeList" @@ -119,7 +117,7 @@ tests: contains: [6] - label: - "Step 4g: TH reads optional attribute(ActiveNetworkFaults) in + "Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList" PICS: DGGEN.S.A0007 command: "readAttribute" @@ -129,7 +127,7 @@ tests: type: list contains: [7] - - label: "Step 5a: TH reads from the DUT the EventList attribute" + - label: "Step 5a: Read the global attribute: EventList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -138,8 +136,7 @@ tests: type: list contains: [3] - - label: - "Step 5b: TH reads optional event(HardwareFaultChange) in EventList" + - label: "Step 5b: Read optional event(HardwareFaultChange) in EventList" PICS: DGGEN.S.E00 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -148,7 +145,7 @@ tests: type: list contains: [0] - - label: "Step 5c: TH reads optional event(RadioFaultChange) in EventList" + - label: "Step 5c: Read optional event(RadioFaultChange) in EventList" PICS: DGGEN.S.E01 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -157,7 +154,7 @@ tests: type: list contains: [1] - - label: "Step 5d: TH reads optional event(NetworkFaultChange) in EventList" + - label: "Step 5d: Read optional event(NetworkFaultChange) in EventList" PICS: DGGEN.S.E02 && PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "EventList" @@ -166,7 +163,7 @@ tests: type: list contains: [2] - - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute" + - label: "Step 6: Read the global attribute: AcceptedCommandList" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -174,7 +171,7 @@ tests: type: list contains: [0, 1] - - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute" + - label: "Step 7: TH reads GeneratedCommandList from DUT" command: "readAttribute" attribute: "GeneratedCommandList" response: diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml index ed27ff8845634c..45c1d644226b89 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_2_1.yaml @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.3.1. [TC-DISHM-2.1] Change to Mode functionality with DUT as Server +name: 263.3.1. [TC-DISHM-2.1] ChangeToModeWithStatus Verification DUT as Server PICS: - DISHM.S @@ -108,13 +108,13 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.DISHM.MODE_CHANGE_FAIL" - PICS: DISHM.S.M.CAN_TEST_MODE_FAILURE && DISHM.S.M.CAN_MANUALLY_CONTROLLED + PICS: DISHM.S.M.CAN_TEST_MODE_FAILURE verification: | Manual operation required disabled: true - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: DISHM.S.A0001 && DISHM.S.M.CAN_MANUALLY_CONTROLLED + PICS: DISHM.S.A0001 verification: | ./chip-tool dishwashermode read current-mode 1 1 @@ -157,13 +157,12 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.DISHM.MODE_CHANGE_OK" - PICS: DISHM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required disabled: true - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: DISHM.S.A0001 && DISHM.S.M.CAN_MANUALLY_CONTROLLED + PICS: DISHM.S.A0001 verification: | ./chip-tool dishwashermode read current-mode 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml index 7d00383866d22b..e4262969f37951 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_1.yaml @@ -13,13 +13,10 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.4.1. [TC-DISHM-3.1] On Mode functionality with DUT as Server +name: 263.4.1. [TC-DISHM-3.1] OnMode verification with DUT as Server PICS: - - DISHM.S.A0003 - - DISHM.S.F00 - - OO.S.C00.Rsp - - OO.S.C01.Rsp + - DISHM.S config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml index 9043b8f8f31d9c..dfb4d8915d4618 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_2.yaml @@ -13,10 +13,10 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 263.4.2. [TC-DISHM-3.2] Startup Mode functionality with DUT as Server +name: 263.4.2. [TC-DISHM-3.2] StartUpMode verification with DUT as Server PICS: - - DISHM.S.A0002 + - DISHM.S config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml index 6a34bb32cd7cb2..2b394a489a86ae 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHM_3_3.yaml @@ -13,15 +13,10 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: - 189.3.3.[TC-DISHM-3.3] On Mode and Startup Mode functionality with DUT as - Server +name: 189.3.3.[TC-DISHM-3.3] OnMode overwriting StartUpMode with DUT as Server PICS: - - DISHM.S.A0002 - - DISHM.S.A0003 - - DISHM.S.F00 - - OO.S.A4003 + - DISHM.S config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index a1a9ac16364702..b049f65f8a7d64 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -160,10 +160,8 @@ tests: response: value: LockStateValue - - label: - "Step 1d: TH sends a Lock Door command to the DUT. If DRLK.S.F00(PIN) - & DRLK.S.F07(COTA), include a Valid PINCode in the Lock Door command." - PICS: DRLK.S.C00.Rsp && DRLK.S.F00 && DRLK.S.F07 && DRLK.S.A0000 + - label: "Step 1d: TH sends a Lock Door command to the DUT." + PICS: DRLK.S.C00.Rsp && DRLK.S.F00 && DRLK.S.F07 command: "LockDoor" timedInteractionTimeoutMs: 1000 arguments: @@ -172,7 +170,7 @@ tests: value: "123456" - label: "Step 1d: TH sends a Lock Door command to the DUT." - PICS: DRLK.S.C00.Rsp && !DRLK.S.F00 && !DRLK.S.F07 && DRLK.S.A0000 + PICS: DRLK.S.C00.Rsp && !DRLK.S.F00 && !DRLK.S.F07 command: "LockDoor" timedInteractionTimeoutMs: 1000 @@ -192,16 +190,13 @@ tests: response: value: 1 - - label: - "Step 1e: TH sends a Unlock Door command to the DUT. If - DRLK.S.F00(PIN) & DRLK.S.F07(COTA), include a Valid PINCode in the - Unlock Door command" - PICS: DRLK.S.C01.Rsp && !DRLK.S.F00 && !DRLK.S.F07 && DRLK.S.A0000 + - label: "Step 1e: TH sends a Unlock Door command to the DUT." + PICS: DRLK.S.C01.Rsp && !DRLK.S.F00 && !DRLK.S.F07 command: "UnlockDoor" timedInteractionTimeoutMs: 1000 - label: "Step 1e: TH sends a Unlock Door command to the DUT." - PICS: DRLK.S.C01.Rsp && DRLK.S.F00 && DRLK.S.F07 && DRLK.S.A0000 + PICS: DRLK.S.C01.Rsp && DRLK.S.F00 && DRLK.S.F07 command: "UnlockDoor" timedInteractionTimeoutMs: 1000 arguments: @@ -607,7 +602,7 @@ tests: - label: "Step 13a: TH reads NumberOfHoliDay SchedulesSupported attribute from DUT" - PICS: DRLK.S.F0b && DRLK.S.A0015 + PICS: DRLK.S.F0b && DRLK.S.A0016 command: "readAttribute" attribute: "NumberOfHolidaySchedulesSupported" response: @@ -1330,8 +1325,8 @@ tests: - label: "Step 31b: TH writes WrongCodeEntryLimit attribute as 8" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && - DRLK.S.M.WrongCodeEntryLimitAttributeWritable " + ( DRLK.S.F00 || DRLK.S.F01 ) && + DRLK.S.M.WrongCodeEntryLimitAttributeWritable command: "writeAttribute" attribute: "WrongCodeEntryLimit" arguments: @@ -1339,7 +1334,7 @@ tests: - label: "Step 31b: TH writes WrongCodeEntryLimit attribute as 8" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && + " ( DRLK.S.F00 || DRLK.S.F01 ) && !DRLK.S.M.WrongCodeEntryLimitAttributeWritable " command: "writeAttribute" attribute: "WrongCodeEntryLimit" @@ -1350,8 +1345,8 @@ tests: - label: "Step 31c: TH reads WrongCode EntryLimit attribute" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && - DRLK.S.M.WrongCodeEntryLimitAttributeWritable " + ( DRLK.S.F00 || DRLK.S.F01 ) && + DRLK.S.M.WrongCodeEntryLimitAttributeWritable command: "readAttribute" attribute: "WrongCodeEntryLimit" response: @@ -1359,7 +1354,7 @@ tests: - label: "Step 31c: TH reads WrongCode EntryLimit attribute" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0030 && + " ( DRLK.S.F00 || DRLK.S.F01 ) && !DRLK.S.M.WrongCodeEntryLimitAttributeWritable " command: "readAttribute" attribute: "WrongCodeEntryLimit" @@ -1381,8 +1376,8 @@ tests: - label: "Step 32b: TH writes UserCodeTemporaryDisableTime attribute as 120" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && - DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " + ( DRLK.S.F00 || DRLK.S.F01 ) && + DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable command: "writeAttribute" attribute: "UserCodeTemporaryDisableTime" arguments: @@ -1390,7 +1385,7 @@ tests: - label: "Step 32b: TH writes UserCodeTemporaryDisableTime attribute as 120" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && + " ( DRLK.S.F00 || DRLK.S.F01 ) && !DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " command: "writeAttribute" attribute: "UserCodeTemporaryDisableTime" @@ -1401,8 +1396,8 @@ tests: - label: "Step 32c: TH reads UserCodeTemporary DisableTime attribute" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && - DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " + ( DRLK.S.F00 || DRLK.S.F01 ) && + DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable command: "readAttribute" attribute: "UserCodeTemporaryDisableTime" response: @@ -1410,7 +1405,7 @@ tests: - label: "Step 32c: TH reads UserCodeTemporary DisableTime attribute" PICS: - " ( DRLK.S.F00 || DRLK.S.F01 ) && DRLK.S.A0031 && + " ( DRLK.S.F00 || DRLK.S.F01 ) && !DRLK.S.M.UserCodedTemporaryDisableTimeAttributeWritable " command: "readAttribute" attribute: "UserCodeTemporaryDisableTime" 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 3f60ff44c4fe49..dc14b7b47be313 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 @@ -19,7 +19,6 @@ name: PICS: - DRLK.S - - DRLK.S.F08 config: nodeId: 0x12344321 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 56426b220b102a..86dcd163375afc 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 @@ -19,7 +19,6 @@ name: PICS: - DRLK.S - - DRLK.S.F08 config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml index 9586e9e950086d..64d7aa8c591812 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml @@ -23,9 +23,7 @@ config: endpoint: 1 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the MeasuredValue attribute." + - label: "Step 2: Read the mandatory attribute: MeasuredValue" PICS: FLW.S.A0000 command: "readAttribute" attribute: "MeasuredValue" @@ -42,7 +40,7 @@ tests: constraints: type: int16u minValue: 0 - maxValue: 65534 + maxValue: 65535 - label: "Step 3: Operate on device to change the flow significantly" cluster: "LogCommands" @@ -55,9 +53,7 @@ tests: - name: "expectedValue" value: "y" - - label: - "Step 4: After a few seconds, TH reads from the DUT the MeasuredValue - attribute." + - label: "Step 4: Read the mandatory attribute: MeasuredValue" PICS: FLW.S.A0000 && FLW.M.FlowChange command: "readAttribute" attribute: "MeasuredValue" @@ -65,5 +61,5 @@ tests: constraints: type: int16u minValue: 0 - maxValue: 65534 + maxValue: 65535 notValue: ValueBeforeChange diff --git a/src/app/tests/suites/certification/Test_TC_G_2_4.yaml b/src/app/tests/suites/certification/Test_TC_G_2_4.yaml index 03f9fb23f9df63..2941e036caf848 100644 --- a/src/app/tests/suites/certification/Test_TC_G_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_4.yaml @@ -32,9 +32,7 @@ config: Groups.Endpoint2: 2 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -60,13 +58,7 @@ tests: - label: "Step 2: TH sends KeySetWrite command in the GroupKeyManagement - cluster to DUT on EP0 using a key that is pre-installed on the TH. - GroupKeySet fields are as follows: 1)GroupKeySetID: 1 - 2)GroupKeySecurityPolicy: TrustFirst (0) 3)EpochKey0: - d0d1d2d3d4d5d6d7d8d9dadbdcdddedf 4)EpochStartTime0: 1 5)EpochKey1: - d1d1d2d3d4d5d6d7d8d9dadbdcdddedf 6)EpochStartTime1: - 18446744073709551613 7)EpochKey2: d2d1d2d3d4d5d6d7d8d9dadbdcdddedf - 8)EpochStartTime2: 18446744073709551614" + cluster to DUT." PICS: GRPKEY.S.C00.Rsp cluster: "Group Key Management" command: "KeySetWrite" @@ -78,11 +70,11 @@ tests: GroupKeySetID: 1, GroupKeySecurityPolicy: 0, EpochKey0: "hex:d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", - EpochStartTime0: 2220000, + EpochStartTime0: 1, EpochKey1: "hex:d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", - EpochStartTime1: 2220001, + EpochStartTime1: 18446744073709551613, EpochKey2: "hex:d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", - EpochStartTime2: 2220002, + EpochStartTime2: 18446744073709551614, } - label: @@ -110,7 +102,7 @@ tests: - label: "Step 5a: TH sends AddGroup command to DUT on PIXIT.G.ENDPOINT with - the following fields:1) GroupID as 0x0001, 2)GroupName as 'Gp1'" + the following fields: GroupID as 0x0001,GroupName as 'Gp1'" PICS: G.S.C00.Rsp && G.S.C00.Tx endpoint: Groups.Endpoint1 command: "AddGroup" diff --git a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml index 379ed424638c9b..b3142302e5cd5a 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml @@ -16,7 +16,6 @@ name: 57.2.3. [TC-I-2.3] Secondary functionality with server as DUT PICS: - I.S - - I.S.C40.Rsp config: nodeId: 0x12344321 @@ -24,9 +23,7 @@ config: endpoint: 1 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -35,9 +32,9 @@ tests: value: nodeId - label: - "Step 2a: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x00 (blink) and the effect variant field set - to 0x00 (default)" + "Step 2a: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x00 blink and the effect variant field set to + 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -59,9 +56,9 @@ tests: value: "y" - label: - "Step 2b: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x01 (breathe) and the effect variant field - set to 0x00 (default)." + "Step 2b: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x01 breathe and the effect variant field set + to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -83,9 +80,9 @@ tests: value: "y" - label: - "Step 2c: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x02 (okay) and the effect variant field set - to 0x00 (default)." + "Step 2c: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x02 okay and the effect variant field set to + 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -107,9 +104,9 @@ tests: value: "y" - label: - "Step 2d:TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x0b (channel change) and the effect variant - field set to 0x00 (default)." + "Step 2d: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x0b channel change and the effect variant + field set to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -131,9 +128,9 @@ tests: value: "y" - label: - "Step 2e: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x01 (breathe) and the effect variant field - set to 0x00 (default)." + "Step 2e: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x01 breathe and the effect variant field set + to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -155,9 +152,9 @@ tests: value: "y" - label: - "Step 2f: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0xfe (finish effect) and the effect variant - field set to 0x00 (default)." + "Step 2f: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0xfe finish effect and the effect variant + field set to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -179,9 +176,9 @@ tests: value: "y" - label: - "Step 2g: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x01 (breathe) and the effect variant field - set to 0x00 (default)." + "Step 2g: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x01 breathe and the effect variant field set + to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -203,9 +200,9 @@ tests: value: "y" - label: - "Step 2h: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0xff (stop effect) and the effect variant - field set to 0x00 (default)." + "Step 2h: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0xff stop effect and the effect variant field + set to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -227,9 +224,9 @@ tests: value: "y" - label: - "Step 3a: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0x00 (blink) and the effect variant field set - to 0x42 (unknown)." + "Step 3a: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0x00 blink and the effect variant field set to + 0x42 unknown" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: @@ -251,9 +248,9 @@ tests: value: "y" - label: - "Step 3b: TH sends TriggerEffect command to DUT, with the effect - identifier field set to 0xff (stop effect) and the effect variant - field set to 0x00 (default)." + "Step 3b: TH sends TriggerEffect command to DUT with the effect + identifier field set to 0xff stop effect and the effect variant field + set to 0x00 default" PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml index 2dae158d9874dc..fac7434a5dd0f0 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml @@ -37,9 +37,7 @@ config: defaultValue: "es-ES" tests: - - label: - "Step 0: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 0: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -48,7 +46,7 @@ tests: value: nodeId - label: "Step 1a: TH reads SupportedLocales attribute from DUT" - PICS: LCFG.S.A0000 + PICS: LCFG.S.A0001 command: "readAttribute" attribute: "SupportedLocales" response: @@ -81,7 +79,7 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 3: TH reads SupportedLocales attribute from DUT" - PICS: LCFG.S.A0000 + PICS: LCFG.S.A0001 command: "readAttribute" attribute: "SupportedLocales" response: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml index 76ca0f322f0e64..969f09c8313941 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 18.1.1. [TC-LVL-1.1] Global Attributes with DUT as Server +name: 18.1.1. [TC-LVL-1.1] Global attributes with server as DUT PICS: - LVL.S @@ -23,9 +23,7 @@ config: endpoint: 1 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 0: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." + - label: "Step 1: Read the global attribute: ClusterRevision" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." + - label: "Step 2a: Read the global attribute: FeatureMap" PICS: " !LVL.S.F00 && !LVL.S.F01 && !LVL.S.F02 " command: "readAttribute" attribute: "FeatureMap" @@ -51,7 +49,7 @@ tests: type: bitmap32 - label: - "Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit + "Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set" PICS: LVL.S.F00 command: "readAttribute" @@ -62,7 +60,7 @@ tests: hasMasksSet: [0x1] - label: - "Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit + "Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set" PICS: LVL.S.F01 command: "readAttribute" @@ -73,7 +71,7 @@ tests: hasMasksSet: [0x2] - label: - "Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit + "Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set" PICS: LVL.S.F02 command: "readAttribute" @@ -83,7 +81,7 @@ tests: type: bitmap32 hasMasksSet: [0x4] - - label: "Step 4: TH reads from the DUT the AttributeList attribute." + - label: "Step 3a: Read the global attribute: AttributeList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -92,7 +90,7 @@ tests: type: list contains: [0, 15, 17, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads from the DUT the AttributeList attribute." + - label: "Step 3a: Read the global attribute: AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -102,7 +100,7 @@ tests: contains: [0, 15, 17, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4a: TH reads the optional attribute(StartUpCurrentLevel and + "Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList" PICS: LVL.S.F01 command: "readAttribute" @@ -113,8 +111,8 @@ tests: contains: [1, 16384] - label: - "Step 4b: TH reads the optional attribute(CurrentFrequency, - MinFrequency and MinFrequency) in AttributeList" + "Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency + and MinFrequency) in AttributeList" PICS: LVL.S.F02 command: "readAttribute" attribute: "AttributeList" @@ -123,8 +121,7 @@ tests: type: list contains: [4, 5, 6] - - label: - "Step 4c: TH reads the optional attribute(MinLevel) in AttributeList" + - label: "Step 3d: Read the optional attribute(MinLevel) in AttributeList" PICS: LVL.S.A0002 command: "readAttribute" attribute: "AttributeList" @@ -133,8 +130,7 @@ tests: type: list contains: [2] - - label: - "Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList" + - label: "Step 3e: Read the optional attribute(MaxLevel) in AttributeList" PICS: LVL.S.A0003 command: "readAttribute" attribute: "AttributeList" @@ -144,7 +140,7 @@ tests: contains: [3] - label: - "Step 4e: TH reads the optional attribute(OnOffTransitionTime) in + "Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList" PICS: LVL.S.A0010 command: "readAttribute" @@ -155,7 +151,7 @@ tests: contains: [16] - label: - "Step 4f: TH reads the optional attribute(OnTransitionTime) in + "Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList" PICS: LVL.S.A0012 command: "readAttribute" @@ -166,7 +162,7 @@ tests: contains: [18] - label: - "Step 4g: TH reads the optional attribute(OffTransitionTime) in + "Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList" PICS: LVL.S.A0013 command: "readAttribute" @@ -177,7 +173,7 @@ tests: contains: [19] - label: - "Step 4h: TH reads the optional attribute(DefaultMoveRate) in + "Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList" PICS: LVL.S.A0014 command: "readAttribute" @@ -187,16 +183,7 @@ tests: type: list contains: [20] - - label: "Step 5: Read the global attribute: EventList" - PICS: PICS_EVENT_LIST_ENABLED - command: "readAttribute" - attribute: "EventList" - response: - value: [] - constraints: - type: list - - - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." + - label: "Step 4a: Read the global attribute: AcceptedCommandList" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -205,7 +192,7 @@ tests: contains: [0, 1, 2, 3, 4, 5, 6, 7] - label: - "Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in + "Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList" PICS: LVL.S.F02 command: "readAttribute" @@ -215,10 +202,19 @@ tests: type: list contains: [8] - - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." + - label: "Step 4b: Read the global attribute: GeneratedCommandList" command: "readAttribute" attribute: "GeneratedCommandList" response: value: [] constraints: type: list + + - label: "Step 5: Read the global attribute: EventList" + PICS: PICS_EVENT_LIST_ENABLED + command: "readAttribute" + attribute: "EventList" + response: + value: [] + constraints: + type: list diff --git a/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml index a6a916f1b2e2d8..ebea6a0bbdbf94 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_2_1.yaml @@ -82,9 +82,7 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.LWM.MODE_CHANGE_FAIL" - PICS: - LWM.S.M.CAN_TEST_MODE_FAILURE && LWM.S.M.CAN_MANUALLY_CONTROLLED && - PICS_SKIP_SAMPLE_APP + PICS: LWM.S.M.CAN_TEST_MODE_FAILURE && PICS_SKIP_SAMPLE_APP verification: | Manual operation required cluster: "LogCommands" @@ -97,7 +95,7 @@ tests: value: "y" - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 && LWM.S.M.CAN_MANUALLY_CONTROLLED + PICS: LWM.S.A0001 command: "readAttribute" attribute: "CurrentMode" response: @@ -186,7 +184,7 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.LWM.MODE_CHANGE_OK" - PICS: LWM.S.M.CAN_MANUALLY_CONTROLLED && PICS_SKIP_SAMPLE_APP + PICS: PICS_SKIP_SAMPLE_APP verification: | Manual operation required cluster: "LogCommands" @@ -199,7 +197,7 @@ tests: value: "y" - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.M.CAN_MANUALLY_CONTROLLED && LWM.S.A0001 + PICS: LWM.S.A0001 command: "readAttribute" attribute: "CurrentMode" response: diff --git a/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml index 0b9a36eba56e80..2c394033ef6b39 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_3_1.yaml @@ -17,8 +17,6 @@ name: 183.3.1. [TC-LWM-3.1] On Mode functionality with DUT as Server PICS: - LWM.S.A0003 - LWM.S.F00 - - OO.S.C00.Rsp - - OO.S.C01.Rsp config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml index 285c99184c5521..fe8ff87e214e18 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_3_2.yaml @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 183.3.2. [TC-LWM-3.2] Startup Mode functionality with DUT as Server @@ -20,234 +19,154 @@ PICS: config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Laundry Washer Mode" + endpoint: 1 -tests: - - label: "Preconditions" - verification: | - !LWM.S.F00(DEPONOFF) | OnOff cluster’s StartUpOnOff attribute is NULL | StartUpOnOff is 0 | OnMode is NULL - disabled: true - - - label: "Note" - verification: | - To Execute the TC-LWM-3.2 test case using reboot in raspi device we followed the below suggested way: - - To run a reboot test case on raspi, run the app with --KVS flag with a file in local directory and pass that file to the command to launch the app. Steps - - step-1: create a file using touch command , something like touch mytest.txt - step-2: chmod 777 mytest.txt - step-3: launch the app ./chip-all-clusters-app --KVS ./mytest.txt - - if you launch the app with the above commands and provision the app, even when you reboot the app with 'sudo reboot' , next time you launch the app with 'sudo ./out/all-clusters-app/chip-all-clusters-app --KVS ./mytest.txt' , you can run read/write attribs and commands without reprovisioning the device. - disabled: true + new_start_up_mode_th: + type: int8u + defaultValue: 0 + new_mode_th: + type: int8u + defaultValue: 1 +tests: - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)." - verification: | - - disabled: true + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 2: TH reads from the DUT the StartUpMode attribute." PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode read start-up-mode 1 1 - - On TH(chip-tool), Verify StartUpMode attribute value is an integer or null - - Save the value as startup_mode_dut and below is the sample log provided for the raspi platform, Here StartUpMode value is null - - NOTE: if startup_mode_dut is null proceed to step 3. Else save startup_mode_dut as new_start_up_mode_th and proceed to step 5. + command: "readAttribute" + attribute: "StartUpMode" + response: + saveAs: startup_mode_dut - [1690185689.626227][15652:15654] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 869931348 - [1690185689.626269][15652:15654] CHIP:TOO: StartUpMode: null - disabled: true + - label: + "Step 2: If startup_mode_dut is null proceed to step 3. Else save + startup_mode_dut as new_start_up_mode_th and proceed to step 5." + PICS: LWM.S.A0002 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: startup_mode_dut + - name: "Value2" + value: null + response: + - values: + - name: "Equals" + saveAs: IsExpectedValue - label: "Step 3: TH reads from the DUT the SupportedModes attribute." + runIf: IsExpectedValue PICS: LWM.S.A0000 - verification: | - ./chip-tool laundrywashermode read supported-modes 1 1 - - On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries - - Verify that the list has two or more entries - - Save the Mode field values as supported_modes_dut - - Select a value from supported_modes_dut and save the value as new_start_up_mode_th, below is the sample log provided for the raspi platform: - - [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 - [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries - [1690185724.484552][15658:15660] CHIP:TOO: [1]: { - [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal - [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 - [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484570][15658:15660] CHIP:TOO: [1]: { - [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 - [1690185724.484576][15658:15660] CHIP:TOO: } - [1690185724.484579][15658:15660] CHIP:TOO: } - [1690185724.484585][15658:15660] CHIP:TOO: [2]: { - [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate - [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 - [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries - [1690185724.484598][15658:15660] CHIP:TOO: [1]: { - [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 - [1690185724.484603][15658:15660] CHIP:TOO: } - [1690185724.484607][15658:15660] CHIP:TOO: [2]: { - [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 - [1690185724.484612][15658:15660] CHIP:TOO: } - [1690185724.484615][15658:15660] CHIP:TOO: [3]: { - [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 - [1690185724.484620][15658:15660] CHIP:TOO: } - [1690185724.484622][15658:15660] CHIP:TOO: } - [1690185724.484627][15658:15660] CHIP:TOO: [3]: { - [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy - [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 - [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries - [1690185724.484639][15658:15660] CHIP:TOO: [1]: { - [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 - [1690185724.484644][15658:15660] CHIP:TOO: } - [1690185724.484647][15658:15660] CHIP:TOO: [2]: { - [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 - [1690185724.484652][15658:15660] CHIP:TOO: } - [1690185724.484654][15658:15660] CHIP:TOO: } - [1690185724.484659][15658:15660] CHIP:TOO: [4]: { - [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites - [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 - [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484670][15658:15660] CHIP:TOO: [1]: { - [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 - [1690185724.484675][15658:15660] CHIP:TOO: } - [1690185724.484678][15658:15660] CHIP:TOO: } - disabled: true - + command: "readAttribute" + attribute: "SupportedModes" + response: + saveAs: supported_modes_dut + constraints: + type: list + minLength: 2 - label: "Step 4: TH writes to the DUT the StartUpMode attribute with the new_start_up_mode_th value" PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode write start-up-mode 0 1 1 - - On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1690185636.156858][15647:15649] CHIP:DMG: StatusIB = - [1690185636.156870][15647:15649] CHIP:DMG: { - [1690185636.156881][15647:15649] CHIP:DMG: status = 0x00 (SUCCESS), - [1690185636.156892][15647:15649] CHIP:DMG: }, - - ./chip-tool laundrywashermode read start-up-mode 1 1 - - On TH(chip-tool), Verify StartUpMode attribute value is 0 and below is the sample log provided for the raspi platform - - [1692168304.773793][2920:2922] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 3179897959 - [1692168304.773865][2920:2922] CHIP:TOO: StartUpMode: 0 - disabled: true + runIf: IsExpectedValue + command: "writeAttribute" + attribute: "StartUpMode" + arguments: + value: new_start_up_mode_th - label: "Step 5: TH reads from the DUT the CurrentMode attribute." PICS: LWM.S.A0001 - verification: | - ./chip-tool laundrywashermode read current-mode 1 1 - - On TH(chip-tool), Verify CurrentMode attribute value is an integer, - - Save the value as old_current_mode_dut and below is the sample log provided for the raspi platform, Here CurrentMode value is 0 + command: "readAttribute" + attribute: "CurrentMode" + response: + saveAs: old_current_mode_dut - NOTE: If startup_mode_dut is equal to old_current_mode_dut proceed to step 6. Else proceed to step 8. - - [1690185713.364316][15655:15657] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 869931348 - [1690185713.364364][15655:15657] CHIP:TOO: CurrentMode: 0 - disabled: true + - label: + "Step 5: If startup_mode_dut is equal to old_current_mode_dut proceed + to step 6. Else proceed to step 8." + PICS: LWM.S.A0001 && LWM.S.A0002 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: startup_mode_dut + - name: "Value2" + value: old_current_mode_dut + response: + - values: + - name: "Equals" + saveAs: Step5_IsExpectedValue - label: "Step 6: TH reads from the DUT the SupportedModes attribute." PICS: LWM.S.A0000 - verification: | - ./chip-tool laundrywashermode read supported-modes 1 1 - - On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries - - Verify that the list has two or more entries - - Save the Mode field values as supported_modes_dut - - Select a value from supported_modes_dut different from startup_mode_dut. Save the value as new_mode_th, below is the sample log provided for the raspi platform: - - [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 - [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries - [1690185724.484552][15658:15660] CHIP:TOO: [1]: { - [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal - [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 - [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484570][15658:15660] CHIP:TOO: [1]: { - [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 - [1690185724.484576][15658:15660] CHIP:TOO: } - [1690185724.484579][15658:15660] CHIP:TOO: } - [1690185724.484585][15658:15660] CHIP:TOO: [2]: { - [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate - [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 - [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries - [1690185724.484598][15658:15660] CHIP:TOO: [1]: { - [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 - [1690185724.484603][15658:15660] CHIP:TOO: } - [1690185724.484607][15658:15660] CHIP:TOO: [2]: { - [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 - [1690185724.484612][15658:15660] CHIP:TOO: } - [1690185724.484615][15658:15660] CHIP:TOO: [3]: { - [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 - [1690185724.484620][15658:15660] CHIP:TOO: } - [1690185724.484622][15658:15660] CHIP:TOO: } - [1690185724.484627][15658:15660] CHIP:TOO: [3]: { - [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy - [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 - [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries - [1690185724.484639][15658:15660] CHIP:TOO: [1]: { - [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 - [1690185724.484644][15658:15660] CHIP:TOO: } - [1690185724.484647][15658:15660] CHIP:TOO: [2]: { - [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 - [1690185724.484652][15658:15660] CHIP:TOO: } - [1690185724.484654][15658:15660] CHIP:TOO: } - [1690185724.484659][15658:15660] CHIP:TOO: [4]: { - [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites - [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 - [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484670][15658:15660] CHIP:TOO: [1]: { - [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 - [1690185724.484675][15658:15660] CHIP:TOO: } - [1690185724.484678][15658:15660] CHIP:TOO: } - disabled: true + runIf: Step5_IsExpectedValue + command: "readAttribute" + attribute: "SupportedModes" + response: + saveAs: Step6_supported_modes_dut + constraints: + type: list + minLength: 2 - label: "Step 7: TH sends a ChangeToMode command to the DUT with NewMode set to new_mode_th" PICS: LWM.S.C00.Rsp - verification: | - ./chip-tool laundrywashermode change-to-mode 1 1 1 - - Verify on TH(chip-tool) log, DUT responds contains a ChangeToModeResponse command with a SUCCESS (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1690185742.384243][15661:15663] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Command 0x0000_0001 - [1690185742.384257][15661:15663] CHIP:TOO: ChangeToModeResponse: { - [1690185742.384264][15661:15663] CHIP:TOO: status: 0 - [1690185742.384267][15661:15663] CHIP:TOO: } - disabled: true + runIf: Step5_IsExpectedValue + command: "ChangeToMode" + arguments: + values: + - name: "NewMode" + value: new_mode_th + response: + values: + - name: "Status" + value: 0x00 - label: "Step 8: Physically power cycle the device" verification: | - Physically power cycle the device - disabled: true + Physically power cycle the device. + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" + + - label: "Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 9: TH reads from the DUT the StartUpMode attribute." - PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode read start-up-mode 1 1 - - On TH(chip-tool), Verify StartUpMode attribute value is an integer value - - Save the value as new_start_up_mode_dut and is equal to new_start_up_mode_th, below is the sample log provided for the raspi platform, Here StartUpMode value is 0 - - [1690185689.626227][15652:15654] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 869931348 - [1690185689.626269][15652:15654] CHIP:TOO: StartUpMode: 0 - disabled: true + PICS: LWM.S.A0002 && PICS_USER_PROMPT + command: "readAttribute" + attribute: "StartUpMode" + response: + saveAs: new_start_up_mode_dut + constraints: + anyOf: [startup_mode_dut, new_start_up_mode_th] - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 - verification: | - ./chip-tool laundrywashermode read current-mode 1 1 - - On TH(chip-tool), Verify that CurrentMode attribute value is an integer value and is equal to new_start_up_mode_dut, below is the sample log provided for the raspi platform, Here CurrentMode attribute value is 0 - - [1690185777.021610][15671:15673] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 2000229067 - [1690185777.021664][15671:15673] CHIP:TOO: CurrentMode: 0 - disabled: true + PICS: LWM.S.A0001 && PICS_USER_PROMPT + command: "readAttribute" + attribute: "CurrentMode" + response: + value: new_start_up_mode_dut diff --git a/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml index a723cfd4a0248b..8250418368643d 100644 --- a/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_LWM_3_3.yaml @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 183.3.3. [TC-LWM-3.3] On Mode and Startup Mode functionality with DUT as @@ -25,266 +24,166 @@ PICS: config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Laundry Washer Mode" + endpoint: 1 -tests: - - label: "Note" - verification: | - To Execute the TC-LWM-3.3 test case using reboot in raspi device we followed the below suggested way: - - To run a reboot test case on raspi, run the app with --KVS flag with a file in local directory and pass that file to the command to launch the app. Steps - - step-1: create a file using touch command , something like touch mytest.txt - step-2: chmod 777 mytest.txt - step-3: launch the app ./chip-all-clusters-app --KVS ./mytest.txt - - if you launch the app with the above commands and provision the app, even when you reboot the app with 'sudo reboot' , next time you launch the app with 'sudo ./out/all-clusters-app/chip-all-clusters-app --KVS ./mytest.txt' , you can run read/write attribs and commands without reprovisioning the device. - disabled: true + new_start_up_mode_th: + type: int8u + defaultValue: 0 + new_mode_th: + type: int8u + defaultValue: 1 +tests: - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)." - verification: | - - disabled: true + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 2: TH reads from the DUT the StartUpMode attribute." PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode read start-up-mode 1 1 - - On TH(chip-tool), Verify StartUpMode attribute value is an integer value or null - - Save the value as startup_mode_dut and below is the sample log provided for the raspi platform, Here StartUpMode value is null + command: "readAttribute" + attribute: "StartUpMode" + response: + saveAs: startup_mode_dut - NOTE: if startup_mode_dut is null proceed to step 3. Else save startup_mode_dut as new_start_up_mode_th and proceed to step 5. - - [1690185689.626227][15652:15654] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 869931348 - [1690185689.626269][15652:15654] CHIP:TOO: StartUpMode: null - disabled: true + - label: + "Step 2: If startup_mode_dut is null proceed to step 3. Else save + startup_mode_dut as new_start_up_mode_th and proceed to step 5." + PICS: LWM.S.A0002 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: startup_mode_dut + - name: "Value2" + value: null + response: + - values: + - name: "Equals" + saveAs: IsExpectedValue - label: "Step 3: TH reads from the DUT the SupportedModes attribute." + runIf: IsExpectedValue PICS: LWM.S.A0000 - verification: | - ./chip-tool laundrywashermode read supported-modes 1 1 - - On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries - - Verify that the list has two or more entries - - Save the Mode field values as supported_modes_dut - - Select a value from supported_modes_dut and save the value as new_start_up_mode_th, below is the sample log provided for the raspi platform: - - [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 - [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries - [1690185724.484552][15658:15660] CHIP:TOO: [1]: { - [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal - [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 - [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484570][15658:15660] CHIP:TOO: [1]: { - [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 - [1690185724.484576][15658:15660] CHIP:TOO: } - [1690185724.484579][15658:15660] CHIP:TOO: } - [1690185724.484585][15658:15660] CHIP:TOO: [2]: { - [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate - [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 - [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries - [1690185724.484598][15658:15660] CHIP:TOO: [1]: { - [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 - [1690185724.484603][15658:15660] CHIP:TOO: } - [1690185724.484607][15658:15660] CHIP:TOO: [2]: { - [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 - [1690185724.484612][15658:15660] CHIP:TOO: } - [1690185724.484615][15658:15660] CHIP:TOO: [3]: { - [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 - [1690185724.484620][15658:15660] CHIP:TOO: } - [1690185724.484622][15658:15660] CHIP:TOO: } - [1690185724.484627][15658:15660] CHIP:TOO: [3]: { - [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy - [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 - [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries - [1690185724.484639][15658:15660] CHIP:TOO: [1]: { - [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 - [1690185724.484644][15658:15660] CHIP:TOO: } - [1690185724.484647][15658:15660] CHIP:TOO: [2]: { - [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 - [1690185724.484652][15658:15660] CHIP:TOO: } - [1690185724.484654][15658:15660] CHIP:TOO: } - [1690185724.484659][15658:15660] CHIP:TOO: [4]: { - [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites - [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 - [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484670][15658:15660] CHIP:TOO: [1]: { - [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 - [1690185724.484675][15658:15660] CHIP:TOO: } - [1690185724.484678][15658:15660] CHIP:TOO: } - disabled: true + command: "readAttribute" + attribute: "SupportedModes" + response: + saveAs: supported_modes_dut + constraints: + type: list + minLength: 2 - label: "Step 4: TH writes to the DUT the StartUpMode attribute with the new_start_up_mode_th value" PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode write start-up-mode 0 1 1 - - On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1690185636.156858][15647:15649] CHIP:DMG: StatusIB = - [1690185636.156870][15647:15649] CHIP:DMG: { - [1690185636.156881][15647:15649] CHIP:DMG: status = 0x00 (SUCCESS), - [1690185636.156892][15647:15649] CHIP:DMG: }, - - ./chip-tool laundrywashermode read start-up-mode 1 1 - - On TH(chip-tool), Verify StartUpMode attribute value is 0 and below is the sample log provided for the raspi platform, - - [1692165008.700475][2609:2611] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 1273636449 - [1692165008.700550][2609:2611] CHIP:TOO: StartUpMode: 0 - disabled: true + runIf: IsExpectedValue + command: "writeAttribute" + attribute: "StartUpMode" + arguments: + value: new_start_up_mode_th - label: "Step 5: TH reads from the DUT the OnMode attribute." PICS: LWM.S.A0003 && LWM.S.A0002 - verification: | - As default value of OnMode attribute is NULL. Set the OnMode to any mode value listed in the SupportedModes entries. - - ./chip-tool laundrywashermode write on-mode 0 1 1 - - On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1692164726.392055][2590:2592] CHIP:DMG: StatusIB = - [1692164726.392093][2590:2592] CHIP:DMG: { - [1692164726.392128][2590:2592] CHIP:DMG: status = 0x00 (SUCCESS), - [1692164726.392163][2590:2592] CHIP:DMG: }, + command: "readAttribute" + attribute: "OnMode" + response: + saveAs: old_on_mode_dut - - ./chip-tool laundrywashermode read on-mode 1 1 - - On TH(chip-tool), Verify that OnMode attribute value is an integer - - Save the value as on_mode_dut and below is the sample log provided for the raspi platform, here OnMode value is 0 - - NOTE: If startup_mode_dut is equal to old_on_mode_dut proceed to step 6. Else proceed to step 8. - - [1692164858.854889][2600:2602] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0003 DataVersion: 1273636449 - [1692164858.854947][2600:2602] CHIP:TOO: OnMode: 0 - disabled: true + - label: + "Step 5: If startup_mode_dut is equal to old_on_mode_dut proceed to + step 6. Else proceed to step 8." + PICS: LWM.S.A0002 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: old_on_mode_dut + - name: "Value2" + value: startup_mode_dut + response: + - values: + - name: "Equals" + saveAs: Step5_IsExpectedValue - label: "Step 6: TH reads from the DUT the SupportedModes attribute." PICS: LWM.S.A0000 && LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode read supported-modes 1 1 - - On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries - - Verify that the list has two or more entries - - Save the Mode field values as supported_modes_dut - - Select a value from supported_modes_dut different from startup_mode_dut. Save the value as new_mode_th. below is the sample log provided for the raspi platform: - - [1690185724.484514][15658:15660] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0000 DataVersion: 869931348 - [1690185724.484543][15658:15660] CHIP:TOO: SupportedModes: 4 entries - [1690185724.484552][15658:15660] CHIP:TOO: [1]: { - [1690185724.484555][15658:15660] CHIP:TOO: Label: Normal - [1690185724.484561][15658:15660] CHIP:TOO: Mode: 0 - [1690185724.484565][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484570][15658:15660] CHIP:TOO: [1]: { - [1690185724.484573][15658:15660] CHIP:TOO: Value: 16384 - [1690185724.484576][15658:15660] CHIP:TOO: } - [1690185724.484579][15658:15660] CHIP:TOO: } - [1690185724.484585][15658:15660] CHIP:TOO: [2]: { - [1690185724.484588][15658:15660] CHIP:TOO: Label: Delicate - [1690185724.484590][15658:15660] CHIP:TOO: Mode: 1 - [1690185724.484595][15658:15660] CHIP:TOO: ModeTags: 3 entries - [1690185724.484598][15658:15660] CHIP:TOO: [1]: { - [1690185724.484601][15658:15660] CHIP:TOO: Value: 16385 - [1690185724.484603][15658:15660] CHIP:TOO: } - [1690185724.484607][15658:15660] CHIP:TOO: [2]: { - [1690185724.484609][15658:15660] CHIP:TOO: Value: 8 - [1690185724.484612][15658:15660] CHIP:TOO: } - [1690185724.484615][15658:15660] CHIP:TOO: [3]: { - [1690185724.484617][15658:15660] CHIP:TOO: Value: 2 - [1690185724.484620][15658:15660] CHIP:TOO: } - [1690185724.484622][15658:15660] CHIP:TOO: } - [1690185724.484627][15658:15660] CHIP:TOO: [3]: { - [1690185724.484630][15658:15660] CHIP:TOO: Label: Heavy - [1690185724.484632][15658:15660] CHIP:TOO: Mode: 2 - [1690185724.484636][15658:15660] CHIP:TOO: ModeTags: 2 entries - [1690185724.484639][15658:15660] CHIP:TOO: [1]: { - [1690185724.484642][15658:15660] CHIP:TOO: Value: 7 - [1690185724.484644][15658:15660] CHIP:TOO: } - [1690185724.484647][15658:15660] CHIP:TOO: [2]: { - [1690185724.484649][15658:15660] CHIP:TOO: Value: 16386 - [1690185724.484652][15658:15660] CHIP:TOO: } - [1690185724.484654][15658:15660] CHIP:TOO: } - [1690185724.484659][15658:15660] CHIP:TOO: [4]: { - [1690185724.484662][15658:15660] CHIP:TOO: Label: Whites - [1690185724.484664][15658:15660] CHIP:TOO: Mode: 3 - [1690185724.484667][15658:15660] CHIP:TOO: ModeTags: 1 entries - [1690185724.484670][15658:15660] CHIP:TOO: [1]: { - [1690185724.484673][15658:15660] CHIP:TOO: Value: 16387 - [1690185724.484675][15658:15660] CHIP:TOO: } - [1690185724.484678][15658:15660] CHIP:TOO: } - disabled: true + runIf: Step5_IsExpectedValue + command: "readAttribute" + attribute: "SupportedModes" + response: + saveAs: Step6_supported_modes_dut + constraints: + type: list + minLength: 2 - label: "Step 7: TH writes to the DUT the OnMode attribute with the new_mode_th value" PICS: LWM.S.A0003 - verification: | - ./chip-tool laundrywashermode write on-mode 1 1 1 - - On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1692165331.674699][2630:2632] CHIP:DMG: StatusIB = - [1692165331.674760][2630:2632] CHIP:DMG: { - [1692165331.674829][2630:2632] CHIP:DMG: status = 0x00 (SUCCESS), - [1692165331.674891][2630:2632] CHIP:DMG: }, - disabled: true + runIf: Step5_IsExpectedValue + command: "writeAttribute" + attribute: "OnMode" + arguments: + value: new_mode_th - label: "Step 8: TH reads from the DUT the OnMode attribute." PICS: LWM.S.A0003 && LWM.S.F00 - verification: | - ./chip-tool laundrywashermode read on-mode 1 1 - - On TH(chip-tool), Verify that OnMode attribute value is an integer value - - Save the value as new_on_mode_dut and is equal to new_mode_th, below is the sample log provided for the raspi platform, here OnMode value is 1 - - [1692165455.305858][2637:2639] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0003 DataVersion: 1273636452 - [1692165455.305928][2637:2639] CHIP:TOO: OnMode: 1 - disabled: true + command: "readAttribute" + attribute: "OnMode" + response: + saveAs: new_on_mode_dut - label: "Step 9: TH writes to the DUT the StartUpOnOff attribute with the value 1." PICS: OO.S.A4003 - verification: | - ./chip-tool onoff write start-up-on-off 1 1 1 - - On TH(chip-tool) log, Verify DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1651101661960] [90832:7598169] CHIP: [DMG] { - [1651101661960] [90832:7598169] CHIP: [DMG] status = 0x00 (SUCCESS), - [1651101661960] [90832:7598169] CHIP: [DMG] }, - disabled: true + cluster: "On/Off" + command: "writeAttribute" + attribute: "StartUpOnOff" + arguments: + value: 1 - label: "Step 10: Physically power cycle the device" verification: | Physically power cycle the device. - disabled: true + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" + + - label: "Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 11: TH reads from the DUT the StartUpMode attribute." - PICS: LWM.S.A0002 - verification: | - ./chip-tool laundrywashermode read start-up-mode 1 1 - - On TH(chip-tool), Verify StartUpMode attribute value is an integer value and is equal to new_start_up_mode_th, below is the sample log provided for the raspi platform, Here StartUpMode value is 0 - - [1692165692.521150][2715:2717] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0002 DataVersion: 3179897958 - [1692165692.521214][2715:2717] CHIP:TOO: StartUpMode: 0 - disabled: true + PICS: LWM.S.A0002 && PICS_USER_PROMPT + command: "readAttribute" + attribute: "StartUpMode" + response: + constraints: + anyOf: [new_start_up_mode_th, startup_mode_dut] - label: "Step 12: TH reads from the DUT the CurrentMode attribute." - PICS: LWM.S.A0001 - verification: | - ./chip-tool laundrywashermode read current-mode 1 1 - - On TH(chip-tool), Verify that CurrentMode attribute value is an integer value and is new_on_mode_dut, below is the sample log provided for the raspi platform, here CurrentMode attribute value is 1 - - [1690185481.653384][15610:15612] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0051 Attribute 0x0000_0001 DataVersion: 3936986766 - [1690185481.653431][15610:15612] CHIP:TOO: CurrentMode: 1 - disabled: true + PICS: LWM.S.A0001 && PICS_USER_PROMPT + command: "readAttribute" + attribute: "CurrentMode" + response: + value: new_on_mode_dut diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml index d0e4a407be27c0..c0f5ca4b75ae64 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_3.yaml @@ -24,8 +24,12 @@ config: timeout: 400 endpoint: 1 + PIXIT.OO.MaxCommunicationTurnaround: + type: int16u + defaultValue: 10 + tests: - - label: "1: Commission DUT to TH" + - label: "1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -94,6 +98,7 @@ tests: value: 0 - label: "4a: TH sends OnWithRecallGlobalScene command to DUT" + command: "OnWithRecallGlobalScene" PICS: OO.S.C41.Rsp - label: "Wait 1000ms" @@ -299,14 +304,15 @@ tests: response: value: 1 + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404396743 - label: "9b: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - label: "9b: TH reads OffWaitTime attribute from DUT" command: "readAttribute" @@ -386,7 +392,7 @@ tests: - label: "10d: After 10s, TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) - 3)OffTime: 0x012c (30s) " + 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" PICS: OO.S.C42.Rsp arguments: @@ -405,14 +411,15 @@ tests: response: value: 1 + #Refer comment: https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404397738 - label: "10e: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - label: "10e: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" @@ -455,14 +462,15 @@ tests: response: value: 0 + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404400479 - label: "11b: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C40.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - label: "Wait 10000ms" cluster: "DelayCommands" @@ -473,7 +481,7 @@ tests: value: 10000 - label: - "12a:After 10s, TH sends OnWithTimedOff command to DUT with + "12a: After 10s, TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x01 (AcceptOnlyWhenOn 1) 2)OnTime: 0x012c (30s) 3)OffTime: 0x012c (30s)" command: "OnWithTimedOff" @@ -501,14 +509,15 @@ tests: response: value: 0 - - label: "12b:Immediately TH reads OffWaitTime attribute from DUT" + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404406872 + - label: "12b: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp response: constraints: - minValue: 170 - maxValue: 230 + minValue: 185 - ( 7 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 215 - label: "Wait 10000ms" cluster: "DelayCommands" @@ -578,7 +587,7 @@ tests: command: "Off" PICS: OO.S.C00.Rsp - - label: "14c:Immediately TH reads OnOff attribute from DUT" + - label: "14c: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C00.Rsp @@ -592,14 +601,15 @@ tests: response: value: 0 - - label: "14c:Immediately TH reads OffWaitTime attribute from DUT" + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404423488 + - label: "14c: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - label: "Wait 30000ms" cluster: "DelayCommands" @@ -708,16 +718,17 @@ tests: response: value: 1 - - label: "17c:Immediately TH reads OnTime attribute from DUT" + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404424832 + - label: "17c: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - - label: "17c:Immediately TH reads OffWaitTime attribute from DUT" + - label: "17c:Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp @@ -783,16 +794,17 @@ tests: response: value: 1 - - label: "18b:Immediately TH reads OnTime attribute from DUT" + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404425845 + - label: "18b: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - - label: "18b:Immediately TH reads OffWaitTime attribute from DUT" + - label: "18b:Reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp @@ -851,14 +863,15 @@ tests: response: value: 1 + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404428940 - label: "19c: TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 170 - maxValue: 230 + minValue: 185 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 215 - label: "19c: TH reads OffWaitTime attribute from DUT" command: "readAttribute" @@ -885,14 +898,15 @@ tests: response: value: 0 - - label: "20b:Immediately TH reads OffWaitTime attribute from DUT" + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404430203 + - label: "20b: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - label: "21a:TH sends OnWithTimedOff command to DUT with 1)OnOffControl: 0x00 @@ -930,34 +944,35 @@ tests: response: value: 0 - - label: "21b:TH reads OffWaitTime attribute from DUT" + #Refer comment https://github.com/project-chip/connectedhomeip/pull/30636#discussion_r1404431785 + - label: "21b: TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && PICS_SKIP_SAMPLE_APP && OO.S.C42.Rsp response: constraints: - minValue: 170 - maxValue: 230 + minValue: 185 - ( 7 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 215 - label: "22a:TH sends On command to DUT" PICS: OO.S.C01.Rsp command: "On" - - label: "22b:Immediately TH reads OnOff attribute from DUT" + - label: "22b: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C01.Rsp response: value: 1 - - label: "22b:Immediately TH reads OnTime attribute from DUT" + - label: "22b: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C01.Rsp response: value: 0 - - label: "22b:Immediately TH reads OffWaitTime attribute from DUT" + - label: "22b: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C01.Rsp @@ -998,21 +1013,21 @@ tests: response: value: 0 - - label: "23c:Immediately TH reads OnTime attribute from DUT" + - label: "23c: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C00.Rsp response: value: 0 - - label: "23c:Immediately TH reads OffWaitTime attribute from DUT" + - label: "23c: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 3 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - label: "Wait 40000ms" cluster: "DelayCommands" @@ -1022,7 +1037,7 @@ tests: - name: "ms" value: 40000 - - label: "23d:After 40s, TH reads OnOff attribute from DUT" + - label: "23d: After 40s, TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C00.Rsp @@ -1036,7 +1051,7 @@ tests: response: value: 0 - - label: "23d:TH reads OffWaitTime attribute from DUT" + - label: "23d: TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C00.Rsp @@ -1057,23 +1072,23 @@ tests: - name: "OffWaitTime" value: 300 - - label: "24b:Immediately TH reads OnOff attribute from DUT" + - label: "24b: Immediately TH reads OnOff attribute from DUT" command: "readAttribute" attribute: "OnOff" PICS: OO.S.A0000 && OO.S.C42.Rsp response: value: 1 - - label: "24b:Immediately TH reads OnTime attribute from DUT" + - label: "24b: Immediately TH reads OnTime attribute from DUT" command: "readAttribute" attribute: "OnTime" PICS: OO.S.A4001 && OO.S.C42.Rsp response: constraints: - minValue: 255 - maxValue: 345 + minValue: 300 - ( 2 * PIXIT.OO.MaxCommunicationTurnaround ) + maxValue: 300 - - label: "24b:Immediately TH reads OffWaitTime attribute from DUT" + - label: "24b: Immediately TH reads OffWaitTime attribute from DUT" command: "readAttribute" attribute: "OffWaitTime" PICS: OO.S.A4002 && OO.S.C42.Rsp diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml index d3ec7430f62bfe..ed8d6ddd8a5a54 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 63.1.1. [TC-PSCFG-1.1] Global Attributes with DUT as Server +name: 63.1.1. [TC-PSCFG-1.1] Global attributes with server as DUT PICS: - PSCFG.S @@ -23,9 +23,7 @@ config: endpoint: 0 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Commission DUT to TH" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." + - label: "Step 2: TH reads the ClusterRevision attribute from the DUT" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3: TH reads from the DUT the FeatureMap attribute." + - label: "Step 3: TH reads the FeatureMap attribute from the DUT" command: "readAttribute" attribute: "FeatureMap" response: @@ -49,7 +47,7 @@ tests: constraints: type: bitmap32 - - label: "Step 4: TH reads from the DUT the AttributeList attribute." + - label: "Step 4: TH reads the AttributeList attribute from the DUT" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -58,7 +56,7 @@ tests: type: list contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: TH reads from the DUT the AttributeList attribute." + - label: "Step 4: TH reads the AttributeList attribute from the DUT" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -67,26 +65,26 @@ tests: type: list contains: [0, 65528, 65529, 65531, 65532, 65533] - - label: "Step 5: TH reads from the DUT the EventList attribute." - PICS: PICS_EVENT_LIST_ENABLED + - label: "Step 5: TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" - attribute: "EventList" + attribute: "AcceptedCommandList" response: value: [] constraints: type: list - - label: "Step 6: TH reads from the DUT the AcceptedCommandList attribute." + - label: "Step 6: TH reads the GeneratedCommandList attribute from the DUT" command: "readAttribute" - attribute: "AcceptedCommandList" + attribute: "GeneratedCommandList" response: value: [] constraints: type: list - - label: "Step 7: TH reads from the DUT the GeneratedCommandList attribute." + - label: "Step 7: Read EventList attribute from the DUT." + PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" - attribute: "GeneratedCommandList" + attribute: "EventList" response: value: [] constraints: diff --git a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml index f0ac68665894fb..dca6317802a6c4 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 62.1.1. [TC-PS-1.1] Global Attributes with DUT as Server +name: 62.1.1. [TC-PS-1.1] Global attributes with server as DUT PICS: - PS.S @@ -23,9 +23,7 @@ config: endpoint: 1 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: Test Harness Client reads ClusterRevision attribute." + - label: "Step 2: Read the global attribute: ClusterRevision" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." + - label: "Step 3a: Read the global attribute: FeatureMap" PICS: " !PS.S.F00 && !PS.S.F01 && !PS.S.F02 && !PS.S.F03 " command: "readAttribute" attribute: "FeatureMap" @@ -94,7 +92,7 @@ tests: type: bitmap32 hasMasksSet: [0x2, 0x8] - - label: "Step 4: Test Harness Client reads AttributeList attribute." + - label: "Step 4: Read the global attribute: AttributeList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -104,7 +102,7 @@ tests: contains: [0, 1, 2, 0x1f, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4: Test Harness Client reads AttributeList attribute." + - label: "Step 4: Read the global attribute: AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -114,7 +112,7 @@ tests: contains: [0, 1, 2, 0x1f, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in + "Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList" PICS: PS.S.F00 command: "readAttribute" @@ -125,7 +123,7 @@ tests: contains: [5] - label: - "Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in + "Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList" PICS: PS.S.F01 command: "readAttribute" @@ -136,7 +134,7 @@ tests: contains: [14, 15, 16] - label: - "Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in + "Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList" PICS: PS.S.F02 command: "readAttribute" @@ -147,7 +145,7 @@ tests: contains: [26, 28] - label: - "Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in + "Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList" PICS: PS.S.F03 command: "readAttribute" @@ -157,55 +155,54 @@ tests: type: list contains: [19, 25] - - label: "Step 5a: Test Harness Client reads EventList attribute." - PICS: "PICS_EVENT_LIST_ENABLED && !PS.S.E00 && !PS.S.E01 && !PS.S.E02 " + - label: "Step 5: Read the global attribute: AcceptedCommandList" command: "readAttribute" - attribute: "EventList" + attribute: "AcceptedCommandList" response: value: [] constraints: type: list - - label: "Step 5b: TH reads PS.S.E00(WiredFaultChange) event in EventList" - PICS: PICS_EVENT_LIST_ENABLED && PS.S.E00 + - label: "Step 6: Read the global attribute: GeneratedCommandList" command: "readAttribute" - attribute: "EventList" + attribute: "GeneratedCommandList" response: + value: [] constraints: type: list - contains: [0] - - label: "Step 5c: TH reads PS.S.E01(BatFaultChange) event in EventList" - PICS: PICS_EVENT_LIST_ENABLED && PS.S.E01 + - label: "Step 7a: Read the global attribute: EventList" + PICS: "PICS_EVENT_LIST_ENABLED && !PS.S.E00 && !PS.S.E01 && !PS.S.E02 " command: "readAttribute" attribute: "EventList" response: + value: [] constraints: type: list - contains: [1] - - label: - "Step 5d: TH reads PS.S.E02(BatChargeFaultChange) event in EventList" - PICS: PICS_EVENT_LIST_ENABLED && PS.S.E02 + - label: "Step 7b: Read PS.S.E00(WiredFaultChange) event in EventList" + PICS: PICS_EVENT_LIST_ENABLED && PS.S.E00 command: "readAttribute" attribute: "EventList" response: constraints: type: list - contains: [2] + contains: [0] - - label: "Step 6: Test Harness Client reads AcceptedCommandList attribute." + - label: "Step 7c: Read PS.S.E01(BatFaultChange) event in EventList" + PICS: PICS_EVENT_LIST_ENABLED && PS.S.E01 command: "readAttribute" - attribute: "AcceptedCommandList" + attribute: "EventList" response: - value: [] constraints: type: list + contains: [1] - - label: "Step 7: Test Harness Client reads GeneratedCommandList attribute." + - label: "Step 7d: Read PS.S.E02(BatChargeFaultChange) event in EventList" + PICS: PICS_EVENT_LIST_ENABLED && PS.S.E02 command: "readAttribute" - attribute: "GeneratedCommandList" + attribute: "EventList" response: - value: [] constraints: type: list + contains: [2] diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml index 2f4495168602ea..06681fa416abd7 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml @@ -51,7 +51,7 @@ tests: disabled: true - label: "Step 3a: Set up subscription to WiredFaultChange event" - PICS: PS.S.E00 && PS.S.M.ManualWiredFault + PICS: PS.S.E00 && PS.M.ManualWiredFault verification: | Please use Interactive mode to Verify subscription test step Here the command to enter interactive mode:-- ./chip-tool interactive start @@ -93,13 +93,12 @@ tests: disabled: true - label: "Step 3b: Bring the DUT into a wired fault state." - PICS: PS.S.E00 && PS.S.M.ManualWiredFault verification: | DUT ACTION REQUIRED disabled: true - label: "Step 4: TH reads the ActiveWiredFaults attribute from the DUT" - PICS: PS.S.A000a && PS.S.M.ManualWiredFault + PICS: PS.S.A000a && PS.M.ManualWiredFault verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -110,16 +109,8 @@ tests: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - - label: - "Step 5: The Current field of Step 3b has to be the same as the value - of Step 4." - PICS: PS.S.E00 && PS.S.A000a && PS.S.M.ManualWiredFault - verification: | - - disabled: true - - label: "Step 6: Bring the DUT back into a clean state." - PICS: PS.S.E00 && PS.S.M.ManualWiredFault + PICS: PS.S.E00 && PS.M.ManualWiredFault verification: | DUT ACTION REQUIRED disabled: true @@ -142,7 +133,7 @@ tests: disabled: true - label: "Step 8a: Set up subscription to BatFaultChange event" - PICS: PS.S.E01 && PS.S.M.ManualBatFault + PICS: PS.S.E01 && PS.M.ManualBatFault verification: | Please use Interactive mode to Verify subscription test step Here the command to enter interactive mode:-- ./chip-tool interactive start @@ -183,13 +174,12 @@ tests: disabled: true - label: "Step 8b: Bring the DUT into a battery fault state." - PICS: PS.S.E01 && PS.S.M.ManualBatFault verification: | DUT ACTION REQUIRED disabled: true - label: "Step 9: TH reads the ActiveBatFaults attribute from the DUT" - PICS: PS.S.A0012 && PS.S.M.ManualBatFault + PICS: PS.S.A0012 && PS.M.ManualBatFault verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -200,7 +190,7 @@ tests: disabled: true - label: "Step 11: Bring the DUT back into a clean state." - PICS: PS.S.E01 && PS.S.M.ManualBatFault + PICS: PS.S.E01 && PS.M.ManualBatFault verification: | DUT ACTION REQUIRED disabled: true @@ -213,7 +203,6 @@ tests: - label: "Step 12b: TH reads the ActiveBatChargeFaults attribute from the DUT" - PICS: PS.S.A001e verification: | Optional Attribute - If it is supported, then in TH log it will results in displaying the value, else it will display UNSUPPORTED_ATTRIBUTE @@ -224,7 +213,7 @@ tests: disabled: true - label: "Step 13a: Set up subscription to BatChargeFaultChange event" - PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault + PICS: PS.S.E02 && PS.M.ManualBatChargeFault verification: | ./chip-tool interactive start @@ -264,7 +253,6 @@ tests: disabled: true - label: "Step 13b: Bring the DUT into a charge fault state." - PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault verification: | DUT ACTION REQUIRED disabled: true @@ -281,16 +269,8 @@ tests: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - - label: - "Step 5: The Current field of Step 13b has to be the same as the value - of Step 14." - PICS: PS.S.E02 && PS.S.A001e && PS.S.M.ManualWiredFault - verification: | - - disabled: true - - label: "Step 16: Bring the DUT back into a clean state." - PICS: PS.S.E02 && PS.S.M.ManualBatChargeFault + PICS: PS.S.E02 && PS.M.ManualBatChargeFault verification: | DUT ACTION REQUIRED disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml b/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml index 9ef4dda1cd4580..d47f46e00c1a1a 100644 --- a/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_REFALM_2_3.yaml @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: 217.2.3. [TC-REFALM-2.3] Local suppression of the door alarm with DUT as @@ -19,114 +18,127 @@ name: PICS: - REFALM.S + - REFALM.S.M.LocalSuppress config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Refrigerator Alarm" + endpoint: 1 + PIXIT.REFALM.AlarmThreshold: + type: int16u + defaultValue: 5 tests: - - label: "Note" - verification: | - This is a simulated example log for instructional purposes only. In real scenarios, the actual log may vary depending on the feature implementation in Reference App. - disabled: true - - label: "Step 1: Commission DUT to TH (can be skipped if done in a preceding test)" - verification: | - - disabled: true + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 2: Ensure that the door on the DUT is closed" verification: | Ensure that the door on the DUT is closed - disabled: true - - - label: "Step 3: TH reads from the DUT the State attribute" + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" + + - label: "Step 3:TH reads from the DUT the State attribute" + command: "readAttribute" + attribute: "State" PICS: REFALM.S.A0002 - verification: | - ./chip-tool refrigeratoralarm read state 1 1 - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. - - [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 - [1688447820.603415][4247:4249] CHIP:TOO: State: 0 - [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true - - - label: "Step 4: TH reads from the DUT the Mask attribute" + response: + constraints: + type: bitmap32 + hasMasksClear: [0x1] + + - label: "Step 4:TH reads from the DUT the Mask attribute" + command: "readAttribute" + attribute: "Mask" PICS: REFALM.S.A0000 - verification: | - ./chip-tool refrigeratoralarm read mask 1 1 - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. - - [1688447677.832882][4229:4231] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0000 DataVersion: 1795162772 - [1688447677.833165][4229:4231] CHIP:TOO: Mask: 1 - [1688447677.833494][4229:4231] CHIP:EM: <<< [E:27636i S:5449 M:199797248 (Ack:151091416)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + response: + constraints: + type: bitmap32 + hasMasksSet: [0x1] - label: "Step 5: Manually open the door on the DUT" verification: | Manually open the door on the DUT - disabled: true + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" - label: "Step 6: Wait for the time defined in PIXIT.REFALM.AlarmThreshold" - verification: | - Wait for the time defined in PIXIT.REFALM.AlarmThreshold - disabled: true - - - label: "Step 7: TH reads from the DUT the State attribute" - PICS: REFALM.S.A0002 - verification: | - ./chip-tool refrigeratoralarm read state 1 1 - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. - - [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 - [1688447820.603415][4247:4249] CHIP:TOO: State: 1 - [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + cluster: "DelayCommands" + PICS: PICS_USER_PROMPT + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: PIXIT.REFALM.AlarmThreshold * 1000 + + - label: "Step 7:TH reads from the DUT the State attribute" + command: "readAttribute" + attribute: "State" + PICS: REFALM.S.A0002 && PICS_USER_PROMPT + response: + constraints: + type: bitmap32 + hasMasksSet: [0x1] - label: "Step 8: Invoke the on DUT sequence to suppress the alarm, do not close the door" verification: | Invoke the on DUT sequence to suppress the alarm, do not close the door - disabled: true - - - label: "Step 9: TH reads from the DUT the State attribute" - PICS: REFALM.S.A0002 - verification: | - ./chip-tool refrigeratoralarm read state 1 1 - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. - - [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 - [1688447820.603415][4247:4249] CHIP:TOO: State: 0 - [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true - - - label: "Step 10: TH reads from the DUT the Mask attribute" - PICS: REFALM.S.A0000 - verification: | - ./chip-tool refrigeratoralarm read mask 1 1 - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. - - [1688447677.832882][4229:4231] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0000 DataVersion: 1795162772 - [1688447677.833165][4229:4231] CHIP:TOO: Mask: 0 - [1688447677.833494][4229:4231] CHIP:EM: <<< [E:27636i S:5449 M:199797248 (Ack:151091416)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true - - - label: "Step 11: TH reads from the DUT the Supported attribute" - PICS: REFALM.S.A0003 - verification: | - ./chip-tool refrigeratoralarm read supported 1 1 - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. - - [1689677642.708638][18413:18415] CHIP:DMG: SuppressResponse = true, - [1689677642.708645][18413:18415] CHIP:DMG: InteractionModelRevision = 1 - [1689677642.708651][18413:18415] CHIP:DMG: } - [1689677642.708726][18413:18415] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0003 DataVersion: 1517282962 - [1689677642.708773][18413:18415] CHIP:TOO: Supported: 1 - [1689677642.708845][18413:18415] CHIP:EM: <<< [E:32432i S:53289 M:29829407 (Ack:142651059)] (S) Msg TX to 1:0000000000000001 [BFDE] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1689677642.708859][18413:18415] CHIP:IN: (S) Sending msg 29829407 on secure session with LSID: 53289 - [1689677642.708900][18413:18415] CHIP:EM: Flushed pending ack for MessageCounter:142651059 on exchange 32432i - disabled: true + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" + + - label: "Step 9:TH reads from the DUT the State attribute" + command: "readAttribute" + attribute: "State" + PICS: REFALM.S.A0002 && PICS_USER_PROMPT + response: + constraints: + type: bitmap32 + hasMasksClear: [0x1] + + - label: "Step 10:TH reads from the DUT the Mask attribute" + command: "readAttribute" + attribute: "Mask" + PICS: REFALM.S.A0000 && PICS_USER_PROMPT + response: + constraints: + type: bitmap32 + hasMasksClear: [0x1] + + - label: "Step 11:TH reads from the DUT the Supported attribute" + command: "readAttribute" + attribute: "Supported" + PICS: REFALM.S.A0003 && PICS_USER_PROMPT + response: + constraints: + type: bitmap32 + hasMasksSet: [0x1] diff --git a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml index 9aba7fca737792..83634fa0c29635 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_1.yaml @@ -16,9 +16,6 @@ name: 92.4.1. [TC-RVCCLEANM-3.1] On Mode functionality with DUT as Server PICS: - RVCCLEANM.S - - RVCCLEANM.S.F00 - - OO.S.C00.Rsp - - OO.S.C01.Rsp config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml index bb212c3aaaa362..7fa5f670b18342 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCCLEANM_3_3.yaml @@ -21,7 +21,6 @@ PICS: - RVCCLEANM.S.A0002 - RVCCLEANM.S.A0003 - RVCCLEANM.S.F00 - - OO.S.A4003 config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml index 2d609c8531c7bb..76b1bec0a3fdc4 100644 --- a/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_RVCRUNM_3_3.yaml @@ -18,10 +18,7 @@ name: Server PICS: - - RVCRUNM.S.A0002 - - RVCRUNM.S.A0003 - - RVCRUNM.S.F00 - - OO.S.A4003 + - RVCRUNM.S config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml index 1b5ebfd1c6b2f6..fa09a143c70f99 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_2_1.yaml @@ -99,13 +99,13 @@ tests: - label: "Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.TCCM.MODE_CHANGE_FAIL" - PICS: TCCM.S.M.CAN_TEST_MODE_FAILURE && TCCM.S.M.CAN_MANUALLY_CONTROLLED + PICS: TCCM.S.M.CAN_TEST_MODE_FAILURE verification: | Manual operation required disabled: true - label: "Step 6: TH reads from the DUT the CurrentMode attribute." - PICS: TCCM.S.A0001 && TCCM.S.M.CAN_MANUALLY_CONTROLLED + PICS: TCCM.S.A0001 verification: | ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read current-mode 1 1 @@ -147,13 +147,12 @@ tests: - label: "Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.TCCM.MODE_CHANGE_OK" - PICS: TCCM.S.M.CAN_MANUALLY_CONTROLLED verification: | Manual operation required disabled: true - label: "Step 10: TH reads from the DUT the CurrentMode attribute." - PICS: TCCM.S.A0001 && TCCM.S.M.CAN_MANUALLY_CONTROLLED + PICS: TCCM.S.A0001 verification: | ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read current-mode 1 1 diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml index d491fe62cb825d..779fbd12afe7ec 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml @@ -17,8 +17,6 @@ name: 219.3.1. [TC-TCCM-3.1] On Mode functionality with DUT as Server PICS: - TCCM.S.A0003 - TCCM.S.F00 - - OO.S.C00.Rsp - - OO.S.C01.Rsp config: nodeId: 0x12344321 @@ -33,9 +31,7 @@ config: defaultValue: 0 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -52,14 +48,14 @@ tests: arguments: value: nonNull_OnMode_value - - label: "Step 2: TH reads from the DUT the OnMode attribute." + - label: "Step 2: TH reads the OnMode attribute from the DUT" PICS: TCCM.S.A0003 && TCCM.S.F00 command: "readAttribute" attribute: "OnMode" response: saveAs: on_mode_dut - - label: "Step 3a: TH reads from the DUT the CurrentMode attribute." + - label: "Step 3a: TH reads the CurrentMode attribute from the DUT" PICS: TCCM.S.A0001 && TCCM.S.F00 command: "readAttribute" attribute: "CurrentMode" diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml index b2bf2a111ebffd..2081e133f84876 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 42.1.1. [TC-TSTAT-1.1] Global Attributes with DUT as Server +name: 42.1.1. [TC-TSTAT-1.1] Global attributes with server as DUT PICS: - TSTAT.S @@ -23,9 +23,7 @@ config: endpoint: 1 tests: - - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -33,7 +31,7 @@ tests: - name: "nodeId" value: nodeId - - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." + - label: "Step 2: Read the global attribute: ClusterRevision" command: "readAttribute" attribute: "ClusterRevision" response: @@ -41,7 +39,7 @@ tests: constraints: type: int16u - - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." + - label: "Step 3a: Read the global attribute: FeatureMap" PICS: "!TSTAT.S.F00 && !TSTAT.S.F01 && !TSTAT.S.F02 && !TSTAT.S.F03 && !TSTAT.S.F04 && !TSTAT.S.F05" @@ -129,7 +127,7 @@ tests: type: bitmap32 hasMasksSet: [0x40] - - label: "Step 4a: TH reads from the DUT the AttributeList attribute." + - label: "Step 4a: Read the global attribute: AttributeList" PICS: PICS_EVENT_LIST_ENABLED command: "readAttribute" attribute: "AttributeList" @@ -138,7 +136,7 @@ tests: type: list contains: [0, 27, 28, 65528, 65529, 65530, 65531, 65532, 65533] - - label: "Step 4a: TH reads from the DUT the AttributeList attribute." + - label: "Step 4a: Read the global attribute: AttributeList" PICS: "!PICS_EVENT_LIST_ENABLED" command: "readAttribute" attribute: "AttributeList" @@ -148,8 +146,8 @@ tests: contains: [0, 27, 28, 65528, 65529, 65531, 65532, 65533] - label: - "Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute - in AttributeList" + "Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in + AttributeList" PICS: TSTAT.S.F00 command: "readAttribute" attribute: "AttributeList" @@ -158,8 +156,8 @@ tests: type: list contains: [18] - label: - "Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute - in AttributeList" + "Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in + AttributeList" PICS: TSTAT.S.F01 command: "readAttribute" attribute: "AttributeList" @@ -169,8 +167,8 @@ tests: contains: [17] - label: - "Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute - in AttributeList" + "Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in + AttributeList" PICS: TSTAT.S.F02 command: "readAttribute" attribute: "AttributeList" @@ -180,7 +178,7 @@ tests: contains: [2] - label: - "Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & + "Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.F02 command: "readAttribute" @@ -191,7 +189,7 @@ tests: contains: [20] - label: - "Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & + "Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.F02 command: "readAttribute" @@ -202,8 +200,8 @@ tests: contains: [19] - label: - "Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute - in AttributeList" + "Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in + AttributeList" PICS: TSTAT.S.F05 command: "readAttribute" attribute: "AttributeList" @@ -213,8 +211,8 @@ tests: contains: [17, 18, 25] - label: - "Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute - in AttributeList" + "Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in + AttributeList" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "AttributeList" @@ -224,7 +222,7 @@ tests: contains: [32, 33, 34] - label: - "Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in + "Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList" PICS: TSTAT.S.F04 command: "readAttribute" @@ -235,7 +233,7 @@ tests: contains: [52, 53, 54] - label: - "Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & + "Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList" PICS: TSTAT.S.F04 && TSTAT.S.F02 command: "readAttribute" @@ -245,7 +243,7 @@ tests: type: list contains: [55, 56, 57] - - label: "Step 4k: TH reads the optional attribute in AttributeList" + - label: "Step 4k: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0001 command: "readAttribute" attribute: "AttributeList" @@ -254,7 +252,7 @@ tests: type: list contains: [1] - - label: "Step 4l: TH reads the optional attribute in AttributeList" + - label: "Step 4l: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0009 command: "readAttribute" attribute: "AttributeList" @@ -263,7 +261,7 @@ tests: type: list contains: [9] - - label: "Step 4m: TH reads the optional attribute in AttributeList" + - label: "Step 4m: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0010 command: "readAttribute" attribute: "AttributeList" @@ -272,7 +270,7 @@ tests: type: list contains: [16] - - label: "Step 4n: TH reads the optional attribute in AttributeList" + - label: "Step 4n: Read the optional attribute in AttributeList" PICS: TSTAT.S.A001a command: "readAttribute" attribute: "AttributeList" @@ -281,7 +279,7 @@ tests: type: list contains: [26] - - label: "Step 4o: TH reads the optional attribute in AttributeList" + - label: "Step 4o: Read the optional attribute in AttributeList" PICS: TSTAT.S.A001d command: "readAttribute" attribute: "AttributeList" @@ -290,7 +288,7 @@ tests: type: list contains: [29] - - label: "Step 4p: TH reads the optional attribute in AttributeList" + - label: "Step 4p: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0023 command: "readAttribute" attribute: "AttributeList" @@ -299,7 +297,7 @@ tests: type: list contains: [35] - - label: "Step 4q: TH reads the optional attribute in AttributeList" + - label: "Step 4q: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0024 command: "readAttribute" attribute: "AttributeList" @@ -308,7 +306,7 @@ tests: type: list contains: [36] - - label: "Step 4r: TH reads the optional attribute in AttributeList" + - label: "Step 4r: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0025 command: "readAttribute" attribute: "AttributeList" @@ -317,7 +315,7 @@ tests: type: list contains: [37] - - label: "Step 4s: TH reads the optional attribute in AttributeList" + - label: "Step 4s: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0029 command: "readAttribute" attribute: "AttributeList" @@ -326,7 +324,7 @@ tests: type: list contains: [41] - - label: "Step 4t: TH reads the optional attribute in AttributeList" + - label: "Step 4t: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0030 command: "readAttribute" attribute: "AttributeList" @@ -335,7 +333,7 @@ tests: type: list contains: [48] - - label: "Step 4u: TH reads the optional attribute in AttributeList" + - label: "Step 4u: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0031 command: "readAttribute" attribute: "AttributeList" @@ -344,7 +342,7 @@ tests: type: list contains: [49] - - label: "Step 4x: TH reads the optional attribute in AttributeList" + - label: "Step 4x: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0032 command: "readAttribute" attribute: "AttributeList" @@ -353,7 +351,7 @@ tests: type: list contains: [50] - - label: "Step 4y: TH reads the optional attribute: AttributeList" + - label: "Step 5y: Read the optional attribute: AttributeList" PICS: TSTAT.S.A003a command: "readAttribute" attribute: "AttributeList" @@ -362,7 +360,7 @@ tests: type: list contains: [58] - - label: "Step 4z: TH reads the optional attribute in AttributeList" + - label: "Step 4z: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0040 command: "readAttribute" attribute: "AttributeList" @@ -371,7 +369,7 @@ tests: type: list contains: [64] - - label: "Step 4A: TH reads the optional attribute in AttributeList" + - label: "Step 4A: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0041 command: "readAttribute" attribute: "AttributeList" @@ -380,7 +378,7 @@ tests: type: list contains: [65] - - label: "Step 4B: TH reads the optional attribute in AttributeList" + - label: "Step 4B: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0042 command: "readAttribute" attribute: "AttributeList" @@ -389,7 +387,7 @@ tests: type: list contains: [66] - - label: "Step 4C: TH reads the optional attribute in AttributeList" + - label: "Step 4C: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0043 command: "readAttribute" attribute: "AttributeList" @@ -398,7 +396,7 @@ tests: type: list contains: [67] - - label: "Step 4D: TH reads the optional attribute: AttributeList" + - label: "Step 5D: Read the optional attribute: AttributeList" PICS: TSTAT.S.A0044 command: "readAttribute" attribute: "AttributeList" @@ -407,7 +405,7 @@ tests: type: list contains: [68] - - label: "Step 4E: TH reads the optional attribute in AttributeList" + - label: "Step 4E: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0045 command: "readAttribute" attribute: "AttributeList" @@ -416,7 +414,7 @@ tests: type: list contains: [69] - - label: "Step 4F: TH reads the optional attribute in AttributeList" + - label: "Step 4F: Read the optional attribute in AttributeList" PICS: TSTAT.S.A0046 command: "readAttribute" attribute: "AttributeList" @@ -425,7 +423,7 @@ tests: type: list contains: [70] - - label: "Step 4g: TH reads the optional attribute: AttributeList" + - label: "Step 5G: Read the optional attribute: AttributeList" PICS: TSTAT.S.A0047 command: "readAttribute" attribute: "AttributeList" @@ -435,7 +433,7 @@ tests: contains: [71] - label: - "Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0003 command: "readAttribute" @@ -446,7 +444,7 @@ tests: contains: [3] - label: - "Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0004 command: "readAttribute" @@ -457,7 +455,7 @@ tests: contains: [4] - label: - "Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0008 command: "readAttribute" @@ -468,7 +466,7 @@ tests: contains: [8] - label: - "Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0015 command: "readAttribute" @@ -479,7 +477,7 @@ tests: contains: [21] - label: - "Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional + "Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList" PICS: TSTAT.S.F00 && TSTAT.S.A0016 command: "readAttribute" @@ -490,7 +488,7 @@ tests: contains: [22] - label: - "Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0005 command: "readAttribute" @@ -501,7 +499,7 @@ tests: contains: [5] - label: - "Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0007 command: "readAttribute" @@ -512,7 +510,7 @@ tests: contains: [6] - label: - "Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0007 command: "readAttribute" @@ -523,7 +521,7 @@ tests: contains: [7] - label: - "Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0017 command: "readAttribute" @@ -534,7 +532,7 @@ tests: contains: [23] - label: - "Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional + "Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList" PICS: TSTAT.S.F01 && TSTAT.S.A0018 command: "readAttribute" @@ -545,7 +543,7 @@ tests: contains: [24] - label: - "Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional + "Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList" PICS: TSTAT.S.F05 && TSTAT.S.A001e command: "readAttribute" @@ -555,16 +553,7 @@ tests: type: list contains: [30] - - label: "Step 5: TH reads EventList attribute from the DUT." - PICS: PICS_EVENT_LIST_ENABLED - command: "readAttribute" - attribute: "EventList" - response: - value: [] - constraints: - type: list - - - label: "Step 6a: TH reads from the DUT the AcceptedCommandList attribute." + - label: "Step 5a: Read the mandatory commands in AcceptedCommandList" command: "readAttribute" attribute: "AcceptedCommandList" response: @@ -573,7 +562,7 @@ tests: contains: [0] - label: - "Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in + "Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList" PICS: TSTAT.S.F03 command: "readAttribute" @@ -584,7 +573,7 @@ tests: contains: [1, 2, 3] - label: - "Step 6c: TH reads the optional (GetRelayStatusLog) command in + "Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList" PICS: TSTAT.S.C04.Rsp command: "readAttribute" @@ -594,8 +583,7 @@ tests: type: list contains: [4] - - label: - "Step 7a: TH reads from the DUT the GeneratedCommandList attribute." + - label: "Step 6a: Read the global attribute: GeneratedCommandList" PICS: " !TSTAT.S.C04.Rsp && !TSTAT.S.C02.Rsp " command: "readAttribute" attribute: "GeneratedCommandList" @@ -605,7 +593,7 @@ tests: type: list - label: - "Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in + "Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList" PICS: TSTAT.S.F03 command: "readAttribute" @@ -616,7 +604,7 @@ tests: contains: [0] - label: - "Step 7c: TH reads optional command (GetRelayStatusLogResponse) in + "Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList" PICS: TSTAT.S.C04.Rsp command: "readAttribute" @@ -625,3 +613,12 @@ tests: constraints: type: list contains: [1] + + - label: "Step 7: Read EventList attribute from the DUT." + PICS: PICS_EVENT_LIST_ENABLED + command: "readAttribute" + attribute: "EventList" + response: + value: [] + constraints: + type: list diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml index 63aba52fe3f3f6..36b535a024f6c0 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml @@ -23,7 +23,7 @@ config: endpoint: 1 tests: - - label: "Step 1: Commission DUT to TH" + - label: "Step 1: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -119,7 +119,7 @@ tests: response: saveAs: UnoccupiedCoolingSetpointValue - - label: "Step 2: TH reads the LocalTemperature attribute from the DUT" + - label: "Step 2: Reads mandatory attributes from DUT: LocalTemperature" command: "readAttribute" attribute: "LocalTemperature" response: @@ -128,7 +128,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 3: TH reads the OutdoorTemperature attribute from the DUT" + - label: "Step 3: Read OutdoorTemperature attribute from the DUT" PICS: TSTAT.S.A0001 command: "readAttribute" attribute: "OutdoorTemperature" @@ -138,7 +138,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 4: TH reads the Occupancy attribute from the DUT" + - label: "Step 4: Read Occupancy attribute from the DUT" PICS: TSTAT.S.F02 command: "readAttribute" attribute: "Occupancy" @@ -149,7 +149,7 @@ tests: maxValue: 1 - label: - "Step 5a: TH reads attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 + "Step 5a: Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is supported" PICS: TSTAT.S.A0003 && TSTAT.S.A0005 && TSTAT.S.F05 command: "readAttribute" @@ -160,7 +160,7 @@ tests: maxValue: AbsMinCoolSetpointLimitStep5 - MinSetpointDeadBandValue - label: - "Step 5b: TH reads attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 + "Step 5b: Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is supported" PICS: TSTAT.S.A0003 && !TSTAT.S.A0005 && TSTAT.S.F05 command: "readAttribute" @@ -170,7 +170,7 @@ tests: type: int16s maxValue: 1575 - - label: "Step 6a: TH reads attribute AbsMinHeatSetpointLimit from DUT" + - label: "Step 6a: Read attribute AbsMinHeatSetpointLimit from DUT" PICS: TSTAT.S.A0003 && !TSTAT.S.F05 command: "readAttribute" attribute: "AbsMinHeatSetpointLimit" @@ -181,8 +181,7 @@ tests: maxValue: 32767 - label: - "Step 6b: TH reads mandatory attributes from DUT: - AbsMaxHeatSetpointLimit" + "Step 6b: Reads mandatory attributes from DUT: AbsMaxHeatSetpointLimit" PICS: TSTAT.S.A0004 command: "readAttribute" attribute: "AbsMaxHeatSetpointLimit" @@ -192,8 +191,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: - "Step 7: TH reads the AbsMinCoolSetpointLimit attribute from the DUT" + - label: "Step 7: Read attribute AbsMinCoolSetpointLimit from DUT" PICS: TSTAT.S.A0005 command: "readAttribute" attribute: "AbsMinCoolSetpointLimit" @@ -203,8 +201,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: - "Step 8: TH reads the AbsMaxCoolSetpointLimit attribute from the DUT" + - label: "Step 8: Read attribute AbsMaxCoolSetpointLimit from DUT" PICS: TSTAT.S.A0006 command: "readAttribute" attribute: "AbsMaxCoolSetpointLimit" @@ -214,7 +211,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 9: TH reads the PICoolingDemand attribute from the DUT" + - label: "Step 9: Read PICoolingDemand attribute from the DUT" PICS: TSTAT.S.A0007 command: "readAttribute" attribute: "PICoolingDemand" @@ -224,7 +221,7 @@ tests: minValue: 0 maxValue: 100 - - label: "Step 10: TH reads the PIHeatingDemand attribute from the DUT" + - label: "Step 10: Read PIHeatingDemand attribute from the DUT" PICS: TSTAT.S.A0008 command: "readAttribute" attribute: "PIHeatingDemand" @@ -234,9 +231,17 @@ tests: minValue: 0 maxValue: 100 - - label: - "Step 12: TH reads the LocalTemperatureCalibration attribute from the - DUT" + - label: "Step 11: Read HVACSystemTypeConfiguration attribute from the DUT" + PICS: TSTAT.S.A0009 + command: "readAttribute" + attribute: "HVACSystemTypeConfiguration" + response: + constraints: + type: bitmap8 + minValue: 0 + maxValue: 63 + + - label: "Step 12: Read LocalTemperatureCalibration attribute from the DUT" PICS: TSTAT.S.A0010 command: "readAttribute" attribute: "LocalTemperatureCalibration" @@ -246,7 +251,7 @@ tests: minValue: -25 maxValue: 25 - - label: "Step 13a: TH reads attribute OccupiedCoolingSetpoint from the DUT" + - label: "Step 13a: Read attribute OccupiedCoolingSetpoint from the DUT" PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018 command: "readAttribute" attribute: "OccupiedCoolingSetpoint" @@ -256,7 +261,7 @@ tests: minValue: MinCoolSetpointLimitValue maxValue: MaxCoolSetpointLimitValue - - label: "Step 13b: TH reads attribute OccupiedCoolingSetpoint from the DUT" + - label: "Step 13b: Read attribute OccupiedCoolingSetpoint from the DUT" PICS: TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018 command: "readAttribute" attribute: "OccupiedCoolingSetpoint" @@ -267,7 +272,7 @@ tests: maxValue: 3200 - label: - "Step 14a: TH reads attribute OccupiedHeatingSetpoint if TSTAT.S.F05 + "Step 14a: Read attribute OccupiedHeatingSetpoint if TSTAT.S.F05 feature is supported" PICS: TSTAT.S.F05 && TSTAT.S.F00 command: "readAttribute" @@ -278,7 +283,7 @@ tests: minValue: AbsMinCoolSetpointLimitStep5 maxValue: OccupiedCoolingSetpointValue - MinSetpointDeadBandValue - - label: "Step 14b: TH reads attribute OccupiedHeatingSetpoint from the DUT" + - label: "Step 14b: Read attribute OccupiedHeatingSetpoint from the DUT" PICS: TSTAT.S.F00 && !TSTAT.S.F05 command: "readAttribute" attribute: "OccupiedHeatingSetpoint" @@ -288,8 +293,7 @@ tests: minValue: 700 maxValue: 3000 - - label: - "Step 15a: TH reads UnoccupiedCoolingSetpoint attribute from the DUT" + - label: "Step 15a: Read UnoccupiedCoolingSetpoint attribute from the DUT" PICS: TSTAT.S.F05 && TSTAT.S.A0013 command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -299,8 +303,7 @@ tests: minValue: AbsMinHeatValue maxValue: AbsMaxHeatValue - - label: - "Step 15b: TH reads UnoccupiedCoolingSetpoint attribute from the DUT" + - label: "Step 15b: Read UnoccupiedCoolingSetpoint attribute from the DUT" PICS: TSTAT.S.F01 && TSTAT.S.F02 && !TSTAT.S.F05 command: "readAttribute" attribute: "UnoccupiedCoolingSetpoint" @@ -310,8 +313,7 @@ tests: minValue: 1600 maxValue: 3200 - - label: - "Step 16a: TH reads UnoccupiedHeatingSetpoint attribute from the DUT" + - label: "Step 16a: Read UnoccupiedHeatingSetpoint attribute from the DUT" PICS: TSTAT.S.F00 && TSTAT.S.F02 && TSTAT.S.F05 && TSTAT.S.A0013 command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -322,8 +324,7 @@ tests: maxValue: UnoccupiedCoolingSetpointValue - MinSetpointDeadBandValue - - label: - "Step 16b: TH reads UnoccupiedHeatingSetpoint attribute from the DUT" + - label: "Step 16b: Read UnoccupiedHeatingSetpoint attribute from the DUT" PICS: TSTAT.S.F00 && TSTAT.S.F02 && !TSTAT.S.F05 command: "readAttribute" attribute: "UnoccupiedHeatingSetpoint" @@ -333,7 +334,7 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 17a: TH reads attribute from DUT: MinHeatSetpointLimit" + - label: "Step 17a: Reads attribute from DUT: MinHeatSetpointLimit" PICS: TSTAT.S.A0015 && TSTAT.S.F05 && TSTAT.S.A0017 && TSTAT.S.A0019 command: "readAttribute" attribute: "MinHeatSetpointLimit" @@ -344,7 +345,7 @@ tests: maxValue: MinCoolSetpointLimitValue - MinSetpointDeadBandValue - label: - "Step 17b: TH reads MinHeatSetpointLimit attribute from Server DUT and + "Step 17b: Reads MinHeatSetpointLimit attribute from Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" @@ -357,7 +358,7 @@ tests: #Using hard coded values when optional attributes are not available - label: - "Step 17c: TH reads MinHeatSetpointLimit attribute from Server DUT and + "Step 17c: Reads MinHeatSetpointLimit attribute from Server DUT and verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" @@ -368,7 +369,7 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 18a: TH reads attribute MaxHeatSetpointLimit from the DUT" + - label: "Step 18a: Read attribute MaxHeatSetpointLimit from the DUT" PICS: TSTAT.S.A0016 && !TSTAT.S.F05 command: "readAttribute" attribute: "MaxHeatSetpointLimit" @@ -378,7 +379,7 @@ tests: minValue: 700 maxValue: 3000 - - label: "Step 18b: TH reads attribute from DUT: MaxHeatSetpointLimit" + - label: "Step 18b: Reads attribute from DUT: MaxHeatSetpointLimit" PICS: TSTAT.S.A0016 && TSTAT.S.F05 && TSTAT.S.A0018 command: "readAttribute" attribute: "MaxHeatSetpointLimit" @@ -388,7 +389,7 @@ tests: minValue: 700 maxValue: MaxCoolSetpointLimitValue - MinSetpointDeadBandValue - - label: "Step 19a: TH reads attribute MinCoolSetpointLimit from DUT" + - label: "Step 19a: Read attribute MinCoolSetpointLimit from DUT" PICS: TSTAT.S.A0017 && TSTAT.S.A0018 && TSTAT.S.A0005 command: "readAttribute" attribute: "MinCoolSetpointLimit" @@ -398,7 +399,7 @@ tests: minValue: AbsMinCoolSetpointLimitStep5 maxValue: MaxCoolSetpointLimitValue - - label: "Step 19b: TH reads attribute MinCoolSetpointLimit from DUT" + - label: "Step 19b: Read attribute MinCoolSetpointLimit from DUT" PICS: TSTAT.S.A0017 && !TSTAT.S.A0018 && !TSTAT.S.A0005 command: "readAttribute" attribute: "MinCoolSetpointLimit" @@ -408,7 +409,7 @@ tests: minValue: 1600 maxValue: 3200 - - label: "Step 20: TH reads the MaxCoolSetpointLimit attribute from the DUT" + - label: "Step 20: Read attribute MaxCoolSetpointLimit from DUT" PICS: TSTAT.S.A0018 && TSTAT.S.A0006 && TSTAT.S.A0017 command: "readAttribute" attribute: "MaxCoolSetpointLimit" @@ -418,7 +419,7 @@ tests: minValue: MinCoolSetpointLimitValue maxValue: AbsMaxCoolSetpointLimitStep6 - - label: "Step 21: TH reads the MinSetpointDeadBand attribute from the DUT" + - label: "Step 21: Read attribute MinSetpointDeadBand from DUT" PICS: TSTAT.S.F05 command: "readAttribute" attribute: "MinSetpointDeadBand" @@ -428,7 +429,7 @@ tests: minValue: 0 maxValue: 25 - - label: "Step 22: TH reads the RemoteSensing attribute from the DUT" + - label: "Step 22: Read RemoteSensing attribute from the DUT" PICS: TSTAT.S.A001a command: "readAttribute" attribute: "RemoteSensing" @@ -438,9 +439,7 @@ tests: minValue: 0 maxValue: 7 - - label: - "Step 23: TH reads the ControlSequenceOfOperation attribute from the - DUT" + - label: "Step 23: Read attribute ControlSequenceOfOperation from DUT" PICS: TSTAT.S.A001b command: "readAttribute" attribute: "ControlSequenceOfOperation" @@ -450,7 +449,7 @@ tests: minValue: 0 maxValue: 5 - - label: "Step 24: TH reads the SystemMode attribute from the DUT" + - label: "Step 24: Read attribute SystemMode from DUT" PICS: TSTAT.S.A001c command: "readAttribute" attribute: "SystemMode" @@ -460,8 +459,7 @@ tests: minValue: 0 maxValue: 9 - - label: - "Step 26: TH reads the ThermostatRunningMode attribute from the DUT" + - label: "Step 26: Read ThermostatRunningMode attribute from the DUT" PICS: TSTAT.S.A001e command: "readAttribute" attribute: "ThermostatRunningMode" @@ -471,7 +469,9 @@ tests: minValue: 0 maxValue: 9 - - label: "Step 27: TH reads the StartOfWeek attribute from the DUT" + - label: + "Step 27: Reads constraints of optional attributes from DUT: + StartOfWeek" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "StartOfWeek" @@ -482,8 +482,8 @@ tests: maxValue: 6 - label: - "Step 28: TH reads the NumberOfWeeklyTransitions attribute from the - DUT" + "Step 28: Reads optional attributes from DUT: + NumberOfWeeklyTransitions" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "NumberOfWeeklyTransitions" @@ -494,7 +494,7 @@ tests: maxValue: 255 - label: - "Step 29: TH reads the NumberOfDailyTransitions attribute from the DUT" + "Step 29: Reads optional attributes from DUT: NumberOfDailyTransitions" PICS: TSTAT.S.F03 command: "readAttribute" attribute: "NumberOfDailyTransitions" @@ -504,8 +504,7 @@ tests: minValue: 0 maxValue: 255 - - label: - "Step 30: TH reads the TemperatureSetpointHold attribute from the DUT" + - label: "Step 30: Read TemperatureSetpointHold attribute from the DUT" PICS: TSTAT.S.A0023 command: "readAttribute" attribute: "TemperatureSetpointHold" @@ -516,8 +515,7 @@ tests: maxValue: 1 - label: - "Step 31: TH reads the TemperatureSetpointHoldDuration attribute from - the DUT" + "Step 31: Read TemperatureSetpointHoldDuration attribute from the DUT" PICS: TSTAT.S.A0024 command: "readAttribute" attribute: "TemperatureSetpointHoldDuration" @@ -528,8 +526,8 @@ tests: maxValue: 1440 - label: - "Step 32: TH reads the ThermostatProgrammingOperationMode attribute - from the DUT" + "Step 32: Read ThermostatProgrammingOperationMode attribute from the + DUT" PICS: TSTAT.S.A0025 command: "readAttribute" attribute: "ThermostatProgrammingOperationMode" @@ -539,8 +537,7 @@ tests: minValue: 0 maxValue: 7 - - label: - "Step 33: TH reads the ThermostatRunningState attribute from the DUT" + - label: "Step 33: Read ThermostatRunningState attribute from the DUT" PICS: TSTAT.S.A0029 command: "readAttribute" attribute: "ThermostatRunningState" @@ -550,7 +547,7 @@ tests: minValue: 0 maxValue: 127 - - label: "Step 34: TH reads the SetpointChangeSource attribute from the DUT" + - label: "Step 34: Read SetpointChangeSource attribute from the DUT" PICS: TSTAT.S.A0030 command: "readAttribute" attribute: "SetpointChangeSource" @@ -560,7 +557,7 @@ tests: minValue: 0 maxValue: 2 - - label: "Step 35: TH reads the SetpointChangeAmount attribute from the DUT" + - label: "Step 35: Read SetpointChangeAmount attribute from the DUT" PICS: TSTAT.S.A0031 command: "readAttribute" attribute: "SetpointChangeAmount" @@ -571,8 +568,7 @@ tests: maxValue: 32767 - label: - "Step 36: TH reads the SetpointChangeSourceTimestamp attribute from - the DUT" + "Step 36: Read SetpointChangeSourceTimestamp attribute from the DUT" PICS: TSTAT.S.A0032 command: "readAttribute" attribute: "SetpointChangeSourceTimestamp" @@ -580,7 +576,7 @@ tests: constraints: type: epoch_s - - label: "Step 37: TH reads the OccupiedSetback attribute from the DUT" + - label: "Step 37: Read OccupiedSetback attribute from the DUT" PICS: TSTAT.S.F04 command: "readAttribute" attribute: "OccupiedSetback" @@ -590,7 +586,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 38: TH reads the OccupiedSetbackMin attribute from the DUT" + - label: "Step 38: Read OccupiedSetbackMin attribute from the DUT" PICS: TSTAT.S.F04 command: "readAttribute" attribute: "OccupiedSetbackMin" @@ -600,7 +596,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 39: TH reads the OccupiedSetbackMax attribute from the DUT" + - label: "Step 39: Read OccupiedSetbackMax attribute from the DUT" PICS: TSTAT.S.F04 command: "readAttribute" attribute: "OccupiedSetbackMax" @@ -610,7 +606,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 40: TH reads the UnoccupiedSetback attribute from the DUT" + - label: "Step 40: Read UnoccupiedSetback attribute from the DUT" PICS: TSTAT.S.F02 && TSTAT.S.F04 command: "readAttribute" attribute: "UnoccupiedSetback" @@ -620,7 +616,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 41: TH reads the UnoccupiedSetbackMin attribute from the DUT" + - label: "Step 41: Read UnoccupiedSetbackMin attribute from the DUT" PICS: TSTAT.S.F02 && TSTAT.S.F04 command: "readAttribute" attribute: "UnoccupiedSetbackMin" @@ -630,7 +626,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 42: TH reads the UnoccupiedSetbackMax attribute from the DUT" + - label: "Step 42: Read UnoccupiedSetbackMax attribute from the DUT" PICS: TSTAT.S.F02 && TSTAT.S.F04 command: "readAttribute" attribute: "UnoccupiedSetbackMax" @@ -640,7 +636,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 43: TH reads the EmergencyHeatDelta attribute from the DUT" + - label: "Step 43: Read EmergencyHeatDelta attribute from the DUT" PICS: TSTAT.S.A003a command: "readAttribute" attribute: "EmergencyHeatDelta" @@ -650,7 +646,7 @@ tests: minValue: 0 maxValue: 255 - - label: "Step 44: TH reads the ACType attribute from the DUT" + - label: "Step 44: Read ACType attribute from the DUT" PICS: TSTAT.S.A0040 command: "readAttribute" attribute: "ACType" @@ -660,7 +656,7 @@ tests: minValue: 0 maxValue: 4 - - label: "Step 45: TH reads the ACCapacity attribute from the DUT" + - label: "Step 45: Read ACCapacity attribute from the DUT" PICS: TSTAT.S.A0041 command: "readAttribute" attribute: "ACCapacity" @@ -670,7 +666,7 @@ tests: minValue: 0 maxValue: 65535 - - label: "Step 46: TH reads the ACRefrigerantType attribute from the DUT" + - label: "Step 46: Read ACRefrigerantType attribute from the DUT" PICS: TSTAT.S.A0042 command: "readAttribute" attribute: "ACRefrigerantType" @@ -680,7 +676,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 47: TH reads the ACCompressorType attribute from the DUT" + - label: "Step 47: Read ACCompressorType attribute from the DUT" PICS: TSTAT.S.A0043 command: "readAttribute" attribute: "ACCompressorType" @@ -690,7 +686,7 @@ tests: minValue: 0 maxValue: 3 - - label: "Step 48: TH reads the ACErrorCode attribute from the DUT" + - label: "Step 48: Read ACErrorCode attribute from the DUT" PICS: TSTAT.S.A0044 command: "readAttribute" attribute: "ACErrorCode" @@ -698,7 +694,7 @@ tests: constraints: type: bitmap32 - - label: "Step 49: TH reads the ACLouverPosition attribute from the DUT" + - label: "Step 49: Read ACLouverPosition attribute from the DUT" PICS: TSTAT.S.A0045 command: "readAttribute" attribute: "ACLouverPosition" @@ -708,7 +704,7 @@ tests: minValue: 1 maxValue: 5 - - label: "Step 50: TH reads the ACCoilTemperature attribute from the DUT" + - label: "Step 50: Read ACCoilTemperature attribute from the DUT" PICS: TSTAT.S.A0046 command: "readAttribute" attribute: "ACCoilTemperature" @@ -718,7 +714,7 @@ tests: minValue: -27315 maxValue: 32767 - - label: "Step 51: TH reads the ACCapacityFormat attribute from the DUT" + - label: "Step 51: Read ACCapacityFormat attribute from the DUT" PICS: TSTAT.S.A0047 command: "readAttribute" attribute: "ACCapacityformat" diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 1323cbbaf5d0dd..50aff04b195f72 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -334,7 +334,6 @@ DISHM.S.C01.Tx=1 #Manual controllable DISHM.S.M.CAN_TEST_MODE_FAILURE=1 -DISHM.S.M.CAN_MANUALLY_CONTROLLED=0 #PIXIT PIXIT.DISHM.MODE_CHANGE_FAIL=1 @@ -750,10 +749,8 @@ PIXIT.LWM.MODE_CHANGE_FAIL=1 PIXIT.LWM.MODE_CHANGE_OK=1 LWM.S.M.CAN_TEST_MODE_FAILURE=1 -LWM.S.M.CAN_MANUALLY_CONTROLLED=1 # Time Format Localization Cluster -LTIME.S.F00=1 LTIME.S=1 LTIME.S.A0000=1 LTIME.S.A0001=1 @@ -1018,9 +1015,9 @@ PS.S.F00=0 PS.S.F01=1 PS.S.F02=0 PS.S.F03=0 -PS.S.M.ManualWiredFault=1 -PS.S.M.ManualBatFault=1 -PS.S.M.ManualBatChargeFault=1 +PS.M.ManualWiredFault=1 +PS.M.ManualBatFault=1 +PS.M.ManualBatChargeFault=1 PS.C=0 PS.C.AM-READ=0 @@ -1204,19 +1201,6 @@ ACT.C.C09.Tx=0 ACT.C.C0a.Tx=0 ACT.C.C0b.Tx=0 -ACT.S.C00.Rsp=0 -ACT.S.C01.Rsp=0 -ACT.S.C02.Rsp=0 -ACT.S.C03.Rsp=0 -ACT.S.C04.Rsp=0 -ACT.S.C05.Rsp=0 -ACT.S.C06.Rsp=0 -ACT.S.C07.Rsp=0 -ACT.S.C08.Rsp=0 -ACT.S.C09.Rsp=0 -ACT.S.C0a.Rsp=0 -ACT.S.C0b.Rsp=0 - # Boolean State Cluster BOOL.S=1 BOOL.S.A0000=1 @@ -2150,7 +2134,7 @@ HEPAFREMON.S.C00.Rsp=1 ACFREMON.S=1 ACFREMON.C=0 ACFREMON.S.F00=1 -ACFREMON.S.F01=0 +ACFREMON.S.F01=1 ACFREMON.S.F02=1 ACFREMON.S.A0000=1 ACFREMON.S.A0001=1 diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 29eeeb1d5dac7c..fa021b03a76e86 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -2521,32 +2521,32 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: TH1 commissions DUT using admin node ID N1\n"); - err = TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster SubjectsPerAccessControlEntry attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT\n"); if (ShouldSkip("ACL.S.A0002")) { NextTest(); return; } - err = TestStep2Th1ReadsDutEndpoint0AccessControlClusterSubjectsPerAccessControlEntryAttribute_1(); + err = TestStep2ThReadsSubjectsPerAccessControlEntryAttributeFromDut_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster TargetsPerAccessControlEntry attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT\n"); if (ShouldSkip("ACL.S.A0003")) { NextTest(); return; } - err = TestStep3Th1ReadsDutEndpoint0AccessControlClusterTargetsPerAccessControlEntryAttribute_2(); + err = TestStep3ThReadsTargetsPerAccessControlEntryAttributeFromDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntriesPerFabric attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT\n"); if (ShouldSkip("ACL.S.A0004")) { NextTest(); return; } - err = TestStep4Th1ReadsDutEndpoint0AccessControlClusterAccessControlEntriesPerFabricAttribute_3(); + err = TestStep4ThReadsAccessControlEntriesPerFabricAttributeFromDut_3(); break; } @@ -2588,7 +2588,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0() + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -2596,7 +2596,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2Th1ReadsDutEndpoint0AccessControlClusterSubjectsPerAccessControlEntryAttribute_1() + CHIP_ERROR TestStep2ThReadsSubjectsPerAccessControlEntryAttributeFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -2605,9 +2605,9 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { [cluster readAttributeSubjectsPerAccessControlEntryWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster SubjectsPerAccessControlEntry attribute: Error: %@", err); + NSLog(@"Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 2: TH1 reads DUT Endpoint 0 AccessControl cluster SubjectsPerAccessControlEntry attribute: Success"); + NSLog(@"Step 2: TH reads SubjectsPerAccessControlEntry attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -2622,7 +2622,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3Th1ReadsDutEndpoint0AccessControlClusterTargetsPerAccessControlEntryAttribute_2() + CHIP_ERROR TestStep3ThReadsTargetsPerAccessControlEntryAttributeFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -2631,9 +2631,9 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { [cluster readAttributeTargetsPerAccessControlEntryWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster TargetsPerAccessControlEntry attribute: Error: %@", err); + NSLog(@"Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 3: TH1 reads DUT Endpoint 0 AccessControl cluster TargetsPerAccessControlEntry attribute: Success"); + NSLog(@"Step 3: TH reads TargetsPerAccessControlEntry attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -2648,7 +2648,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4Th1ReadsDutEndpoint0AccessControlClusterAccessControlEntriesPerFabricAttribute_3() + CHIP_ERROR TestStep4ThReadsAccessControlEntriesPerFabricAttributeFromDut_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -2657,15 +2657,15 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { [cluster readAttributeAccessControlEntriesPerFabricWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntriesPerFabric attribute: Error: %@", err); + NSLog(@"Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT: Error: %@", err); } else { - NSLog(@"Step 4: TH1 reads DUT Endpoint 0 AccessControl cluster AccessControlEntriesPerFabric attribute: Success"); + NSLog(@"Step 4: TH reads AccessControlEntriesPerFabric attribute from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("accessControlEntriesPerFabric", "int16u", "int16u")); - VerifyOrReturn(CheckConstraintMinValue("accessControlEntriesPerFabric", [value unsignedShortValue], 4U)); + VerifyOrReturn(CheckConstraintMinValue("accessControlEntriesPerFabric", [value unsignedShortValue], 3U)); VerifyOrReturn(CheckConstraintMaxValue("accessControlEntriesPerFabric", [value unsignedShortValue], 65535U)); NextTest(); @@ -2726,8 +2726,8 @@ class Test_TC_ACL_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: TH1 commissions DUT using admin node ID N1\n"); - err = TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH1 reads DUT Endpoint 0 OperationalCredentials cluster CurrentFabricIndex attribute\n"); @@ -2975,7 +2975,7 @@ class Test_TC_ACL_2_3 : public TestCommandBridge { chip::Optional mDBadNone; chip::Optional mTimeout; - CHIP_ERROR TestStep1Th1CommissionsDutUsingAdminNodeIdN1_0() + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -7029,52 +7029,36 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { err = TestStep4oThReadsOptionalAttributeUniqueIDInAttributeList_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4p: TH reads optional attribute(ProductAppearance) in AttributeList\n"); - if (ShouldSkip("BRBINFO.S.A0014")) { - NextTest(); - return; - } - err = TestStep4pThReadsOptionalAttributeProductAppearanceInAttributeList_19(); - break; - case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 5a: TH reads from the DUT the EventList attribute\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { - NextTest(); - return; - } - NextTest(); - return; - case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 5b: TH reads optional event(StartUp) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 5a: TH reads optional event(StartUp) in EventList\n"); if (ShouldSkip("BRBINFO.S.E00 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 5c: TH reads optional attribute(ShutDown) in EventList\n"); + case 20: + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 5b: TH reads optional attribute(ShutDown) in EventList\n"); if (ShouldSkip("BRBINFO.S.E01 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 5d TH reads optional attribute(Leave) in EventList\n"); + case 21: + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 5c: TH reads optional attribute(Leave) in EventList\n"); if (ShouldSkip("BRBINFO.S.E02 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 6: TH reads AcceptedCommandList from DUT\n"); - err = TestStep6ThReadsAcceptedCommandListFromDut_24(); + case 22: + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 6: TH reads AcceptedCommandList from DUT\n"); + err = TestStep6ThReadsAcceptedCommandListFromDut_22(); break; - case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 7: TH1 reads GeneratedCommandList from DUT\n"); - err = TestStep7Th1ReadsGeneratedCommandListFromDut_25(); + case 23: + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 7: TH1 reads GeneratedCommandList from DUT\n"); + err = TestStep7Th1ReadsGeneratedCommandListFromDut_23(); break; } @@ -7159,12 +7143,6 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 24: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 25: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; } // Go on to the next test. @@ -7175,7 +7153,7 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 26; + const uint16_t mTestCount = 24; chip::Optional mNodeId; chip::Optional mCluster; @@ -7657,32 +7635,7 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4pThReadsOptionalAttributeProductAppearanceInAttributeList_19() - { - - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterBridgedDeviceBasicInformation alloc] initWithDevice:device endpointID:@(3) queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { - if (err != nil) { - NSLog(@"Step 4p: TH reads optional attribute(ProductAppearance) in AttributeList: Error: %@", err); - } else { - NSLog(@"Step 4p: TH reads optional attribute(ProductAppearance) in AttributeList: Success"); - } - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 20UL)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_24() + CHIP_ERROR TestStep6ThReadsAcceptedCommandListFromDut_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -7710,7 +7663,7 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7Th1ReadsGeneratedCommandListFromDut_25() + CHIP_ERROR TestStep7Th1ReadsGeneratedCommandListFromDut_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45338,60 +45291,52 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { err = TestStep4iThReadsOptionalAttributeUniqueIDInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4j: TH reads optional attribute(ProductAppearance) in attributeList\n"); - if (ShouldSkip("BINFO.S.A0014")) { - NextTest(); - return; - } - err = TestStep4jThReadsOptionalAttributeProductAppearanceInAttributeList_13(); - break; - case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5a: TH reads EventList from DUT\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5a: TH reads EventList from DUT\n"); if (ShouldSkip(" !BINFO.S.E00 && !BINFO.S.E01 && !BINFO.S.E02 && !BINFO.S.A0011 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5b: TH reads BINFO.S.E00(StartUp) event in EventList\n"); + case 14: + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5b: Read BINFO.S.E00(StartUp) event in EventList\n"); if (ShouldSkip("BINFO.S.E00 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5c: TH reads BINFO.S.E01(ShutDown) event in EventList\n"); + case 15: + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5c: Read BINFO.S.E01(ShutDown) event in EventList\n"); if (ShouldSkip("BINFO.S.E01 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 5d: TH reads BINFO.S.E02(Leave) event in EventList\n"); + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5d: Read BINFO.S.E02(Leave) event in EventList\n"); if (ShouldSkip("BINFO.S.E02 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 5e: TH reads (ReachableChanged) event in EventList\n"); + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 5e: Read (ReachableChanged) event in EventList\n"); if (ShouldSkip("BINFO.S.A0011 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); - err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_19(); + case 18: + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6: TH reads from the DUT the AcceptedCommandList attribute.\n"); + err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_18(); break; - case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); - err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_20(); + case 19: + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); + err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19(); break; } @@ -45464,9 +45409,6 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 20: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; } // Go on to the next test. @@ -45477,7 +45419,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 21; + const uint16_t mTestCount = 20; chip::Optional mNodeId; chip::Optional mCluster; @@ -45831,32 +45773,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jThReadsOptionalAttributeProductAppearanceInAttributeList_13() - { - - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterBasicInformation alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { - if (err != nil) { - NSLog(@"Step 4j: TH reads optional attribute(ProductAppearance) in attributeList: Error: %@", err); - } else { - NSLog(@"Step 4j: TH reads optional attribute(ProductAppearance) in attributeList: Success"); - } - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 20UL)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_19() + CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45879,7 +45796,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_20() + CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -45953,152 +45870,136 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute\n"); - err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); + err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); if (ShouldSkip(" !CNET.S.F00 && !CNET.S.F01 && !CNET.S.F02 ")) { NextTest(); return; } - err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); + err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is set\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set\n"); if (ShouldSkip("CNET.S.F00")) { NextTest(); return; } - err = TestStep3bThReadsTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3(); + err = TestStep3bReadTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is set\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set\n"); if (ShouldSkip("CNET.S.F01")) { NextTest(); return; } - err = TestStep3cThReadsTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4(); + err = TestStep3cReadTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is set\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set\n"); if (ShouldSkip("CNET.S.F02")) { NextTest(); return; } - err = TestStep3dThReadsTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5(); + err = TestStep3dReadTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: TH reads from the DUT the AttributeList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4a: Read the global attribute: AttributeList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_6(); + err = TestStep4aReadTheGlobalAttributeAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4b: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4a: Read the global attribute: AttributeList\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4bThReadsFromTheDutTheAttributeListAttribute_7(); + err = TestStep4aReadTheGlobalAttributeAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true\n"); if (ShouldSkip("CNET.S.F00 || CNET.S.F01 || CNET.S.F02")) { NextTest(); return; } - err = TestStep4cThReadsMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8(); + err = TestStep4bReadMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4d: TH reads the feature dependent attribute(ScanMaxTimeSeconds): AttributeList\n"); - if (ShouldSkip("CNET.S.F00 || CNET.S.F01")) { + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4c: Read the optional attribute(ScanMaxTimeSeconds): AttributeList\n"); + if (ShouldSkip("CNET.S.A0002")) { NextTest(); return; } - err = TestStep4dThReadsTheFeatureDependentAttributeScanMaxTimeSecondsAttributeList_9(); + err = TestStep4cReadTheOptionalAttributeScanMaxTimeSecondsAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4e: TH reads the feature dependent attribute(ConnectMaxTimeSeconds) in AttributeList\n"); - if (ShouldSkip("CNET.S.F00 || CNET.S.F01")) { + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList\n"); + if (ShouldSkip("CNET.S.A0003")) { NextTest(); return; } - err = TestStep4eThReadsTheFeatureDependentAttributeConnectMaxTimeSecondsInAttributeList_10(); + err = TestStep4dReadingOptionalAttributeConnectMaxTimeSecondsInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in AttributeList\n"); - if (ShouldSkip("CNET.S.F00")) { - NextTest(); - return; - } - err = TestStep4fThReadsWifiRelatedAttributeSupportedWiFiBandsInAttributeList_11(); - break; - case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4g: TH reads Thread related attribute (SupportedWiFiBands and ThreadVersion) in AttributeList\n"); - if (ShouldSkip("CNET.S.F01")) { - NextTest(); - return; - } - err = TestStep4gThReadsThreadRelatedAttributeSupportedWiFiBandsAndThreadVersionInAttributeList_12(); - break; - case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5: TH reads from the DUT the EventList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5: Read the global attribute: EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } NextTest(); return; - case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH)\n"); + case 12: + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH)\n"); if (ShouldSkip("( CNET.S.F00 || CNET.S.F01 )")) { NextTest(); return; } - err = TestStep6aThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_14(); + err = TestStep6aReadAcceptedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_12(); break; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true)\n"); + case 13: + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true)\n"); if (ShouldSkip("CNET.S.F00")) { NextTest(); return; } - err = TestStep6bThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_15(); + err = TestStep6bReadAcceptedCommandListIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_13(); break; - case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT supports Thread related features(CNET.S.F01(TH) is true)\n"); + case 14: + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6c: Read AcceptedCommandList If DUT supports Thread related features(CNET.S.F01(TH) is true)\n"); if (ShouldSkip("CNET.S.F01")) { NextTest(); return; } - err = TestStep6cThReadsAcceptedCommandListAttributeFromDutIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_16(); + err = TestStep6cReadAcceptedCommandListIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_14(); break; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(TH) is true)\n"); + case 15: + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6d: Read AcceptedCommandList If DUT supports Ethernet related features(CNET.S.F02(TH) is true)\n"); if (ShouldSkip("CNET.S.F02")) { NextTest(); return; } - err = TestStep6dThReadsAcceptedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_17(); + err = TestStep6dReadAcceptedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_15(); break; - case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true)\n"); + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true)\n"); if (ShouldSkip("( CNET.S.F00 || CNET.S.F01 )")) { NextTest(); return; } - err = TestStep7aThReadsTheGeneratedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_18(); + err = TestStep7aReadTheGeneratedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_16(); break; - case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(ET) must be true)\n"); + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 7b: Read the GeneratedCommandList If DUT supports Ethernet related features(CNET.S.F02(ET) must be true)\n"); if (ShouldSkip("CNET.S.F02")) { NextTest(); return; } - err = TestStep7bReadTheGeneratedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_19(); + err = TestStep7bReadTheGeneratedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_17(); break; } @@ -46165,12 +46066,6 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { case 17: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 18: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 19: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; } // Go on to the next test. @@ -46181,7 +46076,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 20; + const uint16_t mTestCount = 18; chip::Optional mNodeId; chip::Optional mCluster; @@ -46196,7 +46091,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() + CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46205,9 +46100,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Error: %@", err); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); } else { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute: Success"); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46224,7 +46119,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() + CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46233,9 +46128,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute: Error: %@", err); + NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute: Success"); + NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46251,7 +46146,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bThReadsTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3() + CHIP_ERROR TestStep3bReadTheGlobalAttributeFeatureMapWhenCnetsf00IsSet_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46260,9 +46155,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is set: Error: %@", err); + NSLog(@"Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set: Error: %@", err); } else { - NSLog(@"Step 3b: TH reads the global attribute: FeatureMap when CNET.S.F00 is set: Success"); + NSLog(@"Step 3b: Read the global attribute: FeatureMap when CNET.S.F00 is set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46278,7 +46173,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cThReadsTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4() + CHIP_ERROR TestStep3cReadTheGlobalAttributeFeatureMapWhenCnetsf01IsSet_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46287,9 +46182,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is set: Error: %@", err); + NSLog(@"Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set: Error: %@", err); } else { - NSLog(@"Step 3c: TH reads the global attribute: FeatureMap when CNET.S.F01 is set: Success"); + NSLog(@"Step 3c: Read the global attribute: FeatureMap when CNET.S.F01 is set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46305,7 +46200,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dThReadsTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5() + CHIP_ERROR TestStep3dReadTheGlobalAttributeFeatureMapWhenCnetsf02IsSet_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46314,9 +46209,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is set: Error: %@", err); + NSLog(@"Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set: Error: %@", err); } else { - NSLog(@"Step 3d: TH reads the global attribute: FeatureMap when CNET.S.F02 is set: Success"); + NSLog(@"Step 3d: Read the global attribute: FeatureMap when CNET.S.F02 is set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46332,7 +46227,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_6() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46341,9 +46236,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute: Success"); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46362,7 +46257,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThReadsFromTheDutTheAttributeListAttribute_7() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46371,9 +46266,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46391,7 +46286,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cThReadsMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8() + CHIP_ERROR TestStep4bReadMandatoryAttributesInAttributeListIfCnetsf00wiCnetsf01thCnetsf02etIsTrue_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46400,9 +46295,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Error: %@", err); + NSLog(@"Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Success"); + NSLog(@"Step 4b: Read mandatory attributes in AttributeList if CNET.S.F00(WI)/CNET.S.F01(TH)/CNET.S.F02(ET) is true: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46421,7 +46316,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dThReadsTheFeatureDependentAttributeScanMaxTimeSecondsAttributeList_9() + CHIP_ERROR TestStep4cReadTheOptionalAttributeScanMaxTimeSecondsAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46430,9 +46325,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads the feature dependent attribute(ScanMaxTimeSeconds): AttributeList: Error: %@", err); + NSLog(@"Step 4c: Read the optional attribute(ScanMaxTimeSeconds): AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads the feature dependent attribute(ScanMaxTimeSeconds): AttributeList: Success"); + NSLog(@"Step 4c: Read the optional attribute(ScanMaxTimeSeconds): AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46446,7 +46341,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eThReadsTheFeatureDependentAttributeConnectMaxTimeSecondsInAttributeList_10() + CHIP_ERROR TestStep4dReadingOptionalAttributeConnectMaxTimeSecondsInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46455,9 +46350,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads the feature dependent attribute(ConnectMaxTimeSeconds) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads the feature dependent attribute(ConnectMaxTimeSeconds) in AttributeList: Success"); + NSLog(@"Step 4d: Reading optional attribute(ConnectMaxTimeSeconds) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46471,58 +46366,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fThReadsWifiRelatedAttributeSupportedWiFiBandsInAttributeList_11() - { - - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { - if (err != nil) { - NSLog(@"Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in AttributeList: Error: %@", err); - } else { - NSLog(@"Step 4f: TH reads WIFI related attribute (SupportedWiFiBands) in AttributeList: Success"); - } - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 8UL)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestStep4gThReadsThreadRelatedAttributeSupportedWiFiBandsAndThreadVersionInAttributeList_12() - { - - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { - if (err != nil) { - NSLog(@"Step 4g: TH reads Thread related attribute (SupportedWiFiBands and ThreadVersion) in AttributeList: Error: %@", err); - } else { - NSLog(@"Step 4g: TH reads Thread related attribute (SupportedWiFiBands and ThreadVersion) in AttributeList: Success"); - } - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 9UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 10UL)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestStep6aThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_14() + CHIP_ERROR TestStep6aReadAcceptedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCnetsf00wicnetsf01th_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46531,9 +46375,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Error: %@", err); + NSLog(@"Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Error: %@", err); } else { - NSLog(@"Step 6a: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Success"); + NSLog(@"Step 6a: Read AcceptedCommandList If DUT supports Wi-Fi/Thread related features CNET.S.F00(WI),CNET.S.F01(TH): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46550,7 +46394,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bThReadsAcceptedCommandListAttributeFromDutIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_15() + CHIP_ERROR TestStep6bReadAcceptedCommandListIfDutSupportsWiFiRelatedFeaturesCnetsf00wiIsTrue_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46559,9 +46403,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Error: %@", err); + NSLog(@"Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Error: %@", err); } else { - NSLog(@"Step 6b: TH reads AcceptedCommandList attribute from DUT. If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Success"); + NSLog(@"Step 6b: Read AcceptedCommandList If DUT supports Wi-Fi related features (CNET.S.F00(WI) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46575,7 +46419,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cThReadsAcceptedCommandListAttributeFromDutIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_16() + CHIP_ERROR TestStep6cReadAcceptedCommandListIfDutSupportsThreadRelatedFeaturesCNETSF01THIsTrue_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46584,9 +46428,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT supports Thread related features(CNET.S.F01(TH) is true): Error: %@", err); + NSLog(@"Step 6c: Read AcceptedCommandList If DUT supports Thread related features(CNET.S.F01(TH) is true): Error: %@", err); } else { - NSLog(@"Step 6c: TH reads AcceptedCommandList attribute from DUT. If DUT supports Thread related features(CNET.S.F01(TH) is true): Success"); + NSLog(@"Step 6c: Read AcceptedCommandList If DUT supports Thread related features(CNET.S.F01(TH) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46600,7 +46444,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6dThReadsAcceptedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_17() + CHIP_ERROR TestStep6dReadAcceptedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02THIsTrue_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46609,9 +46453,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Error: %@", err); + NSLog(@"Step 6d: Read AcceptedCommandList If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Error: %@", err); } else { - NSLog(@"Step 6d: TH reads AcceptedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Success"); + NSLog(@"Step 6d: Read AcceptedCommandList If DUT supports Ethernet related features(CNET.S.F02(TH) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46627,7 +46471,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7aThReadsTheGeneratedCommandListAttributeFromDutIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_18() + CHIP_ERROR TestStep7aReadTheGeneratedCommandListIfDutSupportsWiFiThreadRelatedFeaturesCNETSF00WIOrCnetsf01thIsTrue_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46636,9 +46480,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Error: %@", err); + NSLog(@"Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Error: %@", err); } else { - NSLog(@"Step 7a: TH reads the GeneratedCommandList attribute from DUT. If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Success"); + NSLog(@"Step 7a: Read the GeneratedCommandList If DUT supports Wi-Fi/Thread related features(CNET.S.F00(WI) or CNET.S.F01(TH) is true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -46654,7 +46498,7 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7bReadTheGeneratedCommandListAttributeFromDutIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_19() + CHIP_ERROR TestStep7bReadTheGeneratedCommandListIfDutSupportsEthernetRelatedFeaturesCNETSF02ETMustBeTrue_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -46663,9 +46507,9 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Error: %@", err); + NSLog(@"Step 7b: Read the GeneratedCommandList If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Error: %@", err); } else { - NSLog(@"Step 7b: Read the GeneratedCommandList attribute from DUT. If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Success"); + NSLog(@"Step 7b: Read the GeneratedCommandList If DUT supports Ethernet related features(CNET.S.F02(ET) must be true): Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53419,79 +53263,75 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); - err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); + err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the FeatureMap attribute.\n"); - err = TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read the global attribute: FeatureMap\n"); + err = TestStep3ReadTheGlobalAttributeFeatureMap_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_3(); + err = TestStep4aReadTheGlobalAttributeAttributeList_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_4(); + err = TestStep4aReadTheGlobalAttributeAttributeList_4(); break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Validate presence of mandatory attribute(UpTime) in AttributeList\n"); - if (ShouldSkip("DGGEN.S.A0002")) { - NextTest(); - return; - } err = TestStep4bValidatePresenceOfMandatoryAttributeUpTimeInAttributeList_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0003")) { NextTest(); return; } - err = TestStep4cThReadsOptionalAttributeTotalOperationalHoursInAttributeList_6(); + err = TestStep4cReadOptionalAttributeTotalOperationalHoursInAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4d: TH reads optional attribute(BootReason) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4d: Read optional attribute(BootReason) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0004")) { NextTest(); return; } - err = TestStep4dThReadsOptionalAttributeBootReasonInAttributeList_7(); + err = TestStep4dReadOptionalAttributeBootReasonInAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0005")) { NextTest(); return; } - err = TestStep4eThReadsOptionalAttributeActiveHardwareFaultsInAttributeList_8(); + err = TestStep4eReadOptionalAttributeActiveHardwareFaultsInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4f: TH reads optional attribute(ActiveRadioFaults) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0006")) { NextTest(); return; } - err = TestStep4fThReadsOptionalAttributeActiveRadioFaultsInAttributeList_9(); + err = TestStep4fReadOptionalAttributeActiveRadioFaultsInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList\n"); if (ShouldSkip("DGGEN.S.A0007")) { NextTest(); return; } - err = TestStep4gThReadsOptionalAttributeActiveNetworkFaultsInAttributeList_10(); + err = TestStep4gReadOptionalAttributeActiveNetworkFaultsInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5a: TH reads from the DUT the EventList attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 5a: Read the global attribute: EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53499,7 +53339,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5b: TH reads optional event(HardwareFaultChange) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 5b: Read optional event(HardwareFaultChange) in EventList\n"); if (ShouldSkip("DGGEN.S.E00 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53507,7 +53347,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5c: TH reads optional event(RadioFaultChange) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5c: Read optional event(RadioFaultChange) in EventList\n"); if (ShouldSkip("DGGEN.S.E01 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53515,7 +53355,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5d: TH reads optional event(NetworkFaultChange) in EventList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5d: Read optional event(NetworkFaultChange) in EventList\n"); if (ShouldSkip("DGGEN.S.E02 && PICS_EVENT_LIST_ENABLED")) { NextTest(); return; @@ -53523,12 +53363,12 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { NextTest(); return; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6: TH reads from the DUT the AcceptedCommandList attribute\n"); - err = TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_15(); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 6: Read the global attribute: AcceptedCommandList\n"); + err = TestStep6ReadTheGlobalAttributeAcceptedCommandList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7: TH reads from the DUT the GeneratedCommandList attribute\n"); - err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_16(); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7: TH reads GeneratedCommandList from DUT\n"); + err = TestStep7ThReadsGeneratedCommandListFromDut_16(); break; } @@ -53617,7 +53457,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() + CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53626,9 +53466,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); } else { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53645,7 +53485,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3ThReadsFromTheDutTheFeatureMapAttribute_2() + CHIP_ERROR TestStep3ReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53654,9 +53494,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); + NSLog(@"Step 3: Read the global attribute: FeatureMap: Error: %@", err); } else { - NSLog(@"Step 3: TH reads from the DUT the FeatureMap attribute.: Success"); + NSLog(@"Step 3: Read the global attribute: FeatureMap: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53673,7 +53513,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_3() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53682,9 +53522,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53706,7 +53546,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_4() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53715,9 +53555,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53763,7 +53603,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cThReadsOptionalAttributeTotalOperationalHoursInAttributeList_6() + CHIP_ERROR TestStep4cReadOptionalAttributeTotalOperationalHoursInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53772,9 +53612,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList: Error: %@", err); + NSLog(@"Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads optional attribute(TotalOperationalHours) in AttributeList: Success"); + NSLog(@"Step 4c: Read optional attribute(TotalOperationalHours) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53788,7 +53628,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dThReadsOptionalAttributeBootReasonInAttributeList_7() + CHIP_ERROR TestStep4dReadOptionalAttributeBootReasonInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53797,9 +53637,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads optional attribute(BootReason) in AttributeList: Error: %@", err); + NSLog(@"Step 4d: Read optional attribute(BootReason) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads optional attribute(BootReason) in AttributeList: Success"); + NSLog(@"Step 4d: Read optional attribute(BootReason) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53813,7 +53653,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eThReadsOptionalAttributeActiveHardwareFaultsInAttributeList_8() + CHIP_ERROR TestStep4eReadOptionalAttributeActiveHardwareFaultsInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53822,9 +53662,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList: Error: %@", err); + NSLog(@"Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads optional attribute(ActiveHardwareFaults) in AttributeList: Success"); + NSLog(@"Step 4e: Read optional attribute(ActiveHardwareFaults) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53838,7 +53678,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fThReadsOptionalAttributeActiveRadioFaultsInAttributeList_9() + CHIP_ERROR TestStep4fReadOptionalAttributeActiveRadioFaultsInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53847,9 +53687,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: TH reads optional attribute(ActiveRadioFaults) in AttributeList: Error: %@", err); + NSLog(@"Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: TH reads optional attribute(ActiveRadioFaults) in AttributeList: Success"); + NSLog(@"Step 4f: Read optional attribute(ActiveRadioFaults) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53863,7 +53703,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gThReadsOptionalAttributeActiveNetworkFaultsInAttributeList_10() + CHIP_ERROR TestStep4gReadOptionalAttributeActiveNetworkFaultsInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53872,9 +53712,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList: Error: %@", err); + NSLog(@"Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: TH reads optional attribute(ActiveNetworkFaults) in AttributeList: Success"); + NSLog(@"Step 4g: Read optional attribute(ActiveNetworkFaults) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53888,7 +53728,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsFromTheDutTheAcceptedCommandListAttribute_15() + CHIP_ERROR TestStep6ReadTheGlobalAttributeAcceptedCommandList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53897,9 +53737,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute: Error: %@", err); + NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6: TH reads from the DUT the AcceptedCommandList attribute: Success"); + NSLog(@"Step 6: Read the global attribute: AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -53914,7 +53754,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_16() + CHIP_ERROR TestStep7ThReadsGeneratedCommandListFromDut_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -53923,9 +53763,9 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Error: %@", err); + NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Error: %@", err); } else { - NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute: Success"); + NSLog(@"Step 7: TH reads GeneratedCommandList from DUT: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57544,11 +57384,11 @@ class Test_TC_I_2_3 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); - err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x00 (default)\n"); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57564,7 +57404,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABlinkEffect_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57580,7 +57420,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABreatheEffect_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x02 (okay) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2c: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57596,12 +57436,12 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesAnOkayEffect_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2d:TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x0b (channel change) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 2d: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; } - err = TestStep2dTHSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7(); + err = TestStep2dThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : DUT executes a channel change effect\n"); @@ -57612,7 +57452,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesAChannelChangeEffect_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2e: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 2e: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57628,7 +57468,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABreatheEffect_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2f: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xfe (finish effect) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2f: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57644,7 +57484,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutStopsTheBreatheEffectAfterTheCurrentEffectSequence_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 2g: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 2g: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57660,7 +57500,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutExecutesABreatheEffect_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 2h: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 2h: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57676,7 +57516,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestDutStopsTheBreatheEffectAsSoonAsPossible_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 3a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x42 (unknown).\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 3a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57692,7 +57532,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { err = TestCheckDutExecutesABlinkEffect_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 3b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 3b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default\n"); if (ShouldSkip("I.S.C40.Rsp")) { NextTest(); return; @@ -57798,7 +57638,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -57821,9 +57661,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x00 (default): Error: %@", err); + NSLog(@"Step 2a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x00 (default): Success"); + NSLog(@"Step 2a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57859,9 +57699,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57897,9 +57737,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2c: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x02 (okay) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2c: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2c: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x02 (okay) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2c: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57920,7 +57760,7 @@ class Test_TC_I_2_3 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep2dTHSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7() + CHIP_ERROR TestStep2dThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -57935,9 +57775,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2d:TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x0b (channel change) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2d: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2d:TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x0b (channel change) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2d: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -57973,9 +57813,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2e: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2e: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2e: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2e: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58011,9 +57851,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2f: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xfe (finish effect) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2f: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2f: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xfe (finish effect) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2f: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58049,9 +57889,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2g: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2g: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2g: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x01 (breathe) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2g: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58087,9 +57927,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2h: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 2h: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 2h: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 2h: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58125,9 +57965,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x42 (unknown).: Error: %@", err); + NSLog(@"Step 3a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown: Error: %@", err); } else { - NSLog(@"Step 3a: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0x00 (blink) and the effect variant field set to 0x42 (unknown).: Success"); + NSLog(@"Step 3a: TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -58163,9 +58003,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { [cluster triggerEffectWithParams:params completion: ^(NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Error: %@", err); + NSLog(@"Step 3b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Error: %@", err); } else { - NSLog(@"Step 3b: TH sends TriggerEffect command to DUT, with the effect identifier field set to 0xff (stop effect) and the effect variant field set to 0x00 (default).: Success"); + NSLog(@"Step 3b: TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59221,149 +59061,149 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); - err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 0: Wait for the commissioned device to be retrieved\n"); + err = TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); - err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 1: Read the global attribute: ClusterRevision\n"); + err = TestStep1ReadTheGlobalAttributeClusterRevision_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2a: Read the global attribute: FeatureMap\n"); if (ShouldSkip(" !LVL.S.F00 && !LVL.S.F01 && !LVL.S.F02 ")) { NextTest(); return; } - err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); + err = TestStep2aReadTheGlobalAttributeFeatureMap_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set\n"); if (ShouldSkip("LVL.S.F00")) { NextTest(); return; } - err = TestStep3bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3(); + err = TestStep2bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set\n"); if (ShouldSkip("LVL.S.F01")) { NextTest(); return; } - err = TestStep3cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4(); + err = TestStep2cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set\n"); + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set\n"); if (ShouldSkip("LVL.S.F02")) { NextTest(); return; } - err = TestStep3dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5(); + err = TestStep2dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5(); break; case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 3a: Read the global attribute: AttributeList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_6(); + err = TestStep3aReadTheGlobalAttributeAttributeList_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 3a: Read the global attribute: AttributeList\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4ThReadsFromTheDutTheAttributeListAttribute_7(); + err = TestStep3aReadTheGlobalAttributeAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList\n"); if (ShouldSkip("LVL.S.F01")) { NextTest(); return; } - err = TestStep4aThReadsTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8(); + err = TestStep3bReadTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4b: TH reads the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList\n"); if (ShouldSkip("LVL.S.F02")) { NextTest(); return; } - err = TestStep4bThReadsTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9(); + err = TestStep3cReadTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4c: TH reads the optional attribute(MinLevel) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 3d: Read the optional attribute(MinLevel) in AttributeList\n"); if (ShouldSkip("LVL.S.A0002")) { NextTest(); return; } - err = TestStep4cThReadsTheOptionalAttributeMinLevelInAttributeList_10(); + err = TestStep3dReadTheOptionalAttributeMinLevelInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 3e: Read the optional attribute(MaxLevel) in AttributeList\n"); if (ShouldSkip("LVL.S.A0003")) { NextTest(); return; } - err = TestStep4dThReadsTheOptionalAttributeMaxLevelInAttributeList_11(); + err = TestStep3eReadTheOptionalAttributeMaxLevelInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList\n"); if (ShouldSkip("LVL.S.A0010")) { NextTest(); return; } - err = TestStep4eThReadsTheOptionalAttributeOnOffTransitionTimeInAttributeList_12(); + err = TestStep3fReadTheOptionalAttributeOnOffTransitionTimeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList\n"); if (ShouldSkip("LVL.S.A0012")) { NextTest(); return; } - err = TestStep4fThReadsTheOptionalAttributeOnTransitionTimeInAttributeList_13(); + err = TestStep3gReadTheOptionalAttributeOnTransitionTimeInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList\n"); if (ShouldSkip("LVL.S.A0013")) { NextTest(); return; } - err = TestStep4gThReadsTheOptionalAttributeOffTransitionTimeInAttributeList_14(); + err = TestStep3hReadTheOptionalAttributeOffTransitionTimeInAttributeList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList\n"); if (ShouldSkip("LVL.S.A0014")) { NextTest(); return; } - err = TestStep4hThReadsTheOptionalAttributeDefaultMoveRateInAttributeList_15(); + err = TestStep3iReadTheOptionalAttributeDefaultMoveRateInAttributeList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5: Read the global attribute: EventList\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4a: Read the global attribute: AcceptedCommandList\n"); + err = TestStep4aReadTheGlobalAttributeAcceptedCommandList_16(); + break; + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList\n"); + if (ShouldSkip("LVL.S.F02")) { NextTest(); return; } - NextTest(); - return; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); - err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_17(); + err = TestStep4a1ReadTheFeatureDependentLVLSF02CommandInAcceptedCommandList_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList\n"); - if (ShouldSkip("LVL.S.F02")) { + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4b: Read the global attribute: GeneratedCommandList\n"); + err = TestStep4bReadTheGlobalAttributeGeneratedCommandList_18(); + break; + case 19: + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 5: Read the global attribute: EventList\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep6a1ThReadsTheFeatureDependentLVLSF02CommandInAcceptedCommandList_18(); - break; - case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 7: TH reads from the DUT the GeneratedCommandList attribute.\n"); - err = TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19(); - break; + NextTest(); + return; } if (CHIP_NO_ERROR != err) { @@ -59452,7 +59292,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() + CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -59460,7 +59300,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() + CHIP_ERROR TestStep1ReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59469,9 +59309,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); + NSLog(@"Step 1: Read the global attribute: ClusterRevision: Error: %@", err); } else { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); + NSLog(@"Step 1: Read the global attribute: ClusterRevision: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59488,7 +59328,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() + CHIP_ERROR TestStep2aReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59497,9 +59337,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); + NSLog(@"Step 2a: Read the global attribute: FeatureMap: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); + NSLog(@"Step 2a: Read the global attribute: FeatureMap: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59516,7 +59356,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3() + CHIP_ERROR TestStep2bGivenLvlsf00ooEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59525,9 +59365,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"Step 3b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 2b: Given LVL.S.F00(OO) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59539,7 +59379,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4() + CHIP_ERROR TestStep2cGivenLvlsf01ltEnsureFeaturemapHasTheCorrectBitSet_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59548,9 +59388,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"Step 3c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 2c: Given LVL.S.F01(LT) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59562,7 +59402,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5() + CHIP_ERROR TestStep2dGivenLvlsf02fqEnsureFeaturemapHasTheCorrectBitSet_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59571,9 +59411,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Error: %@", err); + NSLog(@"Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Error: %@", err); } else { - NSLog(@"Step 3d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Success"); + NSLog(@"Step 2d: Given LVL.S.F02(FQ) ensure featuremap has the correct bit set: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59585,7 +59425,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_6() + CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59594,9 +59434,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59618,7 +59458,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4ThReadsFromTheDutTheAttributeListAttribute_7() + CHIP_ERROR TestStep3aReadTheGlobalAttributeAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59627,9 +59467,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 3a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 3a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59650,7 +59490,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8() + CHIP_ERROR TestStep3bReadTheOptionalAttributeStartUpCurrentLevelAndRemainingTimeInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59659,9 +59499,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Error: %@", err); + NSLog(@"Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Success"); + NSLog(@"Step 3b: Read the optional attribute(StartUpCurrentLevel and RemainingTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59676,7 +59516,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThReadsTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9() + CHIP_ERROR TestStep3cReadTheOptionalAttributeCurrentFrequencyMinFrequencyAndMinFrequencyInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59685,9 +59525,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Error: %@", err); + NSLog(@"Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Success"); + NSLog(@"Step 3c: Read the optional attribute(CurrentFrequency, MinFrequency and MinFrequency) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59703,7 +59543,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cThReadsTheOptionalAttributeMinLevelInAttributeList_10() + CHIP_ERROR TestStep3dReadTheOptionalAttributeMinLevelInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59712,9 +59552,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads the optional attribute(MinLevel) in AttributeList: Error: %@", err); + NSLog(@"Step 3d: Read the optional attribute(MinLevel) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads the optional attribute(MinLevel) in AttributeList: Success"); + NSLog(@"Step 3d: Read the optional attribute(MinLevel) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59728,7 +59568,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dThReadsTheOptionalAttributeMaxLevelInAttributeList_11() + CHIP_ERROR TestStep3eReadTheOptionalAttributeMaxLevelInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59737,9 +59577,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList: Error: %@", err); + NSLog(@"Step 3e: Read the optional attribute(MaxLevel) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads the optional attribute(MaxLevel) in AttributeList: Success"); + NSLog(@"Step 3e: Read the optional attribute(MaxLevel) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59753,7 +59593,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eThReadsTheOptionalAttributeOnOffTransitionTimeInAttributeList_12() + CHIP_ERROR TestStep3fReadTheOptionalAttributeOnOffTransitionTimeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59762,9 +59602,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList: Error: %@", err); + NSLog(@"Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads the optional attribute(OnOffTransitionTime) in AttributeList: Success"); + NSLog(@"Step 3f: Read the optional attribute(OnOffTransitionTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59778,7 +59618,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fThReadsTheOptionalAttributeOnTransitionTimeInAttributeList_13() + CHIP_ERROR TestStep3gReadTheOptionalAttributeOnTransitionTimeInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59787,9 +59627,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList: Error: %@", err); + NSLog(@"Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: TH reads the optional attribute(OnTransitionTime) in AttributeList: Success"); + NSLog(@"Step 3g: Read the optional attribute(OnTransitionTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59803,7 +59643,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gThReadsTheOptionalAttributeOffTransitionTimeInAttributeList_14() + CHIP_ERROR TestStep3hReadTheOptionalAttributeOffTransitionTimeInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59812,9 +59652,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList: Error: %@", err); + NSLog(@"Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: TH reads the optional attribute(OffTransitionTime) in AttributeList: Success"); + NSLog(@"Step 3h: Read the optional attribute(OffTransitionTime) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59828,7 +59668,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hThReadsTheOptionalAttributeDefaultMoveRateInAttributeList_15() + CHIP_ERROR TestStep3iReadTheOptionalAttributeDefaultMoveRateInAttributeList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59837,9 +59677,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList: Error: %@", err); + NSLog(@"Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: TH reads the optional attribute(DefaultMoveRate) in AttributeList: Success"); + NSLog(@"Step 3i: Read the optional attribute(DefaultMoveRate) in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59853,7 +59693,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_17() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAcceptedCommandList_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59862,9 +59702,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); + NSLog(@"Step 4a: Read the global attribute: AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59885,7 +59725,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6a1ThReadsTheFeatureDependentLVLSF02CommandInAcceptedCommandList_18() + CHIP_ERROR TestStep4a1ReadTheFeatureDependentLVLSF02CommandInAcceptedCommandList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59894,9 +59734,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6a.1: TH reads the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Success"); + NSLog(@"Step 4a.1: Read the Feature-dependent(LVL.S.F02) command in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -59910,7 +59750,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutTheGeneratedCommandListAttribute_19() + CHIP_ERROR TestStep4bReadTheGlobalAttributeGeneratedCommandList_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -59919,9 +59759,9 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); + NSLog(@"Step 4b: Read the global attribute: GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 7: TH reads from the DUT the GeneratedCommandList attribute.: Success"); + NSLog(@"Step 4b: Read the global attribute: GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -69028,7 +68868,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: Manually put the device in a state from which it will FAIL to transition to PIXIT.LWM.MODE_CHANGE_FAIL\n"); - if (ShouldSkip("LWM.S.M.CAN_TEST_MODE_FAILURE && LWM.S.M.CAN_MANUALLY_CONTROLLED && PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("LWM.S.M.CAN_TEST_MODE_FAILURE && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } @@ -69036,7 +68876,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the CurrentMode attribute.\n"); - if (ShouldSkip("LWM.S.A0001 && LWM.S.M.CAN_MANUALLY_CONTROLLED")) { + if (ShouldSkip("LWM.S.A0001")) { NextTest(); return; } @@ -69060,7 +68900,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 9: Manually put the device in a state from which it will SUCCESSFULLY transition to PIXIT.LWM.MODE_CHANGE_OK\n"); - if (ShouldSkip("LWM.S.M.CAN_MANUALLY_CONTROLLED && PICS_SKIP_SAMPLE_APP")) { + if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } @@ -69068,7 +68908,7 @@ class Test_TC_LWM_2_1 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : Step 10: TH reads from the DUT the CurrentMode attribute.\n"); - if (ShouldSkip("LWM.S.M.CAN_MANUALLY_CONTROLLED && LWM.S.A0001")) { + if (ShouldSkip("LWM.S.A0001")) { NextTest(); return; } @@ -89422,20 +89262,20 @@ class Test_TC_PS_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); - err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Test Harness Client reads ClusterRevision attribute.\n"); - err = TestStep2TestHarnessClientReadsClusterRevisionAttribute_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); + err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); if (ShouldSkip(" !PS.S.F00 && !PS.S.F01 && !PS.S.F02 && !PS.S.F03 ")) { NextTest(); return; } - err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); + err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given PS.S.F00(WIRED) ensure featuremap has the correct bit set\n"); @@ -89470,93 +89310,93 @@ class Test_TC_PS_1_1 : public TestCommandBridge { err = TestStep3dGivenPssf03replcEnsureFeaturemapHasTheCorrectBitSet_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: Test Harness Client reads AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 4: Read the global attribute: AttributeList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4TestHarnessClientReadsAttributeListAttribute_7(); + err = TestStep4ReadTheGlobalAttributeAttributeList_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Test Harness Client reads AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 4: Read the global attribute: AttributeList\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4TestHarnessClientReadsAttributeListAttribute_8(); + err = TestStep4ReadTheGlobalAttributeAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 9 : Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F00")) { NextTest(); return; } - err = TestStep4aThReadsTheFeatureDependentPSSF00WiredAttributeInAttributeList_9(); + err = TestStep4aReadTheFeatureDependentPSSF00WiredAttributeInAttributeList_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F01")) { NextTest(); return; } - err = TestStep4bThReadsTheFeatureDependentPSSF01BatAttributeInAttributeList_10(); + err = TestStep4bReadTheFeatureDependentPSSF01BatAttributeInAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F02")) { NextTest(); return; } - err = TestStep4cThReadsTheFeatureDependentPSSF02RechgAttributeInAttributeList_11(); + err = TestStep4cReadTheFeatureDependentPSSF02RechgAttributeInAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList\n"); if (ShouldSkip("PS.S.F03")) { NextTest(); return; } - err = TestStep4dThReadsTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12(); + err = TestStep4dReadTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5a: Test Harness Client reads EventList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 5: Read the global attribute: AcceptedCommandList\n"); + err = TestStep5ReadTheGlobalAttributeAcceptedCommandList_13(); + break; + case 14: + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 6: Read the global attribute: GeneratedCommandList\n"); + err = TestStep6ReadTheGlobalAttributeGeneratedCommandList_14(); + break; + case 15: + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 7a: Read the global attribute: EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && !PS.S.E00 && !PS.S.E01 && !PS.S.E02 ")) { NextTest(); return; } NextTest(); return; - case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 5b: TH reads PS.S.E00(WiredFaultChange) event in EventList\n"); + case 16: + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 7b: Read PS.S.E00(WiredFaultChange) event in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && PS.S.E00")) { NextTest(); return; } NextTest(); return; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 5c: TH reads PS.S.E01(BatFaultChange) event in EventList\n"); + case 17: + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 7c: Read PS.S.E01(BatFaultChange) event in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && PS.S.E01")) { NextTest(); return; } NextTest(); return; - case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 5d: TH reads PS.S.E02(BatChargeFaultChange) event in EventList\n"); + case 18: + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7d: Read PS.S.E02(BatChargeFaultChange) event in EventList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED && PS.S.E02")) { NextTest(); return; } NextTest(); return; - case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 6: Test Harness Client reads AcceptedCommandList attribute.\n"); - err = TestStep6TestHarnessClientReadsAcceptedCommandListAttribute_17(); - break; - case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 7: Test Harness Client reads GeneratedCommandList attribute.\n"); - err = TestStep7TestHarnessClientReadsGeneratedCommandListAttribute_18(); - break; } if (CHIP_NO_ERROR != err) { @@ -89642,7 +89482,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -89650,7 +89490,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2TestHarnessClientReadsClusterRevisionAttribute_1() + CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89659,9 +89499,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: Test Harness Client reads ClusterRevision attribute.: Error: %@", err); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); } else { - NSLog(@"Step 2: Test Harness Client reads ClusterRevision attribute.: Success"); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89678,7 +89518,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() + CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89687,9 +89527,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); + NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); + NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89798,7 +89638,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4TestHarnessClientReadsAttributeListAttribute_7() + CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89807,9 +89647,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Success"); + NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89832,7 +89672,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4TestHarnessClientReadsAttributeListAttribute_8() + CHIP_ERROR TestStep4ReadTheGlobalAttributeAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89841,9 +89681,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4: Test Harness Client reads AttributeList attribute.: Success"); + NSLog(@"Step 4: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89865,7 +89705,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheFeatureDependentPSSF00WiredAttributeInAttributeList_9() + CHIP_ERROR TestStep4aReadTheFeatureDependentPSSF00WiredAttributeInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89874,9 +89714,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Success"); + NSLog(@"Step 4a: Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89890,7 +89730,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThReadsTheFeatureDependentPSSF01BatAttributeInAttributeList_10() + CHIP_ERROR TestStep4bReadTheFeatureDependentPSSF01BatAttributeInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89899,9 +89739,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Success"); + NSLog(@"Step 4b: Read the Feature dependent(PS.S.F01-BAT) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89917,7 +89757,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cThReadsTheFeatureDependentPSSF02RechgAttributeInAttributeList_11() + CHIP_ERROR TestStep4cReadTheFeatureDependentPSSF02RechgAttributeInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89926,9 +89766,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Success"); + NSLog(@"Step 4c: Read the Feature dependent(PS.S.F02-RECHG) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89943,7 +89783,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dThReadsTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12() + CHIP_ERROR TestStep4dReadTheFeatureDependentPSSF03ReplcAttributeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89952,9 +89792,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Success"); + NSLog(@"Step 4d: Read the Feature dependent(PS.S.F03-REPLC) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89969,7 +89809,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6TestHarnessClientReadsAcceptedCommandListAttribute_17() + CHIP_ERROR TestStep5ReadTheGlobalAttributeAcceptedCommandList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -89978,9 +89818,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6: Test Harness Client reads AcceptedCommandList attribute.: Error: %@", err); + NSLog(@"Step 5: Read the global attribute: AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6: Test Harness Client reads AcceptedCommandList attribute.: Success"); + NSLog(@"Step 5: Read the global attribute: AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -89997,7 +89837,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7TestHarnessClientReadsGeneratedCommandListAttribute_18() + CHIP_ERROR TestStep6ReadTheGlobalAttributeGeneratedCommandList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -90006,9 +89846,9 @@ class Test_TC_PS_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7: Test Harness Client reads GeneratedCommandList attribute.: Error: %@", err); + NSLog(@"Step 6: Read the global attribute: GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 7: Test Harness Client reads GeneratedCommandList attribute.: Success"); + NSLog(@"Step 6: Read the global attribute: GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -103471,20 +103311,20 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); - err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the ClusterRevision attribute.\n"); - err = TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1(); + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read the global attribute: ClusterRevision\n"); + err = TestStep2ReadTheGlobalAttributeClusterRevision_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: TH reads from the DUT the FeatureMap attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3a: Read the global attribute: FeatureMap\n"); if (ShouldSkip("!TSTAT.S.F00 && !TSTAT.S.F01 && !TSTAT.S.F02 && !TSTAT.S.F03 && !TSTAT.S.F04 && !TSTAT.S.F05")) { NextTest(); return; } - err = TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2(); + err = TestStep3aReadTheGlobalAttributeFeatureMap_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3b: Given TSTAT.S.F00(HEAT ensure featuremap has the correct bit set\n"); @@ -103543,401 +103383,401 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { err = TestStep3hGivenTstatsf06ltneEnsureFeaturemapHasTheCorrectBitSet_9(); break; case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 10 : Step 4a: Read the global attribute: AttributeList\n"); if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_10(); + err = TestStep4aReadTheGlobalAttributeAttributeList_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4a: TH reads from the DUT the AttributeList attribute.\n"); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 4a: Read the global attribute: AttributeList\n"); if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep4aThReadsFromTheDutTheAttributeListAttribute_11(); + err = TestStep4aReadTheGlobalAttributeAttributeList_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00")) { NextTest(); return; } - err = TestStep4bThReadsTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12(); + err = TestStep4bReadTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01")) { NextTest(); return; } - err = TestStep4cThReadsTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13(); + err = TestStep4cReadTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13(); break; case 14: - ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4dThReadsTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14(); + err = TestStep4dReadTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14(); break; case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 15 : Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4eThReadsTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15(); + err = TestStep4eReadTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15(); break; case 16: - ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 16 : Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4fThReadsTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16(); + err = TestStep4fReadTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16(); break; case 17: - ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 17 : Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F05")) { NextTest(); return; } - err = TestStep4gThReadsTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17(); + err = TestStep4gReadTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17(); break; case 18: - ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 18 : Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F03")) { NextTest(); return; } - err = TestStep4hThReadsTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18(); + err = TestStep4hReadTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 19 : Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F04")) { NextTest(); return; } - err = TestStep4iThReadsTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19(); + err = TestStep4iReadTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 20 : Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F04 && TSTAT.S.F02")) { NextTest(); return; } - err = TestStep4jThReadsTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20(); + err = TestStep4jReadTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20(); break; case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4k: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 21 : Step 4k: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0001")) { NextTest(); return; } - err = TestStep4kThReadsTheOptionalAttributeInAttributeList_21(); + err = TestStep4kReadTheOptionalAttributeInAttributeList_21(); break; case 22: - ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4l: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 22 : Step 4l: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0009")) { NextTest(); return; } - err = TestStep4lThReadsTheOptionalAttributeInAttributeList_22(); + err = TestStep4lReadTheOptionalAttributeInAttributeList_22(); break; case 23: - ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4m: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 23 : Step 4m: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0010")) { NextTest(); return; } - err = TestStep4mThReadsTheOptionalAttributeInAttributeList_23(); + err = TestStep4mReadTheOptionalAttributeInAttributeList_23(); break; case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4n: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 24 : Step 4n: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A001a")) { NextTest(); return; } - err = TestStep4nThReadsTheOptionalAttributeInAttributeList_24(); + err = TestStep4nReadTheOptionalAttributeInAttributeList_24(); break; case 25: - ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4o: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 25 : Step 4o: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A001d")) { NextTest(); return; } - err = TestStep4oThReadsTheOptionalAttributeInAttributeList_25(); + err = TestStep4oReadTheOptionalAttributeInAttributeList_25(); break; case 26: - ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4p: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 26 : Step 4p: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0023")) { NextTest(); return; } - err = TestStep4pThReadsTheOptionalAttributeInAttributeList_26(); + err = TestStep4pReadTheOptionalAttributeInAttributeList_26(); break; case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Step 4q: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 27 : Step 4q: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0024")) { NextTest(); return; } - err = TestStep4qThReadsTheOptionalAttributeInAttributeList_27(); + err = TestStep4qReadTheOptionalAttributeInAttributeList_27(); break; case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Step 4r: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 28 : Step 4r: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0025")) { NextTest(); return; } - err = TestStep4rThReadsTheOptionalAttributeInAttributeList_28(); + err = TestStep4rReadTheOptionalAttributeInAttributeList_28(); break; case 29: - ChipLogProgress(chipTool, " ***** Test Step 29 : Step 4s: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 29 : Step 4s: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0029")) { NextTest(); return; } - err = TestStep4sThReadsTheOptionalAttributeInAttributeList_29(); + err = TestStep4sReadTheOptionalAttributeInAttributeList_29(); break; case 30: - ChipLogProgress(chipTool, " ***** Test Step 30 : Step 4t: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 30 : Step 4t: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0030")) { NextTest(); return; } - err = TestStep4tThReadsTheOptionalAttributeInAttributeList_30(); + err = TestStep4tReadTheOptionalAttributeInAttributeList_30(); break; case 31: - ChipLogProgress(chipTool, " ***** Test Step 31 : Step 4u: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 31 : Step 4u: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0031")) { NextTest(); return; } - err = TestStep4uThReadsTheOptionalAttributeInAttributeList_31(); + err = TestStep4uReadTheOptionalAttributeInAttributeList_31(); break; case 32: - ChipLogProgress(chipTool, " ***** Test Step 32 : Step 4x: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 32 : Step 4x: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0032")) { NextTest(); return; } - err = TestStep4xThReadsTheOptionalAttributeInAttributeList_32(); + err = TestStep4xReadTheOptionalAttributeInAttributeList_32(); break; case 33: - ChipLogProgress(chipTool, " ***** Test Step 33 : Step 4y: TH reads the optional attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 33 : Step 5y: Read the optional attribute: AttributeList\n"); if (ShouldSkip("TSTAT.S.A003a")) { NextTest(); return; } - err = TestStep4yThReadsTheOptionalAttributeAttributeList_33(); + err = TestStep5yReadTheOptionalAttributeAttributeList_33(); break; case 34: - ChipLogProgress(chipTool, " ***** Test Step 34 : Step 4z: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 34 : Step 4z: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0040")) { NextTest(); return; } - err = TestStep4zThReadsTheOptionalAttributeInAttributeList_34(); + err = TestStep4zReadTheOptionalAttributeInAttributeList_34(); break; case 35: - ChipLogProgress(chipTool, " ***** Test Step 35 : Step 4A: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 35 : Step 4A: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0041")) { NextTest(); return; } - err = TestStep4aThReadsTheOptionalAttributeInAttributeList_35(); + err = TestStep4aReadTheOptionalAttributeInAttributeList_35(); break; case 36: - ChipLogProgress(chipTool, " ***** Test Step 36 : Step 4B: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 36 : Step 4B: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0042")) { NextTest(); return; } - err = TestStep4bThReadsTheOptionalAttributeInAttributeList_36(); + err = TestStep4bReadTheOptionalAttributeInAttributeList_36(); break; case 37: - ChipLogProgress(chipTool, " ***** Test Step 37 : Step 4C: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 37 : Step 4C: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0043")) { NextTest(); return; } - err = TestStep4cThReadsTheOptionalAttributeInAttributeList_37(); + err = TestStep4cReadTheOptionalAttributeInAttributeList_37(); break; case 38: - ChipLogProgress(chipTool, " ***** Test Step 38 : Step 4D: TH reads the optional attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 38 : Step 5D: Read the optional attribute: AttributeList\n"); if (ShouldSkip("TSTAT.S.A0044")) { NextTest(); return; } - err = TestStep4dThReadsTheOptionalAttributeAttributeList_38(); + err = TestStep5dReadTheOptionalAttributeAttributeList_38(); break; case 39: - ChipLogProgress(chipTool, " ***** Test Step 39 : Step 4E: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 39 : Step 4E: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0045")) { NextTest(); return; } - err = TestStep4eThReadsTheOptionalAttributeInAttributeList_39(); + err = TestStep4eReadTheOptionalAttributeInAttributeList_39(); break; case 40: - ChipLogProgress(chipTool, " ***** Test Step 40 : Step 4F: TH reads the optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 40 : Step 4F: Read the optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.A0046")) { NextTest(); return; } - err = TestStep4fThReadsTheOptionalAttributeInAttributeList_40(); + err = TestStep4fReadTheOptionalAttributeInAttributeList_40(); break; case 41: - ChipLogProgress(chipTool, " ***** Test Step 41 : Step 4g: TH reads the optional attribute: AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 41 : Step 5G: Read the optional attribute: AttributeList\n"); if (ShouldSkip("TSTAT.S.A0047")) { NextTest(); return; } - err = TestStep4gThReadsTheOptionalAttributeAttributeList_41(); + err = TestStep5gReadTheOptionalAttributeAttributeList_41(); break; case 42: - ChipLogProgress(chipTool, " ***** Test Step 42 : Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 42 : Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0003")) { NextTest(); return; } - err = TestStep4hThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42(); + err = TestStep4hReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42(); break; case 43: - ChipLogProgress(chipTool, " ***** Test Step 43 : Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 43 : Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0004")) { NextTest(); return; } - err = TestStep4iThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43(); + err = TestStep4iReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43(); break; case 44: - ChipLogProgress(chipTool, " ***** Test Step 44 : Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 44 : Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0008")) { NextTest(); return; } - err = TestStep4jThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44(); + err = TestStep4jReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44(); break; case 45: - ChipLogProgress(chipTool, " ***** Test Step 45 : Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 45 : Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0015")) { NextTest(); return; } - err = TestStep4kThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45(); + err = TestStep4kReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45(); break; case 46: - ChipLogProgress(chipTool, " ***** Test Step 46 : Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 46 : Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F00 && TSTAT.S.A0016")) { NextTest(); return; } - err = TestStep4lThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46(); + err = TestStep4lReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46(); break; case 47: - ChipLogProgress(chipTool, " ***** Test Step 47 : Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 47 : Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0005")) { NextTest(); return; } - err = TestStep4mThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47(); + err = TestStep4mReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47(); break; case 48: - ChipLogProgress(chipTool, " ***** Test Step 48 : Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 48 : Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0007")) { NextTest(); return; } - err = TestStep4nThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48(); + err = TestStep4nReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48(); break; case 49: - ChipLogProgress(chipTool, " ***** Test Step 49 : Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 49 : Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0007")) { NextTest(); return; } - err = TestStep4oThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49(); + err = TestStep4oReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49(); break; case 50: - ChipLogProgress(chipTool, " ***** Test Step 50 : Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 50 : Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0017")) { NextTest(); return; } - err = TestStep4pThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50(); + err = TestStep4pReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50(); break; case 51: - ChipLogProgress(chipTool, " ***** Test Step 51 : Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 51 : Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F01 && TSTAT.S.A0018")) { NextTest(); return; } - err = TestStep4qThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51(); + err = TestStep4qReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51(); break; case 52: - ChipLogProgress(chipTool, " ***** Test Step 52 : Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList\n"); + ChipLogProgress(chipTool, " ***** Test Step 52 : Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList\n"); if (ShouldSkip("TSTAT.S.F05 && TSTAT.S.A001e")) { NextTest(); return; } - err = TestStep4rThReadsTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52(); + err = TestStep4rReadTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52(); break; case 53: - ChipLogProgress(chipTool, " ***** Test Step 53 : Step 5: TH reads EventList attribute from the DUT.\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + ChipLogProgress(chipTool, " ***** Test Step 53 : Step 5a: Read the mandatory commands in AcceptedCommandList\n"); + err = TestStep5aReadTheMandatoryCommandsInAcceptedCommandList_53(); + break; + case 54: + ChipLogProgress(chipTool, " ***** Test Step 54 : Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList\n"); + if (ShouldSkip("TSTAT.S.F03")) { NextTest(); return; } - NextTest(); - return; - case 54: - ChipLogProgress(chipTool, " ***** Test Step 54 : Step 6a: TH reads from the DUT the AcceptedCommandList attribute.\n"); - err = TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_54(); + err = TestStep5bReadFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_54(); break; case 55: - ChipLogProgress(chipTool, " ***** Test Step 55 : Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList\n"); - if (ShouldSkip("TSTAT.S.F03")) { + ChipLogProgress(chipTool, " ***** Test Step 55 : Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList\n"); + if (ShouldSkip("TSTAT.S.C04.Rsp")) { NextTest(); return; } - err = TestStep6bThReadsFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_55(); + err = TestStep5cReadTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_55(); break; case 56: - ChipLogProgress(chipTool, " ***** Test Step 56 : Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList\n"); - if (ShouldSkip("TSTAT.S.C04.Rsp")) { + ChipLogProgress(chipTool, " ***** Test Step 56 : Step 6a: Read the global attribute: GeneratedCommandList\n"); + if (ShouldSkip(" !TSTAT.S.C04.Rsp && !TSTAT.S.C02.Rsp ")) { NextTest(); return; } - err = TestStep6cThReadsTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_56(); + err = TestStep6aReadTheGlobalAttributeGeneratedCommandList_56(); break; case 57: - ChipLogProgress(chipTool, " ***** Test Step 57 : Step 7a: TH reads from the DUT the GeneratedCommandList attribute.\n"); - if (ShouldSkip(" !TSTAT.S.C04.Rsp && !TSTAT.S.C02.Rsp ")) { + ChipLogProgress(chipTool, " ***** Test Step 57 : Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList\n"); + if (ShouldSkip("TSTAT.S.F03")) { NextTest(); return; } - err = TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_57(); + err = TestStep6bReadFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_57(); break; case 58: - ChipLogProgress(chipTool, " ***** Test Step 58 : Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList\n"); - if (ShouldSkip("TSTAT.S.F03")) { + ChipLogProgress(chipTool, " ***** Test Step 58 : Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList\n"); + if (ShouldSkip("TSTAT.S.C04.Rsp")) { NextTest(); return; } - err = TestStep7bThReadsFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_58(); + err = TestStep6cReadOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_58(); break; case 59: - ChipLogProgress(chipTool, " ***** Test Step 59 : Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList\n"); - if (ShouldSkip("TSTAT.S.C04.Rsp")) { + ChipLogProgress(chipTool, " ***** Test Step 59 : Step 7: Read EventList attribute from the DUT.\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { NextTest(); return; } - err = TestStep7cThReadsOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_59(); - break; + NextTest(); + return; } if (CHIP_NO_ERROR != err) { @@ -104146,7 +103986,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -104154,7 +103994,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return WaitForCommissionee("alpha", value); } - CHIP_ERROR TestStep2ThReadsFromTheDutTheClusterRevisionAttribute_1() + CHIP_ERROR TestStep2ReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104163,9 +104003,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeClusterRevisionWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Error: %@", err); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Error: %@", err); } else { - NSLog(@"Step 2: TH reads from the DUT the ClusterRevision attribute.: Success"); + NSLog(@"Step 2: Read the global attribute: ClusterRevision: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104182,7 +104022,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep3aThReadsFromTheDutTheFeatureMapAttribute_2() + CHIP_ERROR TestStep3aReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104191,9 +104031,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeFeatureMapWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Error: %@", err); + NSLog(@"Step 3a: Read the global attribute: FeatureMap: Error: %@", err); } else { - NSLog(@"Step 3a: TH reads from the DUT the FeatureMap attribute.: Success"); + NSLog(@"Step 3a: Read the global attribute: FeatureMap: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104371,7 +104211,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_10() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104380,9 +104220,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104404,7 +104244,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsFromTheDutTheAttributeListAttribute_11() + CHIP_ERROR TestStep4aReadTheGlobalAttributeAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104413,9 +104253,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Error: %@", err); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads from the DUT the AttributeList attribute.: Success"); + NSLog(@"Step 4a: Read the global attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104436,7 +104276,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThReadsTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12() + CHIP_ERROR TestStep4bReadTheFeatureDependentTSTATSF00HEATAttributeInAttributeList_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104445,9 +104285,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4b: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Success"); + NSLog(@"Step 4b: Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104461,7 +104301,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cThReadsTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13() + CHIP_ERROR TestStep4cReadTheFeatureDependentTSTATSF01COOLAttributeInAttributeList_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104470,9 +104310,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4c: TH reads the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Success"); + NSLog(@"Step 4c: Read the Feature dependent(TSTAT.S.F01(COOL)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104486,7 +104326,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dThReadsTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14() + CHIP_ERROR TestStep4dReadTheFeatureDependentTSTATSF02OCCAttributeInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104495,9 +104335,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4d: TH reads the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4d: Read the Feature dependent(TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104511,7 +104351,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eThReadsTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15() + CHIP_ERROR TestStep4eReadTheFeatureDependentTSTATSF00HEATTstatsf02occAttributeInAttributeList_15() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104520,9 +104360,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4e: TH reads the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4e: Read the Feature dependent(TSTAT.S.F00(HEAT) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104536,7 +104376,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fThReadsTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16() + CHIP_ERROR TestStep4fReadTheFeatureDependentTSTATSF01COOLTstatsf02occAttributeInAttributeList_16() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104545,9 +104385,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4f: TH reads the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4f: Read the Feature dependent(TSTAT.S.F01(COOL) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104561,7 +104401,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gThReadsTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17() + CHIP_ERROR TestStep4gReadTheFeatureDependentTSTATSF05AUTOAttributeInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104570,9 +104410,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Success"); + NSLog(@"Step 4g: Read the Feature dependent(TSTAT.S.F05(AUTO)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104588,7 +104428,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hThReadsTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18() + CHIP_ERROR TestStep4hReadTheFeatureDependentTSTATSF03SCHAttributeInAttributeList_18() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104597,9 +104437,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4h: TH reads the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Success"); + NSLog(@"Step 4h: Read the Feature dependent(TSTAT.S.F03(SCH)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104615,7 +104455,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4iThReadsTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19() + CHIP_ERROR TestStep4iReadTheFeatureDependentTSTATSF04SBAttributeInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104624,9 +104464,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4i: TH reads the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Success"); + NSLog(@"Step 4i: Read the Feature dependent(TSTAT.S.F04(SB)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104642,7 +104482,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jThReadsTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20() + CHIP_ERROR TestStep4jReadTheFeatureDependentTSTATSF04SBTstatsf02occAttributeInAttributeList_20() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104651,9 +104491,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4j: TH reads the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); + NSLog(@"Step 4j: Read the Feature dependent(TSTAT.S.F04(SB) & TSTAT.S.F02(OCC)) attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104669,7 +104509,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4kThReadsTheOptionalAttributeInAttributeList_21() + CHIP_ERROR TestStep4kReadTheOptionalAttributeInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104678,9 +104518,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4k: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4k: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4k: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4k: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104694,7 +104534,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4lThReadsTheOptionalAttributeInAttributeList_22() + CHIP_ERROR TestStep4lReadTheOptionalAttributeInAttributeList_22() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104703,9 +104543,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4l: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4l: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4l: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4l: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104719,7 +104559,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4mThReadsTheOptionalAttributeInAttributeList_23() + CHIP_ERROR TestStep4mReadTheOptionalAttributeInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104728,9 +104568,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4m: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4m: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4m: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4m: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104744,7 +104584,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4nThReadsTheOptionalAttributeInAttributeList_24() + CHIP_ERROR TestStep4nReadTheOptionalAttributeInAttributeList_24() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104753,9 +104593,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4n: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4n: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4n: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4n: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104769,7 +104609,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4oThReadsTheOptionalAttributeInAttributeList_25() + CHIP_ERROR TestStep4oReadTheOptionalAttributeInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104778,9 +104618,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4o: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4o: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4o: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4o: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104794,7 +104634,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4pThReadsTheOptionalAttributeInAttributeList_26() + CHIP_ERROR TestStep4pReadTheOptionalAttributeInAttributeList_26() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104803,9 +104643,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4p: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4p: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4p: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4p: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104819,7 +104659,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4qThReadsTheOptionalAttributeInAttributeList_27() + CHIP_ERROR TestStep4qReadTheOptionalAttributeInAttributeList_27() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104828,9 +104668,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4q: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4q: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4q: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4q: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104844,7 +104684,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4rThReadsTheOptionalAttributeInAttributeList_28() + CHIP_ERROR TestStep4rReadTheOptionalAttributeInAttributeList_28() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104853,9 +104693,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4r: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4r: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4r: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4r: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104869,7 +104709,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4sThReadsTheOptionalAttributeInAttributeList_29() + CHIP_ERROR TestStep4sReadTheOptionalAttributeInAttributeList_29() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104878,9 +104718,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4s: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4s: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4s: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4s: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104894,7 +104734,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4tThReadsTheOptionalAttributeInAttributeList_30() + CHIP_ERROR TestStep4tReadTheOptionalAttributeInAttributeList_30() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104903,9 +104743,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4t: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4t: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4t: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4t: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104919,7 +104759,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4uThReadsTheOptionalAttributeInAttributeList_31() + CHIP_ERROR TestStep4uReadTheOptionalAttributeInAttributeList_31() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104928,9 +104768,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4u: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4u: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4u: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4u: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104944,7 +104784,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4xThReadsTheOptionalAttributeInAttributeList_32() + CHIP_ERROR TestStep4xReadTheOptionalAttributeInAttributeList_32() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104953,9 +104793,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4x: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4x: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4x: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4x: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104969,7 +104809,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4yThReadsTheOptionalAttributeAttributeList_33() + CHIP_ERROR TestStep5yReadTheOptionalAttributeAttributeList_33() { MTRBaseDevice * device = GetDevice("alpha"); @@ -104978,9 +104818,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4y: TH reads the optional attribute: AttributeList: Error: %@", err); + NSLog(@"Step 5y: Read the optional attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4y: TH reads the optional attribute: AttributeList: Success"); + NSLog(@"Step 5y: Read the optional attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -104994,7 +104834,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4zThReadsTheOptionalAttributeInAttributeList_34() + CHIP_ERROR TestStep4zReadTheOptionalAttributeInAttributeList_34() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105003,9 +104843,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4z: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4z: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4z: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4z: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105019,7 +104859,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsTheOptionalAttributeInAttributeList_35() + CHIP_ERROR TestStep4aReadTheOptionalAttributeInAttributeList_35() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105028,9 +104868,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4A: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4A: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4A: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4A: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105044,7 +104884,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bThReadsTheOptionalAttributeInAttributeList_36() + CHIP_ERROR TestStep4bReadTheOptionalAttributeInAttributeList_36() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105053,9 +104893,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4B: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4B: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4B: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4B: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105069,7 +104909,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4cThReadsTheOptionalAttributeInAttributeList_37() + CHIP_ERROR TestStep4cReadTheOptionalAttributeInAttributeList_37() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105078,9 +104918,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4C: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4C: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4C: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4C: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105094,7 +104934,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4dThReadsTheOptionalAttributeAttributeList_38() + CHIP_ERROR TestStep5dReadTheOptionalAttributeAttributeList_38() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105103,9 +104943,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4D: TH reads the optional attribute: AttributeList: Error: %@", err); + NSLog(@"Step 5D: Read the optional attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4D: TH reads the optional attribute: AttributeList: Success"); + NSLog(@"Step 5D: Read the optional attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105119,7 +104959,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4eThReadsTheOptionalAttributeInAttributeList_39() + CHIP_ERROR TestStep4eReadTheOptionalAttributeInAttributeList_39() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105128,9 +104968,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4E: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4E: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4E: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4E: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105144,7 +104984,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4fThReadsTheOptionalAttributeInAttributeList_40() + CHIP_ERROR TestStep4fReadTheOptionalAttributeInAttributeList_40() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105153,9 +104993,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4F: TH reads the optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4F: Read the optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4F: TH reads the optional attribute in AttributeList: Success"); + NSLog(@"Step 4F: Read the optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105169,7 +105009,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4gThReadsTheOptionalAttributeAttributeList_41() + CHIP_ERROR TestStep5gReadTheOptionalAttributeAttributeList_41() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105178,9 +105018,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4g: TH reads the optional attribute: AttributeList: Error: %@", err); + NSLog(@"Step 5G: Read the optional attribute: AttributeList: Error: %@", err); } else { - NSLog(@"Step 4g: TH reads the optional attribute: AttributeList: Success"); + NSLog(@"Step 5G: Read the optional attribute: AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105194,7 +105034,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4hThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42() + CHIP_ERROR TestStep4hReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_42() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105203,9 +105043,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4H: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4H: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105219,7 +105059,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4iThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43() + CHIP_ERROR TestStep4iReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_43() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105228,9 +105068,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4I: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4I: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105244,7 +105084,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4jThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44() + CHIP_ERROR TestStep4jReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_44() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105253,9 +105093,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4J: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4J: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105269,7 +105109,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4kThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45() + CHIP_ERROR TestStep4kReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_45() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105278,9 +105118,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4K: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4K: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105294,7 +105134,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4lThReadsTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46() + CHIP_ERROR TestStep4lReadTheFeatureDependentTSTATSF00HEATOptionalAttributeInAttributeList_46() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105303,9 +105143,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4L: TH reads the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4L: Read the Feature dependent(TSTAT.S.F00(HEAT)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105319,7 +105159,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4mThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47() + CHIP_ERROR TestStep4mReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_47() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105328,9 +105168,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4M: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4M: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105344,7 +105184,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4nThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48() + CHIP_ERROR TestStep4nReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_48() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105353,9 +105193,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4N: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4N: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105369,7 +105209,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4oThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49() + CHIP_ERROR TestStep4oReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_49() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105378,9 +105218,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4O: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4O: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105394,7 +105234,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4pThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50() + CHIP_ERROR TestStep4pReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_50() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105403,9 +105243,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4P: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4P: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105419,7 +105259,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4qThReadsTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51() + CHIP_ERROR TestStep4qReadTheFeatureDependentTSTATSF01COOLOptionalAttributeInAttributeList_51() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105428,9 +105268,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4Q: TH reads the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4Q: Read the Feature dependent(TSTAT.S.F01(COOL)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105444,7 +105284,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4rThReadsTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52() + CHIP_ERROR TestStep4rReadTheFeatureDependentTSTATSF05AUTOOptionalAttributeInAttributeList_52() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105453,9 +105293,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAttributeListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Error: %@", err); + NSLog(@"Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Error: %@", err); } else { - NSLog(@"Step 4R: TH reads the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Success"); + NSLog(@"Step 4R: Read the Feature dependent(TSTAT.S.F05(AUTO)) optional attribute in AttributeList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105469,7 +105309,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6aThReadsFromTheDutTheAcceptedCommandListAttribute_54() + CHIP_ERROR TestStep5aReadTheMandatoryCommandsInAcceptedCommandList_53() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105478,9 +105318,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Error: %@", err); + NSLog(@"Step 5a: Read the mandatory commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6a: TH reads from the DUT the AcceptedCommandList attribute.: Success"); + NSLog(@"Step 5a: Read the mandatory commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105494,7 +105334,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6bThReadsFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_55() + CHIP_ERROR TestStep5bReadFeatureDependentTSTATSF03SCHCommandsInAcceptedCommandList_54() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105503,9 +105343,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Success"); + NSLog(@"Step 5b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105521,7 +105361,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6cThReadsTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_56() + CHIP_ERROR TestStep5cReadTheOptionalGetRelayStatusLogCommandInAcceptedCommandList_55() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105530,9 +105370,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeAcceptedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList: Error: %@", err); + NSLog(@"Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList: Error: %@", err); } else { - NSLog(@"Step 6c: TH reads the optional (GetRelayStatusLog) command in AcceptedCommandList: Success"); + NSLog(@"Step 5c: Read the optional (GetRelayStatusLog) command in AcceptedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105546,7 +105386,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7aThReadsFromTheDutTheGeneratedCommandListAttribute_57() + CHIP_ERROR TestStep6aReadTheGlobalAttributeGeneratedCommandList_56() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105555,9 +105395,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute.: Error: %@", err); + NSLog(@"Step 6a: Read the global attribute: GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 7a: TH reads from the DUT the GeneratedCommandList attribute.: Success"); + NSLog(@"Step 6a: Read the global attribute: GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105574,7 +105414,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7bThReadsFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_58() + CHIP_ERROR TestStep6bReadFeatureDependentTSTATSF03SCHCommandsInGeneratedCommandList_57() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105583,9 +105423,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Error: %@", err); + NSLog(@"Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 7b: TH reads Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Success"); + NSLog(@"Step 6b: Read Feature dependent(TSTAT.S.F03(SCH)) commands in GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -105599,7 +105439,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7cThReadsOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_59() + CHIP_ERROR TestStep6cReadOptionalCommandGetRelayStatusLogResponseInGeneratedCommandList_58() { MTRBaseDevice * device = GetDevice("alpha"); @@ -105608,9 +105448,9 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { [cluster readAttributeGeneratedCommandListWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Error: %@", err); + NSLog(@"Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Error: %@", err); } else { - NSLog(@"Step 7c: TH reads optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Success"); + NSLog(@"Step 6c: Read optional command (GetRelayStatusLogResponse) in GeneratedCommandList: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -193296,8 +193136,8 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Commission DUT to TH (can be skipped if done in a preceding test).\n"); - err = TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0(); + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the Condition attribute.\n"); @@ -193316,44 +193156,36 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { err = TestStep3ThReadsFromTheDutTheDegradationDirectionAttribute_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: TH reads from the DUT the ChangeIndication attribute.\n"); - if (ShouldSkip(" ACFREMON.S.A0002 && !ACFREMON.S.F01 ")) { + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the ChangeIndication attribute.\n"); + if (ShouldSkip("ACFREMON.S.A0002")) { NextTest(); return; } - err = TestStep4aThReadsFromTheDutTheChangeIndicationAttribute_3(); + err = TestStep4ThReadsFromTheDutTheChangeIndicationAttribute_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4b: TH reads from the DUT the ChangeIndication attribute.\n"); - if (ShouldSkip("ACFREMON.S.F01 && ACFREMON.S.A0002")) { - NextTest(); - return; - } - err = TestStep4bThReadsFromTheDutTheChangeIndicationAttribute_4(); - break; - case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5: TH reads from the DUT the InPlaceIndicator attribute\n"); + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 5: TH reads from the DUT the InPlaceIndicator attribute\n"); if (ShouldSkip("ACFREMON.S.A0003")) { NextTest(); return; } - err = TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_5(); + err = TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_4(); break; - case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 6: TH reads from the DUT the LastChangedTime attribute\n"); + case 5: + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 6: TH reads from the DUT the LastChangedTime attribute\n"); if (ShouldSkip("ACFREMON.S.A0004")) { NextTest(); return; } - err = TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_6(); + err = TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_5(); break; - case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 7: TH reads from the DUT the ReplacementProductList attribute\n"); + case 6: + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 7: TH reads from the DUT the ReplacementProductList attribute\n"); if (ShouldSkip("ACFREMON.S.A0005")) { NextTest(); return; } - err = TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_7(); + err = TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_6(); break; } @@ -193387,9 +193219,6 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; } // Go on to the next test. @@ -193400,14 +193229,14 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 8; + const uint16_t mTestCount = 7; chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; chip::Optional mTimeout; - CHIP_ERROR TestStep1CommissionDutToThCanBeSkippedIfDoneInAPrecedingTest_0() + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() { chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; @@ -193467,7 +193296,7 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4aThReadsFromTheDutTheChangeIndicationAttribute_3() + CHIP_ERROR TestStep4ThReadsFromTheDutTheChangeIndicationAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193476,49 +193305,24 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { [cluster readAttributeChangeIndicationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { if (err != nil) { - NSLog(@"Step 4a: TH reads from the DUT the ChangeIndication attribute.: Error: %@", err); + NSLog(@"Step 4: TH reads from the DUT the ChangeIndication attribute.: Error: %@", err); } else { - NSLog(@"Step 4a: TH reads from the DUT the ChangeIndication attribute.: Success"); + NSLog(@"Step 4: TH reads from the DUT the ChangeIndication attribute.: Success"); } VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("changeIndication", "enum8", "enum8")); - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestStep4bThReadsFromTheDutTheChangeIndicationAttribute_4() - { - - MTRBaseDevice * device = GetDevice("alpha"); - __auto_type * cluster = [[MTRBaseClusterActivatedCarbonFilterMonitoring alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeChangeIndicationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - if (err != nil) { - NSLog(@"Step 4b: TH reads from the DUT the ChangeIndication attribute.: Error: %@", err); - } else { - NSLog(@"Step 4b: TH reads from the DUT the ChangeIndication attribute.: Success"); - } - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - { - id actualValue = value; - VerifyOrReturn(CheckValue("ChangeIndication", actualValue, 1U)); - } + VerifyOrReturn(CheckConstraintMinValue("changeIndication", [value unsignedCharValue], 0U)); + VerifyOrReturn(CheckConstraintMaxValue("changeIndication", [value unsignedCharValue], 2U)); - VerifyOrReturn(CheckConstraintType("changeIndication", "enum8", "enum8")); NextTest(); }]; return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_5() + CHIP_ERROR TestStep5ThReadsFromTheDutTheInPlaceIndicatorAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193541,7 +193345,7 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_6() + CHIP_ERROR TestStep6ThReadsFromTheDutTheLastChangedTimeAttribute_5() { MTRBaseDevice * device = GetDevice("alpha"); @@ -193568,7 +193372,7 @@ class Test_TC_ACFREMON_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_7() + CHIP_ERROR TestStep7ThReadsFromTheDutTheReplacementProductListAttribute_6() { MTRBaseDevice * device = GetDevice("alpha");