From baf750ae255ef669fc70ba03d6ca00dff83fd95d Mon Sep 17 00:00:00 2001 From: fesseha-eve <88329315+fessehaeve@users.noreply.github.com> Date: Wed, 27 Jul 2022 18:31:14 +0200 Subject: [PATCH] power source feature map has 4 bits making the max value 15 and not 7 (#21278) --- src/app/tests/suites/certification/Test_TC_PS_1_1.yaml | 2 +- zzz_generated/chip-tool/zap-generated/test/Commands.h | 2 +- .../darwin-framework-tool/zap-generated/test/Commands.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 7b903c6b173387..ceeb27f0b3ba38 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 @@ -44,7 +44,7 @@ tests: constraints: type: map32 minValue: 0 - maxValue: 7 + maxValue: 15 - label: "Read the global attribute: AttributeList" command: "readAttribute" diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 6f64749a304b7b..ba27dcfb2fd4e0 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -23713,7 +23713,7 @@ class Test_TC_PS_1_1Suite : public TestCommand VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "map32")); VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 7UL)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 15UL)); } break; case 3: 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 454b55704e797c..039ba57ecc4bc4 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -38945,7 +38945,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("featureMap", "", "map32")); VerifyOrReturn(CheckConstraintMinValue("featureMap", [value unsignedIntValue], 0UL)); - VerifyOrReturn(CheckConstraintMaxValue("featureMap", [value unsignedIntValue], 7UL)); + VerifyOrReturn(CheckConstraintMaxValue("featureMap", [value unsignedIntValue], 15UL)); NextTest(); }];