From 70173d3da6bab2d0cd9911e19db2a3d613675eef Mon Sep 17 00:00:00 2001 From: manjunath-grl Date: Fri, 19 Jan 2024 13:35:39 +0530 Subject: [PATCH] Modified test TC-OO-1.1 updated cluster revision value to 5. --- src/app/tests/suites/certification/Test_TC_OO_1_1.yaml | 4 ++-- .../darwin-framework-tool/zap-generated/test/Commands.h | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) 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 13ab0235c84c4a..400bf68a776788 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 @@ -33,14 +33,14 @@ tests: - name: "nodeId" value: nodeId + #Issue: https://github.com/project-chip/connectedhomeip/issues/29786 - label: "Step 2: TH reads from the DUT the ClusterRevision attribute." command: "readAttribute" attribute: "ClusterRevision" response: + value: 5 constraints: type: int16u - minValue: 5 - maxValue: 6 - label: "Step 3a: TH reads from the DUT the FeatureMap attribute." command: "readAttribute" 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 d88392a85df98b..4decd33a588ff1 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -87700,10 +87700,12 @@ class Test_TC_OO_1_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintType("clusterRevision", "int16u", "int16u")); - VerifyOrReturn(CheckConstraintMinValue("clusterRevision", [value unsignedShortValue], 5U)); - VerifyOrReturn(CheckConstraintMaxValue("clusterRevision", [value unsignedShortValue], 6U)); + { + id actualValue = value; + VerifyOrReturn(CheckValue("ClusterRevision", actualValue, 5U)); + } + VerifyOrReturn(CheckConstraintType("clusterRevision", "int16u", "int16u")); NextTest(); }];