From 9150fdf6cfe0de2cbeb643c14c8fe71688277e27 Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Tue, 12 Jul 2022 11:46:35 +0530 Subject: [PATCH] Modified scripts TC-I-1.1 TC-LVL-3.1 TC-LVL-4.1 TC-LVL-6.1 TC-OO-1.1 --- src/app/tests/suites/certification/PICS.yaml | 4 ++++ .../suites/certification/Test_TC_I_1_1.yaml | 10 ++++++++ .../suites/certification/Test_TC_LVL_3_1.yaml | 4 ++-- .../suites/certification/Test_TC_LVL_4_1.yaml | 4 ++-- .../suites/certification/Test_TC_LVL_6_1.yaml | 10 ++++---- .../suites/certification/Test_TC_OO_1_1.yaml | 23 +++++++++++++++++-- .../tests/suites/certification/ci-pics-values | 1 + 7 files changed, 45 insertions(+), 11 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index bc9df3afa7b412..cc2050ec57e9ab 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -1078,6 +1078,10 @@ PICS: - label: "Does the device implement sending the OnWithTimedOff command?" id: OO.C.C42.Tx + #Features + - label: "Level Control for Lighting" + id: OO.S.F00 + - label: "Does Dnssd advertisment broadcast Vendor ID" id: VENDOR_SUBTYPE 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 f6c351bd6042fb..d0a1ce53995050 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 @@ -53,6 +53,16 @@ tests: contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" + PICS: " !I.C.C40.Tx " + command: "readAttribute" + attribute: "AcceptedCommandList" + response: + constraints: + type: list + contains: [0] + + - label: "Read the global attribute: AcceptedCommandList" + PICS: I.C.C40.Tx command: "readAttribute" attribute: "AcceptedCommandList" response: 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 a980933889edfc..b9748b888367d2 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 @@ -44,9 +44,9 @@ tests: constraints: type: uint8 - - label: "sends a Move to level command" + - label: "sends a MoveToLevelWithOnOff command" PICS: LVL.S.C00.Rsp - command: "MoveToLevel" + command: "MoveToLevelWithOnOff" arguments: values: - name: "level" 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 000381337e4c1e..2d3cba9891f4f4 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 @@ -37,9 +37,9 @@ tests: constraints: type: uint8 - - label: "sends a Move to level command" + - label: "sends a MoveToLevelWithOnOff command" PICS: LVL.S.C00.Rsp - command: "MoveToLevel" + command: "MoveToLevelWithOnOff" arguments: values: - name: "level" 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 f84299a70cbc01..90b376f64e8c50 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 @@ -89,9 +89,9 @@ tests: arguments: values: - name: "optionMask" - value: 0 + value: 1 - name: "optionOverride" - value: 0 + value: 1 - label: "Physically verify that the device has stopped transitioning" cluster: "LogCommands" @@ -111,7 +111,7 @@ tests: response: constraints: minValue: 22 - maxValue: 32 + maxValue: 28 notValue: CurrentLevelValue - label: "Sends a move up command to DUT" @@ -141,9 +141,9 @@ tests: arguments: values: - name: "optionMask" - value: 0 + value: 1 - name: "optionOverride" - value: 0 + value: 1 - label: "Physically verify that the device has stopped transitioning" cluster: "LogCommands" 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 015f5c641624ad..53ff63b96bdd35 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 @@ -39,13 +39,14 @@ tests: - label: "read the optional global attribute: FeatureMap" command: "readAttribute" attribute: "FeatureMap" - PICS: OO_LT + PICS: OO.S.F00 response: value: 1 constraints: type: map32 - label: "Read the global attribute: AttributeList" + PICS: OO.S.F00 command: "readAttribute" attribute: "AttributeList" response: @@ -65,15 +66,33 @@ tests: 65533, ] + - label: "Read the global attribute: AttributeList" + PICS: " !OO.S.F00 " + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [0, 65528, 65529, 65531, 65532, 65533] + - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" attribute: "AcceptedCommandList" - PICS: OO_LT + PICS: OO.S.F00 response: constraints: type: list contains: [0, 1, 2, 64, 65, 66] + - label: "Read the global attribute: AcceptedCommandList" + command: "readAttribute" + attribute: "AcceptedCommandList" + PICS: " !OO.S.F00 " + response: + constraints: + type: list + contains: [0, 1, 2] + - label: "Read the global attribute: GeneratedCommandList" command: "readAttribute" attribute: "GeneratedCommandList" diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 4e7709ce5a8e10..d784b01518473b 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -786,6 +786,7 @@ OO.C.C02.Tx=1 OO.C.C40.Tx=1 OO.C.C41.Tx=1 OO.C.C42.Tx=1 +OO.S.F00=1 #Actions Cluster ACT.S.A0000=1