From 00e47e2d45b0434074cb86758aeb56ed48d4b7dd Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Tue, 22 Aug 2023 14:51:42 -0400 Subject: [PATCH] fix yaml tests --- src/app/tests/suites/certification/Test_TC_ICDM_2_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_ICDM_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ICDM_2_1.yaml index d94320f169ea6f..62ac283afcc8e8 100644 --- a/src/app/tests/suites/certification/Test_TC_ICDM_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ICDM_2_1.yaml @@ -50,7 +50,7 @@ tests: constraints: type: int32u minValue: 300 - maxValue: IdleModeIntervalValue + maxValue: (IdleModeIntervalValue * 1000) - label: "Step 4: TH reads from the DUT the ActiveModeThreshold attribute" PICS: ICDM.S.A0002 diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 692d522f057ce1..714280c1be47cd 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -41765,7 +41765,7 @@ class Test_TC_ICDM_2_1Suite : public TestCommand VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u")); VerifyOrReturn(CheckConstraintMinValue("value", value, 300UL)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, IdleModeIntervalValue)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, (IdleModeIntervalValue * 1000))); } 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 a7281d05d57a53..8dfa39f7e4220c 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -56786,7 +56786,7 @@ class Test_TC_ICDM_2_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("activeModeInterval", "int32u", "int32u")); VerifyOrReturn(CheckConstraintMinValue("activeModeInterval", [value unsignedIntValue], 300UL)); VerifyOrReturn( - CheckConstraintMaxValue("activeModeInterval", [value unsignedIntValue], IdleModeIntervalValue)); + CheckConstraintMaxValue("activeModeInterval", [value unsignedIntValue], (IdleModeIntervalValue * 1000))); NextTest(); }];