diff --git a/examples/chip-tool/templates/partials/test_cluster.zapt b/examples/chip-tool/templates/partials/test_cluster.zapt index 4784ad393a28ae..0c921234ad2732 100644 --- a/examples/chip-tool/templates/partials/test_cluster.zapt +++ b/examples/chip-tool/templates/partials/test_cluster.zapt @@ -202,7 +202,7 @@ class {{filename}}: public TestCommand RequestType request; {{#chip_tests_item_parameters}} - {{>commandValue ns=parent.cluster container=(concat "request." (asLowerCamelCase label)) definedValue=definedValue}} + {{>commandValue ns=parent.cluster container=(concat "request." (asLowerCamelCase label)) definedValue=definedValue depth=0}} {{/chip_tests_item_parameters}} auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -229,7 +229,7 @@ class {{filename}}: public TestCommand {{#chip_tests_item_parameters}} {{zapTypeToEncodableClusterObjectType type ns=parent.cluster}} {{asLowerCamelCase name}}Argument; - {{>commandValue ns=parent.cluster container=(concat (asLowerCamelCase name) "Argument") definedValue=definedValue}} + {{>commandValue ns=parent.cluster container=(concat (asLowerCamelCase name) "Argument") definedValue=definedValue depth=0}} {{/chip_tests_item_parameters}} {{#if isWriteAttribute}} @@ -305,7 +305,7 @@ class {{filename}}: public TestCommand {{#chip_tests_item_response_parameters}} {{~#*inline "item"}}{{asLowerCamelCase name}}{{#if isOptional}}.Value(){{/if}}{{/inline}} {{#if hasExpectedValue}} - {{>valueEquals actual=(asLowerCamelCase name) label=(asLowerCamelCase name) expected=expectedValue}} + {{>valueEquals actual=(asLowerCamelCase name) label=(asLowerCamelCase name) expected=expectedValue depth=0}} {{/if}} {{#if hasExpectedConstraints}} {{#if isOptional}} diff --git a/examples/chip-tool/templates/partials/test_cluster_command_value.zapt b/examples/chip-tool/templates/partials/test_cluster_command_value.zapt index 91fc57eb0097b9..b79bfdb34eb2c5 100644 --- a/examples/chip-tool/templates/partials/test_cluster_command_value.zapt +++ b/examples/chip-tool/templates/partials/test_cluster_command_value.zapt @@ -1,10 +1,12 @@ {{#if isOptional}} - {{>commandValue ns=ns container=(concat container ".Emplace()") definedValue=definedValue type=type isOptional=false}} + {{container}}.Emplace(); + {{>commandValue ns=ns container=(concat container ".Value()") definedValue=definedValue type=type isOptional=false depth=(incrementDepth depth)}} {{else if isNullable}} {{#if (isLiteralNull definedValue)}} {{container}}.SetNull(); {{else}} - {{>commandValue ns=ns container=(concat container ".SetNonNull()") definedValue=definedValue type=type isNullable=false}} + {{container}}.SetNonNull(); + {{>commandValue ns=ns container=(concat container ".Value()") definedValue=definedValue type=type isNullable=false depth=(incrementDepth depth)}} {{/if}} {{else if isArray}} @@ -12,11 +14,13 @@ Similarly, forceNotOptional=true and forceNotNullable=true because we have accounted for those already. }} {{#if definedValue.length}} - {{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}} {{asLowerCamelCase label}}List[{{definedValue.length}}]; + {{! This should really do heap-allocation with a function-scope-wide + auto-free setup, so we could guarantee no name collisions. }} + {{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}} {{asLowerCamelCase label}}List_{{depth}}[{{definedValue.length}}]; {{#each definedValue}} - {{>commandValue ns=../ns container=(concat (asLowerCamelCase ../label) "List[" @index "]") definedValue=. type=../type}} + {{>commandValue ns=../ns container=(concat (asLowerCamelCase ../label) "List_" ../depth "[" @index "]") definedValue=. type=../type depth=(incrementDepth ../depth)}} {{/each}} - {{container}} = {{asLowerCamelCase label}}List; + {{container}} = {{asLowerCamelCase label}}List_{{depth}}; {{else}} {{container}} = chip::app::DataModel::List<{{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}}>(); {{/if}} @@ -24,7 +28,9 @@ {{#if_is_struct type}} {{#zcl_struct_items_by_struct_name type}} - {{>commandValue ns=parent.ns container=(concat parent.container "." (asLowerCamelCase label)) definedValue=(lookup parent.definedValue name)}} + {{#if_include_struct_item_value ../definedValue name}} + {{>commandValue ns=parent.ns container=(concat parent.container "." (asLowerCamelCase label)) definedValue=(lookup ../definedValue name) depth=(incrementDepth ../depth)}} + {{/if_include_struct_item_value}} {{/zcl_struct_items_by_struct_name}} {{else}} diff --git a/examples/chip-tool/templates/partials/test_cluster_value_equals.zapt b/examples/chip-tool/templates/partials/test_cluster_value_equals.zapt index bdb9d3e1020a69..161c6ea804ec89 100644 --- a/examples/chip-tool/templates/partials/test_cluster_value_equals.zapt +++ b/examples/chip-tool/templates/partials/test_cluster_value_equals.zapt @@ -1,28 +1,30 @@ {{#if isOptional}} VerifyOrReturn(CheckValuePresent("{{label}}", {{actual}})); - {{>valueEquals label=(concat label ".Value()") actual=(concat actual ".Value()") expected=expected isOptional=false}} + {{>valueEquals label=(concat label ".Value()") actual=(concat actual ".Value()") expected=expected isOptional=false depth=(incrementDepth depth)}} {{else if isNullable}} {{#if (isLiteralNull expected)}} VerifyOrReturn(CheckValueNull("{{label}}", {{actual}})); {{else}} VerifyOrReturn(CheckValueNonNull("{{label}}", {{actual}})); - {{>valueEquals label=(concat label ".Value()") actual=(concat actual ".Value()") expected=expected isNullable=false}} + {{>valueEquals label=(concat label ".Value()") actual=(concat actual ".Value()") expected=expected isNullable=false depth=(incrementDepth depth)}} {{/if}} {{else if isArray}} - auto iter = {{actual}}.begin(); - {{#each expected}} - VerifyOrReturn(CheckNextListItemDecodes("{{../label}}", iter, {{@index}})); - {{>valueEquals label=(concat ../label "[" @index "]") actual="iter.GetValue()" expected=this isArray=false type=../type chipType=../chipType}} - {{/each}} - VerifyOrReturn(CheckNoMoreListItems("{{label}}", iter, {{expected.length}})); + { + auto iter_{{depth}} = {{actual}}.begin(); + {{#each expected}} + VerifyOrReturn(CheckNextListItemDecodes("{{../label}}", iter_{{../depth}}, {{@index}})); + {{>valueEquals label=(concat ../label "[" @index "]") actual=(concat "iter_" ../depth ".GetValue()") expected=this isArray=false type=../type chipType=../chipType depth=(incrementDepth depth)}} + {{/each}} + VerifyOrReturn(CheckNoMoreListItems("{{label}}", iter_{{depth}}, {{expected.length}})); + } {{else}} {{#if_is_struct type}} {{! Iterate over the actual types in the struct, so we pick up the right type/optionality/nullability information for them for our recursive call. }} {{#zcl_struct_items_by_struct_name type}} - {{#if (expectedValueHasProp ../expected (asLowerCamelCase label))}} - {{>valueEquals label=(concat ../label "." (asLowerCamelCase label)) actual=(concat ../actual "." (asLowerCamelCase label)) expected=(lookup ../expected (asLowerCamelCase label))}} + {{#if (expectedValueHasProp ../expected label)}} + {{>valueEquals label=(concat ../label "." (asLowerCamelCase label)) actual=(concat ../actual "." (asLowerCamelCase label)) expected=(lookup ../expected label) depth=(incrementDepth depth)}} {{/if}} {{/zcl_struct_items_by_struct_name}} {{! Maybe we should add a check for properties in the expected object (other diff --git a/src/app/clusters/test-cluster-server/test-cluster-server.cpp b/src/app/clusters/test-cluster-server/test-cluster-server.cpp index cb7fddebd7ec67..09fd86b52b8b4c 100644 --- a/src/app/clusters/test-cluster-server/test-cluster-server.cpp +++ b/src/app/clusters/test-cluster-server/test-cluster-server.cpp @@ -96,6 +96,12 @@ Structs::SimpleStruct::Type gStructAttributeValue = { 0, false, Si 0, 0 }; NullableStruct::TypeInfo::Type gNullableStructAttributeValue; +// We don't actually support any interesting bits in the struct for now, except +// for a non-null nullableList member. +SimpleEnum gSimpleEnums[kAttributeListLength]; +size_t gSimpleEnumCount = 0; +Structs::NullablesAndOptionalsStruct::Type gNullablesAndOptionalsStruct; + CHIP_ERROR TestAttrAccess::Read(const ConcreteReadAttributePath & aPath, AttributeValueEncoder & aEncoder) { switch (aPath.mAttributeId) @@ -334,17 +340,59 @@ CHIP_ERROR TestAttrAccess::WriteListStructOctetStringAttribute(AttributeValueDec CHIP_ERROR TestAttrAccess::ReadListNullablesAndOptionalsStructAttribute(AttributeValueEncoder & aEncoder) { return aEncoder.EncodeList([](const auto & encoder) -> CHIP_ERROR { - // Just encode a single default-initialized - // entry for now. - Structs::NullablesAndOptionalsStruct::Type entry; - ReturnErrorOnFailure(encoder.Encode(entry)); + // Just encode our one struct for now. + ReturnErrorOnFailure(encoder.Encode(gNullablesAndOptionalsStruct)); return CHIP_NO_ERROR; }); } CHIP_ERROR TestAttrAccess::WriteListNullablesAndOptionalsStructAttribute(AttributeValueDecoder & aDecoder) { - // TODO Add yaml test case for NullablesAndOptionalsStruct list + DataModel::DecodableList list; + ReturnErrorOnFailure(aDecoder.Decode(list)); + + size_t count; + ReturnErrorOnFailure(list.ComputeSize(&count)); + // This should really send proper errors on invalid input! + VerifyOrReturnError(count == 1, CHIP_ERROR_INVALID_ARGUMENT); + + auto iter = list.begin(); + while (iter.Next()) + { + auto & value = iter.GetValue(); + // We only support some values so far. + VerifyOrReturnError(value.nullableString.IsNull(), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(value.nullableStruct.IsNull(), CHIP_ERROR_INVALID_ARGUMENT); + + VerifyOrReturnError(!value.optionalString.HasValue(), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(!value.nullableOptionalString.HasValue(), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(!value.optionalStruct.HasValue(), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(!value.nullableOptionalStruct.HasValue(), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(!value.optionalList.HasValue(), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(!value.nullableOptionalList.HasValue(), CHIP_ERROR_INVALID_ARGUMENT); + + // Start our value off as null, just in case we fail to decode things. + gNullablesAndOptionalsStruct.nullableList.SetNull(); + if (!value.nullableList.IsNull()) + { + ReturnErrorOnFailure(value.nullableList.Value().ComputeSize(&count)); + VerifyOrReturnError(count <= ArraySize(gSimpleEnums), CHIP_ERROR_INVALID_ARGUMENT); + auto iter2 = value.nullableList.Value().begin(); + gSimpleEnumCount = 0; + while (iter2.Next()) + { + gSimpleEnums[gSimpleEnumCount] = iter2.GetValue(); + ++gSimpleEnumCount; + } + ReturnErrorOnFailure(iter2.GetStatus()); + gNullablesAndOptionalsStruct.nullableList.SetNonNull(Span(gSimpleEnums, gSimpleEnumCount)); + } + gNullablesAndOptionalsStruct.nullableInt = value.nullableInt; + gNullablesAndOptionalsStruct.optionalInt = value.optionalInt; + gNullablesAndOptionalsStruct.nullableOptionalInt = value.nullableOptionalInt; + } + + ReturnErrorOnFailure(iter.GetStatus()); return CHIP_NO_ERROR; } diff --git a/src/app/tests/suites/TestCluster.yaml b/src/app/tests/suites/TestCluster.yaml index f6bb994f02322a..290a243d75f630 100644 --- a/src/app/tests/suites/TestCluster.yaml +++ b/src/app/tests/suites/TestCluster.yaml @@ -1567,6 +1567,50 @@ tests: - name: "wasPresent" value: false + - label: "Read list of structs containing nullables and optionals" + command: "readAttribute" + attribute: "list_nullables_and_optionals_struct" + response: + # By default, just one item, with everything default-initialized + value: + [ + { + NullableInt: null, + NullableString: null, + NullableStruct: null, + NullableList: null, + }, + ] + + - label: "Write list of structs containing nullables and optionals" + command: "writeAttribute" + attribute: "list_nullables_and_optionals_struct" + arguments: + value: + [ + { + NullableInt: null, + NullableString: null, + NullableStruct: null, + NullableList: [1, 2], + }, + ] + + - label: + "Read list of structs containing nullables and optionals after writing" + command: "readAttribute" + attribute: "list_nullables_and_optionals_struct" + response: + value: + [ + { + NullableInt: null, + NullableString: null, + NullableStruct: null, + NullableList: [1, 2], + }, + ] + # Nullable attributes # Tests for nullable Boolean attribute diff --git a/src/app/tests/suites/TestModeSelectCluster.yaml b/src/app/tests/suites/TestModeSelectCluster.yaml index 65be9d48aa64a6..c1b1ae6f248516 100644 --- a/src/app/tests/suites/TestModeSelectCluster.yaml +++ b/src/app/tests/suites/TestModeSelectCluster.yaml @@ -53,9 +53,9 @@ tests: response: value: [ - { label: "Black", mode: 0, semanticTag: 0 }, - { label: "Cappuccino", mode: 4, semanticTag: 0 }, - { label: "Espresso", mode: 7, semanticTag: 0 }, + { Label: "Black", Mode: 0, SemanticTag: 0 }, + { Label: "Cappuccino", Mode: 4, SemanticTag: 0 }, + { Label: "Espresso", Mode: 7, SemanticTag: 0 }, ] constraints: - type: list diff --git a/src/app/tests/suites/certification/Test_TC_DM_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DM_2_2.yaml index 2f45a63566526d..d870ba20bccea9 100644 --- a/src/app/tests/suites/certification/Test_TC_DM_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DM_2_2.yaml @@ -50,14 +50,10 @@ tests: command: "readAttribute" attribute: "fabrics list" response: - value: - [ + value: [ { - FabricIndex: 0, - RootPublicKey: 65, - VendorID: 65521, - FabricID: 0, - NodeID: 305414945, + # We really don't know what values to expect for any of + # the fields, except Label. Label: "", }, ] diff --git a/src/app/zap-templates/common/ClusterTestGeneration.js b/src/app/zap-templates/common/ClusterTestGeneration.js index 47c01a888e4dd4..937e4acb8adb1b 100644 --- a/src/app/zap-templates/common/ClusterTestGeneration.js +++ b/src/app/zap-templates/common/ClusterTestGeneration.js @@ -609,6 +609,21 @@ function octetStringEscapedForCLiteral(value) }); } +// Structs may not always provide values for optional members. +function if_include_struct_item_value(structValue, name, options) +{ + let hasValue = (name in structValue); + if (hasValue) { + return options.fn(this); + } + + if (!this.isOptional) { + throw new Error(`Value not provided for ${name} where one is expected`); + } + + return options.inverse(this); +} + // // Module exports // @@ -621,3 +636,4 @@ exports.isTestOnlyCluster = isTestOnlyCluster; exports.isLiteralNull = isLiteralNull; exports.expectedValueHasProp = expectedValueHasProp; exports.octetStringEscapedForCLiteral = octetStringEscapedForCLiteral; +exports.if_include_struct_item_value = if_include_struct_item_value; diff --git a/src/app/zap-templates/templates/app/helper.js b/src/app/zap-templates/templates/app/helper.js index fdb95cc6a74718..cf0b90300431b9 100644 --- a/src/app/zap-templates/templates/app/helper.js +++ b/src/app/zap-templates/templates/app/helper.js @@ -671,6 +671,11 @@ function isWeaklyTypedEnum(label) ].includes(label); } +function incrementDepth(depth) +{ + return depth + 1; +} + // // Module exports // @@ -689,3 +694,4 @@ exports.zapTypeToPythonClusterObjectType = zapTypeToPythonClusterObjectType; exports.getResponseCommandName = getResponseCommandName; exports.isWeaklyTypedEnum = isWeaklyTypedEnum; exports.getPythonFieldDefault = getPythonFieldDefault; +exports.incrementDepth = incrementDepth; diff --git a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml index a1e563c966a6b9..eb54f757e77f26 100644 --- a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml @@ -137,7 +137,7 @@ limitations under the License. vendor_id list_nullables_and_optionals_struct + writable="true" optional="false">list_nullables_and_optionals_struct enum_attr struct_attr range_restricted_int8u diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index 9daa930106d2d7..1ceeb9ec38273e 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -4317,6 +4317,7 @@ class ChipClusters: "attributeId": 0x00000023, "type": "", "reportable": True, + "writable": True, }, 0x00000024: { "attributeName": "EnumAttr", diff --git a/src/darwin/Framework/CHIP/templates/helper.js b/src/darwin/Framework/CHIP/templates/helper.js index d04f23e31f1793..7aa0599390bf77 100644 --- a/src/darwin/Framework/CHIP/templates/helper.js +++ b/src/darwin/Framework/CHIP/templates/helper.js @@ -161,11 +161,6 @@ async function asObjectiveCType(type, cluster, options) return typeStr; } -function incrementDepth(depth) -{ - return depth + 1; -} - function asStructPropertyName(prop) { prop = appHelper.asLowerCamelCase(prop); @@ -206,7 +201,6 @@ exports.asTestIndex = asTestIndex; exports.asTestValue = asTestValue; exports.asObjectiveCClass = asObjectiveCClass; exports.asObjectiveCType = asObjectiveCType; -exports.incrementDepth = incrementDepth; exports.asStructPropertyName = asStructPropertyName; exports.asGetterName = asGetterName; exports.commandHasRequiredField = commandHasRequiredField; diff --git a/src/darwin/Framework/CHIP/templates/partials/check_test_value.zapt b/src/darwin/Framework/CHIP/templates/partials/check_test_value.zapt index 6ee4323044bb80..e3a927a9248c60 100644 --- a/src/darwin/Framework/CHIP/templates/partials/check_test_value.zapt +++ b/src/darwin/Framework/CHIP/templates/partials/check_test_value.zapt @@ -20,8 +20,8 @@ type/optionality/nullability information for them for our recursive call. }} {{#zcl_struct_items_by_struct_name type}} - {{#if (expectedValueHasProp ../expected (asLowerCamelCase label))}} - {{>check_test_value actual=(concat "((CHIP" (asUpperCamelCase ../cluster) "Cluster" (asUpperCamelCase ../type) " *)" ../actual ")." (asStructPropertyName label)) expected=(lookup ../expected (asLowerCamelCase label)) cluster=../cluster}} + {{#if (expectedValueHasProp ../expected label)}} + {{>check_test_value actual=(concat "((CHIP" (asUpperCamelCase ../cluster) "Cluster" (asUpperCamelCase ../type) " *)" ../actual ")." (asStructPropertyName label)) expected=(lookup ../expected label) cluster=../cluster}} {{/if}} {{/zcl_struct_items_by_struct_name}} {{! Maybe we should add a check for properties in the expected object (other diff --git a/src/darwin/Framework/CHIP/templates/partials/test_value.zapt b/src/darwin/Framework/CHIP/templates/partials/test_value.zapt index ed0ce1a6a9c292..74488126dd1876 100644 --- a/src/darwin/Framework/CHIP/templates/partials/test_value.zapt +++ b/src/darwin/Framework/CHIP/templates/partials/test_value.zapt @@ -19,9 +19,12 @@ {{#if_is_struct type}} {{target}} = [[CHIP{{asUpperCamelCase cluster}}Cluster{{asUpperCamelCase type}} alloc] init]; {{#zcl_struct_items_by_struct_name type}} - {{! target may be some place where we lost type information (e.g. an id), - so add explicit cast when trying to assign to our properties. }} - {{>test_value target=(concat "((CHIP" (asUpperCamelCase ../cluster) "Cluster" (asUpperCamelCase ../type) " *)" ../target ")." (asStructPropertyName label)) definedValue=(lookup ../definedValue name) cluster=../cluster depth=(incrementDepth ../depth)}} + {{#if_include_struct_item_value ../definedValue name}} + {{! target may be some place where we lost type information (e.g. an + id), so add explicit cast when trying to assign to our + properties. }} + {{>test_value target=(concat "((CHIP" (asUpperCamelCase ../cluster) "Cluster" (asUpperCamelCase ../type) " *)" ../target ")." (asStructPropertyName label)) definedValue=(lookup ../definedValue name) cluster=../cluster depth=(incrementDepth ../depth)}} + {{/if_include_struct_item_value}} {{/zcl_struct_items_by_struct_name}} {{else if (isCharString type)}} diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h index be721e0dc860cd..adba66092048c8 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h @@ -3812,6 +3812,8 @@ NS_ASSUME_NONNULL_BEGIN - (void)readAttributeListNullablesAndOptionalsStructWithCompletionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; +- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value + completionHandler:(StatusCompletion)completionHandler; - (void)subscribeAttributeListNullablesAndOptionalsStructWithMinInterval:(uint16_t)minInterval maxInterval:(uint16_t)maxInterval subscriptionEstablished: diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm index b742af8f29f4a8..86c4b8bcf84d8a 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm @@ -16697,6 +16697,218 @@ new CHIPTestClusterListNullablesAndOptionalsStructListAttributeCallbackBridge( }); } +- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value + completionHandler:(StatusCompletion)completionHandler +{ + new CHIPDefaultSuccessCallbackBridge( + self.callbackQueue, + ^(id _Nullable ignored, NSError * _Nullable error) { + completionHandler(error); + }, + ^(Cancelable * success, Cancelable * failure) { + ListFreer listFreer; + using TypeInfo = TestCluster::Attributes::ListNullablesAndOptionalsStruct::TypeInfo; + TypeInfo::Type cppValue; + { + using ListType_0 = std::remove_reference_t; + using ListMemberType_0 = ListMemberTypeGetter::Type; + if (value.count != 0) { + auto * listHolder_0 = new ListHolder(value.count); + if (listHolder_0 == nullptr || listHolder_0->mList == nullptr) { + return CHIP_ERROR_INVALID_ARGUMENT; + } + listFreer.add(listHolder_0); + for (size_t i_0 = 0; i_0 < value.count; ++i_0) { + if (![value[i_0] isKindOfClass:[CHIPTestClusterClusterNullablesAndOptionalsStruct class]]) { + // Wrong kind of value. + return CHIP_ERROR_INVALID_ARGUMENT; + } + auto element_0 = (CHIPTestClusterClusterNullablesAndOptionalsStruct *) value[i_0]; + if (element_0.nullableInt == nil) { + listHolder_0->mList[i_0].nullableInt.SetNull(); + } else { + auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableInt.SetNonNull(); + nonNullValue_2 = element_0.nullableInt.unsignedShortValue; + } + if (element_0.optionalInt != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].optionalInt.Emplace(); + definedValue_2 = element_0.optionalInt.unsignedShortValue; + } + if (element_0.nullableOptionalInt != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalInt.Emplace(); + if (element_0.nullableOptionalInt == nil) { + definedValue_2.SetNull(); + } else { + auto & nonNullValue_3 = definedValue_2.SetNonNull(); + nonNullValue_3 = element_0.nullableOptionalInt.unsignedShortValue; + } + } + if (element_0.nullableString == nil) { + listHolder_0->mList[i_0].nullableString.SetNull(); + } else { + auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableString.SetNonNull(); + nonNullValue_2 = [self asCharSpan:element_0.nullableString]; + } + if (element_0.optionalString != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].optionalString.Emplace(); + definedValue_2 = [self asCharSpan:element_0.optionalString]; + } + if (element_0.nullableOptionalString != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalString.Emplace(); + if (element_0.nullableOptionalString == nil) { + definedValue_2.SetNull(); + } else { + auto & nonNullValue_3 = definedValue_2.SetNonNull(); + nonNullValue_3 = [self asCharSpan:element_0.nullableOptionalString]; + } + } + if (element_0.nullableStruct == nil) { + listHolder_0->mList[i_0].nullableStruct.SetNull(); + } else { + auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableStruct.SetNonNull(); + nonNullValue_2.a = element_0.nullableStruct.a.unsignedCharValue; + nonNullValue_2.b = element_0.nullableStruct.b.boolValue; + nonNullValue_2.c = static_cast>( + element_0.nullableStruct.c.unsignedCharValue); + nonNullValue_2.d = [self asByteSpan:element_0.nullableStruct.d]; + nonNullValue_2.e = [self asCharSpan:element_0.nullableStruct.e]; + nonNullValue_2.f = static_cast>( + element_0.nullableStruct.f.unsignedCharValue); + nonNullValue_2.g = element_0.nullableStruct.g.floatValue; + nonNullValue_2.h = element_0.nullableStruct.h.doubleValue; + } + if (element_0.optionalStruct != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].optionalStruct.Emplace(); + definedValue_2.a = element_0.optionalStruct.a.unsignedCharValue; + definedValue_2.b = element_0.optionalStruct.b.boolValue; + definedValue_2.c = static_cast>( + element_0.optionalStruct.c.unsignedCharValue); + definedValue_2.d = [self asByteSpan:element_0.optionalStruct.d]; + definedValue_2.e = [self asCharSpan:element_0.optionalStruct.e]; + definedValue_2.f = static_cast>( + element_0.optionalStruct.f.unsignedCharValue); + definedValue_2.g = element_0.optionalStruct.g.floatValue; + definedValue_2.h = element_0.optionalStruct.h.doubleValue; + } + if (element_0.nullableOptionalStruct != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalStruct.Emplace(); + if (element_0.nullableOptionalStruct == nil) { + definedValue_2.SetNull(); + } else { + auto & nonNullValue_3 = definedValue_2.SetNonNull(); + nonNullValue_3.a = element_0.nullableOptionalStruct.a.unsignedCharValue; + nonNullValue_3.b = element_0.nullableOptionalStruct.b.boolValue; + nonNullValue_3.c = static_cast>( + element_0.nullableOptionalStruct.c.unsignedCharValue); + nonNullValue_3.d = [self asByteSpan:element_0.nullableOptionalStruct.d]; + nonNullValue_3.e = [self asCharSpan:element_0.nullableOptionalStruct.e]; + nonNullValue_3.f = static_cast>( + element_0.nullableOptionalStruct.f.unsignedCharValue); + nonNullValue_3.g = element_0.nullableOptionalStruct.g.floatValue; + nonNullValue_3.h = element_0.nullableOptionalStruct.h.doubleValue; + } + } + if (element_0.nullableList == nil) { + listHolder_0->mList[i_0].nullableList.SetNull(); + } else { + auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableList.SetNonNull(); + { + using ListType_3 = std::remove_reference_t; + using ListMemberType_3 = ListMemberTypeGetter::Type; + if (element_0.nullableList.count != 0) { + auto * listHolder_3 = new ListHolder(element_0.nullableList.count); + if (listHolder_3 == nullptr || listHolder_3->mList == nullptr) { + return CHIP_ERROR_INVALID_ARGUMENT; + } + listFreer.add(listHolder_3); + for (size_t i_3 = 0; i_3 < element_0.nullableList.count; ++i_3) { + if (![element_0.nullableList[i_3] isKindOfClass:[NSNumber class]]) { + // Wrong kind of value. + return CHIP_ERROR_INVALID_ARGUMENT; + } + auto element_3 = (NSNumber *) element_0.nullableList[i_3]; + listHolder_3->mList[i_3] + = static_castmList[i_3])>>( + element_3.unsignedCharValue); + } + nonNullValue_2 = ListType_3(listHolder_3->mList, element_0.nullableList.count); + } else { + nonNullValue_2 = ListType_3(); + } + } + } + if (element_0.optionalList != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].optionalList.Emplace(); + { + using ListType_3 = std::remove_reference_t; + using ListMemberType_3 = ListMemberTypeGetter::Type; + if (element_0.optionalList.count != 0) { + auto * listHolder_3 = new ListHolder(element_0.optionalList.count); + if (listHolder_3 == nullptr || listHolder_3->mList == nullptr) { + return CHIP_ERROR_INVALID_ARGUMENT; + } + listFreer.add(listHolder_3); + for (size_t i_3 = 0; i_3 < element_0.optionalList.count; ++i_3) { + if (![element_0.optionalList[i_3] isKindOfClass:[NSNumber class]]) { + // Wrong kind of value. + return CHIP_ERROR_INVALID_ARGUMENT; + } + auto element_3 = (NSNumber *) element_0.optionalList[i_3]; + listHolder_3->mList[i_3] + = static_castmList[i_3])>>( + element_3.unsignedCharValue); + } + definedValue_2 = ListType_3(listHolder_3->mList, element_0.optionalList.count); + } else { + definedValue_2 = ListType_3(); + } + } + } + if (element_0.nullableOptionalList != nil) { + auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalList.Emplace(); + if (element_0.nullableOptionalList == nil) { + definedValue_2.SetNull(); + } else { + auto & nonNullValue_3 = definedValue_2.SetNonNull(); + { + using ListType_4 = std::remove_reference_t; + using ListMemberType_4 = ListMemberTypeGetter::Type; + if (element_0.nullableOptionalList.count != 0) { + auto * listHolder_4 + = new ListHolder(element_0.nullableOptionalList.count); + if (listHolder_4 == nullptr || listHolder_4->mList == nullptr) { + return CHIP_ERROR_INVALID_ARGUMENT; + } + listFreer.add(listHolder_4); + for (size_t i_4 = 0; i_4 < element_0.nullableOptionalList.count; ++i_4) { + if (![element_0.nullableOptionalList[i_4] isKindOfClass:[NSNumber class]]) { + // Wrong kind of value. + return CHIP_ERROR_INVALID_ARGUMENT; + } + auto element_4 = (NSNumber *) element_0.nullableOptionalList[i_4]; + listHolder_4->mList[i_4] + = static_castmList[i_4])>>( + element_4.unsignedCharValue); + } + nonNullValue_3 = ListType_4(listHolder_4->mList, element_0.nullableOptionalList.count); + } else { + nonNullValue_3 = ListType_4(); + } + } + } + } + } + cppValue = ListType_0(listHolder_0->mList, value.count); + } else { + cppValue = ListType_0(); + } + } + auto successFn = Callback::FromCancelable(success); + auto failureFn = Callback::FromCancelable(failure); + return self.cppCluster.WriteAttribute(cppValue, successFn->mContext, successFn->mCall, failureFn->mCall); + }); +} + - (void)subscribeAttributeListNullablesAndOptionalsStructWithMinInterval:(uint16_t)minInterval maxInterval:(uint16_t)maxInterval subscriptionEstablished: diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h index e883fcb8d4b30e..24530fb8e4de2e 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h @@ -867,8 +867,6 @@ NS_ASSUME_NONNULL_BEGIN */ @interface CHIPTestTestCluster : CHIPTestCluster -- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value - completionHandler:(StatusCompletion)completionHandler; - (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; - (void)writeAttributeAttributeListWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; - (void)writeAttributeClusterRevisionWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm index 086c59bed95932..f496d1a3e84469 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm @@ -8710,218 +8710,6 @@ @implementation CHIPTestTestCluster return &_cppCluster; } -- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value - completionHandler:(StatusCompletion)completionHandler -{ - new CHIPDefaultSuccessCallbackBridge( - self.callbackQueue, - ^(id _Nullable ignored, NSError * _Nullable error) { - completionHandler(error); - }, - ^(Cancelable * success, Cancelable * failure) { - ListFreer listFreer; - using TypeInfo = TestCluster::Attributes::ListNullablesAndOptionalsStruct::TypeInfo; - TypeInfo::Type cppValue; - { - using ListType_0 = std::remove_reference_t; - using ListMemberType_0 = ListMemberTypeGetter::Type; - if (value.count != 0) { - auto * listHolder_0 = new ListHolder(value.count); - if (listHolder_0 == nullptr || listHolder_0->mList == nullptr) { - return CHIP_ERROR_INVALID_ARGUMENT; - } - listFreer.add(listHolder_0); - for (size_t i_0 = 0; i_0 < value.count; ++i_0) { - if (![value[i_0] isKindOfClass:[CHIPTestClusterClusterNullablesAndOptionalsStruct class]]) { - // Wrong kind of value. - return CHIP_ERROR_INVALID_ARGUMENT; - } - auto element_0 = (CHIPTestClusterClusterNullablesAndOptionalsStruct *) value[i_0]; - if (element_0.nullableInt == nil) { - listHolder_0->mList[i_0].nullableInt.SetNull(); - } else { - auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableInt.SetNonNull(); - nonNullValue_2 = element_0.nullableInt.unsignedShortValue; - } - if (element_0.optionalInt != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].optionalInt.Emplace(); - definedValue_2 = element_0.optionalInt.unsignedShortValue; - } - if (element_0.nullableOptionalInt != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalInt.Emplace(); - if (element_0.nullableOptionalInt == nil) { - definedValue_2.SetNull(); - } else { - auto & nonNullValue_3 = definedValue_2.SetNonNull(); - nonNullValue_3 = element_0.nullableOptionalInt.unsignedShortValue; - } - } - if (element_0.nullableString == nil) { - listHolder_0->mList[i_0].nullableString.SetNull(); - } else { - auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableString.SetNonNull(); - nonNullValue_2 = [self asCharSpan:element_0.nullableString]; - } - if (element_0.optionalString != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].optionalString.Emplace(); - definedValue_2 = [self asCharSpan:element_0.optionalString]; - } - if (element_0.nullableOptionalString != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalString.Emplace(); - if (element_0.nullableOptionalString == nil) { - definedValue_2.SetNull(); - } else { - auto & nonNullValue_3 = definedValue_2.SetNonNull(); - nonNullValue_3 = [self asCharSpan:element_0.nullableOptionalString]; - } - } - if (element_0.nullableStruct == nil) { - listHolder_0->mList[i_0].nullableStruct.SetNull(); - } else { - auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableStruct.SetNonNull(); - nonNullValue_2.a = element_0.nullableStruct.a.unsignedCharValue; - nonNullValue_2.b = element_0.nullableStruct.b.boolValue; - nonNullValue_2.c = static_cast>( - element_0.nullableStruct.c.unsignedCharValue); - nonNullValue_2.d = [self asByteSpan:element_0.nullableStruct.d]; - nonNullValue_2.e = [self asCharSpan:element_0.nullableStruct.e]; - nonNullValue_2.f = static_cast>( - element_0.nullableStruct.f.unsignedCharValue); - nonNullValue_2.g = element_0.nullableStruct.g.floatValue; - nonNullValue_2.h = element_0.nullableStruct.h.doubleValue; - } - if (element_0.optionalStruct != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].optionalStruct.Emplace(); - definedValue_2.a = element_0.optionalStruct.a.unsignedCharValue; - definedValue_2.b = element_0.optionalStruct.b.boolValue; - definedValue_2.c = static_cast>( - element_0.optionalStruct.c.unsignedCharValue); - definedValue_2.d = [self asByteSpan:element_0.optionalStruct.d]; - definedValue_2.e = [self asCharSpan:element_0.optionalStruct.e]; - definedValue_2.f = static_cast>( - element_0.optionalStruct.f.unsignedCharValue); - definedValue_2.g = element_0.optionalStruct.g.floatValue; - definedValue_2.h = element_0.optionalStruct.h.doubleValue; - } - if (element_0.nullableOptionalStruct != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalStruct.Emplace(); - if (element_0.nullableOptionalStruct == nil) { - definedValue_2.SetNull(); - } else { - auto & nonNullValue_3 = definedValue_2.SetNonNull(); - nonNullValue_3.a = element_0.nullableOptionalStruct.a.unsignedCharValue; - nonNullValue_3.b = element_0.nullableOptionalStruct.b.boolValue; - nonNullValue_3.c = static_cast>( - element_0.nullableOptionalStruct.c.unsignedCharValue); - nonNullValue_3.d = [self asByteSpan:element_0.nullableOptionalStruct.d]; - nonNullValue_3.e = [self asCharSpan:element_0.nullableOptionalStruct.e]; - nonNullValue_3.f = static_cast>( - element_0.nullableOptionalStruct.f.unsignedCharValue); - nonNullValue_3.g = element_0.nullableOptionalStruct.g.floatValue; - nonNullValue_3.h = element_0.nullableOptionalStruct.h.doubleValue; - } - } - if (element_0.nullableList == nil) { - listHolder_0->mList[i_0].nullableList.SetNull(); - } else { - auto & nonNullValue_2 = listHolder_0->mList[i_0].nullableList.SetNonNull(); - { - using ListType_3 = std::remove_reference_t; - using ListMemberType_3 = ListMemberTypeGetter::Type; - if (element_0.nullableList.count != 0) { - auto * listHolder_3 = new ListHolder(element_0.nullableList.count); - if (listHolder_3 == nullptr || listHolder_3->mList == nullptr) { - return CHIP_ERROR_INVALID_ARGUMENT; - } - listFreer.add(listHolder_3); - for (size_t i_3 = 0; i_3 < element_0.nullableList.count; ++i_3) { - if (![element_0.nullableList[i_3] isKindOfClass:[NSNumber class]]) { - // Wrong kind of value. - return CHIP_ERROR_INVALID_ARGUMENT; - } - auto element_3 = (NSNumber *) element_0.nullableList[i_3]; - listHolder_3->mList[i_3] - = static_castmList[i_3])>>( - element_3.unsignedCharValue); - } - nonNullValue_2 = ListType_3(listHolder_3->mList, element_0.nullableList.count); - } else { - nonNullValue_2 = ListType_3(); - } - } - } - if (element_0.optionalList != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].optionalList.Emplace(); - { - using ListType_3 = std::remove_reference_t; - using ListMemberType_3 = ListMemberTypeGetter::Type; - if (element_0.optionalList.count != 0) { - auto * listHolder_3 = new ListHolder(element_0.optionalList.count); - if (listHolder_3 == nullptr || listHolder_3->mList == nullptr) { - return CHIP_ERROR_INVALID_ARGUMENT; - } - listFreer.add(listHolder_3); - for (size_t i_3 = 0; i_3 < element_0.optionalList.count; ++i_3) { - if (![element_0.optionalList[i_3] isKindOfClass:[NSNumber class]]) { - // Wrong kind of value. - return CHIP_ERROR_INVALID_ARGUMENT; - } - auto element_3 = (NSNumber *) element_0.optionalList[i_3]; - listHolder_3->mList[i_3] - = static_castmList[i_3])>>( - element_3.unsignedCharValue); - } - definedValue_2 = ListType_3(listHolder_3->mList, element_0.optionalList.count); - } else { - definedValue_2 = ListType_3(); - } - } - } - if (element_0.nullableOptionalList != nil) { - auto & definedValue_2 = listHolder_0->mList[i_0].nullableOptionalList.Emplace(); - if (element_0.nullableOptionalList == nil) { - definedValue_2.SetNull(); - } else { - auto & nonNullValue_3 = definedValue_2.SetNonNull(); - { - using ListType_4 = std::remove_reference_t; - using ListMemberType_4 = ListMemberTypeGetter::Type; - if (element_0.nullableOptionalList.count != 0) { - auto * listHolder_4 - = new ListHolder(element_0.nullableOptionalList.count); - if (listHolder_4 == nullptr || listHolder_4->mList == nullptr) { - return CHIP_ERROR_INVALID_ARGUMENT; - } - listFreer.add(listHolder_4); - for (size_t i_4 = 0; i_4 < element_0.nullableOptionalList.count; ++i_4) { - if (![element_0.nullableOptionalList[i_4] isKindOfClass:[NSNumber class]]) { - // Wrong kind of value. - return CHIP_ERROR_INVALID_ARGUMENT; - } - auto element_4 = (NSNumber *) element_0.nullableOptionalList[i_4]; - listHolder_4->mList[i_4] - = static_castmList[i_4])>>( - element_4.unsignedCharValue); - } - nonNullValue_3 = ListType_4(listHolder_4->mList, element_0.nullableOptionalList.count); - } else { - nonNullValue_3 = ListType_4(); - } - } - } - } - } - cppValue = ListType_0(listHolder_0->mList, value.count); - } else { - cppValue = ListType_0(); - } - } - auto successFn = Callback::FromCancelable(success); - auto failureFn = Callback::FromCancelable(failure); - return self.cppCluster.WriteAttribute(cppValue, successFn->mContext, successFn->mCall, failureFn->mCall); - }); -} - - (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler { new CHIPDefaultSuccessCallbackBridge( diff --git a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m index 6551da3af93b10..4442e45957d4ca 100644 --- a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m +++ b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m @@ -24762,7 +24762,108 @@ - (void)testSendClusterTestCluster_000173_TestNullableOptionalRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000174_WriteAttribute +- (void)testSendClusterTestCluster_000174_ReadAttribute +{ + XCTestExpectation * expectation = [self expectationWithDescription:@"Read list of structs containing nullables and optionals"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPTestTestCluster * cluster = [[CHIPTestTestCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster + readAttributeListNullablesAndOptionalsStructWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Read list of structs containing nullables and optionals Error: %@", err); + + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); + + { + id actualValue = value; + XCTAssertEqual([actualValue count], 1); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableInt == nil); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableString == nil); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableStruct == nil); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableList == nil); + } + + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} +- (void)testSendClusterTestCluster_000175_WriteAttribute +{ + XCTestExpectation * expectation = [self expectationWithDescription:@"Write list of structs containing nullables and optionals"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPTestTestCluster * cluster = [[CHIPTestTestCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + id listNullablesAndOptionalsStructArgument; + { + NSMutableArray * temp_0 = [[NSMutableArray alloc] init]; + temp_0[0] = [[CHIPTestClusterClusterNullablesAndOptionalsStruct alloc] init]; + ((CHIPTestClusterClusterNullablesAndOptionalsStruct *) temp_0[0]).nullableInt = nil; + ((CHIPTestClusterClusterNullablesAndOptionalsStruct *) temp_0[0]).nullableString = nil; + ((CHIPTestClusterClusterNullablesAndOptionalsStruct *) temp_0[0]).nullableStruct = nil; + { + NSMutableArray * temp_3 = [[NSMutableArray alloc] init]; + temp_3[0] = [NSNumber numberWithUnsignedChar:1]; + temp_3[1] = [NSNumber numberWithUnsignedChar:2]; + ((CHIPTestClusterClusterNullablesAndOptionalsStruct *) temp_0[0]).nullableList = temp_3; + } + + listNullablesAndOptionalsStructArgument = temp_0; + } + [cluster + writeAttributeListNullablesAndOptionalsStructWithValue:listNullablesAndOptionalsStructArgument + completionHandler:^(NSError * _Nullable err) { + NSLog(@"Write list of structs containing nullables and optionals Error: %@", err); + + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); + + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} +- (void)testSendClusterTestCluster_000176_ReadAttribute +{ + XCTestExpectation * expectation = + [self expectationWithDescription:@"Read list of structs containing nullables and optionals after writing"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPTestTestCluster * cluster = [[CHIPTestTestCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster + readAttributeListNullablesAndOptionalsStructWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Read list of structs containing nullables and optionals after writing Error: %@", err); + + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); + + { + id actualValue = value; + XCTAssertEqual([actualValue count], 1); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableInt == nil); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableString == nil); + XCTAssertTrue(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableStruct == nil); + XCTAssertFalse(((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableList == nil); + XCTAssertEqual([((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableList count], 2); + XCTAssertEqual( + [((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableList[0] unsignedCharValue], 1); + XCTAssertEqual( + [((CHIPTestClusterClusterNullablesAndOptionalsStruct *) actualValue[0]).nullableList[1] unsignedCharValue], 2); + } + + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} +- (void)testSendClusterTestCluster_000177_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BOOLEAN null"]; @@ -24784,7 +24885,7 @@ - (void)testSendClusterTestCluster_000174_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000175_ReadAttribute +- (void)testSendClusterTestCluster_000178_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BOOLEAN null"]; @@ -24808,7 +24909,7 @@ - (void)testSendClusterTestCluster_000175_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000176_WriteAttribute +- (void)testSendClusterTestCluster_000179_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BOOLEAN True"]; @@ -24830,7 +24931,7 @@ - (void)testSendClusterTestCluster_000176_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000177_ReadAttribute +- (void)testSendClusterTestCluster_000180_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BOOLEAN True"]; @@ -24855,7 +24956,7 @@ - (void)testSendClusterTestCluster_000177_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000178_WriteAttribute +- (void)testSendClusterTestCluster_000181_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP8 Max Value"]; @@ -24877,7 +24978,7 @@ - (void)testSendClusterTestCluster_000178_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000179_ReadAttribute +- (void)testSendClusterTestCluster_000182_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP8 Max Value"]; @@ -24902,7 +25003,7 @@ - (void)testSendClusterTestCluster_000179_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000180_WriteAttribute +- (void)testSendClusterTestCluster_000183_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP8 Invalid Value"]; @@ -24924,7 +25025,7 @@ - (void)testSendClusterTestCluster_000180_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000181_ReadAttribute +- (void)testSendClusterTestCluster_000184_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP8 unchanged Value"]; @@ -24949,7 +25050,7 @@ - (void)testSendClusterTestCluster_000181_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000182_WriteAttribute +- (void)testSendClusterTestCluster_000185_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP8 null Value"]; @@ -24971,7 +25072,7 @@ - (void)testSendClusterTestCluster_000182_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000183_ReadAttribute +- (void)testSendClusterTestCluster_000186_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP8 null Value"]; @@ -24995,7 +25096,7 @@ - (void)testSendClusterTestCluster_000183_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000184_WriteAttribute +- (void)testSendClusterTestCluster_000187_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP16 Max Value"]; @@ -25017,7 +25118,7 @@ - (void)testSendClusterTestCluster_000184_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000185_ReadAttribute +- (void)testSendClusterTestCluster_000188_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP16 Max Value"]; @@ -25042,7 +25143,7 @@ - (void)testSendClusterTestCluster_000185_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000186_WriteAttribute +- (void)testSendClusterTestCluster_000189_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP16 Invalid Value"]; @@ -25064,7 +25165,7 @@ - (void)testSendClusterTestCluster_000186_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000187_ReadAttribute +- (void)testSendClusterTestCluster_000190_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP16 unchanged Value"]; @@ -25089,7 +25190,7 @@ - (void)testSendClusterTestCluster_000187_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000188_WriteAttribute +- (void)testSendClusterTestCluster_000191_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP16 null Value"]; @@ -25111,7 +25212,7 @@ - (void)testSendClusterTestCluster_000188_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000189_ReadAttribute +- (void)testSendClusterTestCluster_000192_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP16 null Value"]; @@ -25135,7 +25236,7 @@ - (void)testSendClusterTestCluster_000189_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000190_WriteAttribute +- (void)testSendClusterTestCluster_000193_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP32 Max Value"]; @@ -25157,7 +25258,7 @@ - (void)testSendClusterTestCluster_000190_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000191_ReadAttribute +- (void)testSendClusterTestCluster_000194_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP32 Max Value"]; @@ -25182,7 +25283,7 @@ - (void)testSendClusterTestCluster_000191_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000192_WriteAttribute +- (void)testSendClusterTestCluster_000195_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP32 Invalid Value"]; @@ -25204,7 +25305,7 @@ - (void)testSendClusterTestCluster_000192_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000193_ReadAttribute +- (void)testSendClusterTestCluster_000196_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP32 unchanged Value"]; @@ -25229,7 +25330,7 @@ - (void)testSendClusterTestCluster_000193_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000194_WriteAttribute +- (void)testSendClusterTestCluster_000197_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP32 null Value"]; @@ -25251,7 +25352,7 @@ - (void)testSendClusterTestCluster_000194_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000195_ReadAttribute +- (void)testSendClusterTestCluster_000198_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP32 null Value"]; @@ -25275,7 +25376,7 @@ - (void)testSendClusterTestCluster_000195_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000196_WriteAttribute +- (void)testSendClusterTestCluster_000199_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP64 Max Value"]; @@ -25297,7 +25398,7 @@ - (void)testSendClusterTestCluster_000196_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000197_ReadAttribute +- (void)testSendClusterTestCluster_000200_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP64 Max Value"]; @@ -25322,7 +25423,7 @@ - (void)testSendClusterTestCluster_000197_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000198_WriteAttribute +- (void)testSendClusterTestCluster_000201_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP64 Invalid Value"]; @@ -25344,7 +25445,7 @@ - (void)testSendClusterTestCluster_000198_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000199_ReadAttribute +- (void)testSendClusterTestCluster_000202_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP64 unchanged Value"]; @@ -25369,7 +25470,7 @@ - (void)testSendClusterTestCluster_000199_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000200_WriteAttribute +- (void)testSendClusterTestCluster_000203_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP64 null Value"]; @@ -25391,7 +25492,7 @@ - (void)testSendClusterTestCluster_000200_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000201_ReadAttribute +- (void)testSendClusterTestCluster_000204_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP64 null Value"]; @@ -25415,7 +25516,7 @@ - (void)testSendClusterTestCluster_000201_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000202_WriteAttribute +- (void)testSendClusterTestCluster_000205_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U Min Value"]; @@ -25437,7 +25538,7 @@ - (void)testSendClusterTestCluster_000202_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000203_ReadAttribute +- (void)testSendClusterTestCluster_000206_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U Min Value"]; @@ -25462,7 +25563,7 @@ - (void)testSendClusterTestCluster_000203_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000204_WriteAttribute +- (void)testSendClusterTestCluster_000207_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U Max Value"]; @@ -25484,7 +25585,7 @@ - (void)testSendClusterTestCluster_000204_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000205_ReadAttribute +- (void)testSendClusterTestCluster_000208_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U Max Value"]; @@ -25509,7 +25610,7 @@ - (void)testSendClusterTestCluster_000205_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000206_WriteAttribute +- (void)testSendClusterTestCluster_000209_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U Invalid Value"]; @@ -25530,7 +25631,7 @@ - (void)testSendClusterTestCluster_000206_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000207_ReadAttribute +- (void)testSendClusterTestCluster_000210_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U unchanged Value"]; @@ -25555,7 +25656,7 @@ - (void)testSendClusterTestCluster_000207_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000208_ReadAttribute +- (void)testSendClusterTestCluster_000211_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U unchanged Value with constraint"]; @@ -25580,7 +25681,7 @@ - (void)testSendClusterTestCluster_000208_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000209_WriteAttribute +- (void)testSendClusterTestCluster_000212_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U null Value"]; @@ -25602,7 +25703,7 @@ - (void)testSendClusterTestCluster_000209_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000210_ReadAttribute +- (void)testSendClusterTestCluster_000213_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U null Value"]; @@ -25626,7 +25727,7 @@ - (void)testSendClusterTestCluster_000210_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000211_ReadAttribute +- (void)testSendClusterTestCluster_000214_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U null Value & range"]; @@ -25652,7 +25753,7 @@ - (void)testSendClusterTestCluster_000211_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000212_ReadAttribute +- (void)testSendClusterTestCluster_000215_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U null Value & not"]; @@ -25678,7 +25779,7 @@ - (void)testSendClusterTestCluster_000212_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000213_WriteAttribute +- (void)testSendClusterTestCluster_000216_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U Value"]; @@ -25700,7 +25801,7 @@ - (void)testSendClusterTestCluster_000213_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000214_ReadAttribute +- (void)testSendClusterTestCluster_000217_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U Value in range"]; @@ -25726,7 +25827,7 @@ - (void)testSendClusterTestCluster_000214_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000215_ReadAttribute +- (void)testSendClusterTestCluster_000218_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U notValue OK"]; @@ -25752,7 +25853,7 @@ - (void)testSendClusterTestCluster_000215_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000216_WriteAttribute +- (void)testSendClusterTestCluster_000219_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U Min Value"]; @@ -25774,7 +25875,7 @@ - (void)testSendClusterTestCluster_000216_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000217_ReadAttribute +- (void)testSendClusterTestCluster_000220_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U Min Value"]; @@ -25799,7 +25900,7 @@ - (void)testSendClusterTestCluster_000217_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000218_WriteAttribute +- (void)testSendClusterTestCluster_000221_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U Max Value"]; @@ -25821,7 +25922,7 @@ - (void)testSendClusterTestCluster_000218_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000219_ReadAttribute +- (void)testSendClusterTestCluster_000222_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U Max Value"]; @@ -25846,7 +25947,7 @@ - (void)testSendClusterTestCluster_000219_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000220_WriteAttribute +- (void)testSendClusterTestCluster_000223_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U Invalid Value"]; @@ -25868,7 +25969,7 @@ - (void)testSendClusterTestCluster_000220_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000221_ReadAttribute +- (void)testSendClusterTestCluster_000224_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U unchanged Value"]; @@ -25893,7 +25994,7 @@ - (void)testSendClusterTestCluster_000221_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000222_WriteAttribute +- (void)testSendClusterTestCluster_000225_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U null Value"]; @@ -25915,7 +26016,7 @@ - (void)testSendClusterTestCluster_000222_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000223_ReadAttribute +- (void)testSendClusterTestCluster_000226_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U null Value"]; @@ -25939,7 +26040,7 @@ - (void)testSendClusterTestCluster_000223_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000224_ReadAttribute +- (void)testSendClusterTestCluster_000227_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U null Value & range"]; @@ -25965,7 +26066,7 @@ - (void)testSendClusterTestCluster_000224_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000225_ReadAttribute +- (void)testSendClusterTestCluster_000228_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U null Value & not"]; @@ -25991,7 +26092,7 @@ - (void)testSendClusterTestCluster_000225_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000226_WriteAttribute +- (void)testSendClusterTestCluster_000229_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U Value"]; @@ -26013,7 +26114,7 @@ - (void)testSendClusterTestCluster_000226_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000227_ReadAttribute +- (void)testSendClusterTestCluster_000230_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U Value in range"]; @@ -26039,7 +26140,7 @@ - (void)testSendClusterTestCluster_000227_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000228_ReadAttribute +- (void)testSendClusterTestCluster_000231_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U notValue OK"]; @@ -26065,7 +26166,7 @@ - (void)testSendClusterTestCluster_000228_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000229_WriteAttribute +- (void)testSendClusterTestCluster_000232_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U Min Value"]; @@ -26087,7 +26188,7 @@ - (void)testSendClusterTestCluster_000229_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000230_ReadAttribute +- (void)testSendClusterTestCluster_000233_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U Min Value"]; @@ -26112,7 +26213,7 @@ - (void)testSendClusterTestCluster_000230_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000231_WriteAttribute +- (void)testSendClusterTestCluster_000234_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U Max Value"]; @@ -26134,7 +26235,7 @@ - (void)testSendClusterTestCluster_000231_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000232_ReadAttribute +- (void)testSendClusterTestCluster_000235_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U Max Value"]; @@ -26159,7 +26260,7 @@ - (void)testSendClusterTestCluster_000232_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000233_WriteAttribute +- (void)testSendClusterTestCluster_000236_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U Invalid Value"]; @@ -26181,7 +26282,7 @@ - (void)testSendClusterTestCluster_000233_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000234_ReadAttribute +- (void)testSendClusterTestCluster_000237_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U unchanged Value"]; @@ -26206,7 +26307,7 @@ - (void)testSendClusterTestCluster_000234_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000235_WriteAttribute +- (void)testSendClusterTestCluster_000238_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U null Value"]; @@ -26228,7 +26329,7 @@ - (void)testSendClusterTestCluster_000235_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000236_ReadAttribute +- (void)testSendClusterTestCluster_000239_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U null Value"]; @@ -26252,7 +26353,7 @@ - (void)testSendClusterTestCluster_000236_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000237_ReadAttribute +- (void)testSendClusterTestCluster_000240_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U null Value & range"]; @@ -26278,7 +26379,7 @@ - (void)testSendClusterTestCluster_000237_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000238_ReadAttribute +- (void)testSendClusterTestCluster_000241_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U null Value & not"]; @@ -26304,7 +26405,7 @@ - (void)testSendClusterTestCluster_000238_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000239_WriteAttribute +- (void)testSendClusterTestCluster_000242_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U Value"]; @@ -26326,7 +26427,7 @@ - (void)testSendClusterTestCluster_000239_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000240_ReadAttribute +- (void)testSendClusterTestCluster_000243_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U Value in range"]; @@ -26352,7 +26453,7 @@ - (void)testSendClusterTestCluster_000240_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000241_ReadAttribute +- (void)testSendClusterTestCluster_000244_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U notValue OK"]; @@ -26378,7 +26479,7 @@ - (void)testSendClusterTestCluster_000241_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000242_WriteAttribute +- (void)testSendClusterTestCluster_000245_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U Min Value"]; @@ -26400,7 +26501,7 @@ - (void)testSendClusterTestCluster_000242_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000243_ReadAttribute +- (void)testSendClusterTestCluster_000246_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U Min Value"]; @@ -26425,7 +26526,7 @@ - (void)testSendClusterTestCluster_000243_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000244_WriteAttribute +- (void)testSendClusterTestCluster_000247_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U Max Value"]; @@ -26447,7 +26548,7 @@ - (void)testSendClusterTestCluster_000244_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000245_ReadAttribute +- (void)testSendClusterTestCluster_000248_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U Max Value"]; @@ -26472,7 +26573,7 @@ - (void)testSendClusterTestCluster_000245_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000246_WriteAttribute +- (void)testSendClusterTestCluster_000249_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U Invalid Value"]; @@ -26494,7 +26595,7 @@ - (void)testSendClusterTestCluster_000246_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000247_ReadAttribute +- (void)testSendClusterTestCluster_000250_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U unchanged Value"]; @@ -26519,7 +26620,7 @@ - (void)testSendClusterTestCluster_000247_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000248_WriteAttribute +- (void)testSendClusterTestCluster_000251_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U null Value"]; @@ -26541,7 +26642,7 @@ - (void)testSendClusterTestCluster_000248_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000249_ReadAttribute +- (void)testSendClusterTestCluster_000252_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U null Value"]; @@ -26565,7 +26666,7 @@ - (void)testSendClusterTestCluster_000249_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000250_ReadAttribute +- (void)testSendClusterTestCluster_000253_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U null Value & range"]; @@ -26591,7 +26692,7 @@ - (void)testSendClusterTestCluster_000250_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000251_ReadAttribute +- (void)testSendClusterTestCluster_000254_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U null Value & not"]; @@ -26617,7 +26718,7 @@ - (void)testSendClusterTestCluster_000251_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000252_WriteAttribute +- (void)testSendClusterTestCluster_000255_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U Value"]; @@ -26639,7 +26740,7 @@ - (void)testSendClusterTestCluster_000252_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000253_ReadAttribute +- (void)testSendClusterTestCluster_000256_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U Value in range"]; @@ -26665,7 +26766,7 @@ - (void)testSendClusterTestCluster_000253_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000254_ReadAttribute +- (void)testSendClusterTestCluster_000257_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U notValue OK"]; @@ -26691,7 +26792,7 @@ - (void)testSendClusterTestCluster_000254_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000255_WriteAttribute +- (void)testSendClusterTestCluster_000258_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S Min Value"]; @@ -26713,7 +26814,7 @@ - (void)testSendClusterTestCluster_000255_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000256_ReadAttribute +- (void)testSendClusterTestCluster_000259_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S Min Value"]; @@ -26738,7 +26839,7 @@ - (void)testSendClusterTestCluster_000256_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000257_WriteAttribute +- (void)testSendClusterTestCluster_000260_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S Invalid Value"]; @@ -26759,7 +26860,7 @@ - (void)testSendClusterTestCluster_000257_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000258_ReadAttribute +- (void)testSendClusterTestCluster_000261_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S unchanged Value"]; @@ -26784,7 +26885,7 @@ - (void)testSendClusterTestCluster_000258_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000259_WriteAttribute +- (void)testSendClusterTestCluster_000262_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S null Value"]; @@ -26806,7 +26907,7 @@ - (void)testSendClusterTestCluster_000259_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000260_ReadAttribute +- (void)testSendClusterTestCluster_000263_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S null Value"]; @@ -26830,7 +26931,7 @@ - (void)testSendClusterTestCluster_000260_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000261_ReadAttribute +- (void)testSendClusterTestCluster_000264_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S null Value & range"]; @@ -26862,7 +26963,7 @@ - (void)testSendClusterTestCluster_000261_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000262_ReadAttribute +- (void)testSendClusterTestCluster_000265_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S null Value & not"]; @@ -26888,7 +26989,7 @@ - (void)testSendClusterTestCluster_000262_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000263_WriteAttribute +- (void)testSendClusterTestCluster_000266_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S Value"]; @@ -26910,7 +27011,7 @@ - (void)testSendClusterTestCluster_000263_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000264_ReadAttribute +- (void)testSendClusterTestCluster_000267_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S Value in range"]; @@ -26942,7 +27043,7 @@ - (void)testSendClusterTestCluster_000264_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000265_ReadAttribute +- (void)testSendClusterTestCluster_000268_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S notValue OK"]; @@ -26968,7 +27069,7 @@ - (void)testSendClusterTestCluster_000265_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000266_WriteAttribute +- (void)testSendClusterTestCluster_000269_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S Min Value"]; @@ -26990,7 +27091,7 @@ - (void)testSendClusterTestCluster_000266_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000267_ReadAttribute +- (void)testSendClusterTestCluster_000270_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S Min Value"]; @@ -27015,7 +27116,7 @@ - (void)testSendClusterTestCluster_000267_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000268_WriteAttribute +- (void)testSendClusterTestCluster_000271_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S Invalid Value"]; @@ -27037,7 +27138,7 @@ - (void)testSendClusterTestCluster_000268_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000269_ReadAttribute +- (void)testSendClusterTestCluster_000272_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S unchanged Value"]; @@ -27062,7 +27163,7 @@ - (void)testSendClusterTestCluster_000269_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000270_WriteAttribute +- (void)testSendClusterTestCluster_000273_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S null Value"]; @@ -27084,7 +27185,7 @@ - (void)testSendClusterTestCluster_000270_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000271_ReadAttribute +- (void)testSendClusterTestCluster_000274_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S null Value"]; @@ -27108,7 +27209,7 @@ - (void)testSendClusterTestCluster_000271_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000272_ReadAttribute +- (void)testSendClusterTestCluster_000275_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S null Value & range"]; @@ -27140,7 +27241,7 @@ - (void)testSendClusterTestCluster_000272_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000273_ReadAttribute +- (void)testSendClusterTestCluster_000276_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S null Value & not"]; @@ -27166,7 +27267,7 @@ - (void)testSendClusterTestCluster_000273_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000274_WriteAttribute +- (void)testSendClusterTestCluster_000277_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S Value"]; @@ -27188,7 +27289,7 @@ - (void)testSendClusterTestCluster_000274_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000275_ReadAttribute +- (void)testSendClusterTestCluster_000278_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S Value in range"]; @@ -27220,7 +27321,7 @@ - (void)testSendClusterTestCluster_000275_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000276_ReadAttribute +- (void)testSendClusterTestCluster_000279_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S notValue OK"]; @@ -27246,7 +27347,7 @@ - (void)testSendClusterTestCluster_000276_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000277_WriteAttribute +- (void)testSendClusterTestCluster_000280_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S Min Value"]; @@ -27268,7 +27369,7 @@ - (void)testSendClusterTestCluster_000277_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000278_ReadAttribute +- (void)testSendClusterTestCluster_000281_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S Min Value"]; @@ -27293,7 +27394,7 @@ - (void)testSendClusterTestCluster_000278_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000279_WriteAttribute +- (void)testSendClusterTestCluster_000282_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S Invalid Value"]; @@ -27315,7 +27416,7 @@ - (void)testSendClusterTestCluster_000279_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000280_ReadAttribute +- (void)testSendClusterTestCluster_000283_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S unchanged Value"]; @@ -27340,7 +27441,7 @@ - (void)testSendClusterTestCluster_000280_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000281_WriteAttribute +- (void)testSendClusterTestCluster_000284_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S null Value"]; @@ -27362,7 +27463,7 @@ - (void)testSendClusterTestCluster_000281_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000282_ReadAttribute +- (void)testSendClusterTestCluster_000285_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S null Value"]; @@ -27386,7 +27487,7 @@ - (void)testSendClusterTestCluster_000282_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000283_ReadAttribute +- (void)testSendClusterTestCluster_000286_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S null Value & range"]; @@ -27418,7 +27519,7 @@ - (void)testSendClusterTestCluster_000283_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000284_ReadAttribute +- (void)testSendClusterTestCluster_000287_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S null Value & not"]; @@ -27444,7 +27545,7 @@ - (void)testSendClusterTestCluster_000284_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000285_WriteAttribute +- (void)testSendClusterTestCluster_000288_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S Value"]; @@ -27466,7 +27567,7 @@ - (void)testSendClusterTestCluster_000285_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000286_ReadAttribute +- (void)testSendClusterTestCluster_000289_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S Value in range"]; @@ -27498,7 +27599,7 @@ - (void)testSendClusterTestCluster_000286_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000287_ReadAttribute +- (void)testSendClusterTestCluster_000290_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S notValue OK"]; @@ -27524,7 +27625,7 @@ - (void)testSendClusterTestCluster_000287_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000288_WriteAttribute +- (void)testSendClusterTestCluster_000291_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S Min Value"]; @@ -27546,7 +27647,7 @@ - (void)testSendClusterTestCluster_000288_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000289_ReadAttribute +- (void)testSendClusterTestCluster_000292_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S Min Value"]; @@ -27571,7 +27672,7 @@ - (void)testSendClusterTestCluster_000289_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000290_WriteAttribute +- (void)testSendClusterTestCluster_000293_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S Invalid Value"]; @@ -27593,7 +27694,7 @@ - (void)testSendClusterTestCluster_000290_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000291_ReadAttribute +- (void)testSendClusterTestCluster_000294_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S unchanged Value"]; @@ -27618,7 +27719,7 @@ - (void)testSendClusterTestCluster_000291_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000292_WriteAttribute +- (void)testSendClusterTestCluster_000295_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S null Value"]; @@ -27640,7 +27741,7 @@ - (void)testSendClusterTestCluster_000292_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000293_ReadAttribute +- (void)testSendClusterTestCluster_000296_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S null Value"]; @@ -27664,7 +27765,7 @@ - (void)testSendClusterTestCluster_000293_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000294_ReadAttribute +- (void)testSendClusterTestCluster_000297_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S null Value & range"]; @@ -27696,7 +27797,7 @@ - (void)testSendClusterTestCluster_000294_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000295_ReadAttribute +- (void)testSendClusterTestCluster_000298_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S null Value & not"]; @@ -27722,7 +27823,7 @@ - (void)testSendClusterTestCluster_000295_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000296_WriteAttribute +- (void)testSendClusterTestCluster_000299_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S Value"]; @@ -27744,7 +27845,7 @@ - (void)testSendClusterTestCluster_000296_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000297_ReadAttribute +- (void)testSendClusterTestCluster_000300_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S Value in range"]; @@ -27776,7 +27877,7 @@ - (void)testSendClusterTestCluster_000297_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000298_ReadAttribute +- (void)testSendClusterTestCluster_000301_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S notValue OK"]; @@ -27802,7 +27903,7 @@ - (void)testSendClusterTestCluster_000298_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000299_WriteAttribute +- (void)testSendClusterTestCluster_000302_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SINGLE medium Value"]; @@ -27824,7 +27925,7 @@ - (void)testSendClusterTestCluster_000299_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000300_ReadAttribute +- (void)testSendClusterTestCluster_000303_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SINGLE medium Value"]; @@ -27849,7 +27950,7 @@ - (void)testSendClusterTestCluster_000300_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000301_WriteAttribute +- (void)testSendClusterTestCluster_000304_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SINGLE largest Value"]; @@ -27871,7 +27972,7 @@ - (void)testSendClusterTestCluster_000301_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000302_ReadAttribute +- (void)testSendClusterTestCluster_000305_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SINGLE largest Value"]; @@ -27896,7 +27997,7 @@ - (void)testSendClusterTestCluster_000302_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000303_WriteAttribute +- (void)testSendClusterTestCluster_000306_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SINGLE smallest Value"]; @@ -27918,7 +28019,7 @@ - (void)testSendClusterTestCluster_000303_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000304_ReadAttribute +- (void)testSendClusterTestCluster_000307_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SINGLE smallest Value"]; @@ -27943,7 +28044,7 @@ - (void)testSendClusterTestCluster_000304_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000305_WriteAttribute +- (void)testSendClusterTestCluster_000308_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SINGLE null Value"]; @@ -27965,7 +28066,7 @@ - (void)testSendClusterTestCluster_000305_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000306_ReadAttribute +- (void)testSendClusterTestCluster_000309_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SINGLE null Value"]; @@ -27989,7 +28090,7 @@ - (void)testSendClusterTestCluster_000306_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000307_WriteAttribute +- (void)testSendClusterTestCluster_000310_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SINGLE 0 Value"]; @@ -28011,7 +28112,7 @@ - (void)testSendClusterTestCluster_000307_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000308_ReadAttribute +- (void)testSendClusterTestCluster_000311_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SINGLE 0 Value"]; @@ -28036,7 +28137,7 @@ - (void)testSendClusterTestCluster_000308_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000309_WriteAttribute +- (void)testSendClusterTestCluster_000312_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_DOUBLE medium Value"]; @@ -28058,7 +28159,7 @@ - (void)testSendClusterTestCluster_000309_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000310_ReadAttribute +- (void)testSendClusterTestCluster_000313_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_DOUBLE medium Value"]; @@ -28083,7 +28184,7 @@ - (void)testSendClusterTestCluster_000310_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000311_WriteAttribute +- (void)testSendClusterTestCluster_000314_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_DOUBLE largest Value"]; @@ -28105,7 +28206,7 @@ - (void)testSendClusterTestCluster_000311_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000312_ReadAttribute +- (void)testSendClusterTestCluster_000315_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_DOUBLE largest Value"]; @@ -28130,7 +28231,7 @@ - (void)testSendClusterTestCluster_000312_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000313_WriteAttribute +- (void)testSendClusterTestCluster_000316_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_DOUBLE smallest Value"]; @@ -28152,7 +28253,7 @@ - (void)testSendClusterTestCluster_000313_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000314_ReadAttribute +- (void)testSendClusterTestCluster_000317_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_DOUBLE smallest Value"]; @@ -28177,7 +28278,7 @@ - (void)testSendClusterTestCluster_000314_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000315_WriteAttribute +- (void)testSendClusterTestCluster_000318_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_DOUBLE null Value"]; @@ -28199,7 +28300,7 @@ - (void)testSendClusterTestCluster_000315_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000316_ReadAttribute +- (void)testSendClusterTestCluster_000319_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_DOUBLE null Value"]; @@ -28223,7 +28324,7 @@ - (void)testSendClusterTestCluster_000316_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000317_WriteAttribute +- (void)testSendClusterTestCluster_000320_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_DOUBLE 0 Value"]; @@ -28245,7 +28346,7 @@ - (void)testSendClusterTestCluster_000317_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000318_ReadAttribute +- (void)testSendClusterTestCluster_000321_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_DOUBLE 0 Value"]; @@ -28270,7 +28371,7 @@ - (void)testSendClusterTestCluster_000318_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000319_WriteAttribute +- (void)testSendClusterTestCluster_000322_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 Min Value"]; @@ -28292,7 +28393,7 @@ - (void)testSendClusterTestCluster_000319_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000320_ReadAttribute +- (void)testSendClusterTestCluster_000323_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 Min Value"]; @@ -28317,7 +28418,7 @@ - (void)testSendClusterTestCluster_000320_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000321_WriteAttribute +- (void)testSendClusterTestCluster_000324_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 Max Value"]; @@ -28339,7 +28440,7 @@ - (void)testSendClusterTestCluster_000321_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000322_ReadAttribute +- (void)testSendClusterTestCluster_000325_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 Max Value"]; @@ -28364,7 +28465,7 @@ - (void)testSendClusterTestCluster_000322_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000323_WriteAttribute +- (void)testSendClusterTestCluster_000326_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 Invalid Value"]; @@ -28385,7 +28486,7 @@ - (void)testSendClusterTestCluster_000323_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000324_ReadAttribute +- (void)testSendClusterTestCluster_000327_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 unchanged Value"]; @@ -28410,7 +28511,7 @@ - (void)testSendClusterTestCluster_000324_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000325_WriteAttribute +- (void)testSendClusterTestCluster_000328_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 null Value"]; @@ -28432,7 +28533,7 @@ - (void)testSendClusterTestCluster_000325_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000326_ReadAttribute +- (void)testSendClusterTestCluster_000329_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 null Value"]; @@ -28456,7 +28557,7 @@ - (void)testSendClusterTestCluster_000326_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000327_WriteAttribute +- (void)testSendClusterTestCluster_000330_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 Min Value"]; @@ -28478,7 +28579,7 @@ - (void)testSendClusterTestCluster_000327_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000328_ReadAttribute +- (void)testSendClusterTestCluster_000331_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 Min Value"]; @@ -28503,7 +28604,7 @@ - (void)testSendClusterTestCluster_000328_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000329_WriteAttribute +- (void)testSendClusterTestCluster_000332_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 Max Value"]; @@ -28525,7 +28626,7 @@ - (void)testSendClusterTestCluster_000329_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000330_ReadAttribute +- (void)testSendClusterTestCluster_000333_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 Max Value"]; @@ -28550,7 +28651,7 @@ - (void)testSendClusterTestCluster_000330_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000331_WriteAttribute +- (void)testSendClusterTestCluster_000334_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 Invalid Value"]; @@ -28572,7 +28673,7 @@ - (void)testSendClusterTestCluster_000331_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000332_ReadAttribute +- (void)testSendClusterTestCluster_000335_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 unchanged Value"]; @@ -28597,7 +28698,7 @@ - (void)testSendClusterTestCluster_000332_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000333_WriteAttribute +- (void)testSendClusterTestCluster_000336_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 null Value"]; @@ -28619,7 +28720,7 @@ - (void)testSendClusterTestCluster_000333_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000334_ReadAttribute +- (void)testSendClusterTestCluster_000337_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 null Value"]; @@ -28643,7 +28744,7 @@ - (void)testSendClusterTestCluster_000334_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000335_WriteAttribute +- (void)testSendClusterTestCluster_000338_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SIMPLE_ENUM Min Value"]; @@ -28665,7 +28766,7 @@ - (void)testSendClusterTestCluster_000335_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000336_ReadAttribute +- (void)testSendClusterTestCluster_000339_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SIMPLE_ENUM Min Value"]; @@ -28690,7 +28791,7 @@ - (void)testSendClusterTestCluster_000336_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000337_WriteAttribute +- (void)testSendClusterTestCluster_000340_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SIMPLE_ENUM Max Value"]; @@ -28712,7 +28813,7 @@ - (void)testSendClusterTestCluster_000337_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000338_ReadAttribute +- (void)testSendClusterTestCluster_000341_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SIMPLE_ENUM Max Value"]; @@ -28737,7 +28838,7 @@ - (void)testSendClusterTestCluster_000338_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000339_WriteAttribute +- (void)testSendClusterTestCluster_000342_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SIMPLE_ENUM Invalid Value"]; @@ -28759,7 +28860,7 @@ - (void)testSendClusterTestCluster_000339_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000340_ReadAttribute +- (void)testSendClusterTestCluster_000343_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SIMPLE_ENUM unchanged Value"]; @@ -28784,7 +28885,7 @@ - (void)testSendClusterTestCluster_000340_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000341_WriteAttribute +- (void)testSendClusterTestCluster_000344_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_SIMPLE_ENUM null Value"]; @@ -28806,7 +28907,7 @@ - (void)testSendClusterTestCluster_000341_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000342_ReadAttribute +- (void)testSendClusterTestCluster_000345_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_SIMPLE_ENUM null Value"]; @@ -28830,7 +28931,7 @@ - (void)testSendClusterTestCluster_000342_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000343_ReadAttribute +- (void)testSendClusterTestCluster_000346_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING Default Value"]; @@ -28855,7 +28956,7 @@ - (void)testSendClusterTestCluster_000343_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000344_WriteAttribute +- (void)testSendClusterTestCluster_000347_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_OCTET_STRING"]; @@ -28877,7 +28978,7 @@ - (void)testSendClusterTestCluster_000344_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000345_ReadAttribute +- (void)testSendClusterTestCluster_000348_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING"]; @@ -28902,7 +29003,7 @@ - (void)testSendClusterTestCluster_000345_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000346_WriteAttribute +- (void)testSendClusterTestCluster_000349_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_OCTET_STRING"]; @@ -28924,7 +29025,7 @@ - (void)testSendClusterTestCluster_000346_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000347_ReadAttribute +- (void)testSendClusterTestCluster_000350_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING"]; @@ -28948,7 +29049,7 @@ - (void)testSendClusterTestCluster_000347_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000348_WriteAttribute +- (void)testSendClusterTestCluster_000351_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_OCTET_STRING"]; @@ -28970,7 +29071,7 @@ - (void)testSendClusterTestCluster_000348_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000349_ReadAttribute +- (void)testSendClusterTestCluster_000352_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING"]; @@ -28995,7 +29096,7 @@ - (void)testSendClusterTestCluster_000349_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000350_ReadAttribute +- (void)testSendClusterTestCluster_000353_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING Default Value"]; @@ -29020,7 +29121,7 @@ - (void)testSendClusterTestCluster_000350_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000351_WriteAttribute +- (void)testSendClusterTestCluster_000354_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_CHAR_STRING"]; @@ -29042,7 +29143,7 @@ - (void)testSendClusterTestCluster_000351_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000352_ReadAttribute +- (void)testSendClusterTestCluster_000355_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING"]; @@ -29067,7 +29168,7 @@ - (void)testSendClusterTestCluster_000352_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000353_WriteAttribute +- (void)testSendClusterTestCluster_000356_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_CHAR_STRING - Value too long"]; @@ -29089,7 +29190,7 @@ - (void)testSendClusterTestCluster_000353_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000354_ReadAttribute +- (void)testSendClusterTestCluster_000357_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING"]; @@ -29113,7 +29214,7 @@ - (void)testSendClusterTestCluster_000354_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000355_WriteAttribute +- (void)testSendClusterTestCluster_000358_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_CHAR_STRING - Empty"]; @@ -29135,7 +29236,7 @@ - (void)testSendClusterTestCluster_000355_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000356_ReadAttribute +- (void)testSendClusterTestCluster_000359_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING"]; @@ -29160,7 +29261,7 @@ - (void)testSendClusterTestCluster_000356_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000357_ReadAttribute +- (void)testSendClusterTestCluster_000360_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute from nonexistent endpoint."]; @@ -29178,7 +29279,7 @@ - (void)testSendClusterTestCluster_000357_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000358_ReadAttribute +- (void)testSendClusterTestCluster_000361_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute from nonexistent cluster."]; @@ -29196,7 +29297,7 @@ - (void)testSendClusterTestCluster_000358_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000359_TestSimpleOptionalArgumentRequest +- (void)testSendClusterTestCluster_000362_TestSimpleOptionalArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send a command that takes an optional parameter but do not set it."]; @@ -29218,7 +29319,7 @@ - (void)testSendClusterTestCluster_000359_TestSimpleOptionalArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000360_TestSimpleOptionalArgumentRequest +- (void)testSendClusterTestCluster_000363_TestSimpleOptionalArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send a command that takes an optional parameter but do not set it."]; @@ -29242,9 +29343,9 @@ - (void)testSendClusterTestCluster_000360_TestSimpleOptionalArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -bool testSendClusterTestCluster_000361_WaitForReport_Fulfilled = false; +bool testSendClusterTestCluster_000364_WaitForReport_Fulfilled = false; ResponseHandler test_TestCluster_list_int8u_Reported = nil; -- (void)testSendClusterTestCluster_000361_WaitForReport +- (void)testSendClusterTestCluster_000364_WaitForReport { CHIPDevice * device = GetConnectedDevice(); @@ -29266,10 +29367,10 @@ - (void)testSendClusterTestCluster_000361_WaitForReport XCTAssertEqual([actualValue[3] unsignedCharValue], 4); } - testSendClusterTestCluster_000361_WaitForReport_Fulfilled = true; + testSendClusterTestCluster_000364_WaitForReport_Fulfilled = true; }; } -- (void)testSendClusterTestCluster_000362_SubscribeAttribute +- (void)testSendClusterTestCluster_000365_SubscribeAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Subscribe to list attribute"]; @@ -29283,7 +29384,7 @@ - (void)testSendClusterTestCluster_000362_SubscribeAttribute [cluster subscribeAttributeListInt8uWithMinInterval:minIntervalArgument maxInterval:maxIntervalArgument subscriptionEstablished:^{ - XCTAssertEqual(testSendClusterTestCluster_000361_WaitForReport_Fulfilled, true); + XCTAssertEqual(testSendClusterTestCluster_000364_WaitForReport_Fulfilled, true); [expectation fulfill]; } reportHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -29299,7 +29400,7 @@ - (void)testSendClusterTestCluster_000362_SubscribeAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000363_WriteAttribute +- (void)testSendClusterTestCluster_000366_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write subscribed-to list attribute"]; @@ -29328,7 +29429,7 @@ - (void)testSendClusterTestCluster_000363_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000364_WaitForReport +- (void)testSendClusterTestCluster_000367_WaitForReport { XCTestExpectation * expectation = [self expectationWithDescription:@"Check for list attribute report"]; @@ -29356,7 +29457,7 @@ - (void)testSendClusterTestCluster_000364_WaitForReport [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000365_ReadAttribute +- (void)testSendClusterTestCluster_000368_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read range-restricted unsigned 8-bit integer"]; @@ -29380,7 +29481,7 @@ - (void)testSendClusterTestCluster_000365_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000366_WriteAttribute +- (void)testSendClusterTestCluster_000369_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a range-restricted unsigned 8-bit integer"]; @@ -29403,7 +29504,7 @@ - (void)testSendClusterTestCluster_000366_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000367_WriteAttribute +- (void)testSendClusterTestCluster_000370_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a range-restricted unsigned 8-bit integer"]; @@ -29428,7 +29529,7 @@ - (void)testSendClusterTestCluster_000367_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000368_WriteAttribute +- (void)testSendClusterTestCluster_000371_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a range-restricted unsigned 8-bit integer"]; @@ -29453,7 +29554,7 @@ - (void)testSendClusterTestCluster_000368_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000369_WriteAttribute +- (void)testSendClusterTestCluster_000372_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a range-restricted unsigned 8-bit integer"]; @@ -29476,7 +29577,7 @@ - (void)testSendClusterTestCluster_000369_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000370_ReadAttribute +- (void)testSendClusterTestCluster_000373_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 8-bit integer value has not changed"]; @@ -29501,7 +29602,7 @@ - (void)testSendClusterTestCluster_000370_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000371_WriteAttribute +- (void)testSendClusterTestCluster_000374_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a range-restricted unsigned 8-bit integer"]; @@ -29525,7 +29626,7 @@ - (void)testSendClusterTestCluster_000371_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000372_ReadAttribute +- (void)testSendClusterTestCluster_000375_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 8-bit integer value is at min valid"]; @@ -29550,7 +29651,7 @@ - (void)testSendClusterTestCluster_000372_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000373_WriteAttribute +- (void)testSendClusterTestCluster_000376_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a range-restricted unsigned 8-bit integer"]; @@ -29574,7 +29675,7 @@ - (void)testSendClusterTestCluster_000373_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000374_ReadAttribute +- (void)testSendClusterTestCluster_000377_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 8-bit integer value is at max valid"]; @@ -29599,7 +29700,7 @@ - (void)testSendClusterTestCluster_000374_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000375_WriteAttribute +- (void)testSendClusterTestCluster_000378_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a range-restricted unsigned 8-bit integer"]; @@ -29623,7 +29724,7 @@ - (void)testSendClusterTestCluster_000375_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000376_ReadAttribute +- (void)testSendClusterTestCluster_000379_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 8-bit integer value is at mid valid"]; @@ -29648,7 +29749,7 @@ - (void)testSendClusterTestCluster_000376_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000377_ReadAttribute +- (void)testSendClusterTestCluster_000380_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read range-restricted unsigned 16-bit integer"]; @@ -29672,7 +29773,7 @@ - (void)testSendClusterTestCluster_000377_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000378_WriteAttribute +- (void)testSendClusterTestCluster_000381_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a range-restricted unsigned 16-bit integer"]; @@ -29695,7 +29796,7 @@ - (void)testSendClusterTestCluster_000378_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000379_WriteAttribute +- (void)testSendClusterTestCluster_000382_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a range-restricted unsigned 16-bit integer"]; @@ -29721,7 +29822,7 @@ - (void)testSendClusterTestCluster_000379_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000380_WriteAttribute +- (void)testSendClusterTestCluster_000383_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a range-restricted unsigned 16-bit integer"]; @@ -29747,7 +29848,7 @@ - (void)testSendClusterTestCluster_000380_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000381_WriteAttribute +- (void)testSendClusterTestCluster_000384_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a range-restricted unsigned 16-bit integer"]; @@ -29770,7 +29871,7 @@ - (void)testSendClusterTestCluster_000381_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000382_ReadAttribute +- (void)testSendClusterTestCluster_000385_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 16-bit integer value has not changed"]; @@ -29795,7 +29896,7 @@ - (void)testSendClusterTestCluster_000382_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000383_WriteAttribute +- (void)testSendClusterTestCluster_000386_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a range-restricted unsigned 16-bit integer"]; @@ -29819,7 +29920,7 @@ - (void)testSendClusterTestCluster_000383_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000384_ReadAttribute +- (void)testSendClusterTestCluster_000387_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 16-bit integer value is at min valid"]; @@ -29844,7 +29945,7 @@ - (void)testSendClusterTestCluster_000384_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000385_WriteAttribute +- (void)testSendClusterTestCluster_000388_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a range-restricted unsigned 16-bit integer"]; @@ -29868,7 +29969,7 @@ - (void)testSendClusterTestCluster_000385_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000386_ReadAttribute +- (void)testSendClusterTestCluster_000389_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 16-bit integer value is at max valid"]; @@ -29893,7 +29994,7 @@ - (void)testSendClusterTestCluster_000386_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000387_WriteAttribute +- (void)testSendClusterTestCluster_000390_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a range-restricted unsigned 16-bit integer"]; @@ -29918,7 +30019,7 @@ - (void)testSendClusterTestCluster_000387_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000388_ReadAttribute +- (void)testSendClusterTestCluster_000391_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted unsigned 16-bit integer value is at mid valid"]; @@ -29943,7 +30044,7 @@ - (void)testSendClusterTestCluster_000388_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000389_ReadAttribute +- (void)testSendClusterTestCluster_000392_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read range-restricted signed 8-bit integer"]; @@ -29967,7 +30068,7 @@ - (void)testSendClusterTestCluster_000389_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000390_WriteAttribute +- (void)testSendClusterTestCluster_000393_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a range-restricted signed 8-bit integer"]; @@ -29990,7 +30091,7 @@ - (void)testSendClusterTestCluster_000390_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000391_WriteAttribute +- (void)testSendClusterTestCluster_000394_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a range-restricted signed 8-bit integer"]; @@ -30015,7 +30116,7 @@ - (void)testSendClusterTestCluster_000391_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000392_WriteAttribute +- (void)testSendClusterTestCluster_000395_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a range-restricted signed 8-bit integer"]; @@ -30040,7 +30141,7 @@ - (void)testSendClusterTestCluster_000392_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000393_WriteAttribute +- (void)testSendClusterTestCluster_000396_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a range-restricted signed 8-bit integer"]; @@ -30063,7 +30164,7 @@ - (void)testSendClusterTestCluster_000393_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000394_ReadAttribute +- (void)testSendClusterTestCluster_000397_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 8-bit integer value has not changed"]; @@ -30088,7 +30189,7 @@ - (void)testSendClusterTestCluster_000394_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000395_WriteAttribute +- (void)testSendClusterTestCluster_000398_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a range-restricted signed 8-bit integer"]; @@ -30112,7 +30213,7 @@ - (void)testSendClusterTestCluster_000395_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000396_ReadAttribute +- (void)testSendClusterTestCluster_000399_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 8-bit integer value is at min valid"]; @@ -30137,7 +30238,7 @@ - (void)testSendClusterTestCluster_000396_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000397_WriteAttribute +- (void)testSendClusterTestCluster_000400_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a range-restricted signed 8-bit integer"]; @@ -30161,7 +30262,7 @@ - (void)testSendClusterTestCluster_000397_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000398_ReadAttribute +- (void)testSendClusterTestCluster_000401_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 8-bit integer value is at max valid"]; @@ -30186,7 +30287,7 @@ - (void)testSendClusterTestCluster_000398_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000399_WriteAttribute +- (void)testSendClusterTestCluster_000402_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a range-restricted signed 8-bit integer"]; @@ -30210,7 +30311,7 @@ - (void)testSendClusterTestCluster_000399_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000400_ReadAttribute +- (void)testSendClusterTestCluster_000403_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 8-bit integer value is at mid valid"]; @@ -30235,7 +30336,7 @@ - (void)testSendClusterTestCluster_000400_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000401_ReadAttribute +- (void)testSendClusterTestCluster_000404_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read range-restricted signed 16-bit integer"]; @@ -30259,7 +30360,7 @@ - (void)testSendClusterTestCluster_000401_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000402_WriteAttribute +- (void)testSendClusterTestCluster_000405_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a range-restricted signed 16-bit integer"]; @@ -30282,7 +30383,7 @@ - (void)testSendClusterTestCluster_000402_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000403_WriteAttribute +- (void)testSendClusterTestCluster_000406_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a range-restricted signed 16-bit integer"]; @@ -30307,7 +30408,7 @@ - (void)testSendClusterTestCluster_000403_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000404_WriteAttribute +- (void)testSendClusterTestCluster_000407_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a range-restricted signed 16-bit integer"]; @@ -30332,7 +30433,7 @@ - (void)testSendClusterTestCluster_000404_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000405_WriteAttribute +- (void)testSendClusterTestCluster_000408_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a range-restricted signed 16-bit integer"]; @@ -30355,7 +30456,7 @@ - (void)testSendClusterTestCluster_000405_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000406_ReadAttribute +- (void)testSendClusterTestCluster_000409_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 16-bit integer value has not changed"]; @@ -30380,7 +30481,7 @@ - (void)testSendClusterTestCluster_000406_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000407_WriteAttribute +- (void)testSendClusterTestCluster_000410_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a range-restricted signed 16-bit integer"]; @@ -30404,7 +30505,7 @@ - (void)testSendClusterTestCluster_000407_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000408_ReadAttribute +- (void)testSendClusterTestCluster_000411_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 16-bit integer value is at min valid"]; @@ -30429,7 +30530,7 @@ - (void)testSendClusterTestCluster_000408_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000409_WriteAttribute +- (void)testSendClusterTestCluster_000412_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a range-restricted signed 16-bit integer"]; @@ -30453,7 +30554,7 @@ - (void)testSendClusterTestCluster_000409_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000410_ReadAttribute +- (void)testSendClusterTestCluster_000413_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 16-bit integer value is at max valid"]; @@ -30478,7 +30579,7 @@ - (void)testSendClusterTestCluster_000410_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000411_WriteAttribute +- (void)testSendClusterTestCluster_000414_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a range-restricted signed 16-bit integer"]; @@ -30502,7 +30603,7 @@ - (void)testSendClusterTestCluster_000411_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000412_ReadAttribute +- (void)testSendClusterTestCluster_000415_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify range-restricted signed 16-bit integer value is at mid valid"]; @@ -30527,7 +30628,7 @@ - (void)testSendClusterTestCluster_000412_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000413_ReadAttribute +- (void)testSendClusterTestCluster_000416_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read nullable range-restricted unsigned 8-bit integer"]; @@ -30552,7 +30653,7 @@ - (void)testSendClusterTestCluster_000413_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000414_WriteAttribute +- (void)testSendClusterTestCluster_000417_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30577,7 +30678,7 @@ - (void)testSendClusterTestCluster_000414_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000415_WriteAttribute +- (void)testSendClusterTestCluster_000418_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30602,7 +30703,7 @@ - (void)testSendClusterTestCluster_000415_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000416_WriteAttribute +- (void)testSendClusterTestCluster_000419_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30627,7 +30728,7 @@ - (void)testSendClusterTestCluster_000416_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000417_WriteAttribute +- (void)testSendClusterTestCluster_000420_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30652,7 +30753,7 @@ - (void)testSendClusterTestCluster_000417_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000418_ReadAttribute +- (void)testSendClusterTestCluster_000421_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 8-bit integer value has not changed"]; @@ -30678,7 +30779,7 @@ - (void)testSendClusterTestCluster_000418_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000419_WriteAttribute +- (void)testSendClusterTestCluster_000422_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30703,7 +30804,7 @@ - (void)testSendClusterTestCluster_000419_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000420_ReadAttribute +- (void)testSendClusterTestCluster_000423_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 8-bit integer value is at min valid"]; @@ -30729,7 +30830,7 @@ - (void)testSendClusterTestCluster_000420_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000421_WriteAttribute +- (void)testSendClusterTestCluster_000424_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30754,7 +30855,7 @@ - (void)testSendClusterTestCluster_000421_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000422_ReadAttribute +- (void)testSendClusterTestCluster_000425_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 8-bit integer value is at max valid"]; @@ -30780,7 +30881,7 @@ - (void)testSendClusterTestCluster_000422_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000423_WriteAttribute +- (void)testSendClusterTestCluster_000426_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30805,7 +30906,7 @@ - (void)testSendClusterTestCluster_000423_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000424_ReadAttribute +- (void)testSendClusterTestCluster_000427_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 8-bit integer value is at mid valid"]; @@ -30831,7 +30932,7 @@ - (void)testSendClusterTestCluster_000424_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000425_WriteAttribute +- (void)testSendClusterTestCluster_000428_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write null value to a nullable range-restricted unsigned 8-bit integer"]; @@ -30856,7 +30957,7 @@ - (void)testSendClusterTestCluster_000425_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000426_ReadAttribute +- (void)testSendClusterTestCluster_000429_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 8-bit integer value is null"]; @@ -30881,7 +30982,7 @@ - (void)testSendClusterTestCluster_000426_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000427_ReadAttribute +- (void)testSendClusterTestCluster_000430_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read nullable range-restricted unsigned 16-bit integer"]; @@ -30907,7 +31008,7 @@ - (void)testSendClusterTestCluster_000427_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000428_WriteAttribute +- (void)testSendClusterTestCluster_000431_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a nullable range-restricted unsigned 16-bit integer"]; @@ -30932,7 +31033,7 @@ - (void)testSendClusterTestCluster_000428_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000429_WriteAttribute +- (void)testSendClusterTestCluster_000432_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a nullable range-restricted unsigned 16-bit integer"]; @@ -30957,7 +31058,7 @@ - (void)testSendClusterTestCluster_000429_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000430_WriteAttribute +- (void)testSendClusterTestCluster_000433_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a nullable range-restricted unsigned 16-bit integer"]; @@ -30982,7 +31083,7 @@ - (void)testSendClusterTestCluster_000430_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000431_WriteAttribute +- (void)testSendClusterTestCluster_000434_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a nullable range-restricted unsigned 16-bit integer"]; @@ -31007,7 +31108,7 @@ - (void)testSendClusterTestCluster_000431_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000432_ReadAttribute +- (void)testSendClusterTestCluster_000435_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 16-bit integer value has not changed"]; @@ -31034,7 +31135,7 @@ - (void)testSendClusterTestCluster_000432_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000433_WriteAttribute +- (void)testSendClusterTestCluster_000436_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a nullable range-restricted unsigned 16-bit integer"]; @@ -31059,7 +31160,7 @@ - (void)testSendClusterTestCluster_000433_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000434_ReadAttribute +- (void)testSendClusterTestCluster_000437_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 16-bit integer value is at min valid"]; @@ -31086,7 +31187,7 @@ - (void)testSendClusterTestCluster_000434_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000435_WriteAttribute +- (void)testSendClusterTestCluster_000438_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a nullable range-restricted unsigned 16-bit integer"]; @@ -31111,7 +31212,7 @@ - (void)testSendClusterTestCluster_000435_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000436_ReadAttribute +- (void)testSendClusterTestCluster_000439_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 16-bit integer value is at max valid"]; @@ -31138,7 +31239,7 @@ - (void)testSendClusterTestCluster_000436_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000437_WriteAttribute +- (void)testSendClusterTestCluster_000440_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a nullable range-restricted unsigned 16-bit integer"]; @@ -31163,7 +31264,7 @@ - (void)testSendClusterTestCluster_000437_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000438_ReadAttribute +- (void)testSendClusterTestCluster_000441_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 16-bit integer value is at mid valid"]; @@ -31190,7 +31291,7 @@ - (void)testSendClusterTestCluster_000438_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000439_WriteAttribute +- (void)testSendClusterTestCluster_000442_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write null value to a nullable range-restricted unsigned 16-bit integer"]; @@ -31215,7 +31316,7 @@ - (void)testSendClusterTestCluster_000439_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000440_ReadAttribute +- (void)testSendClusterTestCluster_000443_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted unsigned 16-bit integer value is null"]; @@ -31241,7 +31342,7 @@ - (void)testSendClusterTestCluster_000440_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000441_ReadAttribute +- (void)testSendClusterTestCluster_000444_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read nullable range-restricted signed 8-bit integer"]; @@ -31266,7 +31367,7 @@ - (void)testSendClusterTestCluster_000441_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000442_WriteAttribute +- (void)testSendClusterTestCluster_000445_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a nullable range-restricted signed 8-bit integer"]; @@ -31292,7 +31393,7 @@ - (void)testSendClusterTestCluster_000442_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000443_WriteAttribute +- (void)testSendClusterTestCluster_000446_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a nullable range-restricted signed 8-bit integer"]; @@ -31317,7 +31418,7 @@ - (void)testSendClusterTestCluster_000443_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000444_WriteAttribute +- (void)testSendClusterTestCluster_000447_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a nullable range-restricted signed 8-bit integer"]; @@ -31342,7 +31443,7 @@ - (void)testSendClusterTestCluster_000444_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000445_WriteAttribute +- (void)testSendClusterTestCluster_000448_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a nullable range-restricted signed 8-bit integer"]; @@ -31368,7 +31469,7 @@ - (void)testSendClusterTestCluster_000445_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000446_ReadAttribute +- (void)testSendClusterTestCluster_000449_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 8-bit integer value has not changed"]; @@ -31394,7 +31495,7 @@ - (void)testSendClusterTestCluster_000446_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000447_WriteAttribute +- (void)testSendClusterTestCluster_000450_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a nullable range-restricted signed 8-bit integer"]; @@ -31419,7 +31520,7 @@ - (void)testSendClusterTestCluster_000447_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000448_ReadAttribute +- (void)testSendClusterTestCluster_000451_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 8-bit integer value is at min valid"]; @@ -31445,7 +31546,7 @@ - (void)testSendClusterTestCluster_000448_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000449_WriteAttribute +- (void)testSendClusterTestCluster_000452_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a nullable range-restricted signed 8-bit integer"]; @@ -31470,7 +31571,7 @@ - (void)testSendClusterTestCluster_000449_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000450_ReadAttribute +- (void)testSendClusterTestCluster_000453_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 8-bit integer value is at max valid"]; @@ -31496,7 +31597,7 @@ - (void)testSendClusterTestCluster_000450_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000451_WriteAttribute +- (void)testSendClusterTestCluster_000454_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a nullable range-restricted signed 8-bit integer"]; @@ -31521,7 +31622,7 @@ - (void)testSendClusterTestCluster_000451_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000452_ReadAttribute +- (void)testSendClusterTestCluster_000455_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 8-bit integer value is at mid valid"]; @@ -31547,7 +31648,7 @@ - (void)testSendClusterTestCluster_000452_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000453_WriteAttribute +- (void)testSendClusterTestCluster_000456_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write null value to a nullable range-restricted signed 8-bit integer"]; @@ -31573,7 +31674,7 @@ - (void)testSendClusterTestCluster_000453_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000454_ReadAttribute +- (void)testSendClusterTestCluster_000457_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 8-bit integer value is at null"]; @@ -31598,7 +31699,7 @@ - (void)testSendClusterTestCluster_000454_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000455_ReadAttribute +- (void)testSendClusterTestCluster_000458_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read nullable range-restricted signed 16-bit integer"]; @@ -31624,7 +31725,7 @@ - (void)testSendClusterTestCluster_000455_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000456_WriteAttribute +- (void)testSendClusterTestCluster_000459_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min value to a nullable range-restricted signed 16-bit integer"]; @@ -31649,7 +31750,7 @@ - (void)testSendClusterTestCluster_000456_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000457_WriteAttribute +- (void)testSendClusterTestCluster_000460_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-below-range value to a nullable range-restricted signed 16-bit integer"]; @@ -31674,7 +31775,7 @@ - (void)testSendClusterTestCluster_000457_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000458_WriteAttribute +- (void)testSendClusterTestCluster_000461_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write just-above-range value to a nullable range-restricted signed 16-bit integer"]; @@ -31699,7 +31800,7 @@ - (void)testSendClusterTestCluster_000458_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000459_WriteAttribute +- (void)testSendClusterTestCluster_000462_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max value to a nullable range-restricted signed 16-bit integer"]; @@ -31724,7 +31825,7 @@ - (void)testSendClusterTestCluster_000459_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000460_ReadAttribute +- (void)testSendClusterTestCluster_000463_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 16-bit integer value has not changed"]; @@ -31751,7 +31852,7 @@ - (void)testSendClusterTestCluster_000460_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000461_WriteAttribute +- (void)testSendClusterTestCluster_000464_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write min valid value to a nullable range-restricted signed 16-bit integer"]; @@ -31776,7 +31877,7 @@ - (void)testSendClusterTestCluster_000461_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000462_ReadAttribute +- (void)testSendClusterTestCluster_000465_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 16-bit integer value is at min valid"]; @@ -31803,7 +31904,7 @@ - (void)testSendClusterTestCluster_000462_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000463_WriteAttribute +- (void)testSendClusterTestCluster_000466_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write max valid value to a nullable range-restricted signed 16-bit integer"]; @@ -31828,7 +31929,7 @@ - (void)testSendClusterTestCluster_000463_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000464_ReadAttribute +- (void)testSendClusterTestCluster_000467_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 16-bit integer value is at max valid"]; @@ -31855,7 +31956,7 @@ - (void)testSendClusterTestCluster_000464_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000465_WriteAttribute +- (void)testSendClusterTestCluster_000468_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write middle valid value to a nullable range-restricted signed 16-bit integer"]; @@ -31880,7 +31981,7 @@ - (void)testSendClusterTestCluster_000465_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000466_ReadAttribute +- (void)testSendClusterTestCluster_000469_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 16-bit integer value is at mid valid"]; @@ -31907,7 +32008,7 @@ - (void)testSendClusterTestCluster_000466_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000467_WriteAttribute +- (void)testSendClusterTestCluster_000470_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write null value to a nullable range-restricted signed 16-bit integer"]; @@ -31932,7 +32033,7 @@ - (void)testSendClusterTestCluster_000467_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000468_ReadAttribute +- (void)testSendClusterTestCluster_000471_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Verify nullable range-restricted signed 16-bit integer value is null"]; diff --git a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h index 8a2cc85b40c21b..0b495aa2050eac 100644 --- a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h +++ b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h @@ -2161,7 +2161,7 @@ { 0x0020, ZAP_TYPE(EPOCH_US), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(2664) }, /* epoch_us */ \ { 0x0021, ZAP_TYPE(EPOCH_S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(2672) }, /* epoch_s */ \ { 0x0022, ZAP_TYPE(VENDOR_ID), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* vendor_id */ \ - { 0x0023, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ + { 0x0023, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ ZAP_EMPTY_DEFAULT() }, /* list_nullables_and_optionals_struct */ \ { 0x0024, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* enum_attr */ \ { 0x0025, ZAP_TYPE(STRUCT), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index c6c9fc930f5f44..4858fb09f9821f 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -14977,9 +14977,12 @@ class Test_TC_DM_2_2 : public TestCommand void OnSuccessResponse_1(const chip::app::DataModel::DecodableList< chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> & fabricsList) { - auto iter = fabricsList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("fabricsList", iter, 0)); - VerifyOrReturn(CheckNoMoreListItems("fabricsList", iter, 1)); + { + auto iter_0 = fabricsList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("fabricsList", iter_0, 0)); + VerifyOrReturn(CheckValueAsString("fabricsList[0].label", iter_0.GetValue().label, chip::CharSpan("", 0))); + VerifyOrReturn(CheckNoMoreListItems("fabricsList", iter_0, 1)); + } NextTest(); } @@ -16900,7 +16903,8 @@ class Test_TC_LVL_3_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable defaultMoveRateArgument; - defaultMoveRateArgument.SetNonNull() = 20; + defaultMoveRateArgument.SetNonNull(); + defaultMoveRateArgument.Value() = 20; ReturnErrorOnFailure(cluster.WriteAttribute( defaultMoveRateArgument, this, OnSuccessCallback_10, OnFailureCallback_10)); @@ -30524,7 +30528,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable targetPositionLiftPercent100thsArgument; - targetPositionLiftPercent100thsArgument.SetNonNull() = 20000U; + targetPositionLiftPercent100thsArgument.SetNonNull(); + targetPositionLiftPercent100thsArgument.Value() = 20000U; ReturnErrorOnFailure( cluster.WriteAttribute( @@ -30591,7 +30596,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable targetPositionTiltPercent100thsArgument; - targetPositionTiltPercent100thsArgument.SetNonNull() = 20000U; + targetPositionTiltPercent100thsArgument.SetNonNull(); + targetPositionTiltPercent100thsArgument.Value() = 20000U; ReturnErrorOnFailure( cluster.WriteAttribute( @@ -30658,7 +30664,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable currentPositionLiftPercent100thsArgument; - currentPositionLiftPercent100thsArgument.SetNonNull() = 20000U; + currentPositionLiftPercent100thsArgument.SetNonNull(); + currentPositionLiftPercent100thsArgument.Value() = 20000U; ReturnErrorOnFailure( cluster.WriteAttribute( @@ -30725,7 +30732,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable currentPositionTiltPercent100thsArgument; - currentPositionTiltPercent100thsArgument.SetNonNull() = 20000U; + currentPositionTiltPercent100thsArgument.SetNonNull(); + currentPositionTiltPercent100thsArgument.Value() = 20000U; ReturnErrorOnFailure( cluster.WriteAttribute( @@ -31113,7 +31121,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable currentPositionLiftArgument; - currentPositionLiftArgument.SetNonNull() = 255U; + currentPositionLiftArgument.SetNonNull(); + currentPositionLiftArgument.Value() = 255U; ReturnErrorOnFailure(cluster.WriteAttribute( currentPositionLiftArgument, this, OnSuccessCallback_44, OnFailureCallback_44)); @@ -31175,7 +31184,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable currentPositionTiltArgument; - currentPositionTiltArgument.SetNonNull() = 255U; + currentPositionTiltArgument.SetNonNull(); + currentPositionTiltArgument.Value() = 255U; ReturnErrorOnFailure(cluster.WriteAttribute( currentPositionTiltArgument, this, OnSuccessCallback_47, OnFailureCallback_47)); @@ -31238,7 +31248,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable currentPositionLiftPercentageArgument; - currentPositionLiftPercentageArgument.SetNonNull() = 200; + currentPositionLiftPercentageArgument.SetNonNull(); + currentPositionLiftPercentageArgument.Value() = 200; ReturnErrorOnFailure( cluster.WriteAttribute( @@ -31304,7 +31315,8 @@ class Test_TC_WNCV_2_1 : public TestCommand cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable currentPositionTiltPercentageArgument; - currentPositionTiltPercentageArgument.SetNonNull() = 200; + currentPositionTiltPercentageArgument.SetNonNull(); + currentPositionTiltPercentageArgument.Value() = 200; ReturnErrorOnFailure( cluster.WriteAttribute( @@ -32200,14 +32212,18 @@ class TV_TargetNavigatorCluster : public TestCommand const chip::app::DataModel::DecodableList & targetNavigatorList) { - auto iter = targetNavigatorList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("targetNavigatorList", iter, 0)); - VerifyOrReturn(CheckValue("targetNavigatorList[0].identifier", iter.GetValue().identifier, 1)); - VerifyOrReturn(CheckValueAsString("targetNavigatorList[0].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckNextListItemDecodes("targetNavigatorList", iter, 1)); - VerifyOrReturn(CheckValue("targetNavigatorList[1].identifier", iter.GetValue().identifier, 2)); - VerifyOrReturn(CheckValueAsString("targetNavigatorList[1].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckNoMoreListItems("targetNavigatorList", iter, 2)); + { + auto iter_0 = targetNavigatorList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("targetNavigatorList", iter_0, 0)); + VerifyOrReturn(CheckValue("targetNavigatorList[0].identifier", iter_0.GetValue().identifier, 1)); + VerifyOrReturn( + CheckValueAsString("targetNavigatorList[0].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckNextListItemDecodes("targetNavigatorList", iter_0, 1)); + VerifyOrReturn(CheckValue("targetNavigatorList[1].identifier", iter_0.GetValue().identifier, 2)); + VerifyOrReturn( + CheckValueAsString("targetNavigatorList[1].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckNoMoreListItems("targetNavigatorList", iter_0, 2)); + } NextTest(); } @@ -32379,20 +32395,25 @@ class TV_AudioOutputCluster : public TestCommand const chip::app::DataModel::DecodableList & audioOutputList) { - auto iter = audioOutputList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("audioOutputList", iter, 0)); - VerifyOrReturn(CheckValue("audioOutputList[0].index", iter.GetValue().index, 1)); - VerifyOrReturn(CheckValue("audioOutputList[0].outputType", iter.GetValue().outputType, 0)); - VerifyOrReturn(CheckValueAsString("audioOutputList[0].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckNextListItemDecodes("audioOutputList", iter, 1)); - VerifyOrReturn(CheckValue("audioOutputList[1].index", iter.GetValue().index, 2)); - VerifyOrReturn(CheckValue("audioOutputList[1].outputType", iter.GetValue().outputType, 0)); - VerifyOrReturn(CheckValueAsString("audioOutputList[1].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckNextListItemDecodes("audioOutputList", iter, 2)); - VerifyOrReturn(CheckValue("audioOutputList[2].index", iter.GetValue().index, 3)); - VerifyOrReturn(CheckValue("audioOutputList[2].outputType", iter.GetValue().outputType, 0)); - VerifyOrReturn(CheckValueAsString("audioOutputList[2].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckNoMoreListItems("audioOutputList", iter, 3)); + { + auto iter_0 = audioOutputList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("audioOutputList", iter_0, 0)); + VerifyOrReturn(CheckValue("audioOutputList[0].index", iter_0.GetValue().index, 1)); + VerifyOrReturn(CheckValue("audioOutputList[0].outputType", iter_0.GetValue().outputType, 0)); + VerifyOrReturn( + CheckValueAsString("audioOutputList[0].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckNextListItemDecodes("audioOutputList", iter_0, 1)); + VerifyOrReturn(CheckValue("audioOutputList[1].index", iter_0.GetValue().index, 2)); + VerifyOrReturn(CheckValue("audioOutputList[1].outputType", iter_0.GetValue().outputType, 0)); + VerifyOrReturn( + CheckValueAsString("audioOutputList[1].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckNextListItemDecodes("audioOutputList", iter_0, 2)); + VerifyOrReturn(CheckValue("audioOutputList[2].index", iter_0.GetValue().index, 3)); + VerifyOrReturn(CheckValue("audioOutputList[2].outputType", iter_0.GetValue().outputType, 0)); + VerifyOrReturn( + CheckValueAsString("audioOutputList[2].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckNoMoreListItems("audioOutputList", iter_0, 3)); + } NextTest(); } @@ -32566,12 +32587,14 @@ class TV_ApplicationLauncherCluster : public TestCommand void OnSuccessResponse_1(const chip::app::DataModel::DecodableList & applicationLauncherList) { - auto iter = applicationLauncherList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("applicationLauncherList", iter, 0)); - VerifyOrReturn(CheckValue("applicationLauncherList[0]", iter.GetValue(), 123U)); - VerifyOrReturn(CheckNextListItemDecodes("applicationLauncherList", iter, 1)); - VerifyOrReturn(CheckValue("applicationLauncherList[1]", iter.GetValue(), 456U)); - VerifyOrReturn(CheckNoMoreListItems("applicationLauncherList", iter, 2)); + { + auto iter_0 = applicationLauncherList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("applicationLauncherList", iter_0, 0)); + VerifyOrReturn(CheckValue("applicationLauncherList[0]", iter_0.GetValue(), 123U)); + VerifyOrReturn(CheckNextListItemDecodes("applicationLauncherList", iter_0, 1)); + VerifyOrReturn(CheckValue("applicationLauncherList[1]", iter_0.GetValue(), 456U)); + VerifyOrReturn(CheckNoMoreListItems("applicationLauncherList", iter_0, 2)); + } NextTest(); } @@ -33996,22 +34019,26 @@ class TV_ChannelCluster : public TestCommand void OnSuccessResponse_1( const chip::app::DataModel::DecodableList & channelList) { - auto iter = channelList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("channelList", iter, 0)); - VerifyOrReturn(CheckValue("channelList[0].majorNumber", iter.GetValue().majorNumber, 1U)); - VerifyOrReturn(CheckValue("channelList[0].minorNumber", iter.GetValue().minorNumber, 2U)); - VerifyOrReturn(CheckValueAsString("channelList[0].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckValueAsString("channelList[0].callSign", iter.GetValue().callSign, chip::CharSpan("exampleCSign", 12))); - VerifyOrReturn(CheckValueAsString("channelList[0].affiliateCallSign", iter.GetValue().affiliateCallSign, - chip::CharSpan("exampleASign", 12))); - VerifyOrReturn(CheckNextListItemDecodes("channelList", iter, 1)); - VerifyOrReturn(CheckValue("channelList[1].majorNumber", iter.GetValue().majorNumber, 2U)); - VerifyOrReturn(CheckValue("channelList[1].minorNumber", iter.GetValue().minorNumber, 3U)); - VerifyOrReturn(CheckValueAsString("channelList[1].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckValueAsString("channelList[1].callSign", iter.GetValue().callSign, chip::CharSpan("exampleCSign", 12))); - VerifyOrReturn(CheckValueAsString("channelList[1].affiliateCallSign", iter.GetValue().affiliateCallSign, - chip::CharSpan("exampleASign", 12))); - VerifyOrReturn(CheckNoMoreListItems("channelList", iter, 2)); + { + auto iter_0 = channelList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("channelList", iter_0, 0)); + VerifyOrReturn(CheckValue("channelList[0].majorNumber", iter_0.GetValue().majorNumber, 1U)); + VerifyOrReturn(CheckValue("channelList[0].minorNumber", iter_0.GetValue().minorNumber, 2U)); + VerifyOrReturn(CheckValueAsString("channelList[0].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn( + CheckValueAsString("channelList[0].callSign", iter_0.GetValue().callSign, chip::CharSpan("exampleCSign", 12))); + VerifyOrReturn(CheckValueAsString("channelList[0].affiliateCallSign", iter_0.GetValue().affiliateCallSign, + chip::CharSpan("exampleASign", 12))); + VerifyOrReturn(CheckNextListItemDecodes("channelList", iter_0, 1)); + VerifyOrReturn(CheckValue("channelList[1].majorNumber", iter_0.GetValue().majorNumber, 2U)); + VerifyOrReturn(CheckValue("channelList[1].minorNumber", iter_0.GetValue().minorNumber, 3U)); + VerifyOrReturn(CheckValueAsString("channelList[1].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn( + CheckValueAsString("channelList[1].callSign", iter_0.GetValue().callSign, chip::CharSpan("exampleCSign", 12))); + VerifyOrReturn(CheckValueAsString("channelList[1].affiliateCallSign", iter_0.GetValue().affiliateCallSign, + chip::CharSpan("exampleASign", 12))); + VerifyOrReturn(CheckNoMoreListItems("channelList", iter_0, 2)); + } NextTest(); } @@ -34296,12 +34323,14 @@ class TV_ContentLauncherCluster : public TestCommand void OnSuccessResponse_1(const chip::app::DataModel::DecodableList & acceptHeaderList) { - auto iter = acceptHeaderList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("acceptHeaderList", iter, 0)); - VerifyOrReturn(CheckValueAsString("acceptHeaderList[0]", iter.GetValue(), chip::CharSpan("example", 7))); - VerifyOrReturn(CheckNextListItemDecodes("acceptHeaderList", iter, 1)); - VerifyOrReturn(CheckValueAsString("acceptHeaderList[1]", iter.GetValue(), chip::CharSpan("example", 7))); - VerifyOrReturn(CheckNoMoreListItems("acceptHeaderList", iter, 2)); + { + auto iter_0 = acceptHeaderList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("acceptHeaderList", iter_0, 0)); + VerifyOrReturn(CheckValueAsString("acceptHeaderList[0]", iter_0.GetValue(), chip::CharSpan("example", 7))); + VerifyOrReturn(CheckNextListItemDecodes("acceptHeaderList", iter_0, 1)); + VerifyOrReturn(CheckValueAsString("acceptHeaderList[1]", iter_0.GetValue(), chip::CharSpan("example", 7))); + VerifyOrReturn(CheckNoMoreListItems("acceptHeaderList", iter_0, 2)); + } NextTest(); } @@ -34553,20 +34582,22 @@ class TV_MediaInputCluster : public TestCommand const chip::app::DataModel::DecodableList & mediaInputList) { - auto iter = mediaInputList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("mediaInputList", iter, 0)); - VerifyOrReturn(CheckValue("mediaInputList[0].index", iter.GetValue().index, 1)); - VerifyOrReturn(CheckValue("mediaInputList[0].inputType", iter.GetValue().inputType, 4)); - VerifyOrReturn(CheckValueAsString("mediaInputList[0].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckValueAsString("mediaInputList[0].description", iter.GetValue().description, - chip::CharSpan("exampleDescription", 18))); - VerifyOrReturn(CheckNextListItemDecodes("mediaInputList", iter, 1)); - VerifyOrReturn(CheckValue("mediaInputList[1].index", iter.GetValue().index, 2)); - VerifyOrReturn(CheckValue("mediaInputList[1].inputType", iter.GetValue().inputType, 4)); - VerifyOrReturn(CheckValueAsString("mediaInputList[1].name", iter.GetValue().name, chip::CharSpan("exampleName", 11))); - VerifyOrReturn(CheckValueAsString("mediaInputList[1].description", iter.GetValue().description, - chip::CharSpan("exampleDescription", 18))); - VerifyOrReturn(CheckNoMoreListItems("mediaInputList", iter, 2)); + { + auto iter_0 = mediaInputList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("mediaInputList", iter_0, 0)); + VerifyOrReturn(CheckValue("mediaInputList[0].index", iter_0.GetValue().index, 1)); + VerifyOrReturn(CheckValue("mediaInputList[0].inputType", iter_0.GetValue().inputType, 4)); + VerifyOrReturn(CheckValueAsString("mediaInputList[0].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckValueAsString("mediaInputList[0].description", iter_0.GetValue().description, + chip::CharSpan("exampleDescription", 18))); + VerifyOrReturn(CheckNextListItemDecodes("mediaInputList", iter_0, 1)); + VerifyOrReturn(CheckValue("mediaInputList[1].index", iter_0.GetValue().index, 2)); + VerifyOrReturn(CheckValue("mediaInputList[1].inputType", iter_0.GetValue().inputType, 4)); + VerifyOrReturn(CheckValueAsString("mediaInputList[1].name", iter_0.GetValue().name, chip::CharSpan("exampleName", 11))); + VerifyOrReturn(CheckValueAsString("mediaInputList[1].description", iter_0.GetValue().description, + chip::CharSpan("exampleDescription", 18))); + VerifyOrReturn(CheckNoMoreListItems("mediaInputList", iter_0, 2)); + } NextTest(); } @@ -35429,1284 +35460,1297 @@ class TestCluster : public TestCommand err = TestSendTestCommandWithoutItsOptionalArg_173(); break; case 174: - ChipLogProgress(chipTool, " ***** Test Step 174 : Write attribute NULLABLE_BOOLEAN null\n"); - err = TestWriteAttributeNullableBooleanNull_174(); + ChipLogProgress(chipTool, " ***** Test Step 174 : Read list of structs containing nullables and optionals\n"); + err = TestReadListOfStructsContainingNullablesAndOptionals_174(); break; case 175: - ChipLogProgress(chipTool, " ***** Test Step 175 : Read attribute NULLABLE_BOOLEAN null\n"); - err = TestReadAttributeNullableBooleanNull_175(); + ChipLogProgress(chipTool, " ***** Test Step 175 : Write list of structs containing nullables and optionals\n"); + err = TestWriteListOfStructsContainingNullablesAndOptionals_175(); break; case 176: - ChipLogProgress(chipTool, " ***** Test Step 176 : Write attribute NULLABLE_BOOLEAN True\n"); - err = TestWriteAttributeNullableBooleanTrue_176(); + ChipLogProgress(chipTool, + " ***** Test Step 176 : Read list of structs containing nullables and optionals after writing\n"); + err = TestReadListOfStructsContainingNullablesAndOptionalsAfterWriting_176(); break; case 177: - ChipLogProgress(chipTool, " ***** Test Step 177 : Read attribute NULLABLE_BOOLEAN True\n"); - err = TestReadAttributeNullableBooleanTrue_177(); + ChipLogProgress(chipTool, " ***** Test Step 177 : Write attribute NULLABLE_BOOLEAN null\n"); + err = TestWriteAttributeNullableBooleanNull_177(); break; case 178: - ChipLogProgress(chipTool, " ***** Test Step 178 : Write attribute NULLABLE_BITMAP8 Max Value\n"); - err = TestWriteAttributeNullableBitmap8MaxValue_178(); + ChipLogProgress(chipTool, " ***** Test Step 178 : Read attribute NULLABLE_BOOLEAN null\n"); + err = TestReadAttributeNullableBooleanNull_178(); break; case 179: - ChipLogProgress(chipTool, " ***** Test Step 179 : Read attribute NULLABLE_BITMAP8 Max Value\n"); - err = TestReadAttributeNullableBitmap8MaxValue_179(); + ChipLogProgress(chipTool, " ***** Test Step 179 : Write attribute NULLABLE_BOOLEAN True\n"); + err = TestWriteAttributeNullableBooleanTrue_179(); break; case 180: - ChipLogProgress(chipTool, " ***** Test Step 180 : Write attribute NULLABLE_BITMAP8 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap8InvalidValue_180(); + ChipLogProgress(chipTool, " ***** Test Step 180 : Read attribute NULLABLE_BOOLEAN True\n"); + err = TestReadAttributeNullableBooleanTrue_180(); break; case 181: - ChipLogProgress(chipTool, " ***** Test Step 181 : Read attribute NULLABLE_BITMAP8 unchanged Value\n"); - err = TestReadAttributeNullableBitmap8UnchangedValue_181(); + ChipLogProgress(chipTool, " ***** Test Step 181 : Write attribute NULLABLE_BITMAP8 Max Value\n"); + err = TestWriteAttributeNullableBitmap8MaxValue_181(); break; case 182: - ChipLogProgress(chipTool, " ***** Test Step 182 : Write attribute NULLABLE_BITMAP8 null Value\n"); - err = TestWriteAttributeNullableBitmap8NullValue_182(); + ChipLogProgress(chipTool, " ***** Test Step 182 : Read attribute NULLABLE_BITMAP8 Max Value\n"); + err = TestReadAttributeNullableBitmap8MaxValue_182(); break; case 183: - ChipLogProgress(chipTool, " ***** Test Step 183 : Read attribute NULLABLE_BITMAP8 null Value\n"); - err = TestReadAttributeNullableBitmap8NullValue_183(); + ChipLogProgress(chipTool, " ***** Test Step 183 : Write attribute NULLABLE_BITMAP8 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap8InvalidValue_183(); break; case 184: - ChipLogProgress(chipTool, " ***** Test Step 184 : Write attribute NULLABLE_BITMAP16 Max Value\n"); - err = TestWriteAttributeNullableBitmap16MaxValue_184(); + ChipLogProgress(chipTool, " ***** Test Step 184 : Read attribute NULLABLE_BITMAP8 unchanged Value\n"); + err = TestReadAttributeNullableBitmap8UnchangedValue_184(); break; case 185: - ChipLogProgress(chipTool, " ***** Test Step 185 : Read attribute NULLABLE_BITMAP16 Max Value\n"); - err = TestReadAttributeNullableBitmap16MaxValue_185(); + ChipLogProgress(chipTool, " ***** Test Step 185 : Write attribute NULLABLE_BITMAP8 null Value\n"); + err = TestWriteAttributeNullableBitmap8NullValue_185(); break; case 186: - ChipLogProgress(chipTool, " ***** Test Step 186 : Write attribute NULLABLE_BITMAP16 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap16InvalidValue_186(); + ChipLogProgress(chipTool, " ***** Test Step 186 : Read attribute NULLABLE_BITMAP8 null Value\n"); + err = TestReadAttributeNullableBitmap8NullValue_186(); break; case 187: - ChipLogProgress(chipTool, " ***** Test Step 187 : Read attribute NULLABLE_BITMAP16 unchanged Value\n"); - err = TestReadAttributeNullableBitmap16UnchangedValue_187(); + ChipLogProgress(chipTool, " ***** Test Step 187 : Write attribute NULLABLE_BITMAP16 Max Value\n"); + err = TestWriteAttributeNullableBitmap16MaxValue_187(); break; case 188: - ChipLogProgress(chipTool, " ***** Test Step 188 : Write attribute NULLABLE_BITMAP16 null Value\n"); - err = TestWriteAttributeNullableBitmap16NullValue_188(); + ChipLogProgress(chipTool, " ***** Test Step 188 : Read attribute NULLABLE_BITMAP16 Max Value\n"); + err = TestReadAttributeNullableBitmap16MaxValue_188(); break; case 189: - ChipLogProgress(chipTool, " ***** Test Step 189 : Read attribute NULLABLE_BITMAP16 null Value\n"); - err = TestReadAttributeNullableBitmap16NullValue_189(); + ChipLogProgress(chipTool, " ***** Test Step 189 : Write attribute NULLABLE_BITMAP16 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap16InvalidValue_189(); break; case 190: - ChipLogProgress(chipTool, " ***** Test Step 190 : Write attribute NULLABLE_BITMAP32 Max Value\n"); - err = TestWriteAttributeNullableBitmap32MaxValue_190(); + ChipLogProgress(chipTool, " ***** Test Step 190 : Read attribute NULLABLE_BITMAP16 unchanged Value\n"); + err = TestReadAttributeNullableBitmap16UnchangedValue_190(); break; case 191: - ChipLogProgress(chipTool, " ***** Test Step 191 : Read attribute NULLABLE_BITMAP32 Max Value\n"); - err = TestReadAttributeNullableBitmap32MaxValue_191(); + ChipLogProgress(chipTool, " ***** Test Step 191 : Write attribute NULLABLE_BITMAP16 null Value\n"); + err = TestWriteAttributeNullableBitmap16NullValue_191(); break; case 192: - ChipLogProgress(chipTool, " ***** Test Step 192 : Write attribute NULLABLE_BITMAP32 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap32InvalidValue_192(); + ChipLogProgress(chipTool, " ***** Test Step 192 : Read attribute NULLABLE_BITMAP16 null Value\n"); + err = TestReadAttributeNullableBitmap16NullValue_192(); break; case 193: - ChipLogProgress(chipTool, " ***** Test Step 193 : Read attribute NULLABLE_BITMAP32 unchanged Value\n"); - err = TestReadAttributeNullableBitmap32UnchangedValue_193(); + ChipLogProgress(chipTool, " ***** Test Step 193 : Write attribute NULLABLE_BITMAP32 Max Value\n"); + err = TestWriteAttributeNullableBitmap32MaxValue_193(); break; case 194: - ChipLogProgress(chipTool, " ***** Test Step 194 : Write attribute NULLABLE_BITMAP32 null Value\n"); - err = TestWriteAttributeNullableBitmap32NullValue_194(); + ChipLogProgress(chipTool, " ***** Test Step 194 : Read attribute NULLABLE_BITMAP32 Max Value\n"); + err = TestReadAttributeNullableBitmap32MaxValue_194(); break; case 195: - ChipLogProgress(chipTool, " ***** Test Step 195 : Read attribute NULLABLE_BITMAP32 null Value\n"); - err = TestReadAttributeNullableBitmap32NullValue_195(); + ChipLogProgress(chipTool, " ***** Test Step 195 : Write attribute NULLABLE_BITMAP32 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap32InvalidValue_195(); break; case 196: - ChipLogProgress(chipTool, " ***** Test Step 196 : Write attribute NULLABLE_BITMAP64 Max Value\n"); - err = TestWriteAttributeNullableBitmap64MaxValue_196(); + ChipLogProgress(chipTool, " ***** Test Step 196 : Read attribute NULLABLE_BITMAP32 unchanged Value\n"); + err = TestReadAttributeNullableBitmap32UnchangedValue_196(); break; case 197: - ChipLogProgress(chipTool, " ***** Test Step 197 : Read attribute NULLABLE_BITMAP64 Max Value\n"); - err = TestReadAttributeNullableBitmap64MaxValue_197(); + ChipLogProgress(chipTool, " ***** Test Step 197 : Write attribute NULLABLE_BITMAP32 null Value\n"); + err = TestWriteAttributeNullableBitmap32NullValue_197(); break; case 198: - ChipLogProgress(chipTool, " ***** Test Step 198 : Write attribute NULLABLE_BITMAP64 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap64InvalidValue_198(); + ChipLogProgress(chipTool, " ***** Test Step 198 : Read attribute NULLABLE_BITMAP32 null Value\n"); + err = TestReadAttributeNullableBitmap32NullValue_198(); break; case 199: - ChipLogProgress(chipTool, " ***** Test Step 199 : Read attribute NULLABLE_BITMAP64 unchanged Value\n"); - err = TestReadAttributeNullableBitmap64UnchangedValue_199(); + ChipLogProgress(chipTool, " ***** Test Step 199 : Write attribute NULLABLE_BITMAP64 Max Value\n"); + err = TestWriteAttributeNullableBitmap64MaxValue_199(); break; case 200: - ChipLogProgress(chipTool, " ***** Test Step 200 : Write attribute NULLABLE_BITMAP64 null Value\n"); - err = TestWriteAttributeNullableBitmap64NullValue_200(); + ChipLogProgress(chipTool, " ***** Test Step 200 : Read attribute NULLABLE_BITMAP64 Max Value\n"); + err = TestReadAttributeNullableBitmap64MaxValue_200(); break; case 201: - ChipLogProgress(chipTool, " ***** Test Step 201 : Read attribute NULLABLE_BITMAP64 null Value\n"); - err = TestReadAttributeNullableBitmap64NullValue_201(); + ChipLogProgress(chipTool, " ***** Test Step 201 : Write attribute NULLABLE_BITMAP64 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap64InvalidValue_201(); break; case 202: - ChipLogProgress(chipTool, " ***** Test Step 202 : Write attribute NULLABLE_INT8U Min Value\n"); - err = TestWriteAttributeNullableInt8uMinValue_202(); + ChipLogProgress(chipTool, " ***** Test Step 202 : Read attribute NULLABLE_BITMAP64 unchanged Value\n"); + err = TestReadAttributeNullableBitmap64UnchangedValue_202(); break; case 203: - ChipLogProgress(chipTool, " ***** Test Step 203 : Read attribute NULLABLE_INT8U Min Value\n"); - err = TestReadAttributeNullableInt8uMinValue_203(); + ChipLogProgress(chipTool, " ***** Test Step 203 : Write attribute NULLABLE_BITMAP64 null Value\n"); + err = TestWriteAttributeNullableBitmap64NullValue_203(); break; case 204: - ChipLogProgress(chipTool, " ***** Test Step 204 : Write attribute NULLABLE_INT8U Max Value\n"); - err = TestWriteAttributeNullableInt8uMaxValue_204(); + ChipLogProgress(chipTool, " ***** Test Step 204 : Read attribute NULLABLE_BITMAP64 null Value\n"); + err = TestReadAttributeNullableBitmap64NullValue_204(); break; case 205: - ChipLogProgress(chipTool, " ***** Test Step 205 : Read attribute NULLABLE_INT8U Max Value\n"); - err = TestReadAttributeNullableInt8uMaxValue_205(); + ChipLogProgress(chipTool, " ***** Test Step 205 : Write attribute NULLABLE_INT8U Min Value\n"); + err = TestWriteAttributeNullableInt8uMinValue_205(); break; case 206: - ChipLogProgress(chipTool, " ***** Test Step 206 : Write attribute NULLABLE_INT8U Invalid Value\n"); - err = TestWriteAttributeNullableInt8uInvalidValue_206(); + ChipLogProgress(chipTool, " ***** Test Step 206 : Read attribute NULLABLE_INT8U Min Value\n"); + err = TestReadAttributeNullableInt8uMinValue_206(); break; case 207: - ChipLogProgress(chipTool, " ***** Test Step 207 : Read attribute NULLABLE_INT8U unchanged Value\n"); - err = TestReadAttributeNullableInt8uUnchangedValue_207(); + ChipLogProgress(chipTool, " ***** Test Step 207 : Write attribute NULLABLE_INT8U Max Value\n"); + err = TestWriteAttributeNullableInt8uMaxValue_207(); break; case 208: - ChipLogProgress(chipTool, " ***** Test Step 208 : Read attribute NULLABLE_INT8U unchanged Value with constraint\n"); - err = TestReadAttributeNullableInt8uUnchangedValueWithConstraint_208(); + ChipLogProgress(chipTool, " ***** Test Step 208 : Read attribute NULLABLE_INT8U Max Value\n"); + err = TestReadAttributeNullableInt8uMaxValue_208(); break; case 209: - ChipLogProgress(chipTool, " ***** Test Step 209 : Write attribute NULLABLE_INT8U null Value\n"); - err = TestWriteAttributeNullableInt8uNullValue_209(); + ChipLogProgress(chipTool, " ***** Test Step 209 : Write attribute NULLABLE_INT8U Invalid Value\n"); + err = TestWriteAttributeNullableInt8uInvalidValue_209(); break; case 210: - ChipLogProgress(chipTool, " ***** Test Step 210 : Read attribute NULLABLE_INT8U null Value\n"); - err = TestReadAttributeNullableInt8uNullValue_210(); + ChipLogProgress(chipTool, " ***** Test Step 210 : Read attribute NULLABLE_INT8U unchanged Value\n"); + err = TestReadAttributeNullableInt8uUnchangedValue_210(); break; case 211: - ChipLogProgress(chipTool, " ***** Test Step 211 : Read attribute NULLABLE_INT8U null Value & range\n"); - err = TestReadAttributeNullableInt8uNullValueRange_211(); + ChipLogProgress(chipTool, " ***** Test Step 211 : Read attribute NULLABLE_INT8U unchanged Value with constraint\n"); + err = TestReadAttributeNullableInt8uUnchangedValueWithConstraint_211(); break; case 212: - ChipLogProgress(chipTool, " ***** Test Step 212 : Read attribute NULLABLE_INT8U null Value & not\n"); - err = TestReadAttributeNullableInt8uNullValueNot_212(); + ChipLogProgress(chipTool, " ***** Test Step 212 : Write attribute NULLABLE_INT8U null Value\n"); + err = TestWriteAttributeNullableInt8uNullValue_212(); break; case 213: - ChipLogProgress(chipTool, " ***** Test Step 213 : Write attribute NULLABLE_INT8U Value\n"); - err = TestWriteAttributeNullableInt8uValue_213(); + ChipLogProgress(chipTool, " ***** Test Step 213 : Read attribute NULLABLE_INT8U null Value\n"); + err = TestReadAttributeNullableInt8uNullValue_213(); break; case 214: - ChipLogProgress(chipTool, " ***** Test Step 214 : Read attribute NULLABLE_INT8U Value in range\n"); - err = TestReadAttributeNullableInt8uValueInRange_214(); + ChipLogProgress(chipTool, " ***** Test Step 214 : Read attribute NULLABLE_INT8U null Value & range\n"); + err = TestReadAttributeNullableInt8uNullValueRange_214(); break; case 215: - ChipLogProgress(chipTool, " ***** Test Step 215 : Read attribute NULLABLE_INT8U notValue OK\n"); - err = TestReadAttributeNullableInt8uNotValueOk_215(); + ChipLogProgress(chipTool, " ***** Test Step 215 : Read attribute NULLABLE_INT8U null Value & not\n"); + err = TestReadAttributeNullableInt8uNullValueNot_215(); break; case 216: - ChipLogProgress(chipTool, " ***** Test Step 216 : Write attribute NULLABLE_INT16U Min Value\n"); - err = TestWriteAttributeNullableInt16uMinValue_216(); + ChipLogProgress(chipTool, " ***** Test Step 216 : Write attribute NULLABLE_INT8U Value\n"); + err = TestWriteAttributeNullableInt8uValue_216(); break; case 217: - ChipLogProgress(chipTool, " ***** Test Step 217 : Read attribute NULLABLE_INT16U Min Value\n"); - err = TestReadAttributeNullableInt16uMinValue_217(); + ChipLogProgress(chipTool, " ***** Test Step 217 : Read attribute NULLABLE_INT8U Value in range\n"); + err = TestReadAttributeNullableInt8uValueInRange_217(); break; case 218: - ChipLogProgress(chipTool, " ***** Test Step 218 : Write attribute NULLABLE_INT16U Max Value\n"); - err = TestWriteAttributeNullableInt16uMaxValue_218(); + ChipLogProgress(chipTool, " ***** Test Step 218 : Read attribute NULLABLE_INT8U notValue OK\n"); + err = TestReadAttributeNullableInt8uNotValueOk_218(); break; case 219: - ChipLogProgress(chipTool, " ***** Test Step 219 : Read attribute NULLABLE_INT16U Max Value\n"); - err = TestReadAttributeNullableInt16uMaxValue_219(); + ChipLogProgress(chipTool, " ***** Test Step 219 : Write attribute NULLABLE_INT16U Min Value\n"); + err = TestWriteAttributeNullableInt16uMinValue_219(); break; case 220: - ChipLogProgress(chipTool, " ***** Test Step 220 : Write attribute NULLABLE_INT16U Invalid Value\n"); - err = TestWriteAttributeNullableInt16uInvalidValue_220(); + ChipLogProgress(chipTool, " ***** Test Step 220 : Read attribute NULLABLE_INT16U Min Value\n"); + err = TestReadAttributeNullableInt16uMinValue_220(); break; case 221: - ChipLogProgress(chipTool, " ***** Test Step 221 : Read attribute NULLABLE_INT16U unchanged Value\n"); - err = TestReadAttributeNullableInt16uUnchangedValue_221(); + ChipLogProgress(chipTool, " ***** Test Step 221 : Write attribute NULLABLE_INT16U Max Value\n"); + err = TestWriteAttributeNullableInt16uMaxValue_221(); break; case 222: - ChipLogProgress(chipTool, " ***** Test Step 222 : Write attribute NULLABLE_INT16U null Value\n"); - err = TestWriteAttributeNullableInt16uNullValue_222(); + ChipLogProgress(chipTool, " ***** Test Step 222 : Read attribute NULLABLE_INT16U Max Value\n"); + err = TestReadAttributeNullableInt16uMaxValue_222(); break; case 223: - ChipLogProgress(chipTool, " ***** Test Step 223 : Read attribute NULLABLE_INT16U null Value\n"); - err = TestReadAttributeNullableInt16uNullValue_223(); + ChipLogProgress(chipTool, " ***** Test Step 223 : Write attribute NULLABLE_INT16U Invalid Value\n"); + err = TestWriteAttributeNullableInt16uInvalidValue_223(); break; case 224: - ChipLogProgress(chipTool, " ***** Test Step 224 : Read attribute NULLABLE_INT16U null Value & range\n"); - err = TestReadAttributeNullableInt16uNullValueRange_224(); + ChipLogProgress(chipTool, " ***** Test Step 224 : Read attribute NULLABLE_INT16U unchanged Value\n"); + err = TestReadAttributeNullableInt16uUnchangedValue_224(); break; case 225: - ChipLogProgress(chipTool, " ***** Test Step 225 : Read attribute NULLABLE_INT16U null Value & not\n"); - err = TestReadAttributeNullableInt16uNullValueNot_225(); + ChipLogProgress(chipTool, " ***** Test Step 225 : Write attribute NULLABLE_INT16U null Value\n"); + err = TestWriteAttributeNullableInt16uNullValue_225(); break; case 226: - ChipLogProgress(chipTool, " ***** Test Step 226 : Write attribute NULLABLE_INT16U Value\n"); - err = TestWriteAttributeNullableInt16uValue_226(); + ChipLogProgress(chipTool, " ***** Test Step 226 : Read attribute NULLABLE_INT16U null Value\n"); + err = TestReadAttributeNullableInt16uNullValue_226(); break; case 227: - ChipLogProgress(chipTool, " ***** Test Step 227 : Read attribute NULLABLE_INT16U Value in range\n"); - err = TestReadAttributeNullableInt16uValueInRange_227(); + ChipLogProgress(chipTool, " ***** Test Step 227 : Read attribute NULLABLE_INT16U null Value & range\n"); + err = TestReadAttributeNullableInt16uNullValueRange_227(); break; case 228: - ChipLogProgress(chipTool, " ***** Test Step 228 : Read attribute NULLABLE_INT16U notValue OK\n"); - err = TestReadAttributeNullableInt16uNotValueOk_228(); + ChipLogProgress(chipTool, " ***** Test Step 228 : Read attribute NULLABLE_INT16U null Value & not\n"); + err = TestReadAttributeNullableInt16uNullValueNot_228(); break; case 229: - ChipLogProgress(chipTool, " ***** Test Step 229 : Write attribute NULLABLE_INT32U Min Value\n"); - err = TestWriteAttributeNullableInt32uMinValue_229(); + ChipLogProgress(chipTool, " ***** Test Step 229 : Write attribute NULLABLE_INT16U Value\n"); + err = TestWriteAttributeNullableInt16uValue_229(); break; case 230: - ChipLogProgress(chipTool, " ***** Test Step 230 : Read attribute NULLABLE_INT32U Min Value\n"); - err = TestReadAttributeNullableInt32uMinValue_230(); + ChipLogProgress(chipTool, " ***** Test Step 230 : Read attribute NULLABLE_INT16U Value in range\n"); + err = TestReadAttributeNullableInt16uValueInRange_230(); break; case 231: - ChipLogProgress(chipTool, " ***** Test Step 231 : Write attribute NULLABLE_INT32U Max Value\n"); - err = TestWriteAttributeNullableInt32uMaxValue_231(); + ChipLogProgress(chipTool, " ***** Test Step 231 : Read attribute NULLABLE_INT16U notValue OK\n"); + err = TestReadAttributeNullableInt16uNotValueOk_231(); break; case 232: - ChipLogProgress(chipTool, " ***** Test Step 232 : Read attribute NULLABLE_INT32U Max Value\n"); - err = TestReadAttributeNullableInt32uMaxValue_232(); + ChipLogProgress(chipTool, " ***** Test Step 232 : Write attribute NULLABLE_INT32U Min Value\n"); + err = TestWriteAttributeNullableInt32uMinValue_232(); break; case 233: - ChipLogProgress(chipTool, " ***** Test Step 233 : Write attribute NULLABLE_INT32U Invalid Value\n"); - err = TestWriteAttributeNullableInt32uInvalidValue_233(); + ChipLogProgress(chipTool, " ***** Test Step 233 : Read attribute NULLABLE_INT32U Min Value\n"); + err = TestReadAttributeNullableInt32uMinValue_233(); break; case 234: - ChipLogProgress(chipTool, " ***** Test Step 234 : Read attribute NULLABLE_INT32U unchanged Value\n"); - err = TestReadAttributeNullableInt32uUnchangedValue_234(); + ChipLogProgress(chipTool, " ***** Test Step 234 : Write attribute NULLABLE_INT32U Max Value\n"); + err = TestWriteAttributeNullableInt32uMaxValue_234(); break; case 235: - ChipLogProgress(chipTool, " ***** Test Step 235 : Write attribute NULLABLE_INT32U null Value\n"); - err = TestWriteAttributeNullableInt32uNullValue_235(); + ChipLogProgress(chipTool, " ***** Test Step 235 : Read attribute NULLABLE_INT32U Max Value\n"); + err = TestReadAttributeNullableInt32uMaxValue_235(); break; case 236: - ChipLogProgress(chipTool, " ***** Test Step 236 : Read attribute NULLABLE_INT32U null Value\n"); - err = TestReadAttributeNullableInt32uNullValue_236(); + ChipLogProgress(chipTool, " ***** Test Step 236 : Write attribute NULLABLE_INT32U Invalid Value\n"); + err = TestWriteAttributeNullableInt32uInvalidValue_236(); break; case 237: - ChipLogProgress(chipTool, " ***** Test Step 237 : Read attribute NULLABLE_INT32U null Value & range\n"); - err = TestReadAttributeNullableInt32uNullValueRange_237(); + ChipLogProgress(chipTool, " ***** Test Step 237 : Read attribute NULLABLE_INT32U unchanged Value\n"); + err = TestReadAttributeNullableInt32uUnchangedValue_237(); break; case 238: - ChipLogProgress(chipTool, " ***** Test Step 238 : Read attribute NULLABLE_INT32U null Value & not\n"); - err = TestReadAttributeNullableInt32uNullValueNot_238(); + ChipLogProgress(chipTool, " ***** Test Step 238 : Write attribute NULLABLE_INT32U null Value\n"); + err = TestWriteAttributeNullableInt32uNullValue_238(); break; case 239: - ChipLogProgress(chipTool, " ***** Test Step 239 : Write attribute NULLABLE_INT32U Value\n"); - err = TestWriteAttributeNullableInt32uValue_239(); + ChipLogProgress(chipTool, " ***** Test Step 239 : Read attribute NULLABLE_INT32U null Value\n"); + err = TestReadAttributeNullableInt32uNullValue_239(); break; case 240: - ChipLogProgress(chipTool, " ***** Test Step 240 : Read attribute NULLABLE_INT32U Value in range\n"); - err = TestReadAttributeNullableInt32uValueInRange_240(); + ChipLogProgress(chipTool, " ***** Test Step 240 : Read attribute NULLABLE_INT32U null Value & range\n"); + err = TestReadAttributeNullableInt32uNullValueRange_240(); break; case 241: - ChipLogProgress(chipTool, " ***** Test Step 241 : Read attribute NULLABLE_INT32U notValue OK\n"); - err = TestReadAttributeNullableInt32uNotValueOk_241(); + ChipLogProgress(chipTool, " ***** Test Step 241 : Read attribute NULLABLE_INT32U null Value & not\n"); + err = TestReadAttributeNullableInt32uNullValueNot_241(); break; case 242: - ChipLogProgress(chipTool, " ***** Test Step 242 : Write attribute NULLABLE_INT64U Min Value\n"); - err = TestWriteAttributeNullableInt64uMinValue_242(); + ChipLogProgress(chipTool, " ***** Test Step 242 : Write attribute NULLABLE_INT32U Value\n"); + err = TestWriteAttributeNullableInt32uValue_242(); break; case 243: - ChipLogProgress(chipTool, " ***** Test Step 243 : Read attribute NULLABLE_INT64U Min Value\n"); - err = TestReadAttributeNullableInt64uMinValue_243(); + ChipLogProgress(chipTool, " ***** Test Step 243 : Read attribute NULLABLE_INT32U Value in range\n"); + err = TestReadAttributeNullableInt32uValueInRange_243(); break; case 244: - ChipLogProgress(chipTool, " ***** Test Step 244 : Write attribute NULLABLE_INT64U Max Value\n"); - err = TestWriteAttributeNullableInt64uMaxValue_244(); + ChipLogProgress(chipTool, " ***** Test Step 244 : Read attribute NULLABLE_INT32U notValue OK\n"); + err = TestReadAttributeNullableInt32uNotValueOk_244(); break; case 245: - ChipLogProgress(chipTool, " ***** Test Step 245 : Read attribute NULLABLE_INT64U Max Value\n"); - err = TestReadAttributeNullableInt64uMaxValue_245(); + ChipLogProgress(chipTool, " ***** Test Step 245 : Write attribute NULLABLE_INT64U Min Value\n"); + err = TestWriteAttributeNullableInt64uMinValue_245(); break; case 246: - ChipLogProgress(chipTool, " ***** Test Step 246 : Write attribute NULLABLE_INT64U Invalid Value\n"); - err = TestWriteAttributeNullableInt64uInvalidValue_246(); + ChipLogProgress(chipTool, " ***** Test Step 246 : Read attribute NULLABLE_INT64U Min Value\n"); + err = TestReadAttributeNullableInt64uMinValue_246(); break; case 247: - ChipLogProgress(chipTool, " ***** Test Step 247 : Read attribute NULLABLE_INT64U unchanged Value\n"); - err = TestReadAttributeNullableInt64uUnchangedValue_247(); + ChipLogProgress(chipTool, " ***** Test Step 247 : Write attribute NULLABLE_INT64U Max Value\n"); + err = TestWriteAttributeNullableInt64uMaxValue_247(); break; case 248: - ChipLogProgress(chipTool, " ***** Test Step 248 : Write attribute NULLABLE_INT64U null Value\n"); - err = TestWriteAttributeNullableInt64uNullValue_248(); + ChipLogProgress(chipTool, " ***** Test Step 248 : Read attribute NULLABLE_INT64U Max Value\n"); + err = TestReadAttributeNullableInt64uMaxValue_248(); break; case 249: - ChipLogProgress(chipTool, " ***** Test Step 249 : Read attribute NULLABLE_INT64U null Value\n"); - err = TestReadAttributeNullableInt64uNullValue_249(); + ChipLogProgress(chipTool, " ***** Test Step 249 : Write attribute NULLABLE_INT64U Invalid Value\n"); + err = TestWriteAttributeNullableInt64uInvalidValue_249(); break; case 250: - ChipLogProgress(chipTool, " ***** Test Step 250 : Read attribute NULLABLE_INT64U null Value & range\n"); - err = TestReadAttributeNullableInt64uNullValueRange_250(); + ChipLogProgress(chipTool, " ***** Test Step 250 : Read attribute NULLABLE_INT64U unchanged Value\n"); + err = TestReadAttributeNullableInt64uUnchangedValue_250(); break; case 251: - ChipLogProgress(chipTool, " ***** Test Step 251 : Read attribute NULLABLE_INT64U null Value & not\n"); - err = TestReadAttributeNullableInt64uNullValueNot_251(); + ChipLogProgress(chipTool, " ***** Test Step 251 : Write attribute NULLABLE_INT64U null Value\n"); + err = TestWriteAttributeNullableInt64uNullValue_251(); break; case 252: - ChipLogProgress(chipTool, " ***** Test Step 252 : Write attribute NULLABLE_INT64U Value\n"); - err = TestWriteAttributeNullableInt64uValue_252(); + ChipLogProgress(chipTool, " ***** Test Step 252 : Read attribute NULLABLE_INT64U null Value\n"); + err = TestReadAttributeNullableInt64uNullValue_252(); break; case 253: - ChipLogProgress(chipTool, " ***** Test Step 253 : Read attribute NULLABLE_INT64U Value in range\n"); - err = TestReadAttributeNullableInt64uValueInRange_253(); + ChipLogProgress(chipTool, " ***** Test Step 253 : Read attribute NULLABLE_INT64U null Value & range\n"); + err = TestReadAttributeNullableInt64uNullValueRange_253(); break; case 254: - ChipLogProgress(chipTool, " ***** Test Step 254 : Read attribute NULLABLE_INT64U notValue OK\n"); - err = TestReadAttributeNullableInt64uNotValueOk_254(); + ChipLogProgress(chipTool, " ***** Test Step 254 : Read attribute NULLABLE_INT64U null Value & not\n"); + err = TestReadAttributeNullableInt64uNullValueNot_254(); break; case 255: - ChipLogProgress(chipTool, " ***** Test Step 255 : Write attribute NULLABLE_INT8S Min Value\n"); - err = TestWriteAttributeNullableInt8sMinValue_255(); + ChipLogProgress(chipTool, " ***** Test Step 255 : Write attribute NULLABLE_INT64U Value\n"); + err = TestWriteAttributeNullableInt64uValue_255(); break; case 256: - ChipLogProgress(chipTool, " ***** Test Step 256 : Read attribute NULLABLE_INT8S Min Value\n"); - err = TestReadAttributeNullableInt8sMinValue_256(); + ChipLogProgress(chipTool, " ***** Test Step 256 : Read attribute NULLABLE_INT64U Value in range\n"); + err = TestReadAttributeNullableInt64uValueInRange_256(); break; case 257: - ChipLogProgress(chipTool, " ***** Test Step 257 : Write attribute NULLABLE_INT8S Invalid Value\n"); - err = TestWriteAttributeNullableInt8sInvalidValue_257(); + ChipLogProgress(chipTool, " ***** Test Step 257 : Read attribute NULLABLE_INT64U notValue OK\n"); + err = TestReadAttributeNullableInt64uNotValueOk_257(); break; case 258: - ChipLogProgress(chipTool, " ***** Test Step 258 : Read attribute NULLABLE_INT8S unchanged Value\n"); - err = TestReadAttributeNullableInt8sUnchangedValue_258(); + ChipLogProgress(chipTool, " ***** Test Step 258 : Write attribute NULLABLE_INT8S Min Value\n"); + err = TestWriteAttributeNullableInt8sMinValue_258(); break; case 259: - ChipLogProgress(chipTool, " ***** Test Step 259 : Write attribute NULLABLE_INT8S null Value\n"); - err = TestWriteAttributeNullableInt8sNullValue_259(); + ChipLogProgress(chipTool, " ***** Test Step 259 : Read attribute NULLABLE_INT8S Min Value\n"); + err = TestReadAttributeNullableInt8sMinValue_259(); break; case 260: - ChipLogProgress(chipTool, " ***** Test Step 260 : Read attribute NULLABLE_INT8S null Value\n"); - err = TestReadAttributeNullableInt8sNullValue_260(); + ChipLogProgress(chipTool, " ***** Test Step 260 : Write attribute NULLABLE_INT8S Invalid Value\n"); + err = TestWriteAttributeNullableInt8sInvalidValue_260(); break; case 261: - ChipLogProgress(chipTool, " ***** Test Step 261 : Read attribute NULLABLE_INT8S null Value & range\n"); - err = TestReadAttributeNullableInt8sNullValueRange_261(); + ChipLogProgress(chipTool, " ***** Test Step 261 : Read attribute NULLABLE_INT8S unchanged Value\n"); + err = TestReadAttributeNullableInt8sUnchangedValue_261(); break; case 262: - ChipLogProgress(chipTool, " ***** Test Step 262 : Read attribute NULLABLE_INT8S null Value & not\n"); - err = TestReadAttributeNullableInt8sNullValueNot_262(); + ChipLogProgress(chipTool, " ***** Test Step 262 : Write attribute NULLABLE_INT8S null Value\n"); + err = TestWriteAttributeNullableInt8sNullValue_262(); break; case 263: - ChipLogProgress(chipTool, " ***** Test Step 263 : Write attribute NULLABLE_INT8S Value\n"); - err = TestWriteAttributeNullableInt8sValue_263(); + ChipLogProgress(chipTool, " ***** Test Step 263 : Read attribute NULLABLE_INT8S null Value\n"); + err = TestReadAttributeNullableInt8sNullValue_263(); break; case 264: - ChipLogProgress(chipTool, " ***** Test Step 264 : Read attribute NULLABLE_INT8S Value in range\n"); - err = TestReadAttributeNullableInt8sValueInRange_264(); + ChipLogProgress(chipTool, " ***** Test Step 264 : Read attribute NULLABLE_INT8S null Value & range\n"); + err = TestReadAttributeNullableInt8sNullValueRange_264(); break; case 265: - ChipLogProgress(chipTool, " ***** Test Step 265 : Read attribute NULLABLE_INT8S notValue OK\n"); - err = TestReadAttributeNullableInt8sNotValueOk_265(); + ChipLogProgress(chipTool, " ***** Test Step 265 : Read attribute NULLABLE_INT8S null Value & not\n"); + err = TestReadAttributeNullableInt8sNullValueNot_265(); break; case 266: - ChipLogProgress(chipTool, " ***** Test Step 266 : Write attribute NULLABLE_INT16S Min Value\n"); - err = TestWriteAttributeNullableInt16sMinValue_266(); + ChipLogProgress(chipTool, " ***** Test Step 266 : Write attribute NULLABLE_INT8S Value\n"); + err = TestWriteAttributeNullableInt8sValue_266(); break; case 267: - ChipLogProgress(chipTool, " ***** Test Step 267 : Read attribute NULLABLE_INT16S Min Value\n"); - err = TestReadAttributeNullableInt16sMinValue_267(); + ChipLogProgress(chipTool, " ***** Test Step 267 : Read attribute NULLABLE_INT8S Value in range\n"); + err = TestReadAttributeNullableInt8sValueInRange_267(); break; case 268: - ChipLogProgress(chipTool, " ***** Test Step 268 : Write attribute NULLABLE_INT16S Invalid Value\n"); - err = TestWriteAttributeNullableInt16sInvalidValue_268(); + ChipLogProgress(chipTool, " ***** Test Step 268 : Read attribute NULLABLE_INT8S notValue OK\n"); + err = TestReadAttributeNullableInt8sNotValueOk_268(); break; case 269: - ChipLogProgress(chipTool, " ***** Test Step 269 : Read attribute NULLABLE_INT16S unchanged Value\n"); - err = TestReadAttributeNullableInt16sUnchangedValue_269(); + ChipLogProgress(chipTool, " ***** Test Step 269 : Write attribute NULLABLE_INT16S Min Value\n"); + err = TestWriteAttributeNullableInt16sMinValue_269(); break; case 270: - ChipLogProgress(chipTool, " ***** Test Step 270 : Write attribute NULLABLE_INT16S null Value\n"); - err = TestWriteAttributeNullableInt16sNullValue_270(); + ChipLogProgress(chipTool, " ***** Test Step 270 : Read attribute NULLABLE_INT16S Min Value\n"); + err = TestReadAttributeNullableInt16sMinValue_270(); break; case 271: - ChipLogProgress(chipTool, " ***** Test Step 271 : Read attribute NULLABLE_INT16S null Value\n"); - err = TestReadAttributeNullableInt16sNullValue_271(); + ChipLogProgress(chipTool, " ***** Test Step 271 : Write attribute NULLABLE_INT16S Invalid Value\n"); + err = TestWriteAttributeNullableInt16sInvalidValue_271(); break; case 272: - ChipLogProgress(chipTool, " ***** Test Step 272 : Read attribute NULLABLE_INT16S null Value & range\n"); - err = TestReadAttributeNullableInt16sNullValueRange_272(); + ChipLogProgress(chipTool, " ***** Test Step 272 : Read attribute NULLABLE_INT16S unchanged Value\n"); + err = TestReadAttributeNullableInt16sUnchangedValue_272(); break; case 273: - ChipLogProgress(chipTool, " ***** Test Step 273 : Read attribute NULLABLE_INT16S null Value & not\n"); - err = TestReadAttributeNullableInt16sNullValueNot_273(); + ChipLogProgress(chipTool, " ***** Test Step 273 : Write attribute NULLABLE_INT16S null Value\n"); + err = TestWriteAttributeNullableInt16sNullValue_273(); break; case 274: - ChipLogProgress(chipTool, " ***** Test Step 274 : Write attribute NULLABLE_INT16S Value\n"); - err = TestWriteAttributeNullableInt16sValue_274(); + ChipLogProgress(chipTool, " ***** Test Step 274 : Read attribute NULLABLE_INT16S null Value\n"); + err = TestReadAttributeNullableInt16sNullValue_274(); break; case 275: - ChipLogProgress(chipTool, " ***** Test Step 275 : Read attribute NULLABLE_INT16S Value in range\n"); - err = TestReadAttributeNullableInt16sValueInRange_275(); + ChipLogProgress(chipTool, " ***** Test Step 275 : Read attribute NULLABLE_INT16S null Value & range\n"); + err = TestReadAttributeNullableInt16sNullValueRange_275(); break; case 276: - ChipLogProgress(chipTool, " ***** Test Step 276 : Read attribute NULLABLE_INT16S notValue OK\n"); - err = TestReadAttributeNullableInt16sNotValueOk_276(); + ChipLogProgress(chipTool, " ***** Test Step 276 : Read attribute NULLABLE_INT16S null Value & not\n"); + err = TestReadAttributeNullableInt16sNullValueNot_276(); break; case 277: - ChipLogProgress(chipTool, " ***** Test Step 277 : Write attribute NULLABLE_INT32S Min Value\n"); - err = TestWriteAttributeNullableInt32sMinValue_277(); + ChipLogProgress(chipTool, " ***** Test Step 277 : Write attribute NULLABLE_INT16S Value\n"); + err = TestWriteAttributeNullableInt16sValue_277(); break; case 278: - ChipLogProgress(chipTool, " ***** Test Step 278 : Read attribute NULLABLE_INT32S Min Value\n"); - err = TestReadAttributeNullableInt32sMinValue_278(); + ChipLogProgress(chipTool, " ***** Test Step 278 : Read attribute NULLABLE_INT16S Value in range\n"); + err = TestReadAttributeNullableInt16sValueInRange_278(); break; case 279: - ChipLogProgress(chipTool, " ***** Test Step 279 : Write attribute NULLABLE_INT32S Invalid Value\n"); - err = TestWriteAttributeNullableInt32sInvalidValue_279(); + ChipLogProgress(chipTool, " ***** Test Step 279 : Read attribute NULLABLE_INT16S notValue OK\n"); + err = TestReadAttributeNullableInt16sNotValueOk_279(); break; case 280: - ChipLogProgress(chipTool, " ***** Test Step 280 : Read attribute NULLABLE_INT32S unchanged Value\n"); - err = TestReadAttributeNullableInt32sUnchangedValue_280(); + ChipLogProgress(chipTool, " ***** Test Step 280 : Write attribute NULLABLE_INT32S Min Value\n"); + err = TestWriteAttributeNullableInt32sMinValue_280(); break; case 281: - ChipLogProgress(chipTool, " ***** Test Step 281 : Write attribute NULLABLE_INT32S null Value\n"); - err = TestWriteAttributeNullableInt32sNullValue_281(); + ChipLogProgress(chipTool, " ***** Test Step 281 : Read attribute NULLABLE_INT32S Min Value\n"); + err = TestReadAttributeNullableInt32sMinValue_281(); break; case 282: - ChipLogProgress(chipTool, " ***** Test Step 282 : Read attribute NULLABLE_INT32S null Value\n"); - err = TestReadAttributeNullableInt32sNullValue_282(); + ChipLogProgress(chipTool, " ***** Test Step 282 : Write attribute NULLABLE_INT32S Invalid Value\n"); + err = TestWriteAttributeNullableInt32sInvalidValue_282(); break; case 283: - ChipLogProgress(chipTool, " ***** Test Step 283 : Read attribute NULLABLE_INT32S null Value & range\n"); - err = TestReadAttributeNullableInt32sNullValueRange_283(); + ChipLogProgress(chipTool, " ***** Test Step 283 : Read attribute NULLABLE_INT32S unchanged Value\n"); + err = TestReadAttributeNullableInt32sUnchangedValue_283(); break; case 284: - ChipLogProgress(chipTool, " ***** Test Step 284 : Read attribute NULLABLE_INT32S null Value & not\n"); - err = TestReadAttributeNullableInt32sNullValueNot_284(); + ChipLogProgress(chipTool, " ***** Test Step 284 : Write attribute NULLABLE_INT32S null Value\n"); + err = TestWriteAttributeNullableInt32sNullValue_284(); break; case 285: - ChipLogProgress(chipTool, " ***** Test Step 285 : Write attribute NULLABLE_INT32S Value\n"); - err = TestWriteAttributeNullableInt32sValue_285(); + ChipLogProgress(chipTool, " ***** Test Step 285 : Read attribute NULLABLE_INT32S null Value\n"); + err = TestReadAttributeNullableInt32sNullValue_285(); break; case 286: - ChipLogProgress(chipTool, " ***** Test Step 286 : Read attribute NULLABLE_INT32S Value in range\n"); - err = TestReadAttributeNullableInt32sValueInRange_286(); + ChipLogProgress(chipTool, " ***** Test Step 286 : Read attribute NULLABLE_INT32S null Value & range\n"); + err = TestReadAttributeNullableInt32sNullValueRange_286(); break; case 287: - ChipLogProgress(chipTool, " ***** Test Step 287 : Read attribute NULLABLE_INT32S notValue OK\n"); - err = TestReadAttributeNullableInt32sNotValueOk_287(); + ChipLogProgress(chipTool, " ***** Test Step 287 : Read attribute NULLABLE_INT32S null Value & not\n"); + err = TestReadAttributeNullableInt32sNullValueNot_287(); break; case 288: - ChipLogProgress(chipTool, " ***** Test Step 288 : Write attribute NULLABLE_INT64S Min Value\n"); - err = TestWriteAttributeNullableInt64sMinValue_288(); + ChipLogProgress(chipTool, " ***** Test Step 288 : Write attribute NULLABLE_INT32S Value\n"); + err = TestWriteAttributeNullableInt32sValue_288(); break; case 289: - ChipLogProgress(chipTool, " ***** Test Step 289 : Read attribute NULLABLE_INT64S Min Value\n"); - err = TestReadAttributeNullableInt64sMinValue_289(); + ChipLogProgress(chipTool, " ***** Test Step 289 : Read attribute NULLABLE_INT32S Value in range\n"); + err = TestReadAttributeNullableInt32sValueInRange_289(); break; case 290: - ChipLogProgress(chipTool, " ***** Test Step 290 : Write attribute NULLABLE_INT64S Invalid Value\n"); - err = TestWriteAttributeNullableInt64sInvalidValue_290(); + ChipLogProgress(chipTool, " ***** Test Step 290 : Read attribute NULLABLE_INT32S notValue OK\n"); + err = TestReadAttributeNullableInt32sNotValueOk_290(); break; case 291: - ChipLogProgress(chipTool, " ***** Test Step 291 : Read attribute NULLABLE_INT64S unchanged Value\n"); - err = TestReadAttributeNullableInt64sUnchangedValue_291(); + ChipLogProgress(chipTool, " ***** Test Step 291 : Write attribute NULLABLE_INT64S Min Value\n"); + err = TestWriteAttributeNullableInt64sMinValue_291(); break; case 292: - ChipLogProgress(chipTool, " ***** Test Step 292 : Write attribute NULLABLE_INT64S null Value\n"); - err = TestWriteAttributeNullableInt64sNullValue_292(); + ChipLogProgress(chipTool, " ***** Test Step 292 : Read attribute NULLABLE_INT64S Min Value\n"); + err = TestReadAttributeNullableInt64sMinValue_292(); break; case 293: - ChipLogProgress(chipTool, " ***** Test Step 293 : Read attribute NULLABLE_INT64S null Value\n"); - err = TestReadAttributeNullableInt64sNullValue_293(); + ChipLogProgress(chipTool, " ***** Test Step 293 : Write attribute NULLABLE_INT64S Invalid Value\n"); + err = TestWriteAttributeNullableInt64sInvalidValue_293(); break; case 294: - ChipLogProgress(chipTool, " ***** Test Step 294 : Read attribute NULLABLE_INT64S null Value & range\n"); - err = TestReadAttributeNullableInt64sNullValueRange_294(); + ChipLogProgress(chipTool, " ***** Test Step 294 : Read attribute NULLABLE_INT64S unchanged Value\n"); + err = TestReadAttributeNullableInt64sUnchangedValue_294(); break; case 295: - ChipLogProgress(chipTool, " ***** Test Step 295 : Read attribute NULLABLE_INT64S null Value & not\n"); - err = TestReadAttributeNullableInt64sNullValueNot_295(); + ChipLogProgress(chipTool, " ***** Test Step 295 : Write attribute NULLABLE_INT64S null Value\n"); + err = TestWriteAttributeNullableInt64sNullValue_295(); break; case 296: - ChipLogProgress(chipTool, " ***** Test Step 296 : Write attribute NULLABLE_INT64S Value\n"); - err = TestWriteAttributeNullableInt64sValue_296(); + ChipLogProgress(chipTool, " ***** Test Step 296 : Read attribute NULLABLE_INT64S null Value\n"); + err = TestReadAttributeNullableInt64sNullValue_296(); break; case 297: - ChipLogProgress(chipTool, " ***** Test Step 297 : Read attribute NULLABLE_INT64S Value in range\n"); - err = TestReadAttributeNullableInt64sValueInRange_297(); + ChipLogProgress(chipTool, " ***** Test Step 297 : Read attribute NULLABLE_INT64S null Value & range\n"); + err = TestReadAttributeNullableInt64sNullValueRange_297(); break; case 298: - ChipLogProgress(chipTool, " ***** Test Step 298 : Read attribute NULLABLE_INT64S notValue OK\n"); - err = TestReadAttributeNullableInt64sNotValueOk_298(); + ChipLogProgress(chipTool, " ***** Test Step 298 : Read attribute NULLABLE_INT64S null Value & not\n"); + err = TestReadAttributeNullableInt64sNullValueNot_298(); break; case 299: - ChipLogProgress(chipTool, " ***** Test Step 299 : Write attribute NULLABLE_SINGLE medium Value\n"); - err = TestWriteAttributeNullableSingleMediumValue_299(); + ChipLogProgress(chipTool, " ***** Test Step 299 : Write attribute NULLABLE_INT64S Value\n"); + err = TestWriteAttributeNullableInt64sValue_299(); break; case 300: - ChipLogProgress(chipTool, " ***** Test Step 300 : Read attribute NULLABLE_SINGLE medium Value\n"); - err = TestReadAttributeNullableSingleMediumValue_300(); + ChipLogProgress(chipTool, " ***** Test Step 300 : Read attribute NULLABLE_INT64S Value in range\n"); + err = TestReadAttributeNullableInt64sValueInRange_300(); break; case 301: - ChipLogProgress(chipTool, " ***** Test Step 301 : Write attribute NULLABLE_SINGLE largest Value\n"); - err = TestWriteAttributeNullableSingleLargestValue_301(); + ChipLogProgress(chipTool, " ***** Test Step 301 : Read attribute NULLABLE_INT64S notValue OK\n"); + err = TestReadAttributeNullableInt64sNotValueOk_301(); break; case 302: - ChipLogProgress(chipTool, " ***** Test Step 302 : Read attribute NULLABLE_SINGLE largest Value\n"); - err = TestReadAttributeNullableSingleLargestValue_302(); + ChipLogProgress(chipTool, " ***** Test Step 302 : Write attribute NULLABLE_SINGLE medium Value\n"); + err = TestWriteAttributeNullableSingleMediumValue_302(); break; case 303: - ChipLogProgress(chipTool, " ***** Test Step 303 : Write attribute NULLABLE_SINGLE smallest Value\n"); - err = TestWriteAttributeNullableSingleSmallestValue_303(); + ChipLogProgress(chipTool, " ***** Test Step 303 : Read attribute NULLABLE_SINGLE medium Value\n"); + err = TestReadAttributeNullableSingleMediumValue_303(); break; case 304: - ChipLogProgress(chipTool, " ***** Test Step 304 : Read attribute NULLABLE_SINGLE smallest Value\n"); - err = TestReadAttributeNullableSingleSmallestValue_304(); + ChipLogProgress(chipTool, " ***** Test Step 304 : Write attribute NULLABLE_SINGLE largest Value\n"); + err = TestWriteAttributeNullableSingleLargestValue_304(); break; case 305: - ChipLogProgress(chipTool, " ***** Test Step 305 : Write attribute NULLABLE_SINGLE null Value\n"); - err = TestWriteAttributeNullableSingleNullValue_305(); + ChipLogProgress(chipTool, " ***** Test Step 305 : Read attribute NULLABLE_SINGLE largest Value\n"); + err = TestReadAttributeNullableSingleLargestValue_305(); break; case 306: - ChipLogProgress(chipTool, " ***** Test Step 306 : Read attribute NULLABLE_SINGLE null Value\n"); - err = TestReadAttributeNullableSingleNullValue_306(); + ChipLogProgress(chipTool, " ***** Test Step 306 : Write attribute NULLABLE_SINGLE smallest Value\n"); + err = TestWriteAttributeNullableSingleSmallestValue_306(); break; case 307: - ChipLogProgress(chipTool, " ***** Test Step 307 : Write attribute NULLABLE_SINGLE 0 Value\n"); - err = TestWriteAttributeNullableSingle0Value_307(); + ChipLogProgress(chipTool, " ***** Test Step 307 : Read attribute NULLABLE_SINGLE smallest Value\n"); + err = TestReadAttributeNullableSingleSmallestValue_307(); break; case 308: - ChipLogProgress(chipTool, " ***** Test Step 308 : Read attribute NULLABLE_SINGLE 0 Value\n"); - err = TestReadAttributeNullableSingle0Value_308(); + ChipLogProgress(chipTool, " ***** Test Step 308 : Write attribute NULLABLE_SINGLE null Value\n"); + err = TestWriteAttributeNullableSingleNullValue_308(); break; case 309: - ChipLogProgress(chipTool, " ***** Test Step 309 : Write attribute NULLABLE_DOUBLE medium Value\n"); - err = TestWriteAttributeNullableDoubleMediumValue_309(); + ChipLogProgress(chipTool, " ***** Test Step 309 : Read attribute NULLABLE_SINGLE null Value\n"); + err = TestReadAttributeNullableSingleNullValue_309(); break; case 310: - ChipLogProgress(chipTool, " ***** Test Step 310 : Read attribute NULLABLE_DOUBLE medium Value\n"); - err = TestReadAttributeNullableDoubleMediumValue_310(); + ChipLogProgress(chipTool, " ***** Test Step 310 : Write attribute NULLABLE_SINGLE 0 Value\n"); + err = TestWriteAttributeNullableSingle0Value_310(); break; case 311: - ChipLogProgress(chipTool, " ***** Test Step 311 : Write attribute NULLABLE_DOUBLE largest Value\n"); - err = TestWriteAttributeNullableDoubleLargestValue_311(); + ChipLogProgress(chipTool, " ***** Test Step 311 : Read attribute NULLABLE_SINGLE 0 Value\n"); + err = TestReadAttributeNullableSingle0Value_311(); break; case 312: - ChipLogProgress(chipTool, " ***** Test Step 312 : Read attribute NULLABLE_DOUBLE largest Value\n"); - err = TestReadAttributeNullableDoubleLargestValue_312(); + ChipLogProgress(chipTool, " ***** Test Step 312 : Write attribute NULLABLE_DOUBLE medium Value\n"); + err = TestWriteAttributeNullableDoubleMediumValue_312(); break; case 313: - ChipLogProgress(chipTool, " ***** Test Step 313 : Write attribute NULLABLE_DOUBLE smallest Value\n"); - err = TestWriteAttributeNullableDoubleSmallestValue_313(); + ChipLogProgress(chipTool, " ***** Test Step 313 : Read attribute NULLABLE_DOUBLE medium Value\n"); + err = TestReadAttributeNullableDoubleMediumValue_313(); break; case 314: - ChipLogProgress(chipTool, " ***** Test Step 314 : Read attribute NULLABLE_DOUBLE smallest Value\n"); - err = TestReadAttributeNullableDoubleSmallestValue_314(); + ChipLogProgress(chipTool, " ***** Test Step 314 : Write attribute NULLABLE_DOUBLE largest Value\n"); + err = TestWriteAttributeNullableDoubleLargestValue_314(); break; case 315: - ChipLogProgress(chipTool, " ***** Test Step 315 : Write attribute NULLABLE_DOUBLE null Value\n"); - err = TestWriteAttributeNullableDoubleNullValue_315(); + ChipLogProgress(chipTool, " ***** Test Step 315 : Read attribute NULLABLE_DOUBLE largest Value\n"); + err = TestReadAttributeNullableDoubleLargestValue_315(); break; case 316: - ChipLogProgress(chipTool, " ***** Test Step 316 : Read attribute NULLABLE_DOUBLE null Value\n"); - err = TestReadAttributeNullableDoubleNullValue_316(); + ChipLogProgress(chipTool, " ***** Test Step 316 : Write attribute NULLABLE_DOUBLE smallest Value\n"); + err = TestWriteAttributeNullableDoubleSmallestValue_316(); break; case 317: - ChipLogProgress(chipTool, " ***** Test Step 317 : Write attribute NULLABLE_DOUBLE 0 Value\n"); - err = TestWriteAttributeNullableDouble0Value_317(); + ChipLogProgress(chipTool, " ***** Test Step 317 : Read attribute NULLABLE_DOUBLE smallest Value\n"); + err = TestReadAttributeNullableDoubleSmallestValue_317(); break; case 318: - ChipLogProgress(chipTool, " ***** Test Step 318 : Read attribute NULLABLE_DOUBLE 0 Value\n"); - err = TestReadAttributeNullableDouble0Value_318(); + ChipLogProgress(chipTool, " ***** Test Step 318 : Write attribute NULLABLE_DOUBLE null Value\n"); + err = TestWriteAttributeNullableDoubleNullValue_318(); break; case 319: - ChipLogProgress(chipTool, " ***** Test Step 319 : Write attribute NULLABLE_ENUM8 Min Value\n"); - err = TestWriteAttributeNullableEnum8MinValue_319(); + ChipLogProgress(chipTool, " ***** Test Step 319 : Read attribute NULLABLE_DOUBLE null Value\n"); + err = TestReadAttributeNullableDoubleNullValue_319(); break; case 320: - ChipLogProgress(chipTool, " ***** Test Step 320 : Read attribute NULLABLE_ENUM8 Min Value\n"); - err = TestReadAttributeNullableEnum8MinValue_320(); + ChipLogProgress(chipTool, " ***** Test Step 320 : Write attribute NULLABLE_DOUBLE 0 Value\n"); + err = TestWriteAttributeNullableDouble0Value_320(); break; case 321: - ChipLogProgress(chipTool, " ***** Test Step 321 : Write attribute NULLABLE_ENUM8 Max Value\n"); - err = TestWriteAttributeNullableEnum8MaxValue_321(); + ChipLogProgress(chipTool, " ***** Test Step 321 : Read attribute NULLABLE_DOUBLE 0 Value\n"); + err = TestReadAttributeNullableDouble0Value_321(); break; case 322: - ChipLogProgress(chipTool, " ***** Test Step 322 : Read attribute NULLABLE_ENUM8 Max Value\n"); - err = TestReadAttributeNullableEnum8MaxValue_322(); + ChipLogProgress(chipTool, " ***** Test Step 322 : Write attribute NULLABLE_ENUM8 Min Value\n"); + err = TestWriteAttributeNullableEnum8MinValue_322(); break; case 323: - ChipLogProgress(chipTool, " ***** Test Step 323 : Write attribute NULLABLE_ENUM8 Invalid Value\n"); - err = TestWriteAttributeNullableEnum8InvalidValue_323(); + ChipLogProgress(chipTool, " ***** Test Step 323 : Read attribute NULLABLE_ENUM8 Min Value\n"); + err = TestReadAttributeNullableEnum8MinValue_323(); break; case 324: - ChipLogProgress(chipTool, " ***** Test Step 324 : Read attribute NULLABLE_ENUM8 unchanged Value\n"); - err = TestReadAttributeNullableEnum8UnchangedValue_324(); + ChipLogProgress(chipTool, " ***** Test Step 324 : Write attribute NULLABLE_ENUM8 Max Value\n"); + err = TestWriteAttributeNullableEnum8MaxValue_324(); break; case 325: - ChipLogProgress(chipTool, " ***** Test Step 325 : Write attribute NULLABLE_ENUM8 null Value\n"); - err = TestWriteAttributeNullableEnum8NullValue_325(); + ChipLogProgress(chipTool, " ***** Test Step 325 : Read attribute NULLABLE_ENUM8 Max Value\n"); + err = TestReadAttributeNullableEnum8MaxValue_325(); break; case 326: - ChipLogProgress(chipTool, " ***** Test Step 326 : Read attribute NULLABLE_ENUM8 null Value\n"); - err = TestReadAttributeNullableEnum8NullValue_326(); + ChipLogProgress(chipTool, " ***** Test Step 326 : Write attribute NULLABLE_ENUM8 Invalid Value\n"); + err = TestWriteAttributeNullableEnum8InvalidValue_326(); break; case 327: - ChipLogProgress(chipTool, " ***** Test Step 327 : Write attribute NULLABLE_ENUM16 Min Value\n"); - err = TestWriteAttributeNullableEnum16MinValue_327(); + ChipLogProgress(chipTool, " ***** Test Step 327 : Read attribute NULLABLE_ENUM8 unchanged Value\n"); + err = TestReadAttributeNullableEnum8UnchangedValue_327(); break; case 328: - ChipLogProgress(chipTool, " ***** Test Step 328 : Read attribute NULLABLE_ENUM16 Min Value\n"); - err = TestReadAttributeNullableEnum16MinValue_328(); + ChipLogProgress(chipTool, " ***** Test Step 328 : Write attribute NULLABLE_ENUM8 null Value\n"); + err = TestWriteAttributeNullableEnum8NullValue_328(); break; case 329: - ChipLogProgress(chipTool, " ***** Test Step 329 : Write attribute NULLABLE_ENUM16 Max Value\n"); - err = TestWriteAttributeNullableEnum16MaxValue_329(); + ChipLogProgress(chipTool, " ***** Test Step 329 : Read attribute NULLABLE_ENUM8 null Value\n"); + err = TestReadAttributeNullableEnum8NullValue_329(); break; case 330: - ChipLogProgress(chipTool, " ***** Test Step 330 : Read attribute NULLABLE_ENUM16 Max Value\n"); - err = TestReadAttributeNullableEnum16MaxValue_330(); + ChipLogProgress(chipTool, " ***** Test Step 330 : Write attribute NULLABLE_ENUM16 Min Value\n"); + err = TestWriteAttributeNullableEnum16MinValue_330(); break; case 331: - ChipLogProgress(chipTool, " ***** Test Step 331 : Write attribute NULLABLE_ENUM16 Invalid Value\n"); - err = TestWriteAttributeNullableEnum16InvalidValue_331(); + ChipLogProgress(chipTool, " ***** Test Step 331 : Read attribute NULLABLE_ENUM16 Min Value\n"); + err = TestReadAttributeNullableEnum16MinValue_331(); break; case 332: - ChipLogProgress(chipTool, " ***** Test Step 332 : Read attribute NULLABLE_ENUM16 unchanged Value\n"); - err = TestReadAttributeNullableEnum16UnchangedValue_332(); + ChipLogProgress(chipTool, " ***** Test Step 332 : Write attribute NULLABLE_ENUM16 Max Value\n"); + err = TestWriteAttributeNullableEnum16MaxValue_332(); break; case 333: - ChipLogProgress(chipTool, " ***** Test Step 333 : Write attribute NULLABLE_ENUM16 null Value\n"); - err = TestWriteAttributeNullableEnum16NullValue_333(); + ChipLogProgress(chipTool, " ***** Test Step 333 : Read attribute NULLABLE_ENUM16 Max Value\n"); + err = TestReadAttributeNullableEnum16MaxValue_333(); break; case 334: - ChipLogProgress(chipTool, " ***** Test Step 334 : Read attribute NULLABLE_ENUM16 null Value\n"); - err = TestReadAttributeNullableEnum16NullValue_334(); + ChipLogProgress(chipTool, " ***** Test Step 334 : Write attribute NULLABLE_ENUM16 Invalid Value\n"); + err = TestWriteAttributeNullableEnum16InvalidValue_334(); break; case 335: - ChipLogProgress(chipTool, " ***** Test Step 335 : Write attribute NULLABLE_SIMPLE_ENUM Min Value\n"); - err = TestWriteAttributeNullableSimpleEnumMinValue_335(); + ChipLogProgress(chipTool, " ***** Test Step 335 : Read attribute NULLABLE_ENUM16 unchanged Value\n"); + err = TestReadAttributeNullableEnum16UnchangedValue_335(); break; case 336: - ChipLogProgress(chipTool, " ***** Test Step 336 : Read attribute NULLABLE_SIMPLE_ENUM Min Value\n"); - err = TestReadAttributeNullableSimpleEnumMinValue_336(); + ChipLogProgress(chipTool, " ***** Test Step 336 : Write attribute NULLABLE_ENUM16 null Value\n"); + err = TestWriteAttributeNullableEnum16NullValue_336(); break; case 337: - ChipLogProgress(chipTool, " ***** Test Step 337 : Write attribute NULLABLE_SIMPLE_ENUM Max Value\n"); - err = TestWriteAttributeNullableSimpleEnumMaxValue_337(); + ChipLogProgress(chipTool, " ***** Test Step 337 : Read attribute NULLABLE_ENUM16 null Value\n"); + err = TestReadAttributeNullableEnum16NullValue_337(); break; case 338: - ChipLogProgress(chipTool, " ***** Test Step 338 : Read attribute NULLABLE_SIMPLE_ENUM Max Value\n"); - err = TestReadAttributeNullableSimpleEnumMaxValue_338(); + ChipLogProgress(chipTool, " ***** Test Step 338 : Write attribute NULLABLE_SIMPLE_ENUM Min Value\n"); + err = TestWriteAttributeNullableSimpleEnumMinValue_338(); break; case 339: - ChipLogProgress(chipTool, " ***** Test Step 339 : Write attribute NULLABLE_SIMPLE_ENUM Invalid Value\n"); - err = TestWriteAttributeNullableSimpleEnumInvalidValue_339(); + ChipLogProgress(chipTool, " ***** Test Step 339 : Read attribute NULLABLE_SIMPLE_ENUM Min Value\n"); + err = TestReadAttributeNullableSimpleEnumMinValue_339(); break; case 340: - ChipLogProgress(chipTool, " ***** Test Step 340 : Read attribute NULLABLE_SIMPLE_ENUM unchanged Value\n"); - err = TestReadAttributeNullableSimpleEnumUnchangedValue_340(); + ChipLogProgress(chipTool, " ***** Test Step 340 : Write attribute NULLABLE_SIMPLE_ENUM Max Value\n"); + err = TestWriteAttributeNullableSimpleEnumMaxValue_340(); break; case 341: - ChipLogProgress(chipTool, " ***** Test Step 341 : Write attribute NULLABLE_SIMPLE_ENUM null Value\n"); - err = TestWriteAttributeNullableSimpleEnumNullValue_341(); + ChipLogProgress(chipTool, " ***** Test Step 341 : Read attribute NULLABLE_SIMPLE_ENUM Max Value\n"); + err = TestReadAttributeNullableSimpleEnumMaxValue_341(); break; case 342: - ChipLogProgress(chipTool, " ***** Test Step 342 : Read attribute NULLABLE_SIMPLE_ENUM null Value\n"); - err = TestReadAttributeNullableSimpleEnumNullValue_342(); + ChipLogProgress(chipTool, " ***** Test Step 342 : Write attribute NULLABLE_SIMPLE_ENUM Invalid Value\n"); + err = TestWriteAttributeNullableSimpleEnumInvalidValue_342(); break; case 343: - ChipLogProgress(chipTool, " ***** Test Step 343 : Read attribute NULLABLE_OCTET_STRING Default Value\n"); - err = TestReadAttributeNullableOctetStringDefaultValue_343(); + ChipLogProgress(chipTool, " ***** Test Step 343 : Read attribute NULLABLE_SIMPLE_ENUM unchanged Value\n"); + err = TestReadAttributeNullableSimpleEnumUnchangedValue_343(); break; case 344: - ChipLogProgress(chipTool, " ***** Test Step 344 : Write attribute NULLABLE_OCTET_STRING\n"); - err = TestWriteAttributeNullableOctetString_344(); + ChipLogProgress(chipTool, " ***** Test Step 344 : Write attribute NULLABLE_SIMPLE_ENUM null Value\n"); + err = TestWriteAttributeNullableSimpleEnumNullValue_344(); break; case 345: - ChipLogProgress(chipTool, " ***** Test Step 345 : Read attribute NULLABLE_OCTET_STRING\n"); - err = TestReadAttributeNullableOctetString_345(); + ChipLogProgress(chipTool, " ***** Test Step 345 : Read attribute NULLABLE_SIMPLE_ENUM null Value\n"); + err = TestReadAttributeNullableSimpleEnumNullValue_345(); break; case 346: - ChipLogProgress(chipTool, " ***** Test Step 346 : Write attribute NULLABLE_OCTET_STRING\n"); - err = TestWriteAttributeNullableOctetString_346(); + ChipLogProgress(chipTool, " ***** Test Step 346 : Read attribute NULLABLE_OCTET_STRING Default Value\n"); + err = TestReadAttributeNullableOctetStringDefaultValue_346(); break; case 347: - ChipLogProgress(chipTool, " ***** Test Step 347 : Read attribute NULLABLE_OCTET_STRING\n"); - err = TestReadAttributeNullableOctetString_347(); + ChipLogProgress(chipTool, " ***** Test Step 347 : Write attribute NULLABLE_OCTET_STRING\n"); + err = TestWriteAttributeNullableOctetString_347(); break; case 348: - ChipLogProgress(chipTool, " ***** Test Step 348 : Write attribute NULLABLE_OCTET_STRING\n"); - err = TestWriteAttributeNullableOctetString_348(); + ChipLogProgress(chipTool, " ***** Test Step 348 : Read attribute NULLABLE_OCTET_STRING\n"); + err = TestReadAttributeNullableOctetString_348(); break; case 349: - ChipLogProgress(chipTool, " ***** Test Step 349 : Read attribute NULLABLE_OCTET_STRING\n"); - err = TestReadAttributeNullableOctetString_349(); + ChipLogProgress(chipTool, " ***** Test Step 349 : Write attribute NULLABLE_OCTET_STRING\n"); + err = TestWriteAttributeNullableOctetString_349(); break; case 350: - ChipLogProgress(chipTool, " ***** Test Step 350 : Read attribute NULLABLE_CHAR_STRING Default Value\n"); - err = TestReadAttributeNullableCharStringDefaultValue_350(); + ChipLogProgress(chipTool, " ***** Test Step 350 : Read attribute NULLABLE_OCTET_STRING\n"); + err = TestReadAttributeNullableOctetString_350(); break; case 351: - ChipLogProgress(chipTool, " ***** Test Step 351 : Write attribute NULLABLE_CHAR_STRING\n"); - err = TestWriteAttributeNullableCharString_351(); + ChipLogProgress(chipTool, " ***** Test Step 351 : Write attribute NULLABLE_OCTET_STRING\n"); + err = TestWriteAttributeNullableOctetString_351(); break; case 352: - ChipLogProgress(chipTool, " ***** Test Step 352 : Read attribute NULLABLE_CHAR_STRING\n"); - err = TestReadAttributeNullableCharString_352(); + ChipLogProgress(chipTool, " ***** Test Step 352 : Read attribute NULLABLE_OCTET_STRING\n"); + err = TestReadAttributeNullableOctetString_352(); break; case 353: - ChipLogProgress(chipTool, " ***** Test Step 353 : Write attribute NULLABLE_CHAR_STRING - Value too long\n"); - err = TestWriteAttributeNullableCharStringValueTooLong_353(); + ChipLogProgress(chipTool, " ***** Test Step 353 : Read attribute NULLABLE_CHAR_STRING Default Value\n"); + err = TestReadAttributeNullableCharStringDefaultValue_353(); break; case 354: - ChipLogProgress(chipTool, " ***** Test Step 354 : Read attribute NULLABLE_CHAR_STRING\n"); - err = TestReadAttributeNullableCharString_354(); + ChipLogProgress(chipTool, " ***** Test Step 354 : Write attribute NULLABLE_CHAR_STRING\n"); + err = TestWriteAttributeNullableCharString_354(); break; case 355: - ChipLogProgress(chipTool, " ***** Test Step 355 : Write attribute NULLABLE_CHAR_STRING - Empty\n"); - err = TestWriteAttributeNullableCharStringEmpty_355(); + ChipLogProgress(chipTool, " ***** Test Step 355 : Read attribute NULLABLE_CHAR_STRING\n"); + err = TestReadAttributeNullableCharString_355(); break; case 356: - ChipLogProgress(chipTool, " ***** Test Step 356 : Read attribute NULLABLE_CHAR_STRING\n"); - err = TestReadAttributeNullableCharString_356(); + ChipLogProgress(chipTool, " ***** Test Step 356 : Write attribute NULLABLE_CHAR_STRING - Value too long\n"); + err = TestWriteAttributeNullableCharStringValueTooLong_356(); break; case 357: - ChipLogProgress(chipTool, " ***** Test Step 357 : Read attribute from nonexistent endpoint.\n"); - err = TestReadAttributeFromNonexistentEndpoint_357(); + ChipLogProgress(chipTool, " ***** Test Step 357 : Read attribute NULLABLE_CHAR_STRING\n"); + err = TestReadAttributeNullableCharString_357(); break; case 358: - ChipLogProgress(chipTool, " ***** Test Step 358 : Read attribute from nonexistent cluster.\n"); - err = TestReadAttributeFromNonexistentCluster_358(); + ChipLogProgress(chipTool, " ***** Test Step 358 : Write attribute NULLABLE_CHAR_STRING - Empty\n"); + err = TestWriteAttributeNullableCharStringEmpty_358(); break; case 359: - ChipLogProgress(chipTool, - " ***** Test Step 359 : Send a command that takes an optional parameter but do not set it.\n"); - err = TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_359(); + ChipLogProgress(chipTool, " ***** Test Step 359 : Read attribute NULLABLE_CHAR_STRING\n"); + err = TestReadAttributeNullableCharString_359(); break; case 360: - ChipLogProgress(chipTool, - " ***** Test Step 360 : Send a command that takes an optional parameter but do not set it.\n"); - err = TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_360(); + ChipLogProgress(chipTool, " ***** Test Step 360 : Read attribute from nonexistent endpoint.\n"); + err = TestReadAttributeFromNonexistentEndpoint_360(); break; case 361: - ChipLogProgress(chipTool, " ***** Test Step 361 : Report: Subscribe to list attribute\n"); - err = TestReportSubscribeToListAttribute_361(); + ChipLogProgress(chipTool, " ***** Test Step 361 : Read attribute from nonexistent cluster.\n"); + err = TestReadAttributeFromNonexistentCluster_361(); break; case 362: - ChipLogProgress(chipTool, " ***** Test Step 362 : Subscribe to list attribute\n"); - err = TestSubscribeToListAttribute_362(); + ChipLogProgress(chipTool, + " ***** Test Step 362 : Send a command that takes an optional parameter but do not set it.\n"); + err = TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_362(); break; case 363: - ChipLogProgress(chipTool, " ***** Test Step 363 : Write subscribed-to list attribute\n"); - err = TestWriteSubscribedToListAttribute_363(); + ChipLogProgress(chipTool, + " ***** Test Step 363 : Send a command that takes an optional parameter but do not set it.\n"); + err = TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_363(); break; case 364: - ChipLogProgress(chipTool, " ***** Test Step 364 : Check for list attribute report\n"); - err = TestCheckForListAttributeReport_364(); + ChipLogProgress(chipTool, " ***** Test Step 364 : Report: Subscribe to list attribute\n"); + err = TestReportSubscribeToListAttribute_364(); break; case 365: - ChipLogProgress(chipTool, " ***** Test Step 365 : Read range-restricted unsigned 8-bit integer\n"); - err = TestReadRangeRestrictedUnsigned8BitInteger_365(); + ChipLogProgress(chipTool, " ***** Test Step 365 : Subscribe to list attribute\n"); + err = TestSubscribeToListAttribute_365(); break; case 366: - ChipLogProgress(chipTool, " ***** Test Step 366 : Write min value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteMinValueToARangeRestrictedUnsigned8BitInteger_366(); + ChipLogProgress(chipTool, " ***** Test Step 366 : Write subscribed-to list attribute\n"); + err = TestWriteSubscribedToListAttribute_366(); break; case 367: - ChipLogProgress(chipTool, - " ***** Test Step 367 : Write just-below-range value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteJustBelowRangeValueToARangeRestrictedUnsigned8BitInteger_367(); + ChipLogProgress(chipTool, " ***** Test Step 367 : Check for list attribute report\n"); + err = TestCheckForListAttributeReport_367(); break; case 368: - ChipLogProgress(chipTool, - " ***** Test Step 368 : Write just-above-range value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteJustAboveRangeValueToARangeRestrictedUnsigned8BitInteger_368(); + ChipLogProgress(chipTool, " ***** Test Step 368 : Read range-restricted unsigned 8-bit integer\n"); + err = TestReadRangeRestrictedUnsigned8BitInteger_368(); break; case 369: - ChipLogProgress(chipTool, " ***** Test Step 369 : Write max value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteMaxValueToARangeRestrictedUnsigned8BitInteger_369(); + ChipLogProgress(chipTool, " ***** Test Step 369 : Write min value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteMinValueToARangeRestrictedUnsigned8BitInteger_369(); break; case 370: ChipLogProgress(chipTool, - " ***** Test Step 370 : Verify range-restricted unsigned 8-bit integer value has not changed\n"); - err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_370(); + " ***** Test Step 370 : Write just-below-range value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteJustBelowRangeValueToARangeRestrictedUnsigned8BitInteger_370(); break; case 371: ChipLogProgress(chipTool, - " ***** Test Step 371 : Write min valid value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteMinValidValueToARangeRestrictedUnsigned8BitInteger_371(); + " ***** Test Step 371 : Write just-above-range value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteJustAboveRangeValueToARangeRestrictedUnsigned8BitInteger_371(); break; case 372: - ChipLogProgress(chipTool, - " ***** Test Step 372 : Verify range-restricted unsigned 8-bit integer value is at min valid\n"); - err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_372(); + ChipLogProgress(chipTool, " ***** Test Step 372 : Write max value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteMaxValueToARangeRestrictedUnsigned8BitInteger_372(); break; case 373: ChipLogProgress(chipTool, - " ***** Test Step 373 : Write max valid value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteMaxValidValueToARangeRestrictedUnsigned8BitInteger_373(); + " ***** Test Step 373 : Verify range-restricted unsigned 8-bit integer value has not changed\n"); + err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_373(); break; case 374: ChipLogProgress(chipTool, - " ***** Test Step 374 : Verify range-restricted unsigned 8-bit integer value is at max valid\n"); - err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_374(); + " ***** Test Step 374 : Write min valid value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteMinValidValueToARangeRestrictedUnsigned8BitInteger_374(); break; case 375: ChipLogProgress(chipTool, - " ***** Test Step 375 : Write middle valid value to a range-restricted unsigned 8-bit integer\n"); - err = TestWriteMiddleValidValueToARangeRestrictedUnsigned8BitInteger_375(); + " ***** Test Step 375 : Verify range-restricted unsigned 8-bit integer value is at min valid\n"); + err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_375(); break; case 376: ChipLogProgress(chipTool, - " ***** Test Step 376 : Verify range-restricted unsigned 8-bit integer value is at mid valid\n"); - err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_376(); + " ***** Test Step 376 : Write max valid value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteMaxValidValueToARangeRestrictedUnsigned8BitInteger_376(); break; case 377: - ChipLogProgress(chipTool, " ***** Test Step 377 : Read range-restricted unsigned 16-bit integer\n"); - err = TestReadRangeRestrictedUnsigned16BitInteger_377(); + ChipLogProgress(chipTool, + " ***** Test Step 377 : Verify range-restricted unsigned 8-bit integer value is at max valid\n"); + err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_377(); break; case 378: - ChipLogProgress(chipTool, " ***** Test Step 378 : Write min value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteMinValueToARangeRestrictedUnsigned16BitInteger_378(); + ChipLogProgress(chipTool, + " ***** Test Step 378 : Write middle valid value to a range-restricted unsigned 8-bit integer\n"); + err = TestWriteMiddleValidValueToARangeRestrictedUnsigned8BitInteger_378(); break; case 379: ChipLogProgress(chipTool, - " ***** Test Step 379 : Write just-below-range value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteJustBelowRangeValueToARangeRestrictedUnsigned16BitInteger_379(); + " ***** Test Step 379 : Verify range-restricted unsigned 8-bit integer value is at mid valid\n"); + err = TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_379(); break; case 380: - ChipLogProgress(chipTool, - " ***** Test Step 380 : Write just-above-range value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteJustAboveRangeValueToARangeRestrictedUnsigned16BitInteger_380(); + ChipLogProgress(chipTool, " ***** Test Step 380 : Read range-restricted unsigned 16-bit integer\n"); + err = TestReadRangeRestrictedUnsigned16BitInteger_380(); break; case 381: - ChipLogProgress(chipTool, " ***** Test Step 381 : Write max value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteMaxValueToARangeRestrictedUnsigned16BitInteger_381(); + ChipLogProgress(chipTool, " ***** Test Step 381 : Write min value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteMinValueToARangeRestrictedUnsigned16BitInteger_381(); break; case 382: ChipLogProgress(chipTool, - " ***** Test Step 382 : Verify range-restricted unsigned 16-bit integer value has not changed\n"); - err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_382(); + " ***** Test Step 382 : Write just-below-range value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteJustBelowRangeValueToARangeRestrictedUnsigned16BitInteger_382(); break; case 383: ChipLogProgress(chipTool, - " ***** Test Step 383 : Write min valid value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteMinValidValueToARangeRestrictedUnsigned16BitInteger_383(); + " ***** Test Step 383 : Write just-above-range value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteJustAboveRangeValueToARangeRestrictedUnsigned16BitInteger_383(); break; case 384: - ChipLogProgress(chipTool, - " ***** Test Step 384 : Verify range-restricted unsigned 16-bit integer value is at min valid\n"); - err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_384(); + ChipLogProgress(chipTool, " ***** Test Step 384 : Write max value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteMaxValueToARangeRestrictedUnsigned16BitInteger_384(); break; case 385: ChipLogProgress(chipTool, - " ***** Test Step 385 : Write max valid value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteMaxValidValueToARangeRestrictedUnsigned16BitInteger_385(); + " ***** Test Step 385 : Verify range-restricted unsigned 16-bit integer value has not changed\n"); + err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_385(); break; case 386: ChipLogProgress(chipTool, - " ***** Test Step 386 : Verify range-restricted unsigned 16-bit integer value is at max valid\n"); - err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_386(); + " ***** Test Step 386 : Write min valid value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteMinValidValueToARangeRestrictedUnsigned16BitInteger_386(); break; case 387: ChipLogProgress(chipTool, - " ***** Test Step 387 : Write middle valid value to a range-restricted unsigned 16-bit integer\n"); - err = TestWriteMiddleValidValueToARangeRestrictedUnsigned16BitInteger_387(); + " ***** Test Step 387 : Verify range-restricted unsigned 16-bit integer value is at min valid\n"); + err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_387(); break; case 388: ChipLogProgress(chipTool, - " ***** Test Step 388 : Verify range-restricted unsigned 16-bit integer value is at mid valid\n"); - err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_388(); + " ***** Test Step 388 : Write max valid value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteMaxValidValueToARangeRestrictedUnsigned16BitInteger_388(); break; case 389: - ChipLogProgress(chipTool, " ***** Test Step 389 : Read range-restricted signed 8-bit integer\n"); - err = TestReadRangeRestrictedSigned8BitInteger_389(); + ChipLogProgress(chipTool, + " ***** Test Step 389 : Verify range-restricted unsigned 16-bit integer value is at max valid\n"); + err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_389(); break; case 390: - ChipLogProgress(chipTool, " ***** Test Step 390 : Write min value to a range-restricted signed 8-bit integer\n"); - err = TestWriteMinValueToARangeRestrictedSigned8BitInteger_390(); + ChipLogProgress(chipTool, + " ***** Test Step 390 : Write middle valid value to a range-restricted unsigned 16-bit integer\n"); + err = TestWriteMiddleValidValueToARangeRestrictedUnsigned16BitInteger_390(); break; case 391: ChipLogProgress(chipTool, - " ***** Test Step 391 : Write just-below-range value to a range-restricted signed 8-bit integer\n"); - err = TestWriteJustBelowRangeValueToARangeRestrictedSigned8BitInteger_391(); + " ***** Test Step 391 : Verify range-restricted unsigned 16-bit integer value is at mid valid\n"); + err = TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_391(); break; case 392: - ChipLogProgress(chipTool, - " ***** Test Step 392 : Write just-above-range value to a range-restricted signed 8-bit integer\n"); - err = TestWriteJustAboveRangeValueToARangeRestrictedSigned8BitInteger_392(); + ChipLogProgress(chipTool, " ***** Test Step 392 : Read range-restricted signed 8-bit integer\n"); + err = TestReadRangeRestrictedSigned8BitInteger_392(); break; case 393: - ChipLogProgress(chipTool, " ***** Test Step 393 : Write max value to a range-restricted signed 8-bit integer\n"); - err = TestWriteMaxValueToARangeRestrictedSigned8BitInteger_393(); + ChipLogProgress(chipTool, " ***** Test Step 393 : Write min value to a range-restricted signed 8-bit integer\n"); + err = TestWriteMinValueToARangeRestrictedSigned8BitInteger_393(); break; case 394: ChipLogProgress(chipTool, - " ***** Test Step 394 : Verify range-restricted signed 8-bit integer value has not changed\n"); - err = TestVerifyRangeRestrictedSigned8BitIntegerValueHasNotChanged_394(); + " ***** Test Step 394 : Write just-below-range value to a range-restricted signed 8-bit integer\n"); + err = TestWriteJustBelowRangeValueToARangeRestrictedSigned8BitInteger_394(); break; case 395: - ChipLogProgress(chipTool, " ***** Test Step 395 : Write min valid value to a range-restricted signed 8-bit integer\n"); - err = TestWriteMinValidValueToARangeRestrictedSigned8BitInteger_395(); + ChipLogProgress(chipTool, + " ***** Test Step 395 : Write just-above-range value to a range-restricted signed 8-bit integer\n"); + err = TestWriteJustAboveRangeValueToARangeRestrictedSigned8BitInteger_395(); break; case 396: - ChipLogProgress(chipTool, - " ***** Test Step 396 : Verify range-restricted signed 8-bit integer value is at min valid\n"); - err = TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMinValid_396(); + ChipLogProgress(chipTool, " ***** Test Step 396 : Write max value to a range-restricted signed 8-bit integer\n"); + err = TestWriteMaxValueToARangeRestrictedSigned8BitInteger_396(); break; case 397: - ChipLogProgress(chipTool, " ***** Test Step 397 : Write max valid value to a range-restricted signed 8-bit integer\n"); - err = TestWriteMaxValidValueToARangeRestrictedSigned8BitInteger_397(); + ChipLogProgress(chipTool, + " ***** Test Step 397 : Verify range-restricted signed 8-bit integer value has not changed\n"); + err = TestVerifyRangeRestrictedSigned8BitIntegerValueHasNotChanged_397(); break; case 398: - ChipLogProgress(chipTool, - " ***** Test Step 398 : Verify range-restricted signed 8-bit integer value is at max valid\n"); - err = TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_398(); + ChipLogProgress(chipTool, " ***** Test Step 398 : Write min valid value to a range-restricted signed 8-bit integer\n"); + err = TestWriteMinValidValueToARangeRestrictedSigned8BitInteger_398(); break; case 399: ChipLogProgress(chipTool, - " ***** Test Step 399 : Write middle valid value to a range-restricted signed 8-bit integer\n"); - err = TestWriteMiddleValidValueToARangeRestrictedSigned8BitInteger_399(); + " ***** Test Step 399 : Verify range-restricted signed 8-bit integer value is at min valid\n"); + err = TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMinValid_399(); break; case 400: - ChipLogProgress(chipTool, - " ***** Test Step 400 : Verify range-restricted signed 8-bit integer value is at mid valid\n"); - err = TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMidValid_400(); + ChipLogProgress(chipTool, " ***** Test Step 400 : Write max valid value to a range-restricted signed 8-bit integer\n"); + err = TestWriteMaxValidValueToARangeRestrictedSigned8BitInteger_400(); break; case 401: - ChipLogProgress(chipTool, " ***** Test Step 401 : Read range-restricted signed 16-bit integer\n"); - err = TestReadRangeRestrictedSigned16BitInteger_401(); + ChipLogProgress(chipTool, + " ***** Test Step 401 : Verify range-restricted signed 8-bit integer value is at max valid\n"); + err = TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_401(); break; case 402: - ChipLogProgress(chipTool, " ***** Test Step 402 : Write min value to a range-restricted signed 16-bit integer\n"); - err = TestWriteMinValueToARangeRestrictedSigned16BitInteger_402(); + ChipLogProgress(chipTool, + " ***** Test Step 402 : Write middle valid value to a range-restricted signed 8-bit integer\n"); + err = TestWriteMiddleValidValueToARangeRestrictedSigned8BitInteger_402(); break; case 403: ChipLogProgress(chipTool, - " ***** Test Step 403 : Write just-below-range value to a range-restricted signed 16-bit integer\n"); - err = TestWriteJustBelowRangeValueToARangeRestrictedSigned16BitInteger_403(); + " ***** Test Step 403 : Verify range-restricted signed 8-bit integer value is at mid valid\n"); + err = TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMidValid_403(); break; case 404: - ChipLogProgress(chipTool, - " ***** Test Step 404 : Write just-above-range value to a range-restricted signed 16-bit integer\n"); - err = TestWriteJustAboveRangeValueToARangeRestrictedSigned16BitInteger_404(); + ChipLogProgress(chipTool, " ***** Test Step 404 : Read range-restricted signed 16-bit integer\n"); + err = TestReadRangeRestrictedSigned16BitInteger_404(); break; case 405: - ChipLogProgress(chipTool, " ***** Test Step 405 : Write max value to a range-restricted signed 16-bit integer\n"); - err = TestWriteMaxValueToARangeRestrictedSigned16BitInteger_405(); + ChipLogProgress(chipTool, " ***** Test Step 405 : Write min value to a range-restricted signed 16-bit integer\n"); + err = TestWriteMinValueToARangeRestrictedSigned16BitInteger_405(); break; case 406: ChipLogProgress(chipTool, - " ***** Test Step 406 : Verify range-restricted signed 16-bit integer value has not changed\n"); - err = TestVerifyRangeRestrictedSigned16BitIntegerValueHasNotChanged_406(); + " ***** Test Step 406 : Write just-below-range value to a range-restricted signed 16-bit integer\n"); + err = TestWriteJustBelowRangeValueToARangeRestrictedSigned16BitInteger_406(); break; case 407: - ChipLogProgress(chipTool, " ***** Test Step 407 : Write min valid value to a range-restricted signed 16-bit integer\n"); - err = TestWriteMinValidValueToARangeRestrictedSigned16BitInteger_407(); + ChipLogProgress(chipTool, + " ***** Test Step 407 : Write just-above-range value to a range-restricted signed 16-bit integer\n"); + err = TestWriteJustAboveRangeValueToARangeRestrictedSigned16BitInteger_407(); break; case 408: - ChipLogProgress(chipTool, - " ***** Test Step 408 : Verify range-restricted signed 16-bit integer value is at min valid\n"); - err = TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMinValid_408(); + ChipLogProgress(chipTool, " ***** Test Step 408 : Write max value to a range-restricted signed 16-bit integer\n"); + err = TestWriteMaxValueToARangeRestrictedSigned16BitInteger_408(); break; case 409: - ChipLogProgress(chipTool, " ***** Test Step 409 : Write max valid value to a range-restricted signed 16-bit integer\n"); - err = TestWriteMaxValidValueToARangeRestrictedSigned16BitInteger_409(); + ChipLogProgress(chipTool, + " ***** Test Step 409 : Verify range-restricted signed 16-bit integer value has not changed\n"); + err = TestVerifyRangeRestrictedSigned16BitIntegerValueHasNotChanged_409(); break; case 410: - ChipLogProgress(chipTool, - " ***** Test Step 410 : Verify range-restricted signed 16-bit integer value is at max valid\n"); - err = TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_410(); + ChipLogProgress(chipTool, " ***** Test Step 410 : Write min valid value to a range-restricted signed 16-bit integer\n"); + err = TestWriteMinValidValueToARangeRestrictedSigned16BitInteger_410(); break; case 411: ChipLogProgress(chipTool, - " ***** Test Step 411 : Write middle valid value to a range-restricted signed 16-bit integer\n"); - err = TestWriteMiddleValidValueToARangeRestrictedSigned16BitInteger_411(); + " ***** Test Step 411 : Verify range-restricted signed 16-bit integer value is at min valid\n"); + err = TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMinValid_411(); break; case 412: - ChipLogProgress(chipTool, - " ***** Test Step 412 : Verify range-restricted signed 16-bit integer value is at mid valid\n"); - err = TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMidValid_412(); + ChipLogProgress(chipTool, " ***** Test Step 412 : Write max valid value to a range-restricted signed 16-bit integer\n"); + err = TestWriteMaxValidValueToARangeRestrictedSigned16BitInteger_412(); break; case 413: - ChipLogProgress(chipTool, " ***** Test Step 413 : Read nullable range-restricted unsigned 8-bit integer\n"); - err = TestReadNullableRangeRestrictedUnsigned8BitInteger_413(); + ChipLogProgress(chipTool, + " ***** Test Step 413 : Verify range-restricted signed 16-bit integer value is at max valid\n"); + err = TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_413(); break; case 414: ChipLogProgress(chipTool, - " ***** Test Step 414 : Write min value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteMinValueToANullableRangeRestrictedUnsigned8BitInteger_414(); + " ***** Test Step 414 : Write middle valid value to a range-restricted signed 16-bit integer\n"); + err = TestWriteMiddleValidValueToARangeRestrictedSigned16BitInteger_414(); break; case 415: - ChipLogProgress( - chipTool, - " ***** Test Step 415 : Write just-below-range value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned8BitInteger_415(); + ChipLogProgress(chipTool, + " ***** Test Step 415 : Verify range-restricted signed 16-bit integer value is at mid valid\n"); + err = TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMidValid_415(); break; case 416: - ChipLogProgress( - chipTool, - " ***** Test Step 416 : Write just-above-range value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned8BitInteger_416(); + ChipLogProgress(chipTool, " ***** Test Step 416 : Read nullable range-restricted unsigned 8-bit integer\n"); + err = TestReadNullableRangeRestrictedUnsigned8BitInteger_416(); break; case 417: ChipLogProgress(chipTool, - " ***** Test Step 417 : Write max value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteMaxValueToANullableRangeRestrictedUnsigned8BitInteger_417(); + " ***** Test Step 417 : Write min value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteMinValueToANullableRangeRestrictedUnsigned8BitInteger_417(); break; case 418: ChipLogProgress( - chipTool, " ***** Test Step 418 : Verify nullable range-restricted unsigned 8-bit integer value has not changed\n"); - err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_418(); + chipTool, + " ***** Test Step 418 : Write just-below-range value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned8BitInteger_418(); break; case 419: - ChipLogProgress(chipTool, - " ***** Test Step 419 : Write min valid value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteMinValidValueToANullableRangeRestrictedUnsigned8BitInteger_419(); + ChipLogProgress( + chipTool, + " ***** Test Step 419 : Write just-above-range value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned8BitInteger_419(); break; case 420: - ChipLogProgress( - chipTool, " ***** Test Step 420 : Verify nullable range-restricted unsigned 8-bit integer value is at min valid\n"); - err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_420(); + ChipLogProgress(chipTool, + " ***** Test Step 420 : Write max value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteMaxValueToANullableRangeRestrictedUnsigned8BitInteger_420(); break; case 421: - ChipLogProgress(chipTool, - " ***** Test Step 421 : Write max valid value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteMaxValidValueToANullableRangeRestrictedUnsigned8BitInteger_421(); + ChipLogProgress( + chipTool, " ***** Test Step 421 : Verify nullable range-restricted unsigned 8-bit integer value has not changed\n"); + err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_421(); break; case 422: - ChipLogProgress( - chipTool, " ***** Test Step 422 : Verify nullable range-restricted unsigned 8-bit integer value is at max valid\n"); - err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_422(); + ChipLogProgress(chipTool, + " ***** Test Step 422 : Write min valid value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteMinValidValueToANullableRangeRestrictedUnsigned8BitInteger_422(); break; case 423: ChipLogProgress( - chipTool, - " ***** Test Step 423 : Write middle valid value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned8BitInteger_423(); + chipTool, " ***** Test Step 423 : Verify nullable range-restricted unsigned 8-bit integer value is at min valid\n"); + err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_423(); break; case 424: - ChipLogProgress( - chipTool, " ***** Test Step 424 : Verify nullable range-restricted unsigned 8-bit integer value is at mid valid\n"); - err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_424(); + ChipLogProgress(chipTool, + " ***** Test Step 424 : Write max valid value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteMaxValidValueToANullableRangeRestrictedUnsigned8BitInteger_424(); break; case 425: - ChipLogProgress(chipTool, - " ***** Test Step 425 : Write null value to a nullable range-restricted unsigned 8-bit integer\n"); - err = TestWriteNullValueToANullableRangeRestrictedUnsigned8BitInteger_425(); + ChipLogProgress( + chipTool, " ***** Test Step 425 : Verify nullable range-restricted unsigned 8-bit integer value is at max valid\n"); + err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_425(); break; case 426: - ChipLogProgress(chipTool, - " ***** Test Step 426 : Verify nullable range-restricted unsigned 8-bit integer value is null\n"); - err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsNull_426(); + ChipLogProgress( + chipTool, + " ***** Test Step 426 : Write middle valid value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned8BitInteger_426(); break; case 427: - ChipLogProgress(chipTool, " ***** Test Step 427 : Read nullable range-restricted unsigned 16-bit integer\n"); - err = TestReadNullableRangeRestrictedUnsigned16BitInteger_427(); + ChipLogProgress( + chipTool, " ***** Test Step 427 : Verify nullable range-restricted unsigned 8-bit integer value is at mid valid\n"); + err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_427(); break; case 428: ChipLogProgress(chipTool, - " ***** Test Step 428 : Write min value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteMinValueToANullableRangeRestrictedUnsigned16BitInteger_428(); + " ***** Test Step 428 : Write null value to a nullable range-restricted unsigned 8-bit integer\n"); + err = TestWriteNullValueToANullableRangeRestrictedUnsigned8BitInteger_428(); break; case 429: - ChipLogProgress( - chipTool, - " ***** Test Step 429 : Write just-below-range value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned16BitInteger_429(); + ChipLogProgress(chipTool, + " ***** Test Step 429 : Verify nullable range-restricted unsigned 8-bit integer value is null\n"); + err = TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsNull_429(); break; case 430: - ChipLogProgress( - chipTool, - " ***** Test Step 430 : Write just-above-range value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned16BitInteger_430(); + ChipLogProgress(chipTool, " ***** Test Step 430 : Read nullable range-restricted unsigned 16-bit integer\n"); + err = TestReadNullableRangeRestrictedUnsigned16BitInteger_430(); break; case 431: ChipLogProgress(chipTool, - " ***** Test Step 431 : Write max value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteMaxValueToANullableRangeRestrictedUnsigned16BitInteger_431(); + " ***** Test Step 431 : Write min value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteMinValueToANullableRangeRestrictedUnsigned16BitInteger_431(); break; case 432: ChipLogProgress( chipTool, - " ***** Test Step 432 : Verify nullable range-restricted unsigned 16-bit integer value has not changed\n"); - err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_432(); + " ***** Test Step 432 : Write just-below-range value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned16BitInteger_432(); break; case 433: ChipLogProgress( - chipTool, " ***** Test Step 433 : Write min valid value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteMinValidValueToANullableRangeRestrictedUnsigned16BitInteger_433(); + chipTool, + " ***** Test Step 433 : Write just-above-range value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned16BitInteger_433(); break; case 434: - ChipLogProgress( - chipTool, - " ***** Test Step 434 : Verify nullable range-restricted unsigned 16-bit integer value is at min valid\n"); - err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_434(); + ChipLogProgress(chipTool, + " ***** Test Step 434 : Write max value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteMaxValueToANullableRangeRestrictedUnsigned16BitInteger_434(); break; case 435: ChipLogProgress( - chipTool, " ***** Test Step 435 : Write max valid value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteMaxValidValueToANullableRangeRestrictedUnsigned16BitInteger_435(); + chipTool, + " ***** Test Step 435 : Verify nullable range-restricted unsigned 16-bit integer value has not changed\n"); + err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_435(); break; case 436: ChipLogProgress( - chipTool, - " ***** Test Step 436 : Verify nullable range-restricted unsigned 16-bit integer value is at max valid\n"); - err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_436(); + chipTool, " ***** Test Step 436 : Write min valid value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteMinValidValueToANullableRangeRestrictedUnsigned16BitInteger_436(); break; case 437: ChipLogProgress( chipTool, - " ***** Test Step 437 : Write middle valid value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned16BitInteger_437(); + " ***** Test Step 437 : Verify nullable range-restricted unsigned 16-bit integer value is at min valid\n"); + err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_437(); break; case 438: ChipLogProgress( - chipTool, - " ***** Test Step 438 : Verify nullable range-restricted unsigned 16-bit integer value is at mid valid\n"); - err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_438(); + chipTool, " ***** Test Step 438 : Write max valid value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteMaxValidValueToANullableRangeRestrictedUnsigned16BitInteger_438(); break; case 439: - ChipLogProgress(chipTool, - " ***** Test Step 439 : Write null value to a nullable range-restricted unsigned 16-bit integer\n"); - err = TestWriteNullValueToANullableRangeRestrictedUnsigned16BitInteger_439(); + ChipLogProgress( + chipTool, + " ***** Test Step 439 : Verify nullable range-restricted unsigned 16-bit integer value is at max valid\n"); + err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_439(); break; case 440: - ChipLogProgress(chipTool, - " ***** Test Step 440 : Verify nullable range-restricted unsigned 16-bit integer value is null\n"); - err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsNull_440(); + ChipLogProgress( + chipTool, + " ***** Test Step 440 : Write middle valid value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned16BitInteger_440(); break; case 441: - ChipLogProgress(chipTool, " ***** Test Step 441 : Read nullable range-restricted signed 8-bit integer\n"); - err = TestReadNullableRangeRestrictedSigned8BitInteger_441(); + ChipLogProgress( + chipTool, + " ***** Test Step 441 : Verify nullable range-restricted unsigned 16-bit integer value is at mid valid\n"); + err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_441(); break; case 442: ChipLogProgress(chipTool, - " ***** Test Step 442 : Write min value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteMinValueToANullableRangeRestrictedSigned8BitInteger_442(); + " ***** Test Step 442 : Write null value to a nullable range-restricted unsigned 16-bit integer\n"); + err = TestWriteNullValueToANullableRangeRestrictedUnsigned16BitInteger_442(); break; case 443: - ChipLogProgress( - chipTool, - " ***** Test Step 443 : Write just-below-range value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned8BitInteger_443(); + ChipLogProgress(chipTool, + " ***** Test Step 443 : Verify nullable range-restricted unsigned 16-bit integer value is null\n"); + err = TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsNull_443(); break; case 444: - ChipLogProgress( - chipTool, - " ***** Test Step 444 : Write just-above-range value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned8BitInteger_444(); + ChipLogProgress(chipTool, " ***** Test Step 444 : Read nullable range-restricted signed 8-bit integer\n"); + err = TestReadNullableRangeRestrictedSigned8BitInteger_444(); break; case 445: ChipLogProgress(chipTool, - " ***** Test Step 445 : Write max value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteMaxValueToANullableRangeRestrictedSigned8BitInteger_445(); + " ***** Test Step 445 : Write min value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteMinValueToANullableRangeRestrictedSigned8BitInteger_445(); break; case 446: - ChipLogProgress(chipTool, - " ***** Test Step 446 : Verify nullable range-restricted signed 8-bit integer value has not changed\n"); - err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueHasNotChanged_446(); + ChipLogProgress( + chipTool, + " ***** Test Step 446 : Write just-below-range value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned8BitInteger_446(); break; case 447: - ChipLogProgress(chipTool, - " ***** Test Step 447 : Write min valid value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteMinValidValueToANullableRangeRestrictedSigned8BitInteger_447(); + ChipLogProgress( + chipTool, + " ***** Test Step 447 : Write just-above-range value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned8BitInteger_447(); break; case 448: ChipLogProgress(chipTool, - " ***** Test Step 448 : Verify nullable range-restricted signed 8-bit integer value is at min valid\n"); - err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMinValid_448(); + " ***** Test Step 448 : Write max value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteMaxValueToANullableRangeRestrictedSigned8BitInteger_448(); break; case 449: ChipLogProgress(chipTool, - " ***** Test Step 449 : Write max valid value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteMaxValidValueToANullableRangeRestrictedSigned8BitInteger_449(); + " ***** Test Step 449 : Verify nullable range-restricted signed 8-bit integer value has not changed\n"); + err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueHasNotChanged_449(); break; case 450: ChipLogProgress(chipTool, - " ***** Test Step 450 : Verify nullable range-restricted signed 8-bit integer value is at max valid\n"); - err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_450(); + " ***** Test Step 450 : Write min valid value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteMinValidValueToANullableRangeRestrictedSigned8BitInteger_450(); break; case 451: - ChipLogProgress( - chipTool, " ***** Test Step 451 : Write middle valid value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteMiddleValidValueToANullableRangeRestrictedSigned8BitInteger_451(); + ChipLogProgress(chipTool, + " ***** Test Step 451 : Verify nullable range-restricted signed 8-bit integer value is at min valid\n"); + err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMinValid_451(); break; case 452: ChipLogProgress(chipTool, - " ***** Test Step 452 : Verify nullable range-restricted signed 8-bit integer value is at mid valid\n"); - err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMidValid_452(); + " ***** Test Step 452 : Write max valid value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteMaxValidValueToANullableRangeRestrictedSigned8BitInteger_452(); break; case 453: ChipLogProgress(chipTool, - " ***** Test Step 453 : Write null value to a nullable range-restricted signed 8-bit integer\n"); - err = TestWriteNullValueToANullableRangeRestrictedSigned8BitInteger_453(); + " ***** Test Step 453 : Verify nullable range-restricted signed 8-bit integer value is at max valid\n"); + err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_453(); break; case 454: - ChipLogProgress(chipTool, - " ***** Test Step 454 : Verify nullable range-restricted signed 8-bit integer value is at null\n"); - err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtNull_454(); + ChipLogProgress( + chipTool, " ***** Test Step 454 : Write middle valid value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteMiddleValidValueToANullableRangeRestrictedSigned8BitInteger_454(); break; case 455: - ChipLogProgress(chipTool, " ***** Test Step 455 : Read nullable range-restricted signed 16-bit integer\n"); - err = TestReadNullableRangeRestrictedSigned16BitInteger_455(); + ChipLogProgress(chipTool, + " ***** Test Step 455 : Verify nullable range-restricted signed 8-bit integer value is at mid valid\n"); + err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMidValid_455(); break; case 456: ChipLogProgress(chipTool, - " ***** Test Step 456 : Write min value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteMinValueToANullableRangeRestrictedSigned16BitInteger_456(); + " ***** Test Step 456 : Write null value to a nullable range-restricted signed 8-bit integer\n"); + err = TestWriteNullValueToANullableRangeRestrictedSigned8BitInteger_456(); break; case 457: - ChipLogProgress( - chipTool, - " ***** Test Step 457 : Write just-below-range value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned16BitInteger_457(); + ChipLogProgress(chipTool, + " ***** Test Step 457 : Verify nullable range-restricted signed 8-bit integer value is at null\n"); + err = TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtNull_457(); break; case 458: - ChipLogProgress( - chipTool, - " ***** Test Step 458 : Write just-above-range value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned16BitInteger_458(); + ChipLogProgress(chipTool, " ***** Test Step 458 : Read nullable range-restricted signed 16-bit integer\n"); + err = TestReadNullableRangeRestrictedSigned16BitInteger_458(); break; case 459: ChipLogProgress(chipTool, - " ***** Test Step 459 : Write max value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteMaxValueToANullableRangeRestrictedSigned16BitInteger_459(); + " ***** Test Step 459 : Write min value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteMinValueToANullableRangeRestrictedSigned16BitInteger_459(); break; case 460: ChipLogProgress( - chipTool, " ***** Test Step 460 : Verify nullable range-restricted signed 16-bit integer value has not changed\n"); - err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueHasNotChanged_460(); + chipTool, + " ***** Test Step 460 : Write just-below-range value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned16BitInteger_460(); break; case 461: - ChipLogProgress(chipTool, - " ***** Test Step 461 : Write min valid value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteMinValidValueToANullableRangeRestrictedSigned16BitInteger_461(); + ChipLogProgress( + chipTool, + " ***** Test Step 461 : Write just-above-range value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned16BitInteger_461(); break; case 462: - ChipLogProgress( - chipTool, " ***** Test Step 462 : Verify nullable range-restricted signed 16-bit integer value is at min valid\n"); - err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMinValid_462(); + ChipLogProgress(chipTool, + " ***** Test Step 462 : Write max value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteMaxValueToANullableRangeRestrictedSigned16BitInteger_462(); break; case 463: - ChipLogProgress(chipTool, - " ***** Test Step 463 : Write max valid value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteMaxValidValueToANullableRangeRestrictedSigned16BitInteger_463(); + ChipLogProgress( + chipTool, " ***** Test Step 463 : Verify nullable range-restricted signed 16-bit integer value has not changed\n"); + err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueHasNotChanged_463(); break; case 464: - ChipLogProgress( - chipTool, " ***** Test Step 464 : Verify nullable range-restricted signed 16-bit integer value is at max valid\n"); - err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_464(); + ChipLogProgress(chipTool, + " ***** Test Step 464 : Write min valid value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteMinValidValueToANullableRangeRestrictedSigned16BitInteger_464(); break; case 465: ChipLogProgress( - chipTool, " ***** Test Step 465 : Write middle valid value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteMiddleValidValueToANullableRangeRestrictedSigned16BitInteger_465(); + chipTool, " ***** Test Step 465 : Verify nullable range-restricted signed 16-bit integer value is at min valid\n"); + err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMinValid_465(); break; case 466: - ChipLogProgress( - chipTool, " ***** Test Step 466 : Verify nullable range-restricted signed 16-bit integer value is at mid valid\n"); - err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMidValid_466(); + ChipLogProgress(chipTool, + " ***** Test Step 466 : Write max valid value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteMaxValidValueToANullableRangeRestrictedSigned16BitInteger_466(); break; case 467: - ChipLogProgress(chipTool, - " ***** Test Step 467 : Write null value to a nullable range-restricted signed 16-bit integer\n"); - err = TestWriteNullValueToANullableRangeRestrictedSigned16BitInteger_467(); + ChipLogProgress( + chipTool, " ***** Test Step 467 : Verify nullable range-restricted signed 16-bit integer value is at max valid\n"); + err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_467(); break; case 468: + ChipLogProgress( + chipTool, " ***** Test Step 468 : Write middle valid value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteMiddleValidValueToANullableRangeRestrictedSigned16BitInteger_468(); + break; + case 469: + ChipLogProgress( + chipTool, " ***** Test Step 469 : Verify nullable range-restricted signed 16-bit integer value is at mid valid\n"); + err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMidValid_469(); + break; + case 470: ChipLogProgress(chipTool, - " ***** Test Step 468 : Verify nullable range-restricted signed 16-bit integer value is null\n"); - err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsNull_468(); + " ***** Test Step 470 : Write null value to a nullable range-restricted signed 16-bit integer\n"); + err = TestWriteNullValueToANullableRangeRestrictedSigned16BitInteger_470(); + break; + case 471: + ChipLogProgress(chipTool, + " ***** Test Step 471 : Verify nullable range-restricted signed 16-bit integer value is null\n"); + err = TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsNull_471(); break; } @@ -36719,7 +36763,7 @@ class TestCluster : public TestCommand private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 469; + const uint16_t mTestCount = 472; typedef void (*Test_TestCluster_list_int8u_ReportCallback)(void * context, const chip::app::DataModel::DecodableList & value); @@ -38022,289 +38066,295 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_174(status); } - static void OnSuccessCallback_174(void * context) { (static_cast(context))->OnSuccessResponse_174(); } + static void OnSuccessCallback_174(void * context, + const chip::app::DataModel::DecodableList< + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & + listNullablesAndOptionalsStruct) + { + (static_cast(context))->OnSuccessResponse_174(listNullablesAndOptionalsStruct); + } static void OnFailureCallback_175(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_175(status); } - static void OnSuccessCallback_175(void * context, const chip::app::DataModel::Nullable & nullableBoolean) - { - (static_cast(context))->OnSuccessResponse_175(nullableBoolean); - } + static void OnSuccessCallback_175(void * context) { (static_cast(context))->OnSuccessResponse_175(); } static void OnFailureCallback_176(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_176(status); } - static void OnSuccessCallback_176(void * context) { (static_cast(context))->OnSuccessResponse_176(); } + static void OnSuccessCallback_176(void * context, + const chip::app::DataModel::DecodableList< + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & + listNullablesAndOptionalsStruct) + { + (static_cast(context))->OnSuccessResponse_176(listNullablesAndOptionalsStruct); + } static void OnFailureCallback_177(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_177(status); } - static void OnSuccessCallback_177(void * context, const chip::app::DataModel::Nullable & nullableBoolean) - { - (static_cast(context))->OnSuccessResponse_177(nullableBoolean); - } + static void OnSuccessCallback_177(void * context) { (static_cast(context))->OnSuccessResponse_177(); } static void OnFailureCallback_178(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_178(status); } - static void OnSuccessCallback_178(void * context) { (static_cast(context))->OnSuccessResponse_178(); } + static void OnSuccessCallback_178(void * context, const chip::app::DataModel::Nullable & nullableBoolean) + { + (static_cast(context))->OnSuccessResponse_178(nullableBoolean); + } static void OnFailureCallback_179(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_179(status); } - static void OnSuccessCallback_179(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) - { - (static_cast(context))->OnSuccessResponse_179(nullableBitmap8); - } + static void OnSuccessCallback_179(void * context) { (static_cast(context))->OnSuccessResponse_179(); } static void OnFailureCallback_180(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_180(status); } - static void OnSuccessCallback_180(void * context) { (static_cast(context))->OnSuccessResponse_180(); } + static void OnSuccessCallback_180(void * context, const chip::app::DataModel::Nullable & nullableBoolean) + { + (static_cast(context))->OnSuccessResponse_180(nullableBoolean); + } static void OnFailureCallback_181(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_181(status); } - static void OnSuccessCallback_181(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) - { - (static_cast(context))->OnSuccessResponse_181(nullableBitmap8); - } + static void OnSuccessCallback_181(void * context) { (static_cast(context))->OnSuccessResponse_181(); } static void OnFailureCallback_182(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_182(status); } - static void OnSuccessCallback_182(void * context) { (static_cast(context))->OnSuccessResponse_182(); } + static void OnSuccessCallback_182(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) + { + (static_cast(context))->OnSuccessResponse_182(nullableBitmap8); + } static void OnFailureCallback_183(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_183(status); } - static void OnSuccessCallback_183(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) - { - (static_cast(context))->OnSuccessResponse_183(nullableBitmap8); - } + static void OnSuccessCallback_183(void * context) { (static_cast(context))->OnSuccessResponse_183(); } static void OnFailureCallback_184(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_184(status); } - static void OnSuccessCallback_184(void * context) { (static_cast(context))->OnSuccessResponse_184(); } + static void OnSuccessCallback_184(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) + { + (static_cast(context))->OnSuccessResponse_184(nullableBitmap8); + } static void OnFailureCallback_185(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_185(status); } - static void OnSuccessCallback_185(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) - { - (static_cast(context))->OnSuccessResponse_185(nullableBitmap16); - } + static void OnSuccessCallback_185(void * context) { (static_cast(context))->OnSuccessResponse_185(); } static void OnFailureCallback_186(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_186(status); } - static void OnSuccessCallback_186(void * context) { (static_cast(context))->OnSuccessResponse_186(); } + static void OnSuccessCallback_186(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) + { + (static_cast(context))->OnSuccessResponse_186(nullableBitmap8); + } static void OnFailureCallback_187(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_187(status); } - static void OnSuccessCallback_187(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) - { - (static_cast(context))->OnSuccessResponse_187(nullableBitmap16); - } + static void OnSuccessCallback_187(void * context) { (static_cast(context))->OnSuccessResponse_187(); } static void OnFailureCallback_188(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_188(status); } - static void OnSuccessCallback_188(void * context) { (static_cast(context))->OnSuccessResponse_188(); } + static void OnSuccessCallback_188(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) + { + (static_cast(context))->OnSuccessResponse_188(nullableBitmap16); + } static void OnFailureCallback_189(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_189(status); } - static void OnSuccessCallback_189(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) - { - (static_cast(context))->OnSuccessResponse_189(nullableBitmap16); - } + static void OnSuccessCallback_189(void * context) { (static_cast(context))->OnSuccessResponse_189(); } static void OnFailureCallback_190(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_190(status); } - static void OnSuccessCallback_190(void * context) { (static_cast(context))->OnSuccessResponse_190(); } + static void OnSuccessCallback_190(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) + { + (static_cast(context))->OnSuccessResponse_190(nullableBitmap16); + } static void OnFailureCallback_191(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_191(status); } - static void OnSuccessCallback_191(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) - { - (static_cast(context))->OnSuccessResponse_191(nullableBitmap32); - } + static void OnSuccessCallback_191(void * context) { (static_cast(context))->OnSuccessResponse_191(); } static void OnFailureCallback_192(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_192(status); } - static void OnSuccessCallback_192(void * context) { (static_cast(context))->OnSuccessResponse_192(); } + static void OnSuccessCallback_192(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) + { + (static_cast(context))->OnSuccessResponse_192(nullableBitmap16); + } static void OnFailureCallback_193(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_193(status); } - static void OnSuccessCallback_193(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) - { - (static_cast(context))->OnSuccessResponse_193(nullableBitmap32); - } + static void OnSuccessCallback_193(void * context) { (static_cast(context))->OnSuccessResponse_193(); } static void OnFailureCallback_194(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_194(status); } - static void OnSuccessCallback_194(void * context) { (static_cast(context))->OnSuccessResponse_194(); } + static void OnSuccessCallback_194(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) + { + (static_cast(context))->OnSuccessResponse_194(nullableBitmap32); + } static void OnFailureCallback_195(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_195(status); } - static void OnSuccessCallback_195(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) - { - (static_cast(context))->OnSuccessResponse_195(nullableBitmap32); - } + static void OnSuccessCallback_195(void * context) { (static_cast(context))->OnSuccessResponse_195(); } static void OnFailureCallback_196(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_196(status); } - static void OnSuccessCallback_196(void * context) { (static_cast(context))->OnSuccessResponse_196(); } + static void OnSuccessCallback_196(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) + { + (static_cast(context))->OnSuccessResponse_196(nullableBitmap32); + } static void OnFailureCallback_197(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_197(status); } - static void OnSuccessCallback_197(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) - { - (static_cast(context))->OnSuccessResponse_197(nullableBitmap64); - } + static void OnSuccessCallback_197(void * context) { (static_cast(context))->OnSuccessResponse_197(); } static void OnFailureCallback_198(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_198(status); } - static void OnSuccessCallback_198(void * context) { (static_cast(context))->OnSuccessResponse_198(); } + static void OnSuccessCallback_198(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) + { + (static_cast(context))->OnSuccessResponse_198(nullableBitmap32); + } static void OnFailureCallback_199(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_199(status); } - static void OnSuccessCallback_199(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) - { - (static_cast(context))->OnSuccessResponse_199(nullableBitmap64); - } + static void OnSuccessCallback_199(void * context) { (static_cast(context))->OnSuccessResponse_199(); } static void OnFailureCallback_200(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_200(status); } - static void OnSuccessCallback_200(void * context) { (static_cast(context))->OnSuccessResponse_200(); } + static void OnSuccessCallback_200(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) + { + (static_cast(context))->OnSuccessResponse_200(nullableBitmap64); + } static void OnFailureCallback_201(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_201(status); } - static void OnSuccessCallback_201(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) - { - (static_cast(context))->OnSuccessResponse_201(nullableBitmap64); - } + static void OnSuccessCallback_201(void * context) { (static_cast(context))->OnSuccessResponse_201(); } static void OnFailureCallback_202(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_202(status); } - static void OnSuccessCallback_202(void * context) { (static_cast(context))->OnSuccessResponse_202(); } + static void OnSuccessCallback_202(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) + { + (static_cast(context))->OnSuccessResponse_202(nullableBitmap64); + } static void OnFailureCallback_203(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_203(status); } - static void OnSuccessCallback_203(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_203(nullableInt8u); - } + static void OnSuccessCallback_203(void * context) { (static_cast(context))->OnSuccessResponse_203(); } static void OnFailureCallback_204(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_204(status); } - static void OnSuccessCallback_204(void * context) { (static_cast(context))->OnSuccessResponse_204(); } + static void OnSuccessCallback_204(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) + { + (static_cast(context))->OnSuccessResponse_204(nullableBitmap64); + } static void OnFailureCallback_205(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_205(status); } - static void OnSuccessCallback_205(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_205(nullableInt8u); - } + static void OnSuccessCallback_205(void * context) { (static_cast(context))->OnSuccessResponse_205(); } static void OnFailureCallback_206(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_206(status); } - static void OnSuccessCallback_206(void * context) { (static_cast(context))->OnSuccessResponse_206(); } + static void OnSuccessCallback_206(void * context, const chip::app::DataModel::Nullable & nullableInt8u) + { + (static_cast(context))->OnSuccessResponse_206(nullableInt8u); + } static void OnFailureCallback_207(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_207(status); } - static void OnSuccessCallback_207(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_207(nullableInt8u); - } + static void OnSuccessCallback_207(void * context) { (static_cast(context))->OnSuccessResponse_207(); } static void OnFailureCallback_208(void * context, EmberAfStatus status) { @@ -38348,17 +38398,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_212(status); } - static void OnSuccessCallback_212(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_212(nullableInt8u); - } + static void OnSuccessCallback_212(void * context) { (static_cast(context))->OnSuccessResponse_212(); } static void OnFailureCallback_213(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_213(status); } - static void OnSuccessCallback_213(void * context) { (static_cast(context))->OnSuccessResponse_213(); } + static void OnSuccessCallback_213(void * context, const chip::app::DataModel::Nullable & nullableInt8u) + { + (static_cast(context))->OnSuccessResponse_213(nullableInt8u); + } static void OnFailureCallback_214(void * context, EmberAfStatus status) { @@ -38392,9 +38442,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_217(status); } - static void OnSuccessCallback_217(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + static void OnSuccessCallback_217(void * context, const chip::app::DataModel::Nullable & nullableInt8u) { - (static_cast(context))->OnSuccessResponse_217(nullableInt16u); + (static_cast(context))->OnSuccessResponse_217(nullableInt8u); } static void OnFailureCallback_218(void * context, EmberAfStatus status) @@ -38402,51 +38452,51 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_218(status); } - static void OnSuccessCallback_218(void * context) { (static_cast(context))->OnSuccessResponse_218(); } + static void OnSuccessCallback_218(void * context, const chip::app::DataModel::Nullable & nullableInt8u) + { + (static_cast(context))->OnSuccessResponse_218(nullableInt8u); + } static void OnFailureCallback_219(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_219(status); } - static void OnSuccessCallback_219(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_219(nullableInt16u); - } + static void OnSuccessCallback_219(void * context) { (static_cast(context))->OnSuccessResponse_219(); } static void OnFailureCallback_220(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_220(status); } - static void OnSuccessCallback_220(void * context) { (static_cast(context))->OnSuccessResponse_220(); } + static void OnSuccessCallback_220(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_220(nullableInt16u); + } static void OnFailureCallback_221(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_221(status); } - static void OnSuccessCallback_221(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_221(nullableInt16u); - } + static void OnSuccessCallback_221(void * context) { (static_cast(context))->OnSuccessResponse_221(); } static void OnFailureCallback_222(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_222(status); } - static void OnSuccessCallback_222(void * context) { (static_cast(context))->OnSuccessResponse_222(); } + static void OnSuccessCallback_222(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_222(nullableInt16u); + } static void OnFailureCallback_223(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_223(status); } - static void OnSuccessCallback_223(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_223(nullableInt16u); - } + static void OnSuccessCallback_223(void * context) { (static_cast(context))->OnSuccessResponse_223(); } static void OnFailureCallback_224(void * context, EmberAfStatus status) { @@ -38463,17 +38513,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_225(status); } - static void OnSuccessCallback_225(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_225(nullableInt16u); - } + static void OnSuccessCallback_225(void * context) { (static_cast(context))->OnSuccessResponse_225(); } static void OnFailureCallback_226(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_226(status); } - static void OnSuccessCallback_226(void * context) { (static_cast(context))->OnSuccessResponse_226(); } + static void OnSuccessCallback_226(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_226(nullableInt16u); + } static void OnFailureCallback_227(void * context, EmberAfStatus status) { @@ -38507,9 +38557,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_230(status); } - static void OnSuccessCallback_230(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + static void OnSuccessCallback_230(void * context, const chip::app::DataModel::Nullable & nullableInt16u) { - (static_cast(context))->OnSuccessResponse_230(nullableInt32u); + (static_cast(context))->OnSuccessResponse_230(nullableInt16u); } static void OnFailureCallback_231(void * context, EmberAfStatus status) @@ -38517,51 +38567,51 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_231(status); } - static void OnSuccessCallback_231(void * context) { (static_cast(context))->OnSuccessResponse_231(); } + static void OnSuccessCallback_231(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_231(nullableInt16u); + } static void OnFailureCallback_232(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_232(status); } - static void OnSuccessCallback_232(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_232(nullableInt32u); - } + static void OnSuccessCallback_232(void * context) { (static_cast(context))->OnSuccessResponse_232(); } static void OnFailureCallback_233(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_233(status); } - static void OnSuccessCallback_233(void * context) { (static_cast(context))->OnSuccessResponse_233(); } + static void OnSuccessCallback_233(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_233(nullableInt32u); + } static void OnFailureCallback_234(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_234(status); } - static void OnSuccessCallback_234(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_234(nullableInt32u); - } + static void OnSuccessCallback_234(void * context) { (static_cast(context))->OnSuccessResponse_234(); } static void OnFailureCallback_235(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_235(status); } - static void OnSuccessCallback_235(void * context) { (static_cast(context))->OnSuccessResponse_235(); } + static void OnSuccessCallback_235(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_235(nullableInt32u); + } static void OnFailureCallback_236(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_236(status); } - static void OnSuccessCallback_236(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_236(nullableInt32u); - } + static void OnSuccessCallback_236(void * context) { (static_cast(context))->OnSuccessResponse_236(); } static void OnFailureCallback_237(void * context, EmberAfStatus status) { @@ -38578,17 +38628,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_238(status); } - static void OnSuccessCallback_238(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_238(nullableInt32u); - } + static void OnSuccessCallback_238(void * context) { (static_cast(context))->OnSuccessResponse_238(); } static void OnFailureCallback_239(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_239(status); } - static void OnSuccessCallback_239(void * context) { (static_cast(context))->OnSuccessResponse_239(); } + static void OnSuccessCallback_239(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_239(nullableInt32u); + } static void OnFailureCallback_240(void * context, EmberAfStatus status) { @@ -38622,9 +38672,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_243(status); } - static void OnSuccessCallback_243(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + static void OnSuccessCallback_243(void * context, const chip::app::DataModel::Nullable & nullableInt32u) { - (static_cast(context))->OnSuccessResponse_243(nullableInt64u); + (static_cast(context))->OnSuccessResponse_243(nullableInt32u); } static void OnFailureCallback_244(void * context, EmberAfStatus status) @@ -38632,51 +38682,51 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_244(status); } - static void OnSuccessCallback_244(void * context) { (static_cast(context))->OnSuccessResponse_244(); } + static void OnSuccessCallback_244(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_244(nullableInt32u); + } static void OnFailureCallback_245(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_245(status); } - static void OnSuccessCallback_245(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_245(nullableInt64u); - } + static void OnSuccessCallback_245(void * context) { (static_cast(context))->OnSuccessResponse_245(); } static void OnFailureCallback_246(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_246(status); } - static void OnSuccessCallback_246(void * context) { (static_cast(context))->OnSuccessResponse_246(); } + static void OnSuccessCallback_246(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_246(nullableInt64u); + } static void OnFailureCallback_247(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_247(status); } - static void OnSuccessCallback_247(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_247(nullableInt64u); - } + static void OnSuccessCallback_247(void * context) { (static_cast(context))->OnSuccessResponse_247(); } static void OnFailureCallback_248(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_248(status); } - static void OnSuccessCallback_248(void * context) { (static_cast(context))->OnSuccessResponse_248(); } + static void OnSuccessCallback_248(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_248(nullableInt64u); + } static void OnFailureCallback_249(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_249(status); } - static void OnSuccessCallback_249(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_249(nullableInt64u); - } + static void OnSuccessCallback_249(void * context) { (static_cast(context))->OnSuccessResponse_249(); } static void OnFailureCallback_250(void * context, EmberAfStatus status) { @@ -38693,17 +38743,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_251(status); } - static void OnSuccessCallback_251(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_251(nullableInt64u); - } + static void OnSuccessCallback_251(void * context) { (static_cast(context))->OnSuccessResponse_251(); } static void OnFailureCallback_252(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_252(status); } - static void OnSuccessCallback_252(void * context) { (static_cast(context))->OnSuccessResponse_252(); } + static void OnSuccessCallback_252(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_252(nullableInt64u); + } static void OnFailureCallback_253(void * context, EmberAfStatus status) { @@ -38737,9 +38787,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_256(status); } - static void OnSuccessCallback_256(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + static void OnSuccessCallback_256(void * context, const chip::app::DataModel::Nullable & nullableInt64u) { - (static_cast(context))->OnSuccessResponse_256(nullableInt8s); + (static_cast(context))->OnSuccessResponse_256(nullableInt64u); } static void OnFailureCallback_257(void * context, EmberAfStatus status) @@ -38747,34 +38797,34 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_257(status); } - static void OnSuccessCallback_257(void * context) { (static_cast(context))->OnSuccessResponse_257(); } + static void OnSuccessCallback_257(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_257(nullableInt64u); + } static void OnFailureCallback_258(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_258(status); } - static void OnSuccessCallback_258(void * context, const chip::app::DataModel::Nullable & nullableInt8s) - { - (static_cast(context))->OnSuccessResponse_258(nullableInt8s); - } + static void OnSuccessCallback_258(void * context) { (static_cast(context))->OnSuccessResponse_258(); } static void OnFailureCallback_259(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_259(status); } - static void OnSuccessCallback_259(void * context) { (static_cast(context))->OnSuccessResponse_259(); } + static void OnSuccessCallback_259(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + { + (static_cast(context))->OnSuccessResponse_259(nullableInt8s); + } static void OnFailureCallback_260(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_260(status); } - static void OnSuccessCallback_260(void * context, const chip::app::DataModel::Nullable & nullableInt8s) - { - (static_cast(context))->OnSuccessResponse_260(nullableInt8s); - } + static void OnSuccessCallback_260(void * context) { (static_cast(context))->OnSuccessResponse_260(); } static void OnFailureCallback_261(void * context, EmberAfStatus status) { @@ -38791,17 +38841,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_262(status); } - static void OnSuccessCallback_262(void * context, const chip::app::DataModel::Nullable & nullableInt8s) - { - (static_cast(context))->OnSuccessResponse_262(nullableInt8s); - } + static void OnSuccessCallback_262(void * context) { (static_cast(context))->OnSuccessResponse_262(); } static void OnFailureCallback_263(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_263(status); } - static void OnSuccessCallback_263(void * context) { (static_cast(context))->OnSuccessResponse_263(); } + static void OnSuccessCallback_263(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + { + (static_cast(context))->OnSuccessResponse_263(nullableInt8s); + } static void OnFailureCallback_264(void * context, EmberAfStatus status) { @@ -38835,9 +38885,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_267(status); } - static void OnSuccessCallback_267(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + static void OnSuccessCallback_267(void * context, const chip::app::DataModel::Nullable & nullableInt8s) { - (static_cast(context))->OnSuccessResponse_267(nullableInt16s); + (static_cast(context))->OnSuccessResponse_267(nullableInt8s); } static void OnFailureCallback_268(void * context, EmberAfStatus status) @@ -38845,34 +38895,34 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_268(status); } - static void OnSuccessCallback_268(void * context) { (static_cast(context))->OnSuccessResponse_268(); } + static void OnSuccessCallback_268(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + { + (static_cast(context))->OnSuccessResponse_268(nullableInt8s); + } static void OnFailureCallback_269(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_269(status); } - static void OnSuccessCallback_269(void * context, const chip::app::DataModel::Nullable & nullableInt16s) - { - (static_cast(context))->OnSuccessResponse_269(nullableInt16s); - } + static void OnSuccessCallback_269(void * context) { (static_cast(context))->OnSuccessResponse_269(); } static void OnFailureCallback_270(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_270(status); } - static void OnSuccessCallback_270(void * context) { (static_cast(context))->OnSuccessResponse_270(); } + static void OnSuccessCallback_270(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + { + (static_cast(context))->OnSuccessResponse_270(nullableInt16s); + } static void OnFailureCallback_271(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_271(status); } - static void OnSuccessCallback_271(void * context, const chip::app::DataModel::Nullable & nullableInt16s) - { - (static_cast(context))->OnSuccessResponse_271(nullableInt16s); - } + static void OnSuccessCallback_271(void * context) { (static_cast(context))->OnSuccessResponse_271(); } static void OnFailureCallback_272(void * context, EmberAfStatus status) { @@ -38889,17 +38939,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_273(status); } - static void OnSuccessCallback_273(void * context, const chip::app::DataModel::Nullable & nullableInt16s) - { - (static_cast(context))->OnSuccessResponse_273(nullableInt16s); - } + static void OnSuccessCallback_273(void * context) { (static_cast(context))->OnSuccessResponse_273(); } static void OnFailureCallback_274(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_274(status); } - static void OnSuccessCallback_274(void * context) { (static_cast(context))->OnSuccessResponse_274(); } + static void OnSuccessCallback_274(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + { + (static_cast(context))->OnSuccessResponse_274(nullableInt16s); + } static void OnFailureCallback_275(void * context, EmberAfStatus status) { @@ -38933,9 +38983,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_278(status); } - static void OnSuccessCallback_278(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + static void OnSuccessCallback_278(void * context, const chip::app::DataModel::Nullable & nullableInt16s) { - (static_cast(context))->OnSuccessResponse_278(nullableInt32s); + (static_cast(context))->OnSuccessResponse_278(nullableInt16s); } static void OnFailureCallback_279(void * context, EmberAfStatus status) @@ -38943,34 +38993,34 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_279(status); } - static void OnSuccessCallback_279(void * context) { (static_cast(context))->OnSuccessResponse_279(); } + static void OnSuccessCallback_279(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + { + (static_cast(context))->OnSuccessResponse_279(nullableInt16s); + } static void OnFailureCallback_280(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_280(status); } - static void OnSuccessCallback_280(void * context, const chip::app::DataModel::Nullable & nullableInt32s) - { - (static_cast(context))->OnSuccessResponse_280(nullableInt32s); - } + static void OnSuccessCallback_280(void * context) { (static_cast(context))->OnSuccessResponse_280(); } static void OnFailureCallback_281(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_281(status); } - static void OnSuccessCallback_281(void * context) { (static_cast(context))->OnSuccessResponse_281(); } + static void OnSuccessCallback_281(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + { + (static_cast(context))->OnSuccessResponse_281(nullableInt32s); + } static void OnFailureCallback_282(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_282(status); } - static void OnSuccessCallback_282(void * context, const chip::app::DataModel::Nullable & nullableInt32s) - { - (static_cast(context))->OnSuccessResponse_282(nullableInt32s); - } + static void OnSuccessCallback_282(void * context) { (static_cast(context))->OnSuccessResponse_282(); } static void OnFailureCallback_283(void * context, EmberAfStatus status) { @@ -38987,17 +39037,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_284(status); } - static void OnSuccessCallback_284(void * context, const chip::app::DataModel::Nullable & nullableInt32s) - { - (static_cast(context))->OnSuccessResponse_284(nullableInt32s); - } + static void OnSuccessCallback_284(void * context) { (static_cast(context))->OnSuccessResponse_284(); } static void OnFailureCallback_285(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_285(status); } - static void OnSuccessCallback_285(void * context) { (static_cast(context))->OnSuccessResponse_285(); } + static void OnSuccessCallback_285(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + { + (static_cast(context))->OnSuccessResponse_285(nullableInt32s); + } static void OnFailureCallback_286(void * context, EmberAfStatus status) { @@ -39031,9 +39081,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_289(status); } - static void OnSuccessCallback_289(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + static void OnSuccessCallback_289(void * context, const chip::app::DataModel::Nullable & nullableInt32s) { - (static_cast(context))->OnSuccessResponse_289(nullableInt64s); + (static_cast(context))->OnSuccessResponse_289(nullableInt32s); } static void OnFailureCallback_290(void * context, EmberAfStatus status) @@ -39041,34 +39091,34 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_290(status); } - static void OnSuccessCallback_290(void * context) { (static_cast(context))->OnSuccessResponse_290(); } + static void OnSuccessCallback_290(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + { + (static_cast(context))->OnSuccessResponse_290(nullableInt32s); + } static void OnFailureCallback_291(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_291(status); } - static void OnSuccessCallback_291(void * context, const chip::app::DataModel::Nullable & nullableInt64s) - { - (static_cast(context))->OnSuccessResponse_291(nullableInt64s); - } + static void OnSuccessCallback_291(void * context) { (static_cast(context))->OnSuccessResponse_291(); } static void OnFailureCallback_292(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_292(status); } - static void OnSuccessCallback_292(void * context) { (static_cast(context))->OnSuccessResponse_292(); } + static void OnSuccessCallback_292(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + { + (static_cast(context))->OnSuccessResponse_292(nullableInt64s); + } static void OnFailureCallback_293(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_293(status); } - static void OnSuccessCallback_293(void * context, const chip::app::DataModel::Nullable & nullableInt64s) - { - (static_cast(context))->OnSuccessResponse_293(nullableInt64s); - } + static void OnSuccessCallback_293(void * context) { (static_cast(context))->OnSuccessResponse_293(); } static void OnFailureCallback_294(void * context, EmberAfStatus status) { @@ -39085,17 +39135,17 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_295(status); } - static void OnSuccessCallback_295(void * context, const chip::app::DataModel::Nullable & nullableInt64s) - { - (static_cast(context))->OnSuccessResponse_295(nullableInt64s); - } + static void OnSuccessCallback_295(void * context) { (static_cast(context))->OnSuccessResponse_295(); } static void OnFailureCallback_296(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_296(status); } - static void OnSuccessCallback_296(void * context) { (static_cast(context))->OnSuccessResponse_296(); } + static void OnSuccessCallback_296(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + { + (static_cast(context))->OnSuccessResponse_296(nullableInt64s); + } static void OnFailureCallback_297(void * context, EmberAfStatus status) { @@ -39129,9 +39179,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_300(status); } - static void OnSuccessCallback_300(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) + static void OnSuccessCallback_300(void * context, const chip::app::DataModel::Nullable & nullableInt64s) { - (static_cast(context))->OnSuccessResponse_300(nullableFloatSingle); + (static_cast(context))->OnSuccessResponse_300(nullableInt64s); } static void OnFailureCallback_301(void * context, EmberAfStatus status) @@ -39139,374 +39189,372 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_301(status); } - static void OnSuccessCallback_301(void * context) { (static_cast(context))->OnSuccessResponse_301(); } + static void OnSuccessCallback_301(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + { + (static_cast(context))->OnSuccessResponse_301(nullableInt64s); + } static void OnFailureCallback_302(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_302(status); } - static void OnSuccessCallback_302(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) - { - (static_cast(context))->OnSuccessResponse_302(nullableFloatSingle); - } + static void OnSuccessCallback_302(void * context) { (static_cast(context))->OnSuccessResponse_302(); } static void OnFailureCallback_303(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_303(status); } - static void OnSuccessCallback_303(void * context) { (static_cast(context))->OnSuccessResponse_303(); } + static void OnSuccessCallback_303(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) + { + (static_cast(context))->OnSuccessResponse_303(nullableFloatSingle); + } static void OnFailureCallback_304(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_304(status); } - static void OnSuccessCallback_304(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) - { - (static_cast(context))->OnSuccessResponse_304(nullableFloatSingle); - } + static void OnSuccessCallback_304(void * context) { (static_cast(context))->OnSuccessResponse_304(); } static void OnFailureCallback_305(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_305(status); } - static void OnSuccessCallback_305(void * context) { (static_cast(context))->OnSuccessResponse_305(); } + static void OnSuccessCallback_305(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) + { + (static_cast(context))->OnSuccessResponse_305(nullableFloatSingle); + } static void OnFailureCallback_306(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_306(status); } - static void OnSuccessCallback_306(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) - { - (static_cast(context))->OnSuccessResponse_306(nullableFloatSingle); - } + static void OnSuccessCallback_306(void * context) { (static_cast(context))->OnSuccessResponse_306(); } static void OnFailureCallback_307(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_307(status); } - static void OnSuccessCallback_307(void * context) { (static_cast(context))->OnSuccessResponse_307(); } + static void OnSuccessCallback_307(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) + { + (static_cast(context))->OnSuccessResponse_307(nullableFloatSingle); + } static void OnFailureCallback_308(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_308(status); } - static void OnSuccessCallback_308(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) - { - (static_cast(context))->OnSuccessResponse_308(nullableFloatSingle); - } + static void OnSuccessCallback_308(void * context) { (static_cast(context))->OnSuccessResponse_308(); } static void OnFailureCallback_309(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_309(status); } - static void OnSuccessCallback_309(void * context) { (static_cast(context))->OnSuccessResponse_309(); } + static void OnSuccessCallback_309(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) + { + (static_cast(context))->OnSuccessResponse_309(nullableFloatSingle); + } static void OnFailureCallback_310(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_310(status); } - static void OnSuccessCallback_310(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) - { - (static_cast(context))->OnSuccessResponse_310(nullableFloatDouble); - } + static void OnSuccessCallback_310(void * context) { (static_cast(context))->OnSuccessResponse_310(); } static void OnFailureCallback_311(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_311(status); } - static void OnSuccessCallback_311(void * context) { (static_cast(context))->OnSuccessResponse_311(); } + static void OnSuccessCallback_311(void * context, const chip::app::DataModel::Nullable & nullableFloatSingle) + { + (static_cast(context))->OnSuccessResponse_311(nullableFloatSingle); + } static void OnFailureCallback_312(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_312(status); } - static void OnSuccessCallback_312(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) - { - (static_cast(context))->OnSuccessResponse_312(nullableFloatDouble); - } + static void OnSuccessCallback_312(void * context) { (static_cast(context))->OnSuccessResponse_312(); } static void OnFailureCallback_313(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_313(status); } - static void OnSuccessCallback_313(void * context) { (static_cast(context))->OnSuccessResponse_313(); } + static void OnSuccessCallback_313(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) + { + (static_cast(context))->OnSuccessResponse_313(nullableFloatDouble); + } static void OnFailureCallback_314(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_314(status); } - static void OnSuccessCallback_314(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) - { - (static_cast(context))->OnSuccessResponse_314(nullableFloatDouble); - } + static void OnSuccessCallback_314(void * context) { (static_cast(context))->OnSuccessResponse_314(); } static void OnFailureCallback_315(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_315(status); } - static void OnSuccessCallback_315(void * context) { (static_cast(context))->OnSuccessResponse_315(); } + static void OnSuccessCallback_315(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) + { + (static_cast(context))->OnSuccessResponse_315(nullableFloatDouble); + } static void OnFailureCallback_316(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_316(status); } - static void OnSuccessCallback_316(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) - { - (static_cast(context))->OnSuccessResponse_316(nullableFloatDouble); - } + static void OnSuccessCallback_316(void * context) { (static_cast(context))->OnSuccessResponse_316(); } static void OnFailureCallback_317(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_317(status); } - static void OnSuccessCallback_317(void * context) { (static_cast(context))->OnSuccessResponse_317(); } + static void OnSuccessCallback_317(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) + { + (static_cast(context))->OnSuccessResponse_317(nullableFloatDouble); + } static void OnFailureCallback_318(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_318(status); } - static void OnSuccessCallback_318(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) - { - (static_cast(context))->OnSuccessResponse_318(nullableFloatDouble); - } + static void OnSuccessCallback_318(void * context) { (static_cast(context))->OnSuccessResponse_318(); } static void OnFailureCallback_319(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_319(status); } - static void OnSuccessCallback_319(void * context) { (static_cast(context))->OnSuccessResponse_319(); } + static void OnSuccessCallback_319(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) + { + (static_cast(context))->OnSuccessResponse_319(nullableFloatDouble); + } static void OnFailureCallback_320(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_320(status); } - static void OnSuccessCallback_320(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_320(nullableEnum8); - } + static void OnSuccessCallback_320(void * context) { (static_cast(context))->OnSuccessResponse_320(); } static void OnFailureCallback_321(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_321(status); } - static void OnSuccessCallback_321(void * context) { (static_cast(context))->OnSuccessResponse_321(); } + static void OnSuccessCallback_321(void * context, const chip::app::DataModel::Nullable & nullableFloatDouble) + { + (static_cast(context))->OnSuccessResponse_321(nullableFloatDouble); + } static void OnFailureCallback_322(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_322(status); } - static void OnSuccessCallback_322(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_322(nullableEnum8); - } + static void OnSuccessCallback_322(void * context) { (static_cast(context))->OnSuccessResponse_322(); } static void OnFailureCallback_323(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_323(status); } - static void OnSuccessCallback_323(void * context) { (static_cast(context))->OnSuccessResponse_323(); } + static void OnSuccessCallback_323(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_323(nullableEnum8); + } static void OnFailureCallback_324(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_324(status); } - static void OnSuccessCallback_324(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_324(nullableEnum8); - } + static void OnSuccessCallback_324(void * context) { (static_cast(context))->OnSuccessResponse_324(); } static void OnFailureCallback_325(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_325(status); } - static void OnSuccessCallback_325(void * context) { (static_cast(context))->OnSuccessResponse_325(); } + static void OnSuccessCallback_325(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_325(nullableEnum8); + } static void OnFailureCallback_326(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_326(status); } - static void OnSuccessCallback_326(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_326(nullableEnum8); - } + static void OnSuccessCallback_326(void * context) { (static_cast(context))->OnSuccessResponse_326(); } static void OnFailureCallback_327(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_327(status); } - static void OnSuccessCallback_327(void * context) { (static_cast(context))->OnSuccessResponse_327(); } + static void OnSuccessCallback_327(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_327(nullableEnum8); + } static void OnFailureCallback_328(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_328(status); } - static void OnSuccessCallback_328(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_328(nullableEnum16); - } + static void OnSuccessCallback_328(void * context) { (static_cast(context))->OnSuccessResponse_328(); } static void OnFailureCallback_329(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_329(status); } - static void OnSuccessCallback_329(void * context) { (static_cast(context))->OnSuccessResponse_329(); } + static void OnSuccessCallback_329(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_329(nullableEnum8); + } static void OnFailureCallback_330(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_330(status); } - static void OnSuccessCallback_330(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_330(nullableEnum16); - } + static void OnSuccessCallback_330(void * context) { (static_cast(context))->OnSuccessResponse_330(); } static void OnFailureCallback_331(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_331(status); } - static void OnSuccessCallback_331(void * context) { (static_cast(context))->OnSuccessResponse_331(); } + static void OnSuccessCallback_331(void * context, const chip::app::DataModel::Nullable & nullableEnum16) + { + (static_cast(context))->OnSuccessResponse_331(nullableEnum16); + } static void OnFailureCallback_332(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_332(status); } - static void OnSuccessCallback_332(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_332(nullableEnum16); - } + static void OnSuccessCallback_332(void * context) { (static_cast(context))->OnSuccessResponse_332(); } static void OnFailureCallback_333(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_333(status); } - static void OnSuccessCallback_333(void * context) { (static_cast(context))->OnSuccessResponse_333(); } + static void OnSuccessCallback_333(void * context, const chip::app::DataModel::Nullable & nullableEnum16) + { + (static_cast(context))->OnSuccessResponse_333(nullableEnum16); + } static void OnFailureCallback_334(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_334(status); } - static void OnSuccessCallback_334(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_334(nullableEnum16); - } + static void OnSuccessCallback_334(void * context) { (static_cast(context))->OnSuccessResponse_334(); } static void OnFailureCallback_335(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_335(status); } - static void OnSuccessCallback_335(void * context) { (static_cast(context))->OnSuccessResponse_335(); } + static void OnSuccessCallback_335(void * context, const chip::app::DataModel::Nullable & nullableEnum16) + { + (static_cast(context))->OnSuccessResponse_335(nullableEnum16); + } static void OnFailureCallback_336(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_336(status); } - static void - OnSuccessCallback_336(void * context, - const chip::app::DataModel::Nullable & nullableEnumAttr) - { - (static_cast(context))->OnSuccessResponse_336(nullableEnumAttr); - } + static void OnSuccessCallback_336(void * context) { (static_cast(context))->OnSuccessResponse_336(); } static void OnFailureCallback_337(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_337(status); } - static void OnSuccessCallback_337(void * context) { (static_cast(context))->OnSuccessResponse_337(); } + static void OnSuccessCallback_337(void * context, const chip::app::DataModel::Nullable & nullableEnum16) + { + (static_cast(context))->OnSuccessResponse_337(nullableEnum16); + } static void OnFailureCallback_338(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_338(status); } - static void - OnSuccessCallback_338(void * context, - const chip::app::DataModel::Nullable & nullableEnumAttr) - { - (static_cast(context))->OnSuccessResponse_338(nullableEnumAttr); - } + static void OnSuccessCallback_338(void * context) { (static_cast(context))->OnSuccessResponse_338(); } static void OnFailureCallback_339(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_339(status); } - static void OnSuccessCallback_339(void * context) { (static_cast(context))->OnSuccessResponse_339(); } + static void + OnSuccessCallback_339(void * context, + const chip::app::DataModel::Nullable & nullableEnumAttr) + { + (static_cast(context))->OnSuccessResponse_339(nullableEnumAttr); + } static void OnFailureCallback_340(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_340(status); } - static void - OnSuccessCallback_340(void * context, - const chip::app::DataModel::Nullable & nullableEnumAttr) - { - (static_cast(context))->OnSuccessResponse_340(nullableEnumAttr); - } + static void OnSuccessCallback_340(void * context) { (static_cast(context))->OnSuccessResponse_340(); } static void OnFailureCallback_341(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_341(status); } - static void OnSuccessCallback_341(void * context) { (static_cast(context))->OnSuccessResponse_341(); } + static void + OnSuccessCallback_341(void * context, + const chip::app::DataModel::Nullable & nullableEnumAttr) + { + (static_cast(context))->OnSuccessResponse_341(nullableEnumAttr); + } static void OnFailureCallback_342(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_342(status); } - static void - OnSuccessCallback_342(void * context, - const chip::app::DataModel::Nullable & nullableEnumAttr) - { - (static_cast(context))->OnSuccessResponse_342(nullableEnumAttr); - } + static void OnSuccessCallback_342(void * context) { (static_cast(context))->OnSuccessResponse_342(); } static void OnFailureCallback_343(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_343(status); } - static void OnSuccessCallback_343(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + static void + OnSuccessCallback_343(void * context, + const chip::app::DataModel::Nullable & nullableEnumAttr) { - (static_cast(context))->OnSuccessResponse_343(nullableOctetString); + (static_cast(context))->OnSuccessResponse_343(nullableEnumAttr); } static void OnFailureCallback_344(void * context, EmberAfStatus status) @@ -39521,9 +39569,11 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_345(status); } - static void OnSuccessCallback_345(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + static void + OnSuccessCallback_345(void * context, + const chip::app::DataModel::Nullable & nullableEnumAttr) { - (static_cast(context))->OnSuccessResponse_345(nullableOctetString); + (static_cast(context))->OnSuccessResponse_345(nullableEnumAttr); } static void OnFailureCallback_346(void * context, EmberAfStatus status) @@ -39531,43 +39581,43 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_346(status); } - static void OnSuccessCallback_346(void * context) { (static_cast(context))->OnSuccessResponse_346(); } + static void OnSuccessCallback_346(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + { + (static_cast(context))->OnSuccessResponse_346(nullableOctetString); + } static void OnFailureCallback_347(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_347(status); } - static void OnSuccessCallback_347(void * context, const chip::app::DataModel::Nullable & nullableOctetString) - { - (static_cast(context))->OnSuccessResponse_347(nullableOctetString); - } + static void OnSuccessCallback_347(void * context) { (static_cast(context))->OnSuccessResponse_347(); } static void OnFailureCallback_348(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_348(status); } - static void OnSuccessCallback_348(void * context) { (static_cast(context))->OnSuccessResponse_348(); } + static void OnSuccessCallback_348(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + { + (static_cast(context))->OnSuccessResponse_348(nullableOctetString); + } static void OnFailureCallback_349(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_349(status); } - static void OnSuccessCallback_349(void * context, const chip::app::DataModel::Nullable & nullableOctetString) - { - (static_cast(context))->OnSuccessResponse_349(nullableOctetString); - } + static void OnSuccessCallback_349(void * context) { (static_cast(context))->OnSuccessResponse_349(); } static void OnFailureCallback_350(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_350(status); } - static void OnSuccessCallback_350(void * context, const chip::app::DataModel::Nullable & nullableCharString) + static void OnSuccessCallback_350(void * context, const chip::app::DataModel::Nullable & nullableOctetString) { - (static_cast(context))->OnSuccessResponse_350(nullableCharString); + (static_cast(context))->OnSuccessResponse_350(nullableOctetString); } static void OnFailureCallback_351(void * context, EmberAfStatus status) @@ -39582,9 +39632,9 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_352(status); } - static void OnSuccessCallback_352(void * context, const chip::app::DataModel::Nullable & nullableCharString) + static void OnSuccessCallback_352(void * context, const chip::app::DataModel::Nullable & nullableOctetString) { - (static_cast(context))->OnSuccessResponse_352(nullableCharString); + (static_cast(context))->OnSuccessResponse_352(nullableOctetString); } static void OnFailureCallback_353(void * context, EmberAfStatus status) @@ -39592,43 +39642,43 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_353(status); } - static void OnSuccessCallback_353(void * context) { (static_cast(context))->OnSuccessResponse_353(); } + static void OnSuccessCallback_353(void * context, const chip::app::DataModel::Nullable & nullableCharString) + { + (static_cast(context))->OnSuccessResponse_353(nullableCharString); + } static void OnFailureCallback_354(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_354(status); } - static void OnSuccessCallback_354(void * context, const chip::app::DataModel::Nullable & nullableCharString) - { - (static_cast(context))->OnSuccessResponse_354(nullableCharString); - } + static void OnSuccessCallback_354(void * context) { (static_cast(context))->OnSuccessResponse_354(); } static void OnFailureCallback_355(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_355(status); } - static void OnSuccessCallback_355(void * context) { (static_cast(context))->OnSuccessResponse_355(); } + static void OnSuccessCallback_355(void * context, const chip::app::DataModel::Nullable & nullableCharString) + { + (static_cast(context))->OnSuccessResponse_355(nullableCharString); + } static void OnFailureCallback_356(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_356(status); } - static void OnSuccessCallback_356(void * context, const chip::app::DataModel::Nullable & nullableCharString) - { - (static_cast(context))->OnSuccessResponse_356(nullableCharString); - } + static void OnSuccessCallback_356(void * context) { (static_cast(context))->OnSuccessResponse_356(); } static void OnFailureCallback_357(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_357(status); } - static void OnSuccessCallback_357(void * context, const chip::app::DataModel::DecodableList & listInt8u) + static void OnSuccessCallback_357(void * context, const chip::app::DataModel::Nullable & nullableCharString) { - (static_cast(context))->OnSuccessResponse_357(listInt8u); + (static_cast(context))->OnSuccessResponse_357(nullableCharString); } static void OnFailureCallback_358(void * context, EmberAfStatus status) @@ -39636,45 +39686,38 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_358(status); } - static void OnSuccessCallback_358(void * context, const chip::app::DataModel::DecodableList & listInt8u) - { - (static_cast(context))->OnSuccessResponse_358(listInt8u); - } + static void OnSuccessCallback_358(void * context) { (static_cast(context))->OnSuccessResponse_358(); } - static void OnFailureCallback_361(void * context, EmberAfStatus status) + static void OnFailureCallback_359(void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_361(status); + (static_cast(context))->OnFailureResponse_359(status); } - static void OnSuccessCallback_361(void * context, const chip::app::DataModel::DecodableList & listInt8u) + static void OnSuccessCallback_359(void * context, const chip::app::DataModel::Nullable & nullableCharString) { - (static_cast(context))->OnSuccessResponse_361(listInt8u); + (static_cast(context))->OnSuccessResponse_359(nullableCharString); } - bool mReceivedReport_361 = false; - - static void OnFailureCallback_362(void * context, EmberAfStatus status) + static void OnFailureCallback_360(void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_362(status); + (static_cast(context))->OnFailureResponse_360(status); } - static void OnSuccessCallback_362(void * context, const chip::app::DataModel::DecodableList & listInt8u) + static void OnSuccessCallback_360(void * context, const chip::app::DataModel::DecodableList & listInt8u) { - (static_cast(context))->OnSuccessResponse_362(listInt8u); + (static_cast(context))->OnSuccessResponse_360(listInt8u); } - static void OnSubscriptionEstablished_362(void * context) + static void OnFailureCallback_361(void * context, EmberAfStatus status) { - (static_cast(context))->OnSubscriptionEstablishedResponse_362(); + (static_cast(context))->OnFailureResponse_361(status); } - static void OnFailureCallback_363(void * context, EmberAfStatus status) + static void OnSuccessCallback_361(void * context, const chip::app::DataModel::DecodableList & listInt8u) { - (static_cast(context))->OnFailureResponse_363(status); + (static_cast(context))->OnSuccessResponse_361(listInt8u); } - static void OnSuccessCallback_363(void * context) { (static_cast(context))->OnSuccessResponse_363(); } - static void OnFailureCallback_364(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_364(status); @@ -39692,9 +39735,14 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_365(status); } - static void OnSuccessCallback_365(void * context, uint8_t rangeRestrictedInt8u) + static void OnSuccessCallback_365(void * context, const chip::app::DataModel::DecodableList & listInt8u) { - (static_cast(context))->OnSuccessResponse_365(rangeRestrictedInt8u); + (static_cast(context))->OnSuccessResponse_365(listInt8u); + } + + static void OnSubscriptionEstablished_365(void * context) + { + (static_cast(context))->OnSubscriptionEstablishedResponse_365(); } static void OnFailureCallback_366(void * context, EmberAfStatus status) @@ -39709,14 +39757,22 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_367(status); } - static void OnSuccessCallback_367(void * context) { (static_cast(context))->OnSuccessResponse_367(); } + static void OnSuccessCallback_367(void * context, const chip::app::DataModel::DecodableList & listInt8u) + { + (static_cast(context))->OnSuccessResponse_367(listInt8u); + } + + bool mReceivedReport_367 = false; static void OnFailureCallback_368(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_368(status); } - static void OnSuccessCallback_368(void * context) { (static_cast(context))->OnSuccessResponse_368(); } + static void OnSuccessCallback_368(void * context, uint8_t rangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_368(rangeRestrictedInt8u); + } static void OnFailureCallback_369(void * context, EmberAfStatus status) { @@ -39730,10 +39786,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_370(status); } - static void OnSuccessCallback_370(void * context, uint8_t rangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_370(rangeRestrictedInt8u); - } + static void OnSuccessCallback_370(void * context) { (static_cast(context))->OnSuccessResponse_370(); } static void OnFailureCallback_371(void * context, EmberAfStatus status) { @@ -39747,53 +39800,50 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_372(status); } - static void OnSuccessCallback_372(void * context, uint8_t rangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_372(rangeRestrictedInt8u); - } + static void OnSuccessCallback_372(void * context) { (static_cast(context))->OnSuccessResponse_372(); } static void OnFailureCallback_373(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_373(status); } - static void OnSuccessCallback_373(void * context) { (static_cast(context))->OnSuccessResponse_373(); } + static void OnSuccessCallback_373(void * context, uint8_t rangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_373(rangeRestrictedInt8u); + } static void OnFailureCallback_374(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_374(status); } - static void OnSuccessCallback_374(void * context, uint8_t rangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_374(rangeRestrictedInt8u); - } + static void OnSuccessCallback_374(void * context) { (static_cast(context))->OnSuccessResponse_374(); } static void OnFailureCallback_375(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_375(status); } - static void OnSuccessCallback_375(void * context) { (static_cast(context))->OnSuccessResponse_375(); } + static void OnSuccessCallback_375(void * context, uint8_t rangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_375(rangeRestrictedInt8u); + } static void OnFailureCallback_376(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_376(status); } - static void OnSuccessCallback_376(void * context, uint8_t rangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_376(rangeRestrictedInt8u); - } + static void OnSuccessCallback_376(void * context) { (static_cast(context))->OnSuccessResponse_376(); } static void OnFailureCallback_377(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_377(status); } - static void OnSuccessCallback_377(void * context, uint16_t rangeRestrictedInt16u) + static void OnSuccessCallback_377(void * context, uint8_t rangeRestrictedInt8u) { - (static_cast(context))->OnSuccessResponse_377(rangeRestrictedInt16u); + (static_cast(context))->OnSuccessResponse_377(rangeRestrictedInt8u); } static void OnFailureCallback_378(void * context, EmberAfStatus status) @@ -39808,14 +39858,20 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_379(status); } - static void OnSuccessCallback_379(void * context) { (static_cast(context))->OnSuccessResponse_379(); } + static void OnSuccessCallback_379(void * context, uint8_t rangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_379(rangeRestrictedInt8u); + } static void OnFailureCallback_380(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_380(status); } - static void OnSuccessCallback_380(void * context) { (static_cast(context))->OnSuccessResponse_380(); } + static void OnSuccessCallback_380(void * context, uint16_t rangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_380(rangeRestrictedInt16u); + } static void OnFailureCallback_381(void * context, EmberAfStatus status) { @@ -39829,10 +39885,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_382(status); } - static void OnSuccessCallback_382(void * context, uint16_t rangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_382(rangeRestrictedInt16u); - } + static void OnSuccessCallback_382(void * context) { (static_cast(context))->OnSuccessResponse_382(); } static void OnFailureCallback_383(void * context, EmberAfStatus status) { @@ -39846,53 +39899,50 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_384(status); } - static void OnSuccessCallback_384(void * context, uint16_t rangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_384(rangeRestrictedInt16u); - } + static void OnSuccessCallback_384(void * context) { (static_cast(context))->OnSuccessResponse_384(); } static void OnFailureCallback_385(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_385(status); } - static void OnSuccessCallback_385(void * context) { (static_cast(context))->OnSuccessResponse_385(); } + static void OnSuccessCallback_385(void * context, uint16_t rangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_385(rangeRestrictedInt16u); + } static void OnFailureCallback_386(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_386(status); } - static void OnSuccessCallback_386(void * context, uint16_t rangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_386(rangeRestrictedInt16u); - } + static void OnSuccessCallback_386(void * context) { (static_cast(context))->OnSuccessResponse_386(); } static void OnFailureCallback_387(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_387(status); } - static void OnSuccessCallback_387(void * context) { (static_cast(context))->OnSuccessResponse_387(); } + static void OnSuccessCallback_387(void * context, uint16_t rangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_387(rangeRestrictedInt16u); + } static void OnFailureCallback_388(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_388(status); } - static void OnSuccessCallback_388(void * context, uint16_t rangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_388(rangeRestrictedInt16u); - } + static void OnSuccessCallback_388(void * context) { (static_cast(context))->OnSuccessResponse_388(); } static void OnFailureCallback_389(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_389(status); } - static void OnSuccessCallback_389(void * context, int8_t rangeRestrictedInt8s) + static void OnSuccessCallback_389(void * context, uint16_t rangeRestrictedInt16u) { - (static_cast(context))->OnSuccessResponse_389(rangeRestrictedInt8s); + (static_cast(context))->OnSuccessResponse_389(rangeRestrictedInt16u); } static void OnFailureCallback_390(void * context, EmberAfStatus status) @@ -39907,14 +39957,20 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_391(status); } - static void OnSuccessCallback_391(void * context) { (static_cast(context))->OnSuccessResponse_391(); } + static void OnSuccessCallback_391(void * context, uint16_t rangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_391(rangeRestrictedInt16u); + } static void OnFailureCallback_392(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_392(status); } - static void OnSuccessCallback_392(void * context) { (static_cast(context))->OnSuccessResponse_392(); } + static void OnSuccessCallback_392(void * context, int8_t rangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_392(rangeRestrictedInt8s); + } static void OnFailureCallback_393(void * context, EmberAfStatus status) { @@ -39928,10 +39984,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_394(status); } - static void OnSuccessCallback_394(void * context, int8_t rangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_394(rangeRestrictedInt8s); - } + static void OnSuccessCallback_394(void * context) { (static_cast(context))->OnSuccessResponse_394(); } static void OnFailureCallback_395(void * context, EmberAfStatus status) { @@ -39945,53 +39998,50 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_396(status); } - static void OnSuccessCallback_396(void * context, int8_t rangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_396(rangeRestrictedInt8s); - } + static void OnSuccessCallback_396(void * context) { (static_cast(context))->OnSuccessResponse_396(); } static void OnFailureCallback_397(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_397(status); } - static void OnSuccessCallback_397(void * context) { (static_cast(context))->OnSuccessResponse_397(); } + static void OnSuccessCallback_397(void * context, int8_t rangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_397(rangeRestrictedInt8s); + } static void OnFailureCallback_398(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_398(status); } - static void OnSuccessCallback_398(void * context, int8_t rangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_398(rangeRestrictedInt8s); - } + static void OnSuccessCallback_398(void * context) { (static_cast(context))->OnSuccessResponse_398(); } static void OnFailureCallback_399(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_399(status); } - static void OnSuccessCallback_399(void * context) { (static_cast(context))->OnSuccessResponse_399(); } + static void OnSuccessCallback_399(void * context, int8_t rangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_399(rangeRestrictedInt8s); + } static void OnFailureCallback_400(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_400(status); } - static void OnSuccessCallback_400(void * context, int8_t rangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_400(rangeRestrictedInt8s); - } + static void OnSuccessCallback_400(void * context) { (static_cast(context))->OnSuccessResponse_400(); } static void OnFailureCallback_401(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_401(status); } - static void OnSuccessCallback_401(void * context, int16_t rangeRestrictedInt16s) + static void OnSuccessCallback_401(void * context, int8_t rangeRestrictedInt8s) { - (static_cast(context))->OnSuccessResponse_401(rangeRestrictedInt16s); + (static_cast(context))->OnSuccessResponse_401(rangeRestrictedInt8s); } static void OnFailureCallback_402(void * context, EmberAfStatus status) @@ -40006,14 +40056,20 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_403(status); } - static void OnSuccessCallback_403(void * context) { (static_cast(context))->OnSuccessResponse_403(); } + static void OnSuccessCallback_403(void * context, int8_t rangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_403(rangeRestrictedInt8s); + } static void OnFailureCallback_404(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_404(status); } - static void OnSuccessCallback_404(void * context) { (static_cast(context))->OnSuccessResponse_404(); } + static void OnSuccessCallback_404(void * context, int16_t rangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_404(rangeRestrictedInt16s); + } static void OnFailureCallback_405(void * context, EmberAfStatus status) { @@ -40027,10 +40083,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_406(status); } - static void OnSuccessCallback_406(void * context, int16_t rangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_406(rangeRestrictedInt16s); - } + static void OnSuccessCallback_406(void * context) { (static_cast(context))->OnSuccessResponse_406(); } static void OnFailureCallback_407(void * context, EmberAfStatus status) { @@ -40044,53 +40097,50 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_408(status); } - static void OnSuccessCallback_408(void * context, int16_t rangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_408(rangeRestrictedInt16s); - } + static void OnSuccessCallback_408(void * context) { (static_cast(context))->OnSuccessResponse_408(); } static void OnFailureCallback_409(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_409(status); } - static void OnSuccessCallback_409(void * context) { (static_cast(context))->OnSuccessResponse_409(); } + static void OnSuccessCallback_409(void * context, int16_t rangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_409(rangeRestrictedInt16s); + } static void OnFailureCallback_410(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_410(status); } - static void OnSuccessCallback_410(void * context, int16_t rangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_410(rangeRestrictedInt16s); - } + static void OnSuccessCallback_410(void * context) { (static_cast(context))->OnSuccessResponse_410(); } static void OnFailureCallback_411(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_411(status); } - static void OnSuccessCallback_411(void * context) { (static_cast(context))->OnSuccessResponse_411(); } + static void OnSuccessCallback_411(void * context, int16_t rangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_411(rangeRestrictedInt16s); + } static void OnFailureCallback_412(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_412(status); } - static void OnSuccessCallback_412(void * context, int16_t rangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_412(rangeRestrictedInt16s); - } + static void OnSuccessCallback_412(void * context) { (static_cast(context))->OnSuccessResponse_412(); } static void OnFailureCallback_413(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_413(status); } - static void OnSuccessCallback_413(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + static void OnSuccessCallback_413(void * context, int16_t rangeRestrictedInt16s) { - (static_cast(context))->OnSuccessResponse_413(nullableRangeRestrictedInt8u); + (static_cast(context))->OnSuccessResponse_413(rangeRestrictedInt16s); } static void OnFailureCallback_414(void * context, EmberAfStatus status) @@ -40105,14 +40155,20 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_415(status); } - static void OnSuccessCallback_415(void * context) { (static_cast(context))->OnSuccessResponse_415(); } + static void OnSuccessCallback_415(void * context, int16_t rangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_415(rangeRestrictedInt16s); + } static void OnFailureCallback_416(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_416(status); } - static void OnSuccessCallback_416(void * context) { (static_cast(context))->OnSuccessResponse_416(); } + static void OnSuccessCallback_416(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_416(nullableRangeRestrictedInt8u); + } static void OnFailureCallback_417(void * context, EmberAfStatus status) { @@ -40126,10 +40182,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_418(status); } - static void OnSuccessCallback_418(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_418(nullableRangeRestrictedInt8u); - } + static void OnSuccessCallback_418(void * context) { (static_cast(context))->OnSuccessResponse_418(); } static void OnFailureCallback_419(void * context, EmberAfStatus status) { @@ -40143,71 +40196,67 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_420(status); } - static void OnSuccessCallback_420(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_420(nullableRangeRestrictedInt8u); - } + static void OnSuccessCallback_420(void * context) { (static_cast(context))->OnSuccessResponse_420(); } static void OnFailureCallback_421(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_421(status); } - static void OnSuccessCallback_421(void * context) { (static_cast(context))->OnSuccessResponse_421(); } + static void OnSuccessCallback_421(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_421(nullableRangeRestrictedInt8u); + } static void OnFailureCallback_422(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_422(status); } - static void OnSuccessCallback_422(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_422(nullableRangeRestrictedInt8u); - } + static void OnSuccessCallback_422(void * context) { (static_cast(context))->OnSuccessResponse_422(); } static void OnFailureCallback_423(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_423(status); } - static void OnSuccessCallback_423(void * context) { (static_cast(context))->OnSuccessResponse_423(); } + static void OnSuccessCallback_423(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_423(nullableRangeRestrictedInt8u); + } static void OnFailureCallback_424(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_424(status); } - static void OnSuccessCallback_424(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_424(nullableRangeRestrictedInt8u); - } + static void OnSuccessCallback_424(void * context) { (static_cast(context))->OnSuccessResponse_424(); } static void OnFailureCallback_425(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_425(status); } - static void OnSuccessCallback_425(void * context) { (static_cast(context))->OnSuccessResponse_425(); } + static void OnSuccessCallback_425(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_425(nullableRangeRestrictedInt8u); + } static void OnFailureCallback_426(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_426(status); } - static void OnSuccessCallback_426(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) - { - (static_cast(context))->OnSuccessResponse_426(nullableRangeRestrictedInt8u); - } + static void OnSuccessCallback_426(void * context) { (static_cast(context))->OnSuccessResponse_426(); } static void OnFailureCallback_427(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_427(status); } - static void OnSuccessCallback_427(void * context, - const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + static void OnSuccessCallback_427(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { - (static_cast(context))->OnSuccessResponse_427(nullableRangeRestrictedInt16u); + (static_cast(context))->OnSuccessResponse_427(nullableRangeRestrictedInt8u); } static void OnFailureCallback_428(void * context, EmberAfStatus status) @@ -40222,14 +40271,21 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_429(status); } - static void OnSuccessCallback_429(void * context) { (static_cast(context))->OnSuccessResponse_429(); } + static void OnSuccessCallback_429(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + { + (static_cast(context))->OnSuccessResponse_429(nullableRangeRestrictedInt8u); + } static void OnFailureCallback_430(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_430(status); } - static void OnSuccessCallback_430(void * context) { (static_cast(context))->OnSuccessResponse_430(); } + static void OnSuccessCallback_430(void * context, + const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_430(nullableRangeRestrictedInt16u); + } static void OnFailureCallback_431(void * context, EmberAfStatus status) { @@ -40243,11 +40299,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_432(status); } - static void OnSuccessCallback_432(void * context, - const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_432(nullableRangeRestrictedInt16u); - } + static void OnSuccessCallback_432(void * context) { (static_cast(context))->OnSuccessResponse_432(); } static void OnFailureCallback_433(void * context, EmberAfStatus status) { @@ -40261,74 +40313,71 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_434(status); } - static void OnSuccessCallback_434(void * context, - const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_434(nullableRangeRestrictedInt16u); - } + static void OnSuccessCallback_434(void * context) { (static_cast(context))->OnSuccessResponse_434(); } static void OnFailureCallback_435(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_435(status); } - static void OnSuccessCallback_435(void * context) { (static_cast(context))->OnSuccessResponse_435(); } + static void OnSuccessCallback_435(void * context, + const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_435(nullableRangeRestrictedInt16u); + } static void OnFailureCallback_436(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_436(status); } - static void OnSuccessCallback_436(void * context, - const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_436(nullableRangeRestrictedInt16u); - } + static void OnSuccessCallback_436(void * context) { (static_cast(context))->OnSuccessResponse_436(); } static void OnFailureCallback_437(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_437(status); } - static void OnSuccessCallback_437(void * context) { (static_cast(context))->OnSuccessResponse_437(); } + static void OnSuccessCallback_437(void * context, + const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_437(nullableRangeRestrictedInt16u); + } static void OnFailureCallback_438(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_438(status); } - static void OnSuccessCallback_438(void * context, - const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_438(nullableRangeRestrictedInt16u); - } + static void OnSuccessCallback_438(void * context) { (static_cast(context))->OnSuccessResponse_438(); } static void OnFailureCallback_439(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_439(status); } - static void OnSuccessCallback_439(void * context) { (static_cast(context))->OnSuccessResponse_439(); } + static void OnSuccessCallback_439(void * context, + const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_439(nullableRangeRestrictedInt16u); + } static void OnFailureCallback_440(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_440(status); } - static void OnSuccessCallback_440(void * context, - const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) - { - (static_cast(context))->OnSuccessResponse_440(nullableRangeRestrictedInt16u); - } + static void OnSuccessCallback_440(void * context) { (static_cast(context))->OnSuccessResponse_440(); } static void OnFailureCallback_441(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_441(status); } - static void OnSuccessCallback_441(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + static void OnSuccessCallback_441(void * context, + const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { - (static_cast(context))->OnSuccessResponse_441(nullableRangeRestrictedInt8s); + (static_cast(context))->OnSuccessResponse_441(nullableRangeRestrictedInt16u); } static void OnFailureCallback_442(void * context, EmberAfStatus status) @@ -40343,14 +40392,21 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_443(status); } - static void OnSuccessCallback_443(void * context) { (static_cast(context))->OnSuccessResponse_443(); } + static void OnSuccessCallback_443(void * context, + const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + { + (static_cast(context))->OnSuccessResponse_443(nullableRangeRestrictedInt16u); + } static void OnFailureCallback_444(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_444(status); } - static void OnSuccessCallback_444(void * context) { (static_cast(context))->OnSuccessResponse_444(); } + static void OnSuccessCallback_444(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_444(nullableRangeRestrictedInt8s); + } static void OnFailureCallback_445(void * context, EmberAfStatus status) { @@ -40364,10 +40420,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_446(status); } - static void OnSuccessCallback_446(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_446(nullableRangeRestrictedInt8s); - } + static void OnSuccessCallback_446(void * context) { (static_cast(context))->OnSuccessResponse_446(); } static void OnFailureCallback_447(void * context, EmberAfStatus status) { @@ -40381,70 +40434,67 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_448(status); } - static void OnSuccessCallback_448(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_448(nullableRangeRestrictedInt8s); - } + static void OnSuccessCallback_448(void * context) { (static_cast(context))->OnSuccessResponse_448(); } static void OnFailureCallback_449(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_449(status); } - static void OnSuccessCallback_449(void * context) { (static_cast(context))->OnSuccessResponse_449(); } + static void OnSuccessCallback_449(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_449(nullableRangeRestrictedInt8s); + } static void OnFailureCallback_450(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_450(status); } - static void OnSuccessCallback_450(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_450(nullableRangeRestrictedInt8s); - } + static void OnSuccessCallback_450(void * context) { (static_cast(context))->OnSuccessResponse_450(); } static void OnFailureCallback_451(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_451(status); } - static void OnSuccessCallback_451(void * context) { (static_cast(context))->OnSuccessResponse_451(); } + static void OnSuccessCallback_451(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_451(nullableRangeRestrictedInt8s); + } static void OnFailureCallback_452(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_452(status); } - static void OnSuccessCallback_452(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_452(nullableRangeRestrictedInt8s); - } + static void OnSuccessCallback_452(void * context) { (static_cast(context))->OnSuccessResponse_452(); } static void OnFailureCallback_453(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_453(status); } - static void OnSuccessCallback_453(void * context) { (static_cast(context))->OnSuccessResponse_453(); } + static void OnSuccessCallback_453(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_453(nullableRangeRestrictedInt8s); + } static void OnFailureCallback_454(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_454(status); } - static void OnSuccessCallback_454(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) - { - (static_cast(context))->OnSuccessResponse_454(nullableRangeRestrictedInt8s); - } + static void OnSuccessCallback_454(void * context) { (static_cast(context))->OnSuccessResponse_454(); } static void OnFailureCallback_455(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_455(status); } - static void OnSuccessCallback_455(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + static void OnSuccessCallback_455(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { - (static_cast(context))->OnSuccessResponse_455(nullableRangeRestrictedInt16s); + (static_cast(context))->OnSuccessResponse_455(nullableRangeRestrictedInt8s); } static void OnFailureCallback_456(void * context, EmberAfStatus status) @@ -40459,14 +40509,20 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_457(status); } - static void OnSuccessCallback_457(void * context) { (static_cast(context))->OnSuccessResponse_457(); } + static void OnSuccessCallback_457(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + { + (static_cast(context))->OnSuccessResponse_457(nullableRangeRestrictedInt8s); + } static void OnFailureCallback_458(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_458(status); } - static void OnSuccessCallback_458(void * context) { (static_cast(context))->OnSuccessResponse_458(); } + static void OnSuccessCallback_458(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_458(nullableRangeRestrictedInt16s); + } static void OnFailureCallback_459(void * context, EmberAfStatus status) { @@ -40480,10 +40536,7 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_460(status); } - static void OnSuccessCallback_460(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_460(nullableRangeRestrictedInt16s); - } + static void OnSuccessCallback_460(void * context) { (static_cast(context))->OnSuccessResponse_460(); } static void OnFailureCallback_461(void * context, EmberAfStatus status) { @@ -40497,60 +40550,84 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_462(status); } - static void OnSuccessCallback_462(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_462(nullableRangeRestrictedInt16s); - } + static void OnSuccessCallback_462(void * context) { (static_cast(context))->OnSuccessResponse_462(); } static void OnFailureCallback_463(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_463(status); } - static void OnSuccessCallback_463(void * context) { (static_cast(context))->OnSuccessResponse_463(); } + static void OnSuccessCallback_463(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_463(nullableRangeRestrictedInt16s); + } static void OnFailureCallback_464(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_464(status); } - static void OnSuccessCallback_464(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_464(nullableRangeRestrictedInt16s); - } + static void OnSuccessCallback_464(void * context) { (static_cast(context))->OnSuccessResponse_464(); } static void OnFailureCallback_465(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_465(status); } - static void OnSuccessCallback_465(void * context) { (static_cast(context))->OnSuccessResponse_465(); } + static void OnSuccessCallback_465(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_465(nullableRangeRestrictedInt16s); + } static void OnFailureCallback_466(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_466(status); } - static void OnSuccessCallback_466(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) - { - (static_cast(context))->OnSuccessResponse_466(nullableRangeRestrictedInt16s); - } + static void OnSuccessCallback_466(void * context) { (static_cast(context))->OnSuccessResponse_466(); } static void OnFailureCallback_467(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_467(status); } - static void OnSuccessCallback_467(void * context) { (static_cast(context))->OnSuccessResponse_467(); } + static void OnSuccessCallback_467(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_467(nullableRangeRestrictedInt16s); + } static void OnFailureCallback_468(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_468(status); } - static void OnSuccessCallback_468(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + static void OnSuccessCallback_468(void * context) { (static_cast(context))->OnSuccessResponse_468(); } + + static void OnFailureCallback_469(void * context, EmberAfStatus status) + { + (static_cast(context))->OnFailureResponse_469(status); + } + + static void OnSuccessCallback_469(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_469(nullableRangeRestrictedInt16s); + } + + static void OnFailureCallback_470(void * context, EmberAfStatus status) + { + (static_cast(context))->OnFailureResponse_470(status); + } + + static void OnSuccessCallback_470(void * context) { (static_cast(context))->OnSuccessResponse_470(); } + + static void OnFailureCallback_471(void * context, EmberAfStatus status) { - (static_cast(context))->OnSuccessResponse_468(nullableRangeRestrictedInt16s); + (static_cast(context))->OnFailureResponse_471(status); + } + + static void OnSuccessCallback_471(void * context, const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + { + (static_cast(context))->OnSuccessResponse_471(nullableRangeRestrictedInt16s); } // @@ -43142,52 +43219,54 @@ class TestCluster : public TestCommand void OnSuccessResponse_131(const chip::app::DataModel::DecodableList & listLongOctetString) { - auto iter = listLongOctetString.begin(); - VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter, 0)); - VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter.GetValue(), - chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); - VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter, 1)); - VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter.GetValue(), - chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); - VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter, 2)); - VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter.GetValue(), - chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); - VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter, 3)); - VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter.GetValue(), - chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); - VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter, 4)); + { + auto iter_0 = listLongOctetString.begin(); + VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); + VerifyOrReturn(CheckValueAsString( + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); + VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); + VerifyOrReturn(CheckValueAsString( + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); + VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); + VerifyOrReturn(CheckValueAsString( + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); + VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); + VerifyOrReturn(CheckValueAsString( + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); + VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 4)); + } NextTest(); } @@ -43763,44 +43842,44 @@ class TestCluster : public TestCommand request.arg1.c.g = 0.0f; request.arg1.c.h = 0; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList[2]; - - dList[0].a = 1; - dList[0].b = true; - dList[0].c = static_cast(3); - dList[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[0].f = static_cast>(1); - dList[0].g = 0.0f; - dList[0].h = 0; - - dList[1].a = 2; - dList[1].b = true; - dList[1].c = static_cast(3); - dList[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[1].f = static_cast>(1); - dList[1].g = 0.0f; - dList[1].h = 0; - - request.arg1.d = dList; - - uint32_t eList[3]; - eList[0] = 1UL; - eList[1] = 2UL; - eList[2] = 3UL; - request.arg1.e = eList; - - chip::ByteSpan fList[3]; - fList[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - request.arg1.f = fList; - - uint8_t gList[2]; - gList[0] = 0; - gList[1] = 255; - request.arg1.g = gList; + chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_1[2]; + + dList_1[0].a = 1; + dList_1[0].b = true; + dList_1[0].c = static_cast(3); + dList_1[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_1[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_1[0].f = static_cast>(1); + dList_1[0].g = 0.0f; + dList_1[0].h = 0; + + dList_1[1].a = 2; + dList_1[1].b = true; + dList_1[1].c = static_cast(3); + dList_1[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_1[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_1[1].f = static_cast>(1); + dList_1[1].g = 0.0f; + dList_1[1].h = 0; + + request.arg1.d = dList_1; + + uint32_t eList_1[3]; + eList_1[0] = 1UL; + eList_1[1] = 2UL; + eList_1[2] = 3UL; + request.arg1.e = eList_1; + + chip::ByteSpan fList_1[3]; + fList_1[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + fList_1[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + fList_1[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + request.arg1.f = fList_1; + + uint8_t gList_1[2]; + gList_1[0] = 0; + gList_1[1] = 255; + request.arg1.g = gList_1; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_155(data.value); @@ -43842,44 +43921,44 @@ class TestCluster : public TestCommand request.arg1.c.g = 0.0f; request.arg1.c.h = 0; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList[2]; - - dList[0].a = 1; - dList[0].b = true; - dList[0].c = static_cast(3); - dList[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[0].f = static_cast>(1); - dList[0].g = 0.0f; - dList[0].h = 0; - - dList[1].a = 2; - dList[1].b = false; - dList[1].c = static_cast(3); - dList[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[1].f = static_cast>(1); - dList[1].g = 0.0f; - dList[1].h = 0; - - request.arg1.d = dList; - - uint32_t eList[3]; - eList[0] = 1UL; - eList[1] = 2UL; - eList[2] = 3UL; - request.arg1.e = eList; - - chip::ByteSpan fList[3]; - fList[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - request.arg1.f = fList; - - uint8_t gList[2]; - gList[0] = 0; - gList[1] = 255; - request.arg1.g = gList; + chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_1[2]; + + dList_1[0].a = 1; + dList_1[0].b = true; + dList_1[0].c = static_cast(3); + dList_1[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_1[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_1[0].f = static_cast>(1); + dList_1[0].g = 0.0f; + dList_1[0].h = 0; + + dList_1[1].a = 2; + dList_1[1].b = false; + dList_1[1].c = static_cast(3); + dList_1[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_1[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_1[1].f = static_cast>(1); + dList_1[1].g = 0.0f; + dList_1[1].h = 0; + + request.arg1.d = dList_1; + + uint32_t eList_1[3]; + eList_1[0] = 1UL; + eList_1[1] = 2UL; + eList_1[2] = 3UL; + request.arg1.e = eList_1; + + chip::ByteSpan fList_1[3]; + fList_1[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + fList_1[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + fList_1[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + request.arg1.f = fList_1; + + uint8_t gList_1[2]; + gList_1[0] = 0; + gList_1[1] = 255; + request.arg1.g = gList_1; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_156(data.value); @@ -43953,17 +44032,17 @@ class TestCluster : public TestCommand RequestType request; - uint8_t arg1List[9]; - arg1List[0] = 1; - arg1List[1] = 2; - arg1List[2] = 3; - arg1List[3] = 4; - arg1List[4] = 5; - arg1List[5] = 6; - arg1List[6] = 7; - arg1List[7] = 8; - arg1List[8] = 9; - request.arg1 = arg1List; + uint8_t arg1List_0[9]; + arg1List_0[0] = 1; + arg1List_0[1] = 2; + arg1List_0[2] = 3; + arg1List_0[3] = 4; + arg1List_0[4] = 5; + arg1List_0[5] = 6; + arg1List_0[6] = 7; + arg1List_0[7] = 8; + arg1List_0[8] = 9; + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_158(data.value); @@ -43993,18 +44072,18 @@ class TestCluster : public TestCommand RequestType request; - uint8_t arg1List[10]; - arg1List[0] = 1; - arg1List[1] = 2; - arg1List[2] = 3; - arg1List[3] = 4; - arg1List[4] = 5; - arg1List[5] = 6; - arg1List[6] = 7; - arg1List[7] = 8; - arg1List[8] = 9; - arg1List[9] = 0; - request.arg1 = arg1List; + uint8_t arg1List_0[10]; + arg1List_0[0] = 1; + arg1List_0[1] = 2; + arg1List_0[2] = 3; + arg1List_0[3] = 4; + arg1List_0[4] = 5; + arg1List_0[5] = 6; + arg1List_0[6] = 7; + arg1List_0[7] = 8; + arg1List_0[8] = 9; + arg1List_0[9] = 0; + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_159(data.value); @@ -44034,17 +44113,17 @@ class TestCluster : public TestCommand RequestType request; - uint8_t arg1List[9]; - arg1List[0] = 1; - arg1List[1] = 2; - arg1List[2] = 3; - arg1List[3] = 4; - arg1List[4] = 5; - arg1List[5] = 6; - arg1List[6] = 7; - arg1List[7] = 8; - arg1List[8] = 9; - request.arg1 = arg1List; + uint8_t arg1List_0[9]; + arg1List_0[0] = 1; + arg1List_0[1] = 2; + arg1List_0[2] = 3; + arg1List_0[3] = 4; + arg1List_0[4] = 5; + arg1List_0[5] = 6; + arg1List_0[6] = 7; + arg1List_0[7] = 8; + arg1List_0[8] = 9; + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_160(data.arg1); @@ -44062,26 +44141,28 @@ class TestCluster : public TestCommand void OnSuccessResponse_160(const chip::app::DataModel::DecodableList & arg1) { - auto iter = arg1.begin(); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 0)); - VerifyOrReturn(CheckValue("arg1[0]", iter.GetValue(), 9)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 1)); - VerifyOrReturn(CheckValue("arg1[1]", iter.GetValue(), 8)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 2)); - VerifyOrReturn(CheckValue("arg1[2]", iter.GetValue(), 7)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 3)); - VerifyOrReturn(CheckValue("arg1[3]", iter.GetValue(), 6)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 4)); - VerifyOrReturn(CheckValue("arg1[4]", iter.GetValue(), 5)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 5)); - VerifyOrReturn(CheckValue("arg1[5]", iter.GetValue(), 4)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 6)); - VerifyOrReturn(CheckValue("arg1[6]", iter.GetValue(), 3)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 7)); - VerifyOrReturn(CheckValue("arg1[7]", iter.GetValue(), 2)); - VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 8)); - VerifyOrReturn(CheckValue("arg1[8]", iter.GetValue(), 1)); - VerifyOrReturn(CheckNoMoreListItems("arg1", iter, 9)); + { + auto iter_0 = arg1.begin(); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 0)); + VerifyOrReturn(CheckValue("arg1[0]", iter_0.GetValue(), 9)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 1)); + VerifyOrReturn(CheckValue("arg1[1]", iter_0.GetValue(), 8)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 2)); + VerifyOrReturn(CheckValue("arg1[2]", iter_0.GetValue(), 7)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 3)); + VerifyOrReturn(CheckValue("arg1[3]", iter_0.GetValue(), 6)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 4)); + VerifyOrReturn(CheckValue("arg1[4]", iter_0.GetValue(), 5)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 5)); + VerifyOrReturn(CheckValue("arg1[5]", iter_0.GetValue(), 4)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 6)); + VerifyOrReturn(CheckValue("arg1[6]", iter_0.GetValue(), 3)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 7)); + VerifyOrReturn(CheckValue("arg1[7]", iter_0.GetValue(), 2)); + VerifyOrReturn(CheckNextListItemDecodes("arg1", iter_0, 8)); + VerifyOrReturn(CheckValue("arg1[8]", iter_0.GetValue(), 1)); + VerifyOrReturn(CheckNoMoreListItems("arg1", iter_0, 9)); + } NextTest(); } @@ -44111,8 +44192,10 @@ class TestCluster : public TestCommand void OnSuccessResponse_161(const chip::app::DataModel::DecodableList & arg1) { - auto iter = arg1.begin(); - VerifyOrReturn(CheckNoMoreListItems("arg1", iter, 0)); + { + auto iter_0 = arg1.begin(); + VerifyOrReturn(CheckNoMoreListItems("arg1", iter_0, 0)); + } NextTest(); } @@ -44124,27 +44207,27 @@ class TestCluster : public TestCommand RequestType request; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type arg1List[2]; + chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type arg1List_0[2]; - arg1List[0].a = 0; - arg1List[0].b = true; - arg1List[0].c = static_cast(2); - arg1List[0].d = chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); - arg1List[0].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); - arg1List[0].f = static_cast>(1); - arg1List[0].g = 0.0f; - arg1List[0].h = 0; + arg1List_0[0].a = 0; + arg1List_0[0].b = true; + arg1List_0[0].c = static_cast(2); + arg1List_0[0].d = chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); + arg1List_0[0].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); + arg1List_0[0].f = static_cast>(1); + arg1List_0[0].g = 0.0f; + arg1List_0[0].h = 0; - arg1List[1].a = 1; - arg1List[1].b = true; - arg1List[1].c = static_cast(3); - arg1List[1].d = chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); - arg1List[1].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); - arg1List[1].f = static_cast>(1); - arg1List[1].g = 0.0f; - arg1List[1].h = 0; + arg1List_0[1].a = 1; + arg1List_0[1].b = true; + arg1List_0[1].c = static_cast(3); + arg1List_0[1].d = chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); + arg1List_0[1].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); + arg1List_0[1].f = static_cast>(1); + arg1List_0[1].g = 0.0f; + arg1List_0[1].h = 0; - request.arg1 = arg1List; + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_162(data.value); @@ -44174,27 +44257,27 @@ class TestCluster : public TestCommand RequestType request; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type arg1List[2]; + chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type arg1List_0[2]; - arg1List[0].a = 1; - arg1List[0].b = true; - arg1List[0].c = static_cast(3); - arg1List[0].d = chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); - arg1List[0].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); - arg1List[0].f = static_cast>(1); - arg1List[0].g = 0.0f; - arg1List[0].h = 0; + arg1List_0[0].a = 1; + arg1List_0[0].b = true; + arg1List_0[0].c = static_cast(3); + arg1List_0[0].d = chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); + arg1List_0[0].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); + arg1List_0[0].f = static_cast>(1); + arg1List_0[0].g = 0.0f; + arg1List_0[0].h = 0; - arg1List[1].a = 0; - arg1List[1].b = false; - arg1List[1].c = static_cast(2); - arg1List[1].d = chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); - arg1List[1].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); - arg1List[1].f = static_cast>(1); - arg1List[1].g = 0.0f; - arg1List[1].h = 0; + arg1List_0[1].a = 0; + arg1List_0[1].b = false; + arg1List_0[1].c = static_cast(2); + arg1List_0[1].d = chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); + arg1List_0[1].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); + arg1List_0[1].f = static_cast>(1); + arg1List_0[1].g = 0.0f; + arg1List_0[1].h = 0; - request.arg1 = arg1List; + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_163(data.value); @@ -44224,60 +44307,60 @@ class TestCluster : public TestCommand RequestType request; - chip::app::Clusters::TestCluster::Structs::NestedStructList::Type arg1List[1]; - - arg1List[0].a = 0; - arg1List[0].b = true; - - arg1List[0].c.a = 0; - arg1List[0].c.b = true; - arg1List[0].c.c = static_cast(2); - arg1List[0].c.d = chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); - arg1List[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); - arg1List[0].c.f = static_cast>(1); - arg1List[0].c.g = 0.0f; - arg1List[0].c.h = 0; - - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList[2]; - - dList[0].a = 1; - dList[0].b = true; - dList[0].c = static_cast(3); - dList[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[0].f = static_cast>(1); - dList[0].g = 0.0f; - dList[0].h = 0; - - dList[1].a = 2; - dList[1].b = true; - dList[1].c = static_cast(3); - dList[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[1].f = static_cast>(1); - dList[1].g = 0.0f; - dList[1].h = 0; - - arg1List[0].d = dList; - - uint32_t eList[3]; - eList[0] = 1UL; - eList[1] = 2UL; - eList[2] = 3UL; - arg1List[0].e = eList; - - chip::ByteSpan fList[3]; - fList[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - arg1List[0].f = fList; - - uint8_t gList[2]; - gList[0] = 0; - gList[1] = 255; - arg1List[0].g = gList; - - request.arg1 = arg1List; + chip::app::Clusters::TestCluster::Structs::NestedStructList::Type arg1List_0[1]; + + arg1List_0[0].a = 0; + arg1List_0[0].b = true; + + arg1List_0[0].c.a = 0; + arg1List_0[0].c.b = true; + arg1List_0[0].c.c = static_cast(2); + arg1List_0[0].c.d = chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); + arg1List_0[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); + arg1List_0[0].c.f = static_cast>(1); + arg1List_0[0].c.g = 0.0f; + arg1List_0[0].c.h = 0; + + chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_2[2]; + + dList_2[0].a = 1; + dList_2[0].b = true; + dList_2[0].c = static_cast(3); + dList_2[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_2[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_2[0].f = static_cast>(1); + dList_2[0].g = 0.0f; + dList_2[0].h = 0; + + dList_2[1].a = 2; + dList_2[1].b = true; + dList_2[1].c = static_cast(3); + dList_2[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_2[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_2[1].f = static_cast>(1); + dList_2[1].g = 0.0f; + dList_2[1].h = 0; + + arg1List_0[0].d = dList_2; + + uint32_t eList_2[3]; + eList_2[0] = 1UL; + eList_2[1] = 2UL; + eList_2[2] = 3UL; + arg1List_0[0].e = eList_2; + + chip::ByteSpan fList_2[3]; + fList_2[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + fList_2[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + fList_2[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + arg1List_0[0].f = fList_2; + + uint8_t gList_2[2]; + gList_2[0] = 0; + gList_2[1] = 255; + arg1List_0[0].g = gList_2; + + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_164(data.value); @@ -44307,60 +44390,60 @@ class TestCluster : public TestCommand RequestType request; - chip::app::Clusters::TestCluster::Structs::NestedStructList::Type arg1List[1]; - - arg1List[0].a = 0; - arg1List[0].b = true; - - arg1List[0].c.a = 0; - arg1List[0].c.b = true; - arg1List[0].c.c = static_cast(2); - arg1List[0].c.d = chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); - arg1List[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); - arg1List[0].c.f = static_cast>(1); - arg1List[0].c.g = 0.0f; - arg1List[0].c.h = 0; - - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList[2]; - - dList[0].a = 1; - dList[0].b = true; - dList[0].c = static_cast(3); - dList[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[0].f = static_cast>(1); - dList[0].g = 0.0f; - dList[0].h = 0; - - dList[1].a = 2; - dList[1].b = false; - dList[1].c = static_cast(3); - dList[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList[1].f = static_cast>(1); - dList[1].g = 0.0f; - dList[1].h = 0; - - arg1List[0].d = dList; - - uint32_t eList[3]; - eList[0] = 1UL; - eList[1] = 2UL; - eList[2] = 3UL; - arg1List[0].e = eList; - - chip::ByteSpan fList[3]; - fList[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - arg1List[0].f = fList; - - uint8_t gList[2]; - gList[0] = 0; - gList[1] = 255; - arg1List[0].g = gList; - - request.arg1 = arg1List; + chip::app::Clusters::TestCluster::Structs::NestedStructList::Type arg1List_0[1]; + + arg1List_0[0].a = 0; + arg1List_0[0].b = true; + + arg1List_0[0].c.a = 0; + arg1List_0[0].c.b = true; + arg1List_0[0].c.c = static_cast(2); + arg1List_0[0].c.d = chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); + arg1List_0[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); + arg1List_0[0].c.f = static_cast>(1); + arg1List_0[0].c.g = 0.0f; + arg1List_0[0].c.h = 0; + + chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_2[2]; + + dList_2[0].a = 1; + dList_2[0].b = true; + dList_2[0].c = static_cast(3); + dList_2[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_2[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_2[0].f = static_cast>(1); + dList_2[0].g = 0.0f; + dList_2[0].h = 0; + + dList_2[1].a = 2; + dList_2[1].b = false; + dList_2[1].c = static_cast(3); + dList_2[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + dList_2[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + dList_2[1].f = static_cast>(1); + dList_2[1].g = 0.0f; + dList_2[1].h = 0; + + arg1List_0[0].d = dList_2; + + uint32_t eList_2[3]; + eList_2[0] = 1UL; + eList_2[1] = 2UL; + eList_2[2] = 3UL; + arg1List_0[0].e = eList_2; + + chip::ByteSpan fList_2[3]; + fList_2[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + fList_2[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + fList_2[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + arg1List_0[0].f = fList_2; + + uint8_t gList_2[2]; + gList_2[0] = 0; + gList_2[1] = 255; + arg1List_0[0].g = gList_2; + + request.arg1 = arg1List_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_165(data.value); @@ -44391,12 +44474,12 @@ class TestCluster : public TestCommand chip::app::DataModel::List listInt8uArgument; - uint8_t listInt8uList[4]; - listInt8uList[0] = 1; - listInt8uList[1] = 2; - listInt8uList[2] = 3; - listInt8uList[3] = 4; - listInt8uArgument = listInt8uList; + uint8_t listInt8uList_0[4]; + listInt8uList_0[0] = 1; + listInt8uList_0[1] = 2; + listInt8uList_0[2] = 3; + listInt8uList_0[3] = 4; + listInt8uArgument = listInt8uList_0; ReturnErrorOnFailure(cluster.WriteAttribute( listInt8uArgument, this, OnSuccessCallback_166, OnFailureCallback_166)); @@ -44422,16 +44505,18 @@ class TestCluster : public TestCommand void OnSuccessResponse_167(const chip::app::DataModel::DecodableList & listInt8u) { - auto iter = listInt8u.begin(); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 0)); - VerifyOrReturn(CheckValue("listInt8u[0]", iter.GetValue(), 1)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 1)); - VerifyOrReturn(CheckValue("listInt8u[1]", iter.GetValue(), 2)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 2)); - VerifyOrReturn(CheckValue("listInt8u[2]", iter.GetValue(), 3)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 3)); - VerifyOrReturn(CheckValue("listInt8u[3]", iter.GetValue(), 4)); - VerifyOrReturn(CheckNoMoreListItems("listInt8u", iter, 4)); + { + auto iter_0 = listInt8u.begin(); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 0)); + VerifyOrReturn(CheckValue("listInt8u[0]", iter_0.GetValue(), 1)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 1)); + VerifyOrReturn(CheckValue("listInt8u[1]", iter_0.GetValue(), 2)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 2)); + VerifyOrReturn(CheckValue("listInt8u[2]", iter_0.GetValue(), 3)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 3)); + VerifyOrReturn(CheckValue("listInt8u[3]", iter_0.GetValue(), 4)); + VerifyOrReturn(CheckNoMoreListItems("listInt8u", iter_0, 4)); + } NextTest(); } @@ -44444,12 +44529,12 @@ class TestCluster : public TestCommand chip::app::DataModel::List listOctetStringArgument; - chip::ByteSpan listOctetStringList[4]; - listOctetStringList[0] = chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); - listOctetStringList[1] = chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); - listOctetStringList[2] = chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); - listOctetStringList[3] = chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); - listOctetStringArgument = listOctetStringList; + chip::ByteSpan listOctetStringList_0[4]; + listOctetStringList_0[0] = chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); + listOctetStringList_0[1] = chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); + listOctetStringList_0[2] = chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); + listOctetStringList_0[3] = chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); + listOctetStringArgument = listOctetStringList_0; ReturnErrorOnFailure(cluster.WriteAttribute( listOctetStringArgument, this, OnSuccessCallback_168, OnFailureCallback_168)); @@ -44475,20 +44560,22 @@ class TestCluster : public TestCommand void OnSuccessResponse_169(const chip::app::DataModel::DecodableList & listOctetString) { - auto iter = listOctetString.begin(); - VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter, 0)); - VerifyOrReturn( - CheckValueAsString("listOctetString[0]", iter.GetValue(), chip::ByteSpan(chip::Uint8::from_const_char("Test0"), 5))); - VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter, 1)); - VerifyOrReturn( - CheckValueAsString("listOctetString[1]", iter.GetValue(), chip::ByteSpan(chip::Uint8::from_const_char("Test1"), 5))); - VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter, 2)); - VerifyOrReturn( - CheckValueAsString("listOctetString[2]", iter.GetValue(), chip::ByteSpan(chip::Uint8::from_const_char("Test2"), 5))); - VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter, 3)); - VerifyOrReturn( - CheckValueAsString("listOctetString[3]", iter.GetValue(), chip::ByteSpan(chip::Uint8::from_const_char("Test3"), 5))); - VerifyOrReturn(CheckNoMoreListItems("listOctetString", iter, 4)); + { + auto iter_0 = listOctetString.begin(); + VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter_0, 0)); + VerifyOrReturn(CheckValueAsString("listOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char("Test0"), 5))); + VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter_0, 1)); + VerifyOrReturn(CheckValueAsString("listOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char("Test1"), 5))); + VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter_0, 2)); + VerifyOrReturn(CheckValueAsString("listOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char("Test2"), 5))); + VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter_0, 3)); + VerifyOrReturn(CheckValueAsString("listOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char("Test3"), 5))); + VerifyOrReturn(CheckNoMoreListItems("listOctetString", iter_0, 4)); + } NextTest(); } @@ -44502,25 +44589,25 @@ class TestCluster : public TestCommand chip::app::DataModel::List listStructOctetStringArgument; - chip::app::Clusters::TestCluster::Structs::TestListStructOctet::Type listStructOctetStringList[4]; + chip::app::Clusters::TestCluster::Structs::TestListStructOctet::Type listStructOctetStringList_0[4]; - listStructOctetStringList[0].fabricIndex = 0ULL; - listStructOctetStringList[0].operationalCert = + listStructOctetStringList_0[0].fabricIndex = 0ULL; + listStructOctetStringList_0[0].operationalCert = chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); - listStructOctetStringList[1].fabricIndex = 1ULL; - listStructOctetStringList[1].operationalCert = + listStructOctetStringList_0[1].fabricIndex = 1ULL; + listStructOctetStringList_0[1].operationalCert = chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); - listStructOctetStringList[2].fabricIndex = 2ULL; - listStructOctetStringList[2].operationalCert = + listStructOctetStringList_0[2].fabricIndex = 2ULL; + listStructOctetStringList_0[2].operationalCert = chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); - listStructOctetStringList[3].fabricIndex = 3ULL; - listStructOctetStringList[3].operationalCert = + listStructOctetStringList_0[3].fabricIndex = 3ULL; + listStructOctetStringList_0[3].operationalCert = chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); - listStructOctetStringArgument = listStructOctetStringList; + listStructOctetStringArgument = listStructOctetStringList_0; ReturnErrorOnFailure(cluster.WriteAttribute( listStructOctetStringArgument, this, OnSuccessCallback_170, OnFailureCallback_170)); @@ -44548,24 +44635,26 @@ class TestCluster : public TestCommand const chip::app::DataModel::DecodableList & listStructOctetString) { - auto iter = listStructOctetString.begin(); - VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter, 0)); - VerifyOrReturn(CheckValue("listStructOctetString[0].fabricIndex", iter.GetValue().fabricIndex, 0ULL)); - VerifyOrReturn(CheckValueAsString("listStructOctetString[0].operationalCert", iter.GetValue().operationalCert, - chip::ByteSpan(chip::Uint8::from_const_char("Test0"), 5))); - VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter, 1)); - VerifyOrReturn(CheckValue("listStructOctetString[1].fabricIndex", iter.GetValue().fabricIndex, 1ULL)); - VerifyOrReturn(CheckValueAsString("listStructOctetString[1].operationalCert", iter.GetValue().operationalCert, - chip::ByteSpan(chip::Uint8::from_const_char("Test1"), 5))); - VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter, 2)); - VerifyOrReturn(CheckValue("listStructOctetString[2].fabricIndex", iter.GetValue().fabricIndex, 2ULL)); - VerifyOrReturn(CheckValueAsString("listStructOctetString[2].operationalCert", iter.GetValue().operationalCert, - chip::ByteSpan(chip::Uint8::from_const_char("Test2"), 5))); - VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter, 3)); - VerifyOrReturn(CheckValue("listStructOctetString[3].fabricIndex", iter.GetValue().fabricIndex, 3ULL)); - VerifyOrReturn(CheckValueAsString("listStructOctetString[3].operationalCert", iter.GetValue().operationalCert, - chip::ByteSpan(chip::Uint8::from_const_char("Test3"), 5))); - VerifyOrReturn(CheckNoMoreListItems("listStructOctetString", iter, 4)); + { + auto iter_0 = listStructOctetString.begin(); + VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter_0, 0)); + VerifyOrReturn(CheckValue("listStructOctetString[0].fabricIndex", iter_0.GetValue().fabricIndex, 0ULL)); + VerifyOrReturn(CheckValueAsString("listStructOctetString[0].operationalCert", iter_0.GetValue().operationalCert, + chip::ByteSpan(chip::Uint8::from_const_char("Test0"), 5))); + VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter_0, 1)); + VerifyOrReturn(CheckValue("listStructOctetString[1].fabricIndex", iter_0.GetValue().fabricIndex, 1ULL)); + VerifyOrReturn(CheckValueAsString("listStructOctetString[1].operationalCert", iter_0.GetValue().operationalCert, + chip::ByteSpan(chip::Uint8::from_const_char("Test1"), 5))); + VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter_0, 2)); + VerifyOrReturn(CheckValue("listStructOctetString[2].fabricIndex", iter_0.GetValue().fabricIndex, 2ULL)); + VerifyOrReturn(CheckValueAsString("listStructOctetString[2].operationalCert", iter_0.GetValue().operationalCert, + chip::ByteSpan(chip::Uint8::from_const_char("Test2"), 5))); + VerifyOrReturn(CheckNextListItemDecodes("listStructOctetString", iter_0, 3)); + VerifyOrReturn(CheckValue("listStructOctetString[3].fabricIndex", iter_0.GetValue().fabricIndex, 3ULL)); + VerifyOrReturn(CheckValueAsString("listStructOctetString[3].operationalCert", iter_0.GetValue().operationalCert, + chip::ByteSpan(chip::Uint8::from_const_char("Test3"), 5))); + VerifyOrReturn(CheckNoMoreListItems("listStructOctetString", iter_0, 4)); + } NextTest(); } @@ -44576,7 +44665,9 @@ class TestCluster : public TestCommand using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; RequestType request; - request.arg1.Emplace().SetNonNull() = 5; + request.arg1.Emplace(); + request.arg1.Value().SetNonNull(); + request.arg1.Value().Value() = 5; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context)) @@ -44641,7 +44732,117 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBooleanNull_174() + CHIP_ERROR TestReadListOfStructsContainingNullablesAndOptionals_174() + { + const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; + chip::Controller::TestClusterClusterTest cluster; + cluster.Associate(mDevices[kIdentityAlpha], endpoint); + + ReturnErrorOnFailure( + cluster.ReadAttribute( + this, OnSuccessCallback_174, OnFailureCallback_174)); + return CHIP_NO_ERROR; + } + + void OnFailureResponse_174(EmberAfStatus status) { ThrowFailureResponse(); } + + void OnSuccessResponse_174(const chip::app::DataModel::DecodableList< + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & + listNullablesAndOptionalsStruct) + { + { + auto iter_0 = listNullablesAndOptionalsStruct.begin(); + VerifyOrReturn( + CheckNextListItemDecodes("listNullablesAndOptionalsStruct", iter_0, 0)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableInt", iter_0.GetValue().nullableInt)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableString", iter_0.GetValue().nullableString)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableStruct", iter_0.GetValue().nullableStruct)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableList", iter_0.GetValue().nullableList)); + VerifyOrReturn( + CheckNoMoreListItems("listNullablesAndOptionalsStruct", iter_0, 1)); + } + + NextTest(); + } + + CHIP_ERROR TestWriteListOfStructsContainingNullablesAndOptionals_175() + { + const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; + chip::Controller::TestClusterClusterTest cluster; + cluster.Associate(mDevices[kIdentityAlpha], endpoint); + + chip::app::DataModel::List + listNullablesAndOptionalsStructArgument; + + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::Type listNullablesAndOptionalsStructList_0[1]; + + listNullablesAndOptionalsStructList_0[0].nullableInt.SetNull(); + listNullablesAndOptionalsStructList_0[0].nullableString.SetNull(); + listNullablesAndOptionalsStructList_0[0].nullableStruct.SetNull(); + listNullablesAndOptionalsStructList_0[0].nullableList.SetNonNull(); + + chip::app::Clusters::TestCluster::SimpleEnum nullableListList_3[2]; + nullableListList_3[0] = static_cast(1); + nullableListList_3[1] = static_cast(2); + listNullablesAndOptionalsStructList_0[0].nullableList.Value() = nullableListList_3; + + listNullablesAndOptionalsStructArgument = listNullablesAndOptionalsStructList_0; + + ReturnErrorOnFailure( + cluster.WriteAttribute( + listNullablesAndOptionalsStructArgument, this, OnSuccessCallback_175, OnFailureCallback_175)); + return CHIP_NO_ERROR; + } + + void OnFailureResponse_175(EmberAfStatus status) { ThrowFailureResponse(); } + + void OnSuccessResponse_175() { NextTest(); } + + CHIP_ERROR TestReadListOfStructsContainingNullablesAndOptionalsAfterWriting_176() + { + const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; + chip::Controller::TestClusterClusterTest cluster; + cluster.Associate(mDevices[kIdentityAlpha], endpoint); + + ReturnErrorOnFailure( + cluster.ReadAttribute( + this, OnSuccessCallback_176, OnFailureCallback_176)); + return CHIP_NO_ERROR; + } + + void OnFailureResponse_176(EmberAfStatus status) { ThrowFailureResponse(); } + + void OnSuccessResponse_176(const chip::app::DataModel::DecodableList< + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & + listNullablesAndOptionalsStruct) + { + { + auto iter_0 = listNullablesAndOptionalsStruct.begin(); + VerifyOrReturn( + CheckNextListItemDecodes("listNullablesAndOptionalsStruct", iter_0, 0)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableInt", iter_0.GetValue().nullableInt)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableString", iter_0.GetValue().nullableString)); + VerifyOrReturn(CheckValueNull("listNullablesAndOptionalsStruct[0].nullableStruct", iter_0.GetValue().nullableStruct)); + VerifyOrReturn(CheckValueNonNull("listNullablesAndOptionalsStruct[0].nullableList", iter_0.GetValue().nullableList)); + { + auto iter_NaN = iter_0.GetValue().nullableList.Value().begin(); + VerifyOrReturn(CheckNextListItemDecodes( + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_NaN, 0)); + VerifyOrReturn(CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[0]", iter_NaN.GetValue(), 1)); + VerifyOrReturn(CheckNextListItemDecodes( + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_NaN, 1)); + VerifyOrReturn(CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[1]", iter_NaN.GetValue(), 2)); + VerifyOrReturn(CheckNoMoreListItems( + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_NaN, 2)); + } + VerifyOrReturn( + CheckNoMoreListItems("listNullablesAndOptionalsStruct", iter_0, 1)); + } + + NextTest(); + } + + CHIP_ERROR TestWriteAttributeNullableBooleanNull_177() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -44651,66 +44852,67 @@ class TestCluster : public TestCommand nullableBooleanArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBooleanArgument, this, OnSuccessCallback_174, OnFailureCallback_174)); + nullableBooleanArgument, this, OnSuccessCallback_177, OnFailureCallback_177)); return CHIP_NO_ERROR; } - void OnFailureResponse_174(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_177(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_174() { NextTest(); } + void OnSuccessResponse_177() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBooleanNull_175() + CHIP_ERROR TestReadAttributeNullableBooleanNull_178() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_175, OnFailureCallback_175)); + this, OnSuccessCallback_178, OnFailureCallback_178)); return CHIP_NO_ERROR; } - void OnFailureResponse_175(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_178(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_175(const chip::app::DataModel::Nullable & nullableBoolean) + void OnSuccessResponse_178(const chip::app::DataModel::Nullable & nullableBoolean) { VerifyOrReturn(CheckValueNull("nullableBoolean", nullableBoolean)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBooleanTrue_176() + CHIP_ERROR TestWriteAttributeNullableBooleanTrue_179() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBooleanArgument; - nullableBooleanArgument.SetNonNull() = true; + nullableBooleanArgument.SetNonNull(); + nullableBooleanArgument.Value() = true; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBooleanArgument, this, OnSuccessCallback_176, OnFailureCallback_176)); + nullableBooleanArgument, this, OnSuccessCallback_179, OnFailureCallback_179)); return CHIP_NO_ERROR; } - void OnFailureResponse_176(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_179(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_176() { NextTest(); } + void OnSuccessResponse_179() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBooleanTrue_177() + CHIP_ERROR TestReadAttributeNullableBooleanTrue_180() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_177, OnFailureCallback_177)); + this, OnSuccessCallback_180, OnFailureCallback_180)); return CHIP_NO_ERROR; } - void OnFailureResponse_177(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_180(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_177(const chip::app::DataModel::Nullable & nullableBoolean) + void OnSuccessResponse_180(const chip::app::DataModel::Nullable & nullableBoolean) { VerifyOrReturn(CheckValueNonNull("nullableBoolean", nullableBoolean)); VerifyOrReturn(CheckValue("nullableBoolean.Value()", nullableBoolean.Value(), true)); @@ -44718,38 +44920,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap8MaxValue_178() + CHIP_ERROR TestWriteAttributeNullableBitmap8MaxValue_181() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap8Argument; - nullableBitmap8Argument.SetNonNull() = 254; + nullableBitmap8Argument.SetNonNull(); + nullableBitmap8Argument.Value() = 254; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap8Argument, this, OnSuccessCallback_178, OnFailureCallback_178)); + nullableBitmap8Argument, this, OnSuccessCallback_181, OnFailureCallback_181)); return CHIP_NO_ERROR; } - void OnFailureResponse_178(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_181(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_178() { NextTest(); } + void OnSuccessResponse_181() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap8MaxValue_179() + CHIP_ERROR TestReadAttributeNullableBitmap8MaxValue_182() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_179, OnFailureCallback_179)); + this, OnSuccessCallback_182, OnFailureCallback_182)); return CHIP_NO_ERROR; } - void OnFailureResponse_179(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_182(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_179(const chip::app::DataModel::Nullable & nullableBitmap8) + void OnSuccessResponse_182(const chip::app::DataModel::Nullable & nullableBitmap8) { VerifyOrReturn(CheckValueNonNull("nullableBitmap8", nullableBitmap8)); VerifyOrReturn(CheckValue("nullableBitmap8.Value()", nullableBitmap8.Value(), 254)); @@ -44757,42 +44960,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap8InvalidValue_180() + CHIP_ERROR TestWriteAttributeNullableBitmap8InvalidValue_183() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap8Argument; - nullableBitmap8Argument.SetNonNull() = 255; + nullableBitmap8Argument.SetNonNull(); + nullableBitmap8Argument.Value() = 255; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap8Argument, this, OnSuccessCallback_180, OnFailureCallback_180)); + nullableBitmap8Argument, this, OnSuccessCallback_183, OnFailureCallback_183)); return CHIP_NO_ERROR; } - void OnFailureResponse_180(EmberAfStatus status) + void OnFailureResponse_183(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_180() { ThrowSuccessResponse(); } + void OnSuccessResponse_183() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap8UnchangedValue_181() + CHIP_ERROR TestReadAttributeNullableBitmap8UnchangedValue_184() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_181, OnFailureCallback_181)); + this, OnSuccessCallback_184, OnFailureCallback_184)); return CHIP_NO_ERROR; } - void OnFailureResponse_181(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_184(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_181(const chip::app::DataModel::Nullable & nullableBitmap8) + void OnSuccessResponse_184(const chip::app::DataModel::Nullable & nullableBitmap8) { VerifyOrReturn(CheckValueNonNull("nullableBitmap8", nullableBitmap8)); VerifyOrReturn(CheckValue("nullableBitmap8.Value()", nullableBitmap8.Value(), 254)); @@ -44800,7 +45004,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap8NullValue_182() + CHIP_ERROR TestWriteAttributeNullableBitmap8NullValue_185() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -44810,66 +45014,67 @@ class TestCluster : public TestCommand nullableBitmap8Argument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap8Argument, this, OnSuccessCallback_182, OnFailureCallback_182)); + nullableBitmap8Argument, this, OnSuccessCallback_185, OnFailureCallback_185)); return CHIP_NO_ERROR; } - void OnFailureResponse_182(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_185(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_182() { NextTest(); } + void OnSuccessResponse_185() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap8NullValue_183() + CHIP_ERROR TestReadAttributeNullableBitmap8NullValue_186() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_183, OnFailureCallback_183)); + this, OnSuccessCallback_186, OnFailureCallback_186)); return CHIP_NO_ERROR; } - void OnFailureResponse_183(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_186(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_183(const chip::app::DataModel::Nullable & nullableBitmap8) + void OnSuccessResponse_186(const chip::app::DataModel::Nullable & nullableBitmap8) { VerifyOrReturn(CheckValueNull("nullableBitmap8", nullableBitmap8)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap16MaxValue_184() + CHIP_ERROR TestWriteAttributeNullableBitmap16MaxValue_187() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap16Argument; - nullableBitmap16Argument.SetNonNull() = 65534U; + nullableBitmap16Argument.SetNonNull(); + nullableBitmap16Argument.Value() = 65534U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap16Argument, this, OnSuccessCallback_184, OnFailureCallback_184)); + nullableBitmap16Argument, this, OnSuccessCallback_187, OnFailureCallback_187)); return CHIP_NO_ERROR; } - void OnFailureResponse_184(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_187(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_184() { NextTest(); } + void OnSuccessResponse_187() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap16MaxValue_185() + CHIP_ERROR TestReadAttributeNullableBitmap16MaxValue_188() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_185, OnFailureCallback_185)); + this, OnSuccessCallback_188, OnFailureCallback_188)); return CHIP_NO_ERROR; } - void OnFailureResponse_185(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_188(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_185(const chip::app::DataModel::Nullable & nullableBitmap16) + void OnSuccessResponse_188(const chip::app::DataModel::Nullable & nullableBitmap16) { VerifyOrReturn(CheckValueNonNull("nullableBitmap16", nullableBitmap16)); VerifyOrReturn(CheckValue("nullableBitmap16.Value()", nullableBitmap16.Value(), 65534U)); @@ -44877,42 +45082,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap16InvalidValue_186() + CHIP_ERROR TestWriteAttributeNullableBitmap16InvalidValue_189() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap16Argument; - nullableBitmap16Argument.SetNonNull() = 65535U; + nullableBitmap16Argument.SetNonNull(); + nullableBitmap16Argument.Value() = 65535U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap16Argument, this, OnSuccessCallback_186, OnFailureCallback_186)); + nullableBitmap16Argument, this, OnSuccessCallback_189, OnFailureCallback_189)); return CHIP_NO_ERROR; } - void OnFailureResponse_186(EmberAfStatus status) + void OnFailureResponse_189(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_186() { ThrowSuccessResponse(); } + void OnSuccessResponse_189() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap16UnchangedValue_187() + CHIP_ERROR TestReadAttributeNullableBitmap16UnchangedValue_190() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_187, OnFailureCallback_187)); + this, OnSuccessCallback_190, OnFailureCallback_190)); return CHIP_NO_ERROR; } - void OnFailureResponse_187(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_190(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_187(const chip::app::DataModel::Nullable & nullableBitmap16) + void OnSuccessResponse_190(const chip::app::DataModel::Nullable & nullableBitmap16) { VerifyOrReturn(CheckValueNonNull("nullableBitmap16", nullableBitmap16)); VerifyOrReturn(CheckValue("nullableBitmap16.Value()", nullableBitmap16.Value(), 65534U)); @@ -44920,7 +45126,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap16NullValue_188() + CHIP_ERROR TestWriteAttributeNullableBitmap16NullValue_191() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -44930,66 +45136,67 @@ class TestCluster : public TestCommand nullableBitmap16Argument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap16Argument, this, OnSuccessCallback_188, OnFailureCallback_188)); + nullableBitmap16Argument, this, OnSuccessCallback_191, OnFailureCallback_191)); return CHIP_NO_ERROR; } - void OnFailureResponse_188(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_191(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_188() { NextTest(); } + void OnSuccessResponse_191() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap16NullValue_189() + CHIP_ERROR TestReadAttributeNullableBitmap16NullValue_192() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_189, OnFailureCallback_189)); + this, OnSuccessCallback_192, OnFailureCallback_192)); return CHIP_NO_ERROR; } - void OnFailureResponse_189(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_192(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_189(const chip::app::DataModel::Nullable & nullableBitmap16) + void OnSuccessResponse_192(const chip::app::DataModel::Nullable & nullableBitmap16) { VerifyOrReturn(CheckValueNull("nullableBitmap16", nullableBitmap16)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap32MaxValue_190() + CHIP_ERROR TestWriteAttributeNullableBitmap32MaxValue_193() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap32Argument; - nullableBitmap32Argument.SetNonNull() = 4294967294UL; + nullableBitmap32Argument.SetNonNull(); + nullableBitmap32Argument.Value() = 4294967294UL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap32Argument, this, OnSuccessCallback_190, OnFailureCallback_190)); + nullableBitmap32Argument, this, OnSuccessCallback_193, OnFailureCallback_193)); return CHIP_NO_ERROR; } - void OnFailureResponse_190(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_193(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_190() { NextTest(); } + void OnSuccessResponse_193() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap32MaxValue_191() + CHIP_ERROR TestReadAttributeNullableBitmap32MaxValue_194() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_191, OnFailureCallback_191)); + this, OnSuccessCallback_194, OnFailureCallback_194)); return CHIP_NO_ERROR; } - void OnFailureResponse_191(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_194(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_191(const chip::app::DataModel::Nullable & nullableBitmap32) + void OnSuccessResponse_194(const chip::app::DataModel::Nullable & nullableBitmap32) { VerifyOrReturn(CheckValueNonNull("nullableBitmap32", nullableBitmap32)); VerifyOrReturn(CheckValue("nullableBitmap32.Value()", nullableBitmap32.Value(), 4294967294UL)); @@ -44997,42 +45204,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap32InvalidValue_192() + CHIP_ERROR TestWriteAttributeNullableBitmap32InvalidValue_195() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap32Argument; - nullableBitmap32Argument.SetNonNull() = 4294967295UL; + nullableBitmap32Argument.SetNonNull(); + nullableBitmap32Argument.Value() = 4294967295UL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap32Argument, this, OnSuccessCallback_192, OnFailureCallback_192)); + nullableBitmap32Argument, this, OnSuccessCallback_195, OnFailureCallback_195)); return CHIP_NO_ERROR; } - void OnFailureResponse_192(EmberAfStatus status) + void OnFailureResponse_195(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_192() { ThrowSuccessResponse(); } + void OnSuccessResponse_195() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap32UnchangedValue_193() + CHIP_ERROR TestReadAttributeNullableBitmap32UnchangedValue_196() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_193, OnFailureCallback_193)); + this, OnSuccessCallback_196, OnFailureCallback_196)); return CHIP_NO_ERROR; } - void OnFailureResponse_193(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_196(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_193(const chip::app::DataModel::Nullable & nullableBitmap32) + void OnSuccessResponse_196(const chip::app::DataModel::Nullable & nullableBitmap32) { VerifyOrReturn(CheckValueNonNull("nullableBitmap32", nullableBitmap32)); VerifyOrReturn(CheckValue("nullableBitmap32.Value()", nullableBitmap32.Value(), 4294967294UL)); @@ -45040,7 +45248,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap32NullValue_194() + CHIP_ERROR TestWriteAttributeNullableBitmap32NullValue_197() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -45050,66 +45258,67 @@ class TestCluster : public TestCommand nullableBitmap32Argument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap32Argument, this, OnSuccessCallback_194, OnFailureCallback_194)); + nullableBitmap32Argument, this, OnSuccessCallback_197, OnFailureCallback_197)); return CHIP_NO_ERROR; } - void OnFailureResponse_194(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_197(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_194() { NextTest(); } + void OnSuccessResponse_197() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap32NullValue_195() + CHIP_ERROR TestReadAttributeNullableBitmap32NullValue_198() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_195, OnFailureCallback_195)); + this, OnSuccessCallback_198, OnFailureCallback_198)); return CHIP_NO_ERROR; } - void OnFailureResponse_195(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_198(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_195(const chip::app::DataModel::Nullable & nullableBitmap32) + void OnSuccessResponse_198(const chip::app::DataModel::Nullable & nullableBitmap32) { VerifyOrReturn(CheckValueNull("nullableBitmap32", nullableBitmap32)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap64MaxValue_196() + CHIP_ERROR TestWriteAttributeNullableBitmap64MaxValue_199() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap64Argument; - nullableBitmap64Argument.SetNonNull() = 18446744073709551614ULL; + nullableBitmap64Argument.SetNonNull(); + nullableBitmap64Argument.Value() = 18446744073709551614ULL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap64Argument, this, OnSuccessCallback_196, OnFailureCallback_196)); + nullableBitmap64Argument, this, OnSuccessCallback_199, OnFailureCallback_199)); return CHIP_NO_ERROR; } - void OnFailureResponse_196(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_199(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_196() { NextTest(); } + void OnSuccessResponse_199() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap64MaxValue_197() + CHIP_ERROR TestReadAttributeNullableBitmap64MaxValue_200() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_197, OnFailureCallback_197)); + this, OnSuccessCallback_200, OnFailureCallback_200)); return CHIP_NO_ERROR; } - void OnFailureResponse_197(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_200(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_197(const chip::app::DataModel::Nullable & nullableBitmap64) + void OnSuccessResponse_200(const chip::app::DataModel::Nullable & nullableBitmap64) { VerifyOrReturn(CheckValueNonNull("nullableBitmap64", nullableBitmap64)); VerifyOrReturn(CheckValue("nullableBitmap64.Value()", nullableBitmap64.Value(), 18446744073709551614ULL)); @@ -45117,42 +45326,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap64InvalidValue_198() + CHIP_ERROR TestWriteAttributeNullableBitmap64InvalidValue_201() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableBitmap64Argument; - nullableBitmap64Argument.SetNonNull() = 18446744073709551615ULL; + nullableBitmap64Argument.SetNonNull(); + nullableBitmap64Argument.Value() = 18446744073709551615ULL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap64Argument, this, OnSuccessCallback_198, OnFailureCallback_198)); + nullableBitmap64Argument, this, OnSuccessCallback_201, OnFailureCallback_201)); return CHIP_NO_ERROR; } - void OnFailureResponse_198(EmberAfStatus status) + void OnFailureResponse_201(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_198() { ThrowSuccessResponse(); } + void OnSuccessResponse_201() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap64UnchangedValue_199() + CHIP_ERROR TestReadAttributeNullableBitmap64UnchangedValue_202() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_199, OnFailureCallback_199)); + this, OnSuccessCallback_202, OnFailureCallback_202)); return CHIP_NO_ERROR; } - void OnFailureResponse_199(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_202(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_199(const chip::app::DataModel::Nullable & nullableBitmap64) + void OnSuccessResponse_202(const chip::app::DataModel::Nullable & nullableBitmap64) { VerifyOrReturn(CheckValueNonNull("nullableBitmap64", nullableBitmap64)); VerifyOrReturn(CheckValue("nullableBitmap64.Value()", nullableBitmap64.Value(), 18446744073709551614ULL)); @@ -45160,7 +45370,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap64NullValue_200() + CHIP_ERROR TestWriteAttributeNullableBitmap64NullValue_203() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -45170,66 +45380,67 @@ class TestCluster : public TestCommand nullableBitmap64Argument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableBitmap64Argument, this, OnSuccessCallback_200, OnFailureCallback_200)); + nullableBitmap64Argument, this, OnSuccessCallback_203, OnFailureCallback_203)); return CHIP_NO_ERROR; } - void OnFailureResponse_200(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_203(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_200() { NextTest(); } + void OnSuccessResponse_203() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap64NullValue_201() + CHIP_ERROR TestReadAttributeNullableBitmap64NullValue_204() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_201, OnFailureCallback_201)); + this, OnSuccessCallback_204, OnFailureCallback_204)); return CHIP_NO_ERROR; } - void OnFailureResponse_201(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_204(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_201(const chip::app::DataModel::Nullable & nullableBitmap64) + void OnSuccessResponse_204(const chip::app::DataModel::Nullable & nullableBitmap64) { VerifyOrReturn(CheckValueNull("nullableBitmap64", nullableBitmap64)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uMinValue_202() + CHIP_ERROR TestWriteAttributeNullableInt8uMinValue_205() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8uArgument; - nullableInt8uArgument.SetNonNull() = 0; + nullableInt8uArgument.SetNonNull(); + nullableInt8uArgument.Value() = 0; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_202, OnFailureCallback_202)); + nullableInt8uArgument, this, OnSuccessCallback_205, OnFailureCallback_205)); return CHIP_NO_ERROR; } - void OnFailureResponse_202(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_205(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_202() { NextTest(); } + void OnSuccessResponse_205() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uMinValue_203() + CHIP_ERROR TestReadAttributeNullableInt8uMinValue_206() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_203, OnFailureCallback_203)); + this, OnSuccessCallback_206, OnFailureCallback_206)); return CHIP_NO_ERROR; } - void OnFailureResponse_203(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_206(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_203(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_206(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNonNull("nullableInt8u", nullableInt8u)); VerifyOrReturn(CheckValue("nullableInt8u.Value()", nullableInt8u.Value(), 0)); @@ -45237,38 +45448,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uMaxValue_204() + CHIP_ERROR TestWriteAttributeNullableInt8uMaxValue_207() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8uArgument; - nullableInt8uArgument.SetNonNull() = 254; + nullableInt8uArgument.SetNonNull(); + nullableInt8uArgument.Value() = 254; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_204, OnFailureCallback_204)); + nullableInt8uArgument, this, OnSuccessCallback_207, OnFailureCallback_207)); return CHIP_NO_ERROR; } - void OnFailureResponse_204(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_207(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_204() { NextTest(); } + void OnSuccessResponse_207() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uMaxValue_205() + CHIP_ERROR TestReadAttributeNullableInt8uMaxValue_208() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_205, OnFailureCallback_205)); + this, OnSuccessCallback_208, OnFailureCallback_208)); return CHIP_NO_ERROR; } - void OnFailureResponse_205(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_208(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_205(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_208(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNonNull("nullableInt8u", nullableInt8u)); VerifyOrReturn(CheckValue("nullableInt8u.Value()", nullableInt8u.Value(), 254)); @@ -45276,42 +45488,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uInvalidValue_206() + CHIP_ERROR TestWriteAttributeNullableInt8uInvalidValue_209() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8uArgument; - nullableInt8uArgument.SetNonNull() = 255; + nullableInt8uArgument.SetNonNull(); + nullableInt8uArgument.Value() = 255; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_206, OnFailureCallback_206)); + nullableInt8uArgument, this, OnSuccessCallback_209, OnFailureCallback_209)); return CHIP_NO_ERROR; } - void OnFailureResponse_206(EmberAfStatus status) + void OnFailureResponse_209(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_206() { ThrowSuccessResponse(); } + void OnSuccessResponse_209() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt8uUnchangedValue_207() + CHIP_ERROR TestReadAttributeNullableInt8uUnchangedValue_210() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_207, OnFailureCallback_207)); + this, OnSuccessCallback_210, OnFailureCallback_210)); return CHIP_NO_ERROR; } - void OnFailureResponse_207(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_210(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_207(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_210(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNonNull("nullableInt8u", nullableInt8u)); VerifyOrReturn(CheckValue("nullableInt8u.Value()", nullableInt8u.Value(), 254)); @@ -45319,27 +45532,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uUnchangedValueWithConstraint_208() + CHIP_ERROR TestReadAttributeNullableInt8uUnchangedValueWithConstraint_211() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_208, OnFailureCallback_208)); + this, OnSuccessCallback_211, OnFailureCallback_211)); return CHIP_NO_ERROR; } - void OnFailureResponse_208(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_211(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_208(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_211(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNonNull("nullableInt8u", nullableInt8u)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uNullValue_209() + CHIP_ERROR TestWriteAttributeNullableInt8uNullValue_212() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -45349,162 +45562,164 @@ class TestCluster : public TestCommand nullableInt8uArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_209, OnFailureCallback_209)); + nullableInt8uArgument, this, OnSuccessCallback_212, OnFailureCallback_212)); return CHIP_NO_ERROR; } - void OnFailureResponse_209(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_212(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_209() { NextTest(); } + void OnSuccessResponse_212() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uNullValue_210() + CHIP_ERROR TestReadAttributeNullableInt8uNullValue_213() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_210, OnFailureCallback_210)); + this, OnSuccessCallback_213, OnFailureCallback_213)); return CHIP_NO_ERROR; } - void OnFailureResponse_210(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_213(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_210(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_213(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNull("nullableInt8u", nullableInt8u)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uNullValueRange_211() + CHIP_ERROR TestReadAttributeNullableInt8uNullValueRange_214() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_211, OnFailureCallback_211)); + this, OnSuccessCallback_214, OnFailureCallback_214)); return CHIP_NO_ERROR; } - void OnFailureResponse_211(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_214(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_211(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_214(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt8u", nullableInt8u, 254)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uNullValueNot_212() + CHIP_ERROR TestReadAttributeNullableInt8uNullValueNot_215() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_212, OnFailureCallback_212)); + this, OnSuccessCallback_215, OnFailureCallback_215)); return CHIP_NO_ERROR; } - void OnFailureResponse_212(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_215(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_212(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_215(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt8u", nullableInt8u, 254)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uValue_213() + CHIP_ERROR TestWriteAttributeNullableInt8uValue_216() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8uArgument; - nullableInt8uArgument.SetNonNull() = 128; + nullableInt8uArgument.SetNonNull(); + nullableInt8uArgument.Value() = 128; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_213, OnFailureCallback_213)); + nullableInt8uArgument, this, OnSuccessCallback_216, OnFailureCallback_216)); return CHIP_NO_ERROR; } - void OnFailureResponse_213(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_216(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_213() { NextTest(); } + void OnSuccessResponse_216() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uValueInRange_214() + CHIP_ERROR TestReadAttributeNullableInt8uValueInRange_217() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_214, OnFailureCallback_214)); + this, OnSuccessCallback_217, OnFailureCallback_217)); return CHIP_NO_ERROR; } - void OnFailureResponse_214(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_217(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_214(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_217(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt8u", nullableInt8u, 254)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uNotValueOk_215() + CHIP_ERROR TestReadAttributeNullableInt8uNotValueOk_218() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_215, OnFailureCallback_215)); + this, OnSuccessCallback_218, OnFailureCallback_218)); return CHIP_NO_ERROR; } - void OnFailureResponse_215(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_218(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_215(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_218(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt8u", nullableInt8u, 129)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uMinValue_216() + CHIP_ERROR TestWriteAttributeNullableInt16uMinValue_219() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16uArgument; - nullableInt16uArgument.SetNonNull() = 0U; + nullableInt16uArgument.SetNonNull(); + nullableInt16uArgument.Value() = 0U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_216, OnFailureCallback_216)); + nullableInt16uArgument, this, OnSuccessCallback_219, OnFailureCallback_219)); return CHIP_NO_ERROR; } - void OnFailureResponse_216(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_219(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_216() { NextTest(); } + void OnSuccessResponse_219() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uMinValue_217() + CHIP_ERROR TestReadAttributeNullableInt16uMinValue_220() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_217, OnFailureCallback_217)); + this, OnSuccessCallback_220, OnFailureCallback_220)); return CHIP_NO_ERROR; } - void OnFailureResponse_217(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_220(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_217(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_220(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNonNull("nullableInt16u", nullableInt16u)); VerifyOrReturn(CheckValue("nullableInt16u.Value()", nullableInt16u.Value(), 0U)); @@ -45512,38 +45727,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uMaxValue_218() + CHIP_ERROR TestWriteAttributeNullableInt16uMaxValue_221() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16uArgument; - nullableInt16uArgument.SetNonNull() = 65534U; + nullableInt16uArgument.SetNonNull(); + nullableInt16uArgument.Value() = 65534U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_218, OnFailureCallback_218)); + nullableInt16uArgument, this, OnSuccessCallback_221, OnFailureCallback_221)); return CHIP_NO_ERROR; } - void OnFailureResponse_218(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_221(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_218() { NextTest(); } + void OnSuccessResponse_221() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uMaxValue_219() + CHIP_ERROR TestReadAttributeNullableInt16uMaxValue_222() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_219, OnFailureCallback_219)); + this, OnSuccessCallback_222, OnFailureCallback_222)); return CHIP_NO_ERROR; } - void OnFailureResponse_219(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_222(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_219(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_222(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNonNull("nullableInt16u", nullableInt16u)); VerifyOrReturn(CheckValue("nullableInt16u.Value()", nullableInt16u.Value(), 65534U)); @@ -45551,42 +45767,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uInvalidValue_220() + CHIP_ERROR TestWriteAttributeNullableInt16uInvalidValue_223() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16uArgument; - nullableInt16uArgument.SetNonNull() = 65535U; + nullableInt16uArgument.SetNonNull(); + nullableInt16uArgument.Value() = 65535U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_220, OnFailureCallback_220)); + nullableInt16uArgument, this, OnSuccessCallback_223, OnFailureCallback_223)); return CHIP_NO_ERROR; } - void OnFailureResponse_220(EmberAfStatus status) + void OnFailureResponse_223(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_220() { ThrowSuccessResponse(); } + void OnSuccessResponse_223() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt16uUnchangedValue_221() + CHIP_ERROR TestReadAttributeNullableInt16uUnchangedValue_224() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_221, OnFailureCallback_221)); + this, OnSuccessCallback_224, OnFailureCallback_224)); return CHIP_NO_ERROR; } - void OnFailureResponse_221(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_224(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_221(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_224(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNonNull("nullableInt16u", nullableInt16u)); VerifyOrReturn(CheckValue("nullableInt16u.Value()", nullableInt16u.Value(), 65534U)); @@ -45594,7 +45811,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uNullValue_222() + CHIP_ERROR TestWriteAttributeNullableInt16uNullValue_225() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -45604,162 +45821,164 @@ class TestCluster : public TestCommand nullableInt16uArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_222, OnFailureCallback_222)); + nullableInt16uArgument, this, OnSuccessCallback_225, OnFailureCallback_225)); return CHIP_NO_ERROR; } - void OnFailureResponse_222(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_225(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_222() { NextTest(); } + void OnSuccessResponse_225() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uNullValue_223() + CHIP_ERROR TestReadAttributeNullableInt16uNullValue_226() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_223, OnFailureCallback_223)); + this, OnSuccessCallback_226, OnFailureCallback_226)); return CHIP_NO_ERROR; } - void OnFailureResponse_223(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_226(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_223(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_226(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNull("nullableInt16u", nullableInt16u)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uNullValueRange_224() + CHIP_ERROR TestReadAttributeNullableInt16uNullValueRange_227() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_224, OnFailureCallback_224)); + this, OnSuccessCallback_227, OnFailureCallback_227)); return CHIP_NO_ERROR; } - void OnFailureResponse_224(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_227(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_224(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_227(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt16u", nullableInt16u, 65534U)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uNullValueNot_225() + CHIP_ERROR TestReadAttributeNullableInt16uNullValueNot_228() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_225, OnFailureCallback_225)); + this, OnSuccessCallback_228, OnFailureCallback_228)); return CHIP_NO_ERROR; } - void OnFailureResponse_225(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_228(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_225(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_228(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt16u", nullableInt16u, 65534U)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uValue_226() + CHIP_ERROR TestWriteAttributeNullableInt16uValue_229() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16uArgument; - nullableInt16uArgument.SetNonNull() = 32000U; + nullableInt16uArgument.SetNonNull(); + nullableInt16uArgument.Value() = 32000U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_226, OnFailureCallback_226)); + nullableInt16uArgument, this, OnSuccessCallback_229, OnFailureCallback_229)); return CHIP_NO_ERROR; } - void OnFailureResponse_226(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_229(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_226() { NextTest(); } + void OnSuccessResponse_229() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uValueInRange_227() + CHIP_ERROR TestReadAttributeNullableInt16uValueInRange_230() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_227, OnFailureCallback_227)); + this, OnSuccessCallback_230, OnFailureCallback_230)); return CHIP_NO_ERROR; } - void OnFailureResponse_227(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_230(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_227(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_230(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt16u", nullableInt16u, 65534U)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uNotValueOk_228() + CHIP_ERROR TestReadAttributeNullableInt16uNotValueOk_231() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_228, OnFailureCallback_228)); + this, OnSuccessCallback_231, OnFailureCallback_231)); return CHIP_NO_ERROR; } - void OnFailureResponse_228(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_231(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_228(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_231(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt16u", nullableInt16u, 32001U)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uMinValue_229() + CHIP_ERROR TestWriteAttributeNullableInt32uMinValue_232() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32uArgument; - nullableInt32uArgument.SetNonNull() = 0UL; + nullableInt32uArgument.SetNonNull(); + nullableInt32uArgument.Value() = 0UL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_229, OnFailureCallback_229)); + nullableInt32uArgument, this, OnSuccessCallback_232, OnFailureCallback_232)); return CHIP_NO_ERROR; } - void OnFailureResponse_229(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_232(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_229() { NextTest(); } + void OnSuccessResponse_232() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uMinValue_230() + CHIP_ERROR TestReadAttributeNullableInt32uMinValue_233() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_230, OnFailureCallback_230)); + this, OnSuccessCallback_233, OnFailureCallback_233)); return CHIP_NO_ERROR; } - void OnFailureResponse_230(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_233(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_230(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_233(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNonNull("nullableInt32u", nullableInt32u)); VerifyOrReturn(CheckValue("nullableInt32u.Value()", nullableInt32u.Value(), 0UL)); @@ -45767,38 +45986,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uMaxValue_231() + CHIP_ERROR TestWriteAttributeNullableInt32uMaxValue_234() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32uArgument; - nullableInt32uArgument.SetNonNull() = 4294967294UL; + nullableInt32uArgument.SetNonNull(); + nullableInt32uArgument.Value() = 4294967294UL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_231, OnFailureCallback_231)); + nullableInt32uArgument, this, OnSuccessCallback_234, OnFailureCallback_234)); return CHIP_NO_ERROR; } - void OnFailureResponse_231(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_234(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_231() { NextTest(); } + void OnSuccessResponse_234() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uMaxValue_232() + CHIP_ERROR TestReadAttributeNullableInt32uMaxValue_235() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_232, OnFailureCallback_232)); + this, OnSuccessCallback_235, OnFailureCallback_235)); return CHIP_NO_ERROR; } - void OnFailureResponse_232(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_235(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_232(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_235(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNonNull("nullableInt32u", nullableInt32u)); VerifyOrReturn(CheckValue("nullableInt32u.Value()", nullableInt32u.Value(), 4294967294UL)); @@ -45806,42 +46026,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uInvalidValue_233() + CHIP_ERROR TestWriteAttributeNullableInt32uInvalidValue_236() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32uArgument; - nullableInt32uArgument.SetNonNull() = 4294967295UL; + nullableInt32uArgument.SetNonNull(); + nullableInt32uArgument.Value() = 4294967295UL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_233, OnFailureCallback_233)); + nullableInt32uArgument, this, OnSuccessCallback_236, OnFailureCallback_236)); return CHIP_NO_ERROR; } - void OnFailureResponse_233(EmberAfStatus status) + void OnFailureResponse_236(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_233() { ThrowSuccessResponse(); } + void OnSuccessResponse_236() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt32uUnchangedValue_234() + CHIP_ERROR TestReadAttributeNullableInt32uUnchangedValue_237() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_234, OnFailureCallback_234)); + this, OnSuccessCallback_237, OnFailureCallback_237)); return CHIP_NO_ERROR; } - void OnFailureResponse_234(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_237(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_234(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_237(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNonNull("nullableInt32u", nullableInt32u)); VerifyOrReturn(CheckValue("nullableInt32u.Value()", nullableInt32u.Value(), 4294967294UL)); @@ -45849,7 +46070,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uNullValue_235() + CHIP_ERROR TestWriteAttributeNullableInt32uNullValue_238() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -45859,162 +46080,164 @@ class TestCluster : public TestCommand nullableInt32uArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_235, OnFailureCallback_235)); + nullableInt32uArgument, this, OnSuccessCallback_238, OnFailureCallback_238)); return CHIP_NO_ERROR; } - void OnFailureResponse_235(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_238(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_235() { NextTest(); } + void OnSuccessResponse_238() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uNullValue_236() + CHIP_ERROR TestReadAttributeNullableInt32uNullValue_239() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_236, OnFailureCallback_236)); + this, OnSuccessCallback_239, OnFailureCallback_239)); return CHIP_NO_ERROR; } - void OnFailureResponse_236(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_239(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_236(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_239(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNull("nullableInt32u", nullableInt32u)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uNullValueRange_237() + CHIP_ERROR TestReadAttributeNullableInt32uNullValueRange_240() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_237, OnFailureCallback_237)); + this, OnSuccessCallback_240, OnFailureCallback_240)); return CHIP_NO_ERROR; } - void OnFailureResponse_237(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_240(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_237(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_240(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt32u", nullableInt32u, 4294967294UL)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uNullValueNot_238() + CHIP_ERROR TestReadAttributeNullableInt32uNullValueNot_241() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_238, OnFailureCallback_238)); + this, OnSuccessCallback_241, OnFailureCallback_241)); return CHIP_NO_ERROR; } - void OnFailureResponse_238(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_241(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_238(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_241(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt32u", nullableInt32u, 4294967294UL)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uValue_239() + CHIP_ERROR TestWriteAttributeNullableInt32uValue_242() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32uArgument; - nullableInt32uArgument.SetNonNull() = 2147483647UL; + nullableInt32uArgument.SetNonNull(); + nullableInt32uArgument.Value() = 2147483647UL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_239, OnFailureCallback_239)); + nullableInt32uArgument, this, OnSuccessCallback_242, OnFailureCallback_242)); return CHIP_NO_ERROR; } - void OnFailureResponse_239(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_242(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_239() { NextTest(); } + void OnSuccessResponse_242() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uValueInRange_240() + CHIP_ERROR TestReadAttributeNullableInt32uValueInRange_243() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_240, OnFailureCallback_240)); + this, OnSuccessCallback_243, OnFailureCallback_243)); return CHIP_NO_ERROR; } - void OnFailureResponse_240(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_243(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_240(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_243(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt32u", nullableInt32u, 4294967294UL)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uNotValueOk_241() + CHIP_ERROR TestReadAttributeNullableInt32uNotValueOk_244() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_241, OnFailureCallback_241)); + this, OnSuccessCallback_244, OnFailureCallback_244)); return CHIP_NO_ERROR; } - void OnFailureResponse_241(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_244(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_241(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_244(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt32u", nullableInt32u, 2147483648UL)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uMinValue_242() + CHIP_ERROR TestWriteAttributeNullableInt64uMinValue_245() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64uArgument; - nullableInt64uArgument.SetNonNull() = 0ULL; + nullableInt64uArgument.SetNonNull(); + nullableInt64uArgument.Value() = 0ULL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_242, OnFailureCallback_242)); + nullableInt64uArgument, this, OnSuccessCallback_245, OnFailureCallback_245)); return CHIP_NO_ERROR; } - void OnFailureResponse_242(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_245(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_242() { NextTest(); } + void OnSuccessResponse_245() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uMinValue_243() + CHIP_ERROR TestReadAttributeNullableInt64uMinValue_246() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_243, OnFailureCallback_243)); + this, OnSuccessCallback_246, OnFailureCallback_246)); return CHIP_NO_ERROR; } - void OnFailureResponse_243(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_246(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_243(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_246(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNonNull("nullableInt64u", nullableInt64u)); VerifyOrReturn(CheckValue("nullableInt64u.Value()", nullableInt64u.Value(), 0ULL)); @@ -46022,38 +46245,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uMaxValue_244() + CHIP_ERROR TestWriteAttributeNullableInt64uMaxValue_247() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64uArgument; - nullableInt64uArgument.SetNonNull() = 18446744073709551614ULL; + nullableInt64uArgument.SetNonNull(); + nullableInt64uArgument.Value() = 18446744073709551614ULL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_244, OnFailureCallback_244)); + nullableInt64uArgument, this, OnSuccessCallback_247, OnFailureCallback_247)); return CHIP_NO_ERROR; } - void OnFailureResponse_244(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_247(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_244() { NextTest(); } + void OnSuccessResponse_247() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uMaxValue_245() + CHIP_ERROR TestReadAttributeNullableInt64uMaxValue_248() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_245, OnFailureCallback_245)); + this, OnSuccessCallback_248, OnFailureCallback_248)); return CHIP_NO_ERROR; } - void OnFailureResponse_245(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_248(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_245(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_248(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNonNull("nullableInt64u", nullableInt64u)); VerifyOrReturn(CheckValue("nullableInt64u.Value()", nullableInt64u.Value(), 18446744073709551614ULL)); @@ -46061,42 +46285,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uInvalidValue_246() + CHIP_ERROR TestWriteAttributeNullableInt64uInvalidValue_249() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64uArgument; - nullableInt64uArgument.SetNonNull() = 18446744073709551615ULL; + nullableInt64uArgument.SetNonNull(); + nullableInt64uArgument.Value() = 18446744073709551615ULL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_246, OnFailureCallback_246)); + nullableInt64uArgument, this, OnSuccessCallback_249, OnFailureCallback_249)); return CHIP_NO_ERROR; } - void OnFailureResponse_246(EmberAfStatus status) + void OnFailureResponse_249(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_246() { ThrowSuccessResponse(); } + void OnSuccessResponse_249() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt64uUnchangedValue_247() + CHIP_ERROR TestReadAttributeNullableInt64uUnchangedValue_250() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_247, OnFailureCallback_247)); + this, OnSuccessCallback_250, OnFailureCallback_250)); return CHIP_NO_ERROR; } - void OnFailureResponse_247(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_250(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_247(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_250(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNonNull("nullableInt64u", nullableInt64u)); VerifyOrReturn(CheckValue("nullableInt64u.Value()", nullableInt64u.Value(), 18446744073709551614ULL)); @@ -46104,7 +46329,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uNullValue_248() + CHIP_ERROR TestWriteAttributeNullableInt64uNullValue_251() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -46114,162 +46339,164 @@ class TestCluster : public TestCommand nullableInt64uArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_248, OnFailureCallback_248)); + nullableInt64uArgument, this, OnSuccessCallback_251, OnFailureCallback_251)); return CHIP_NO_ERROR; } - void OnFailureResponse_248(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_251(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_248() { NextTest(); } + void OnSuccessResponse_251() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uNullValue_249() + CHIP_ERROR TestReadAttributeNullableInt64uNullValue_252() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_249, OnFailureCallback_249)); + this, OnSuccessCallback_252, OnFailureCallback_252)); return CHIP_NO_ERROR; } - void OnFailureResponse_249(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_252(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_249(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_252(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNull("nullableInt64u", nullableInt64u)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uNullValueRange_250() + CHIP_ERROR TestReadAttributeNullableInt64uNullValueRange_253() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_250, OnFailureCallback_250)); + this, OnSuccessCallback_253, OnFailureCallback_253)); return CHIP_NO_ERROR; } - void OnFailureResponse_250(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_253(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_250(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_253(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt64u", nullableInt64u, 18446744073709551614ULL)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uNullValueNot_251() + CHIP_ERROR TestReadAttributeNullableInt64uNullValueNot_254() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_251, OnFailureCallback_251)); + this, OnSuccessCallback_254, OnFailureCallback_254)); return CHIP_NO_ERROR; } - void OnFailureResponse_251(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_254(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_251(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_254(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt64u", nullableInt64u, 18446744073709551614ULL)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uValue_252() + CHIP_ERROR TestWriteAttributeNullableInt64uValue_255() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64uArgument; - nullableInt64uArgument.SetNonNull() = 18000000000000000000ULL; + nullableInt64uArgument.SetNonNull(); + nullableInt64uArgument.Value() = 18000000000000000000ULL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_252, OnFailureCallback_252)); + nullableInt64uArgument, this, OnSuccessCallback_255, OnFailureCallback_255)); return CHIP_NO_ERROR; } - void OnFailureResponse_252(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_255(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_252() { NextTest(); } + void OnSuccessResponse_255() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uValueInRange_253() + CHIP_ERROR TestReadAttributeNullableInt64uValueInRange_256() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_253, OnFailureCallback_253)); + this, OnSuccessCallback_256, OnFailureCallback_256)); return CHIP_NO_ERROR; } - void OnFailureResponse_253(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_256(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_253(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_256(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckConstraintMaxValue("nullableInt64u", nullableInt64u, 18446744073709551614ULL)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uNotValueOk_254() + CHIP_ERROR TestReadAttributeNullableInt64uNotValueOk_257() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_254, OnFailureCallback_254)); + this, OnSuccessCallback_257, OnFailureCallback_257)); return CHIP_NO_ERROR; } - void OnFailureResponse_254(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_257(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_254(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_257(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckConstraintNotValue("nullableInt64u", nullableInt64u, 18000000000000000001ULL)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sMinValue_255() + CHIP_ERROR TestWriteAttributeNullableInt8sMinValue_258() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8sArgument; - nullableInt8sArgument.SetNonNull() = -127; + nullableInt8sArgument.SetNonNull(); + nullableInt8sArgument.Value() = -127; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_255, OnFailureCallback_255)); + nullableInt8sArgument, this, OnSuccessCallback_258, OnFailureCallback_258)); return CHIP_NO_ERROR; } - void OnFailureResponse_255(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_258(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_255() { NextTest(); } + void OnSuccessResponse_258() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sMinValue_256() + CHIP_ERROR TestReadAttributeNullableInt8sMinValue_259() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_256, OnFailureCallback_256)); + this, OnSuccessCallback_259, OnFailureCallback_259)); return CHIP_NO_ERROR; } - void OnFailureResponse_256(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_259(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_256(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_259(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckValueNonNull("nullableInt8s", nullableInt8s)); VerifyOrReturn(CheckValue("nullableInt8s.Value()", nullableInt8s.Value(), -127)); @@ -46277,42 +46504,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sInvalidValue_257() + CHIP_ERROR TestWriteAttributeNullableInt8sInvalidValue_260() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8sArgument; - nullableInt8sArgument.SetNonNull() = -128; + nullableInt8sArgument.SetNonNull(); + nullableInt8sArgument.Value() = -128; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_257, OnFailureCallback_257)); + nullableInt8sArgument, this, OnSuccessCallback_260, OnFailureCallback_260)); return CHIP_NO_ERROR; } - void OnFailureResponse_257(EmberAfStatus status) + void OnFailureResponse_260(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_257() { ThrowSuccessResponse(); } + void OnSuccessResponse_260() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt8sUnchangedValue_258() + CHIP_ERROR TestReadAttributeNullableInt8sUnchangedValue_261() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_258, OnFailureCallback_258)); + this, OnSuccessCallback_261, OnFailureCallback_261)); return CHIP_NO_ERROR; } - void OnFailureResponse_258(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_261(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_258(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_261(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckValueNonNull("nullableInt8s", nullableInt8s)); VerifyOrReturn(CheckValue("nullableInt8s.Value()", nullableInt8s.Value(), -127)); @@ -46320,7 +46548,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sNullValue_259() + CHIP_ERROR TestWriteAttributeNullableInt8sNullValue_262() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -46330,164 +46558,166 @@ class TestCluster : public TestCommand nullableInt8sArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_259, OnFailureCallback_259)); + nullableInt8sArgument, this, OnSuccessCallback_262, OnFailureCallback_262)); return CHIP_NO_ERROR; } - void OnFailureResponse_259(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_262(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_259() { NextTest(); } + void OnSuccessResponse_262() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sNullValue_260() + CHIP_ERROR TestReadAttributeNullableInt8sNullValue_263() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_260, OnFailureCallback_260)); + this, OnSuccessCallback_263, OnFailureCallback_263)); return CHIP_NO_ERROR; } - void OnFailureResponse_260(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_263(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_260(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_263(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckValueNull("nullableInt8s", nullableInt8s)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sNullValueRange_261() + CHIP_ERROR TestReadAttributeNullableInt8sNullValueRange_264() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_261, OnFailureCallback_261)); + this, OnSuccessCallback_264, OnFailureCallback_264)); return CHIP_NO_ERROR; } - void OnFailureResponse_261(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_264(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_261(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_264(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt8s", nullableInt8s, -127)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt8s", nullableInt8s, 127)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sNullValueNot_262() + CHIP_ERROR TestReadAttributeNullableInt8sNullValueNot_265() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_262, OnFailureCallback_262)); + this, OnSuccessCallback_265, OnFailureCallback_265)); return CHIP_NO_ERROR; } - void OnFailureResponse_262(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_265(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_262(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_265(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt8s", nullableInt8s, -127)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sValue_263() + CHIP_ERROR TestWriteAttributeNullableInt8sValue_266() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt8sArgument; - nullableInt8sArgument.SetNonNull() = -127; + nullableInt8sArgument.SetNonNull(); + nullableInt8sArgument.Value() = -127; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_263, OnFailureCallback_263)); + nullableInt8sArgument, this, OnSuccessCallback_266, OnFailureCallback_266)); return CHIP_NO_ERROR; } - void OnFailureResponse_263(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_266(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_263() { NextTest(); } + void OnSuccessResponse_266() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sValueInRange_264() + CHIP_ERROR TestReadAttributeNullableInt8sValueInRange_267() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_264, OnFailureCallback_264)); + this, OnSuccessCallback_267, OnFailureCallback_267)); return CHIP_NO_ERROR; } - void OnFailureResponse_264(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_267(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_264(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_267(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt8s", nullableInt8s, -127)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt8s", nullableInt8s, 127)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sNotValueOk_265() + CHIP_ERROR TestReadAttributeNullableInt8sNotValueOk_268() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_265, OnFailureCallback_265)); + this, OnSuccessCallback_268, OnFailureCallback_268)); return CHIP_NO_ERROR; } - void OnFailureResponse_265(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_268(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_265(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_268(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt8s", nullableInt8s, -126)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sMinValue_266() + CHIP_ERROR TestWriteAttributeNullableInt16sMinValue_269() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16sArgument; - nullableInt16sArgument.SetNonNull() = -32767; + nullableInt16sArgument.SetNonNull(); + nullableInt16sArgument.Value() = -32767; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_266, OnFailureCallback_266)); + nullableInt16sArgument, this, OnSuccessCallback_269, OnFailureCallback_269)); return CHIP_NO_ERROR; } - void OnFailureResponse_266(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_269(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_266() { NextTest(); } + void OnSuccessResponse_269() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sMinValue_267() + CHIP_ERROR TestReadAttributeNullableInt16sMinValue_270() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_267, OnFailureCallback_267)); + this, OnSuccessCallback_270, OnFailureCallback_270)); return CHIP_NO_ERROR; } - void OnFailureResponse_267(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_270(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_267(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_270(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckValueNonNull("nullableInt16s", nullableInt16s)); VerifyOrReturn(CheckValue("nullableInt16s.Value()", nullableInt16s.Value(), -32767)); @@ -46495,42 +46725,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sInvalidValue_268() + CHIP_ERROR TestWriteAttributeNullableInt16sInvalidValue_271() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16sArgument; - nullableInt16sArgument.SetNonNull() = -32768; + nullableInt16sArgument.SetNonNull(); + nullableInt16sArgument.Value() = -32768; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_268, OnFailureCallback_268)); + nullableInt16sArgument, this, OnSuccessCallback_271, OnFailureCallback_271)); return CHIP_NO_ERROR; } - void OnFailureResponse_268(EmberAfStatus status) + void OnFailureResponse_271(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_268() { ThrowSuccessResponse(); } + void OnSuccessResponse_271() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt16sUnchangedValue_269() + CHIP_ERROR TestReadAttributeNullableInt16sUnchangedValue_272() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_269, OnFailureCallback_269)); + this, OnSuccessCallback_272, OnFailureCallback_272)); return CHIP_NO_ERROR; } - void OnFailureResponse_269(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_272(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_269(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_272(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckValueNonNull("nullableInt16s", nullableInt16s)); VerifyOrReturn(CheckValue("nullableInt16s.Value()", nullableInt16s.Value(), -32767)); @@ -46538,7 +46769,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sNullValue_270() + CHIP_ERROR TestWriteAttributeNullableInt16sNullValue_273() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -46548,164 +46779,166 @@ class TestCluster : public TestCommand nullableInt16sArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_270, OnFailureCallback_270)); + nullableInt16sArgument, this, OnSuccessCallback_273, OnFailureCallback_273)); return CHIP_NO_ERROR; } - void OnFailureResponse_270(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_273(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_270() { NextTest(); } + void OnSuccessResponse_273() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sNullValue_271() + CHIP_ERROR TestReadAttributeNullableInt16sNullValue_274() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_271, OnFailureCallback_271)); + this, OnSuccessCallback_274, OnFailureCallback_274)); return CHIP_NO_ERROR; } - void OnFailureResponse_271(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_274(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_271(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_274(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckValueNull("nullableInt16s", nullableInt16s)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sNullValueRange_272() + CHIP_ERROR TestReadAttributeNullableInt16sNullValueRange_275() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_272, OnFailureCallback_272)); + this, OnSuccessCallback_275, OnFailureCallback_275)); return CHIP_NO_ERROR; } - void OnFailureResponse_272(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_275(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_272(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_275(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt16s", nullableInt16s, -32767)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt16s", nullableInt16s, 32767)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sNullValueNot_273() + CHIP_ERROR TestReadAttributeNullableInt16sNullValueNot_276() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_273, OnFailureCallback_273)); + this, OnSuccessCallback_276, OnFailureCallback_276)); return CHIP_NO_ERROR; } - void OnFailureResponse_273(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_276(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_273(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_276(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt16s", nullableInt16s, -32767)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sValue_274() + CHIP_ERROR TestWriteAttributeNullableInt16sValue_277() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt16sArgument; - nullableInt16sArgument.SetNonNull() = -32767; + nullableInt16sArgument.SetNonNull(); + nullableInt16sArgument.Value() = -32767; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_274, OnFailureCallback_274)); + nullableInt16sArgument, this, OnSuccessCallback_277, OnFailureCallback_277)); return CHIP_NO_ERROR; } - void OnFailureResponse_274(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_277(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_274() { NextTest(); } + void OnSuccessResponse_277() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sValueInRange_275() + CHIP_ERROR TestReadAttributeNullableInt16sValueInRange_278() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_275, OnFailureCallback_275)); + this, OnSuccessCallback_278, OnFailureCallback_278)); return CHIP_NO_ERROR; } - void OnFailureResponse_275(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_278(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_275(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_278(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt16s", nullableInt16s, -32767)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt16s", nullableInt16s, 32767)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sNotValueOk_276() + CHIP_ERROR TestReadAttributeNullableInt16sNotValueOk_279() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_276, OnFailureCallback_276)); + this, OnSuccessCallback_279, OnFailureCallback_279)); return CHIP_NO_ERROR; } - void OnFailureResponse_276(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_279(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_276(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_279(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt16s", nullableInt16s, -32766)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sMinValue_277() + CHIP_ERROR TestWriteAttributeNullableInt32sMinValue_280() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32sArgument; - nullableInt32sArgument.SetNonNull() = -2147483647L; + nullableInt32sArgument.SetNonNull(); + nullableInt32sArgument.Value() = -2147483647L; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_277, OnFailureCallback_277)); + nullableInt32sArgument, this, OnSuccessCallback_280, OnFailureCallback_280)); return CHIP_NO_ERROR; } - void OnFailureResponse_277(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_280(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_277() { NextTest(); } + void OnSuccessResponse_280() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sMinValue_278() + CHIP_ERROR TestReadAttributeNullableInt32sMinValue_281() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_278, OnFailureCallback_278)); + this, OnSuccessCallback_281, OnFailureCallback_281)); return CHIP_NO_ERROR; } - void OnFailureResponse_278(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_281(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_278(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_281(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckValueNonNull("nullableInt32s", nullableInt32s)); VerifyOrReturn(CheckValue("nullableInt32s.Value()", nullableInt32s.Value(), -2147483647L)); @@ -46713,42 +46946,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sInvalidValue_279() + CHIP_ERROR TestWriteAttributeNullableInt32sInvalidValue_282() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32sArgument; - nullableInt32sArgument.SetNonNull() = -2147483648L; + nullableInt32sArgument.SetNonNull(); + nullableInt32sArgument.Value() = -2147483648L; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_279, OnFailureCallback_279)); + nullableInt32sArgument, this, OnSuccessCallback_282, OnFailureCallback_282)); return CHIP_NO_ERROR; } - void OnFailureResponse_279(EmberAfStatus status) + void OnFailureResponse_282(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_279() { ThrowSuccessResponse(); } + void OnSuccessResponse_282() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt32sUnchangedValue_280() + CHIP_ERROR TestReadAttributeNullableInt32sUnchangedValue_283() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_280, OnFailureCallback_280)); + this, OnSuccessCallback_283, OnFailureCallback_283)); return CHIP_NO_ERROR; } - void OnFailureResponse_280(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_283(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_280(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_283(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckValueNonNull("nullableInt32s", nullableInt32s)); VerifyOrReturn(CheckValue("nullableInt32s.Value()", nullableInt32s.Value(), -2147483647L)); @@ -46756,7 +46990,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sNullValue_281() + CHIP_ERROR TestWriteAttributeNullableInt32sNullValue_284() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -46766,164 +47000,166 @@ class TestCluster : public TestCommand nullableInt32sArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_281, OnFailureCallback_281)); + nullableInt32sArgument, this, OnSuccessCallback_284, OnFailureCallback_284)); return CHIP_NO_ERROR; } - void OnFailureResponse_281(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_284(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_281() { NextTest(); } + void OnSuccessResponse_284() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sNullValue_282() + CHIP_ERROR TestReadAttributeNullableInt32sNullValue_285() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_282, OnFailureCallback_282)); + this, OnSuccessCallback_285, OnFailureCallback_285)); return CHIP_NO_ERROR; } - void OnFailureResponse_282(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_285(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_282(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_285(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckValueNull("nullableInt32s", nullableInt32s)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sNullValueRange_283() + CHIP_ERROR TestReadAttributeNullableInt32sNullValueRange_286() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_283, OnFailureCallback_283)); + this, OnSuccessCallback_286, OnFailureCallback_286)); return CHIP_NO_ERROR; } - void OnFailureResponse_283(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_286(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_283(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_286(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt32s", nullableInt32s, -2147483647L)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt32s", nullableInt32s, 2147483647L)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sNullValueNot_284() + CHIP_ERROR TestReadAttributeNullableInt32sNullValueNot_287() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_284, OnFailureCallback_284)); + this, OnSuccessCallback_287, OnFailureCallback_287)); return CHIP_NO_ERROR; } - void OnFailureResponse_284(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_287(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_284(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_287(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt32s", nullableInt32s, -2147483647L)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sValue_285() + CHIP_ERROR TestWriteAttributeNullableInt32sValue_288() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt32sArgument; - nullableInt32sArgument.SetNonNull() = -2147483647L; + nullableInt32sArgument.SetNonNull(); + nullableInt32sArgument.Value() = -2147483647L; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_285, OnFailureCallback_285)); + nullableInt32sArgument, this, OnSuccessCallback_288, OnFailureCallback_288)); return CHIP_NO_ERROR; } - void OnFailureResponse_285(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_288(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_285() { NextTest(); } + void OnSuccessResponse_288() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sValueInRange_286() + CHIP_ERROR TestReadAttributeNullableInt32sValueInRange_289() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_286, OnFailureCallback_286)); + this, OnSuccessCallback_289, OnFailureCallback_289)); return CHIP_NO_ERROR; } - void OnFailureResponse_286(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_289(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_286(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_289(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt32s", nullableInt32s, -2147483647L)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt32s", nullableInt32s, 2147483647L)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sNotValueOk_287() + CHIP_ERROR TestReadAttributeNullableInt32sNotValueOk_290() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_287, OnFailureCallback_287)); + this, OnSuccessCallback_290, OnFailureCallback_290)); return CHIP_NO_ERROR; } - void OnFailureResponse_287(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_290(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_287(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_290(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt32s", nullableInt32s, -2147483646L)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sMinValue_288() + CHIP_ERROR TestWriteAttributeNullableInt64sMinValue_291() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64sArgument; - nullableInt64sArgument.SetNonNull() = -9223372036854775807LL; + nullableInt64sArgument.SetNonNull(); + nullableInt64sArgument.Value() = -9223372036854775807LL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_288, OnFailureCallback_288)); + nullableInt64sArgument, this, OnSuccessCallback_291, OnFailureCallback_291)); return CHIP_NO_ERROR; } - void OnFailureResponse_288(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_291(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_288() { NextTest(); } + void OnSuccessResponse_291() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sMinValue_289() + CHIP_ERROR TestReadAttributeNullableInt64sMinValue_292() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_289, OnFailureCallback_289)); + this, OnSuccessCallback_292, OnFailureCallback_292)); return CHIP_NO_ERROR; } - void OnFailureResponse_289(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_292(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_289(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_292(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckValueNonNull("nullableInt64s", nullableInt64s)); VerifyOrReturn(CheckValue("nullableInt64s.Value()", nullableInt64s.Value(), -9223372036854775807LL)); @@ -46931,42 +47167,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sInvalidValue_290() + CHIP_ERROR TestWriteAttributeNullableInt64sInvalidValue_293() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64sArgument; - nullableInt64sArgument.SetNonNull() = -9223372036854775807LL - 1; + nullableInt64sArgument.SetNonNull(); + nullableInt64sArgument.Value() = -9223372036854775807LL - 1; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_290, OnFailureCallback_290)); + nullableInt64sArgument, this, OnSuccessCallback_293, OnFailureCallback_293)); return CHIP_NO_ERROR; } - void OnFailureResponse_290(EmberAfStatus status) + void OnFailureResponse_293(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_290() { ThrowSuccessResponse(); } + void OnSuccessResponse_293() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt64sUnchangedValue_291() + CHIP_ERROR TestReadAttributeNullableInt64sUnchangedValue_294() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_291, OnFailureCallback_291)); + this, OnSuccessCallback_294, OnFailureCallback_294)); return CHIP_NO_ERROR; } - void OnFailureResponse_291(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_294(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_291(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_294(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckValueNonNull("nullableInt64s", nullableInt64s)); VerifyOrReturn(CheckValue("nullableInt64s.Value()", nullableInt64s.Value(), -9223372036854775807LL)); @@ -46974,7 +47211,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sNullValue_292() + CHIP_ERROR TestWriteAttributeNullableInt64sNullValue_295() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -46984,164 +47221,166 @@ class TestCluster : public TestCommand nullableInt64sArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_292, OnFailureCallback_292)); + nullableInt64sArgument, this, OnSuccessCallback_295, OnFailureCallback_295)); return CHIP_NO_ERROR; } - void OnFailureResponse_292(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_295(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_292() { NextTest(); } + void OnSuccessResponse_295() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sNullValue_293() + CHIP_ERROR TestReadAttributeNullableInt64sNullValue_296() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_293, OnFailureCallback_293)); + this, OnSuccessCallback_296, OnFailureCallback_296)); return CHIP_NO_ERROR; } - void OnFailureResponse_293(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_296(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_293(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_296(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckValueNull("nullableInt64s", nullableInt64s)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sNullValueRange_294() + CHIP_ERROR TestReadAttributeNullableInt64sNullValueRange_297() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_294, OnFailureCallback_294)); + this, OnSuccessCallback_297, OnFailureCallback_297)); return CHIP_NO_ERROR; } - void OnFailureResponse_294(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_297(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_294(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_297(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt64s", nullableInt64s, -9223372036854775807LL)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt64s", nullableInt64s, 9223372036854775807LL)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sNullValueNot_295() + CHIP_ERROR TestReadAttributeNullableInt64sNullValueNot_298() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_295, OnFailureCallback_295)); + this, OnSuccessCallback_298, OnFailureCallback_298)); return CHIP_NO_ERROR; } - void OnFailureResponse_295(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_298(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_295(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_298(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt64s", nullableInt64s, -9223372036854775807LL)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sValue_296() + CHIP_ERROR TestWriteAttributeNullableInt64sValue_299() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableInt64sArgument; - nullableInt64sArgument.SetNonNull() = -9223372036854775807LL; + nullableInt64sArgument.SetNonNull(); + nullableInt64sArgument.Value() = -9223372036854775807LL; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_296, OnFailureCallback_296)); + nullableInt64sArgument, this, OnSuccessCallback_299, OnFailureCallback_299)); return CHIP_NO_ERROR; } - void OnFailureResponse_296(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_299(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_296() { NextTest(); } + void OnSuccessResponse_299() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sValueInRange_297() + CHIP_ERROR TestReadAttributeNullableInt64sValueInRange_300() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_297, OnFailureCallback_297)); + this, OnSuccessCallback_300, OnFailureCallback_300)); return CHIP_NO_ERROR; } - void OnFailureResponse_297(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_300(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_297(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_300(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckConstraintMinValue("nullableInt64s", nullableInt64s, -9223372036854775807LL)); VerifyOrReturn(CheckConstraintMaxValue("nullableInt64s", nullableInt64s, 9223372036854775807LL)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sNotValueOk_298() + CHIP_ERROR TestReadAttributeNullableInt64sNotValueOk_301() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_298, OnFailureCallback_298)); + this, OnSuccessCallback_301, OnFailureCallback_301)); return CHIP_NO_ERROR; } - void OnFailureResponse_298(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_301(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_298(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_301(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckConstraintNotValue("nullableInt64s", nullableInt64s, -9223372036854775806LL)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSingleMediumValue_299() + CHIP_ERROR TestWriteAttributeNullableSingleMediumValue_302() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatSingleArgument; - nullableFloatSingleArgument.SetNonNull() = 0.1f; + nullableFloatSingleArgument.SetNonNull(); + nullableFloatSingleArgument.Value() = 0.1f; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatSingleArgument, this, OnSuccessCallback_299, OnFailureCallback_299)); + nullableFloatSingleArgument, this, OnSuccessCallback_302, OnFailureCallback_302)); return CHIP_NO_ERROR; } - void OnFailureResponse_299(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_302(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_299() { NextTest(); } + void OnSuccessResponse_302() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSingleMediumValue_300() + CHIP_ERROR TestReadAttributeNullableSingleMediumValue_303() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_300, OnFailureCallback_300)); + this, OnSuccessCallback_303, OnFailureCallback_303)); return CHIP_NO_ERROR; } - void OnFailureResponse_300(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_303(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_300(const chip::app::DataModel::Nullable & nullableFloatSingle) + void OnSuccessResponse_303(const chip::app::DataModel::Nullable & nullableFloatSingle) { VerifyOrReturn(CheckValueNonNull("nullableFloatSingle", nullableFloatSingle)); VerifyOrReturn(CheckValue("nullableFloatSingle.Value()", nullableFloatSingle.Value(), 0.1f)); @@ -47149,38 +47388,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSingleLargestValue_301() + CHIP_ERROR TestWriteAttributeNullableSingleLargestValue_304() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatSingleArgument; - nullableFloatSingleArgument.SetNonNull() = INFINITY; + nullableFloatSingleArgument.SetNonNull(); + nullableFloatSingleArgument.Value() = INFINITY; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatSingleArgument, this, OnSuccessCallback_301, OnFailureCallback_301)); + nullableFloatSingleArgument, this, OnSuccessCallback_304, OnFailureCallback_304)); return CHIP_NO_ERROR; } - void OnFailureResponse_301(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_304(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_301() { NextTest(); } + void OnSuccessResponse_304() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSingleLargestValue_302() + CHIP_ERROR TestReadAttributeNullableSingleLargestValue_305() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_302, OnFailureCallback_302)); + this, OnSuccessCallback_305, OnFailureCallback_305)); return CHIP_NO_ERROR; } - void OnFailureResponse_302(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_305(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_302(const chip::app::DataModel::Nullable & nullableFloatSingle) + void OnSuccessResponse_305(const chip::app::DataModel::Nullable & nullableFloatSingle) { VerifyOrReturn(CheckValueNonNull("nullableFloatSingle", nullableFloatSingle)); VerifyOrReturn(CheckValue("nullableFloatSingle.Value()", nullableFloatSingle.Value(), INFINITY)); @@ -47188,38 +47428,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSingleSmallestValue_303() + CHIP_ERROR TestWriteAttributeNullableSingleSmallestValue_306() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatSingleArgument; - nullableFloatSingleArgument.SetNonNull() = -INFINITY; + nullableFloatSingleArgument.SetNonNull(); + nullableFloatSingleArgument.Value() = -INFINITY; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatSingleArgument, this, OnSuccessCallback_303, OnFailureCallback_303)); + nullableFloatSingleArgument, this, OnSuccessCallback_306, OnFailureCallback_306)); return CHIP_NO_ERROR; } - void OnFailureResponse_303(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_306(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_303() { NextTest(); } + void OnSuccessResponse_306() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSingleSmallestValue_304() + CHIP_ERROR TestReadAttributeNullableSingleSmallestValue_307() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_304, OnFailureCallback_304)); + this, OnSuccessCallback_307, OnFailureCallback_307)); return CHIP_NO_ERROR; } - void OnFailureResponse_304(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_307(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_304(const chip::app::DataModel::Nullable & nullableFloatSingle) + void OnSuccessResponse_307(const chip::app::DataModel::Nullable & nullableFloatSingle) { VerifyOrReturn(CheckValueNonNull("nullableFloatSingle", nullableFloatSingle)); VerifyOrReturn(CheckValue("nullableFloatSingle.Value()", nullableFloatSingle.Value(), -INFINITY)); @@ -47227,7 +47468,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSingleNullValue_305() + CHIP_ERROR TestWriteAttributeNullableSingleNullValue_308() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -47237,66 +47478,67 @@ class TestCluster : public TestCommand nullableFloatSingleArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatSingleArgument, this, OnSuccessCallback_305, OnFailureCallback_305)); + nullableFloatSingleArgument, this, OnSuccessCallback_308, OnFailureCallback_308)); return CHIP_NO_ERROR; } - void OnFailureResponse_305(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_308(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_305() { NextTest(); } + void OnSuccessResponse_308() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSingleNullValue_306() + CHIP_ERROR TestReadAttributeNullableSingleNullValue_309() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_306, OnFailureCallback_306)); + this, OnSuccessCallback_309, OnFailureCallback_309)); return CHIP_NO_ERROR; } - void OnFailureResponse_306(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_309(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_306(const chip::app::DataModel::Nullable & nullableFloatSingle) + void OnSuccessResponse_309(const chip::app::DataModel::Nullable & nullableFloatSingle) { VerifyOrReturn(CheckValueNull("nullableFloatSingle", nullableFloatSingle)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSingle0Value_307() + CHIP_ERROR TestWriteAttributeNullableSingle0Value_310() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatSingleArgument; - nullableFloatSingleArgument.SetNonNull() = 0.0f; + nullableFloatSingleArgument.SetNonNull(); + nullableFloatSingleArgument.Value() = 0.0f; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatSingleArgument, this, OnSuccessCallback_307, OnFailureCallback_307)); + nullableFloatSingleArgument, this, OnSuccessCallback_310, OnFailureCallback_310)); return CHIP_NO_ERROR; } - void OnFailureResponse_307(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_310(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_307() { NextTest(); } + void OnSuccessResponse_310() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSingle0Value_308() + CHIP_ERROR TestReadAttributeNullableSingle0Value_311() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_308, OnFailureCallback_308)); + this, OnSuccessCallback_311, OnFailureCallback_311)); return CHIP_NO_ERROR; } - void OnFailureResponse_308(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_311(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_308(const chip::app::DataModel::Nullable & nullableFloatSingle) + void OnSuccessResponse_311(const chip::app::DataModel::Nullable & nullableFloatSingle) { VerifyOrReturn(CheckValueNonNull("nullableFloatSingle", nullableFloatSingle)); VerifyOrReturn(CheckValue("nullableFloatSingle.Value()", nullableFloatSingle.Value(), 0.0f)); @@ -47304,38 +47546,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableDoubleMediumValue_309() + CHIP_ERROR TestWriteAttributeNullableDoubleMediumValue_312() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatDoubleArgument; - nullableFloatDoubleArgument.SetNonNull() = 0.1234567890123; + nullableFloatDoubleArgument.SetNonNull(); + nullableFloatDoubleArgument.Value() = 0.1234567890123; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatDoubleArgument, this, OnSuccessCallback_309, OnFailureCallback_309)); + nullableFloatDoubleArgument, this, OnSuccessCallback_312, OnFailureCallback_312)); return CHIP_NO_ERROR; } - void OnFailureResponse_309(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_312(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_309() { NextTest(); } + void OnSuccessResponse_312() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableDoubleMediumValue_310() + CHIP_ERROR TestReadAttributeNullableDoubleMediumValue_313() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_310, OnFailureCallback_310)); + this, OnSuccessCallback_313, OnFailureCallback_313)); return CHIP_NO_ERROR; } - void OnFailureResponse_310(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_313(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_310(const chip::app::DataModel::Nullable & nullableFloatDouble) + void OnSuccessResponse_313(const chip::app::DataModel::Nullable & nullableFloatDouble) { VerifyOrReturn(CheckValueNonNull("nullableFloatDouble", nullableFloatDouble)); VerifyOrReturn(CheckValue("nullableFloatDouble.Value()", nullableFloatDouble.Value(), 0.1234567890123)); @@ -47343,38 +47586,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableDoubleLargestValue_311() + CHIP_ERROR TestWriteAttributeNullableDoubleLargestValue_314() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatDoubleArgument; - nullableFloatDoubleArgument.SetNonNull() = INFINITY; + nullableFloatDoubleArgument.SetNonNull(); + nullableFloatDoubleArgument.Value() = INFINITY; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatDoubleArgument, this, OnSuccessCallback_311, OnFailureCallback_311)); + nullableFloatDoubleArgument, this, OnSuccessCallback_314, OnFailureCallback_314)); return CHIP_NO_ERROR; } - void OnFailureResponse_311(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_314(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_311() { NextTest(); } + void OnSuccessResponse_314() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableDoubleLargestValue_312() + CHIP_ERROR TestReadAttributeNullableDoubleLargestValue_315() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_312, OnFailureCallback_312)); + this, OnSuccessCallback_315, OnFailureCallback_315)); return CHIP_NO_ERROR; } - void OnFailureResponse_312(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_315(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_312(const chip::app::DataModel::Nullable & nullableFloatDouble) + void OnSuccessResponse_315(const chip::app::DataModel::Nullable & nullableFloatDouble) { VerifyOrReturn(CheckValueNonNull("nullableFloatDouble", nullableFloatDouble)); VerifyOrReturn(CheckValue("nullableFloatDouble.Value()", nullableFloatDouble.Value(), INFINITY)); @@ -47382,38 +47626,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableDoubleSmallestValue_313() + CHIP_ERROR TestWriteAttributeNullableDoubleSmallestValue_316() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatDoubleArgument; - nullableFloatDoubleArgument.SetNonNull() = -INFINITY; + nullableFloatDoubleArgument.SetNonNull(); + nullableFloatDoubleArgument.Value() = -INFINITY; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatDoubleArgument, this, OnSuccessCallback_313, OnFailureCallback_313)); + nullableFloatDoubleArgument, this, OnSuccessCallback_316, OnFailureCallback_316)); return CHIP_NO_ERROR; } - void OnFailureResponse_313(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_316(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_313() { NextTest(); } + void OnSuccessResponse_316() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableDoubleSmallestValue_314() + CHIP_ERROR TestReadAttributeNullableDoubleSmallestValue_317() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_314, OnFailureCallback_314)); + this, OnSuccessCallback_317, OnFailureCallback_317)); return CHIP_NO_ERROR; } - void OnFailureResponse_314(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_317(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_314(const chip::app::DataModel::Nullable & nullableFloatDouble) + void OnSuccessResponse_317(const chip::app::DataModel::Nullable & nullableFloatDouble) { VerifyOrReturn(CheckValueNonNull("nullableFloatDouble", nullableFloatDouble)); VerifyOrReturn(CheckValue("nullableFloatDouble.Value()", nullableFloatDouble.Value(), -INFINITY)); @@ -47421,7 +47666,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableDoubleNullValue_315() + CHIP_ERROR TestWriteAttributeNullableDoubleNullValue_318() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -47431,66 +47676,67 @@ class TestCluster : public TestCommand nullableFloatDoubleArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatDoubleArgument, this, OnSuccessCallback_315, OnFailureCallback_315)); + nullableFloatDoubleArgument, this, OnSuccessCallback_318, OnFailureCallback_318)); return CHIP_NO_ERROR; } - void OnFailureResponse_315(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_318(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_315() { NextTest(); } + void OnSuccessResponse_318() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableDoubleNullValue_316() + CHIP_ERROR TestReadAttributeNullableDoubleNullValue_319() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_316, OnFailureCallback_316)); + this, OnSuccessCallback_319, OnFailureCallback_319)); return CHIP_NO_ERROR; } - void OnFailureResponse_316(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_319(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_316(const chip::app::DataModel::Nullable & nullableFloatDouble) + void OnSuccessResponse_319(const chip::app::DataModel::Nullable & nullableFloatDouble) { VerifyOrReturn(CheckValueNull("nullableFloatDouble", nullableFloatDouble)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableDouble0Value_317() + CHIP_ERROR TestWriteAttributeNullableDouble0Value_320() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableFloatDoubleArgument; - nullableFloatDoubleArgument.SetNonNull() = 0; + nullableFloatDoubleArgument.SetNonNull(); + nullableFloatDoubleArgument.Value() = 0; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableFloatDoubleArgument, this, OnSuccessCallback_317, OnFailureCallback_317)); + nullableFloatDoubleArgument, this, OnSuccessCallback_320, OnFailureCallback_320)); return CHIP_NO_ERROR; } - void OnFailureResponse_317(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_320(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_317() { NextTest(); } + void OnSuccessResponse_320() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableDouble0Value_318() + CHIP_ERROR TestReadAttributeNullableDouble0Value_321() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_318, OnFailureCallback_318)); + this, OnSuccessCallback_321, OnFailureCallback_321)); return CHIP_NO_ERROR; } - void OnFailureResponse_318(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_321(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_318(const chip::app::DataModel::Nullable & nullableFloatDouble) + void OnSuccessResponse_321(const chip::app::DataModel::Nullable & nullableFloatDouble) { VerifyOrReturn(CheckValueNonNull("nullableFloatDouble", nullableFloatDouble)); VerifyOrReturn(CheckValue("nullableFloatDouble.Value()", nullableFloatDouble.Value(), 0)); @@ -47498,38 +47744,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8MinValue_319() + CHIP_ERROR TestWriteAttributeNullableEnum8MinValue_322() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnum8Argument; - nullableEnum8Argument.SetNonNull() = 0; + nullableEnum8Argument.SetNonNull(); + nullableEnum8Argument.Value() = 0; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_319, OnFailureCallback_319)); + nullableEnum8Argument, this, OnSuccessCallback_322, OnFailureCallback_322)); return CHIP_NO_ERROR; } - void OnFailureResponse_319(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_322(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_319() { NextTest(); } + void OnSuccessResponse_322() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum8MinValue_320() + CHIP_ERROR TestReadAttributeNullableEnum8MinValue_323() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_320, OnFailureCallback_320)); + this, OnSuccessCallback_323, OnFailureCallback_323)); return CHIP_NO_ERROR; } - void OnFailureResponse_320(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_323(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_320(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_323(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNonNull("nullableEnum8", nullableEnum8)); VerifyOrReturn(CheckValue("nullableEnum8.Value()", nullableEnum8.Value(), 0)); @@ -47537,38 +47784,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8MaxValue_321() + CHIP_ERROR TestWriteAttributeNullableEnum8MaxValue_324() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnum8Argument; - nullableEnum8Argument.SetNonNull() = 254; + nullableEnum8Argument.SetNonNull(); + nullableEnum8Argument.Value() = 254; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_321, OnFailureCallback_321)); + nullableEnum8Argument, this, OnSuccessCallback_324, OnFailureCallback_324)); return CHIP_NO_ERROR; } - void OnFailureResponse_321(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_324(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_321() { NextTest(); } + void OnSuccessResponse_324() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum8MaxValue_322() + CHIP_ERROR TestReadAttributeNullableEnum8MaxValue_325() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_322, OnFailureCallback_322)); + this, OnSuccessCallback_325, OnFailureCallback_325)); return CHIP_NO_ERROR; } - void OnFailureResponse_322(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_325(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_322(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_325(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNonNull("nullableEnum8", nullableEnum8)); VerifyOrReturn(CheckValue("nullableEnum8.Value()", nullableEnum8.Value(), 254)); @@ -47576,42 +47824,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8InvalidValue_323() + CHIP_ERROR TestWriteAttributeNullableEnum8InvalidValue_326() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnum8Argument; - nullableEnum8Argument.SetNonNull() = 255; + nullableEnum8Argument.SetNonNull(); + nullableEnum8Argument.Value() = 255; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_323, OnFailureCallback_323)); + nullableEnum8Argument, this, OnSuccessCallback_326, OnFailureCallback_326)); return CHIP_NO_ERROR; } - void OnFailureResponse_323(EmberAfStatus status) + void OnFailureResponse_326(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_323() { ThrowSuccessResponse(); } + void OnSuccessResponse_326() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableEnum8UnchangedValue_324() + CHIP_ERROR TestReadAttributeNullableEnum8UnchangedValue_327() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_324, OnFailureCallback_324)); + this, OnSuccessCallback_327, OnFailureCallback_327)); return CHIP_NO_ERROR; } - void OnFailureResponse_324(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_327(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_324(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_327(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNonNull("nullableEnum8", nullableEnum8)); VerifyOrReturn(CheckValue("nullableEnum8.Value()", nullableEnum8.Value(), 254)); @@ -47619,7 +47868,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8NullValue_325() + CHIP_ERROR TestWriteAttributeNullableEnum8NullValue_328() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -47629,66 +47878,67 @@ class TestCluster : public TestCommand nullableEnum8Argument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_325, OnFailureCallback_325)); + nullableEnum8Argument, this, OnSuccessCallback_328, OnFailureCallback_328)); return CHIP_NO_ERROR; } - void OnFailureResponse_325(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_328(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_325() { NextTest(); } + void OnSuccessResponse_328() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum8NullValue_326() + CHIP_ERROR TestReadAttributeNullableEnum8NullValue_329() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_326, OnFailureCallback_326)); + this, OnSuccessCallback_329, OnFailureCallback_329)); return CHIP_NO_ERROR; } - void OnFailureResponse_326(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_329(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_326(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_329(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNull("nullableEnum8", nullableEnum8)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16MinValue_327() + CHIP_ERROR TestWriteAttributeNullableEnum16MinValue_330() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnum16Argument; - nullableEnum16Argument.SetNonNull() = 0U; + nullableEnum16Argument.SetNonNull(); + nullableEnum16Argument.Value() = 0U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_327, OnFailureCallback_327)); + nullableEnum16Argument, this, OnSuccessCallback_330, OnFailureCallback_330)); return CHIP_NO_ERROR; } - void OnFailureResponse_327(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_330(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_327() { NextTest(); } + void OnSuccessResponse_330() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum16MinValue_328() + CHIP_ERROR TestReadAttributeNullableEnum16MinValue_331() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_328, OnFailureCallback_328)); + this, OnSuccessCallback_331, OnFailureCallback_331)); return CHIP_NO_ERROR; } - void OnFailureResponse_328(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_331(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_328(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_331(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNonNull("nullableEnum16", nullableEnum16)); VerifyOrReturn(CheckValue("nullableEnum16.Value()", nullableEnum16.Value(), 0U)); @@ -47696,38 +47946,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16MaxValue_329() + CHIP_ERROR TestWriteAttributeNullableEnum16MaxValue_332() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnum16Argument; - nullableEnum16Argument.SetNonNull() = 65534U; + nullableEnum16Argument.SetNonNull(); + nullableEnum16Argument.Value() = 65534U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_329, OnFailureCallback_329)); + nullableEnum16Argument, this, OnSuccessCallback_332, OnFailureCallback_332)); return CHIP_NO_ERROR; } - void OnFailureResponse_329(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_332(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_329() { NextTest(); } + void OnSuccessResponse_332() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum16MaxValue_330() + CHIP_ERROR TestReadAttributeNullableEnum16MaxValue_333() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_330, OnFailureCallback_330)); + this, OnSuccessCallback_333, OnFailureCallback_333)); return CHIP_NO_ERROR; } - void OnFailureResponse_330(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_333(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_330(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_333(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNonNull("nullableEnum16", nullableEnum16)); VerifyOrReturn(CheckValue("nullableEnum16.Value()", nullableEnum16.Value(), 65534U)); @@ -47735,42 +47986,43 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16InvalidValue_331() + CHIP_ERROR TestWriteAttributeNullableEnum16InvalidValue_334() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnum16Argument; - nullableEnum16Argument.SetNonNull() = 65535U; + nullableEnum16Argument.SetNonNull(); + nullableEnum16Argument.Value() = 65535U; ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_331, OnFailureCallback_331)); + nullableEnum16Argument, this, OnSuccessCallback_334, OnFailureCallback_334)); return CHIP_NO_ERROR; } - void OnFailureResponse_331(EmberAfStatus status) + void OnFailureResponse_334(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_331() { ThrowSuccessResponse(); } + void OnSuccessResponse_334() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableEnum16UnchangedValue_332() + CHIP_ERROR TestReadAttributeNullableEnum16UnchangedValue_335() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_332, OnFailureCallback_332)); + this, OnSuccessCallback_335, OnFailureCallback_335)); return CHIP_NO_ERROR; } - void OnFailureResponse_332(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_335(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_332(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_335(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNonNull("nullableEnum16", nullableEnum16)); VerifyOrReturn(CheckValue("nullableEnum16.Value()", nullableEnum16.Value(), 65534U)); @@ -47778,7 +48030,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16NullValue_333() + CHIP_ERROR TestWriteAttributeNullableEnum16NullValue_336() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -47788,67 +48040,68 @@ class TestCluster : public TestCommand nullableEnum16Argument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_333, OnFailureCallback_333)); + nullableEnum16Argument, this, OnSuccessCallback_336, OnFailureCallback_336)); return CHIP_NO_ERROR; } - void OnFailureResponse_333(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_336(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_333() { NextTest(); } + void OnSuccessResponse_336() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum16NullValue_334() + CHIP_ERROR TestReadAttributeNullableEnum16NullValue_337() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_334, OnFailureCallback_334)); + this, OnSuccessCallback_337, OnFailureCallback_337)); return CHIP_NO_ERROR; } - void OnFailureResponse_334(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_337(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_334(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_337(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNull("nullableEnum16", nullableEnum16)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSimpleEnumMinValue_335() + CHIP_ERROR TestWriteAttributeNullableSimpleEnumMinValue_338() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnumAttrArgument; - nullableEnumAttrArgument.SetNonNull() = static_cast(0); + nullableEnumAttrArgument.SetNonNull(); + nullableEnumAttrArgument.Value() = static_cast(0); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnumAttrArgument, this, OnSuccessCallback_335, OnFailureCallback_335)); + nullableEnumAttrArgument, this, OnSuccessCallback_338, OnFailureCallback_338)); return CHIP_NO_ERROR; } - void OnFailureResponse_335(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_338(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_335() { NextTest(); } + void OnSuccessResponse_338() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSimpleEnumMinValue_336() + CHIP_ERROR TestReadAttributeNullableSimpleEnumMinValue_339() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_336, OnFailureCallback_336)); + this, OnSuccessCallback_339, OnFailureCallback_339)); return CHIP_NO_ERROR; } - void OnFailureResponse_336(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_339(EmberAfStatus status) { ThrowFailureResponse(); } void - OnSuccessResponse_336(const chip::app::DataModel::Nullable & nullableEnumAttr) + OnSuccessResponse_339(const chip::app::DataModel::Nullable & nullableEnumAttr) { VerifyOrReturn(CheckValueNonNull("nullableEnumAttr", nullableEnumAttr)); VerifyOrReturn(CheckValue("nullableEnumAttr.Value()", nullableEnumAttr.Value(), 0)); @@ -47856,39 +48109,40 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSimpleEnumMaxValue_337() + CHIP_ERROR TestWriteAttributeNullableSimpleEnumMaxValue_340() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnumAttrArgument; - nullableEnumAttrArgument.SetNonNull() = static_cast(254); + nullableEnumAttrArgument.SetNonNull(); + nullableEnumAttrArgument.Value() = static_cast(254); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnumAttrArgument, this, OnSuccessCallback_337, OnFailureCallback_337)); + nullableEnumAttrArgument, this, OnSuccessCallback_340, OnFailureCallback_340)); return CHIP_NO_ERROR; } - void OnFailureResponse_337(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_340(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_337() { NextTest(); } + void OnSuccessResponse_340() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSimpleEnumMaxValue_338() + CHIP_ERROR TestReadAttributeNullableSimpleEnumMaxValue_341() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_338, OnFailureCallback_338)); + this, OnSuccessCallback_341, OnFailureCallback_341)); return CHIP_NO_ERROR; } - void OnFailureResponse_338(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_341(EmberAfStatus status) { ThrowFailureResponse(); } void - OnSuccessResponse_338(const chip::app::DataModel::Nullable & nullableEnumAttr) + OnSuccessResponse_341(const chip::app::DataModel::Nullable & nullableEnumAttr) { VerifyOrReturn(CheckValueNonNull("nullableEnumAttr", nullableEnumAttr)); VerifyOrReturn(CheckValue("nullableEnumAttr.Value()", nullableEnumAttr.Value(), 254)); @@ -47896,43 +48150,44 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSimpleEnumInvalidValue_339() + CHIP_ERROR TestWriteAttributeNullableSimpleEnumInvalidValue_342() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableEnumAttrArgument; - nullableEnumAttrArgument.SetNonNull() = static_cast(255); + nullableEnumAttrArgument.SetNonNull(); + nullableEnumAttrArgument.Value() = static_cast(255); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnumAttrArgument, this, OnSuccessCallback_339, OnFailureCallback_339)); + nullableEnumAttrArgument, this, OnSuccessCallback_342, OnFailureCallback_342)); return CHIP_NO_ERROR; } - void OnFailureResponse_339(EmberAfStatus status) + void OnFailureResponse_342(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_339() { ThrowSuccessResponse(); } + void OnSuccessResponse_342() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableSimpleEnumUnchangedValue_340() + CHIP_ERROR TestReadAttributeNullableSimpleEnumUnchangedValue_343() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_340, OnFailureCallback_340)); + this, OnSuccessCallback_343, OnFailureCallback_343)); return CHIP_NO_ERROR; } - void OnFailureResponse_340(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_343(EmberAfStatus status) { ThrowFailureResponse(); } void - OnSuccessResponse_340(const chip::app::DataModel::Nullable & nullableEnumAttr) + OnSuccessResponse_343(const chip::app::DataModel::Nullable & nullableEnumAttr) { VerifyOrReturn(CheckValueNonNull("nullableEnumAttr", nullableEnumAttr)); VerifyOrReturn(CheckValue("nullableEnumAttr.Value()", nullableEnumAttr.Value(), 254)); @@ -47940,7 +48195,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableSimpleEnumNullValue_341() + CHIP_ERROR TestWriteAttributeNullableSimpleEnumNullValue_344() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -47950,49 +48205,49 @@ class TestCluster : public TestCommand nullableEnumAttrArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableEnumAttrArgument, this, OnSuccessCallback_341, OnFailureCallback_341)); + nullableEnumAttrArgument, this, OnSuccessCallback_344, OnFailureCallback_344)); return CHIP_NO_ERROR; } - void OnFailureResponse_341(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_344(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_341() { NextTest(); } + void OnSuccessResponse_344() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableSimpleEnumNullValue_342() + CHIP_ERROR TestReadAttributeNullableSimpleEnumNullValue_345() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_342, OnFailureCallback_342)); + this, OnSuccessCallback_345, OnFailureCallback_345)); return CHIP_NO_ERROR; } - void OnFailureResponse_342(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_345(EmberAfStatus status) { ThrowFailureResponse(); } void - OnSuccessResponse_342(const chip::app::DataModel::Nullable & nullableEnumAttr) + OnSuccessResponse_345(const chip::app::DataModel::Nullable & nullableEnumAttr) { VerifyOrReturn(CheckValueNull("nullableEnumAttr", nullableEnumAttr)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetStringDefaultValue_343() + CHIP_ERROR TestReadAttributeNullableOctetStringDefaultValue_346() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_343, OnFailureCallback_343)); + this, OnSuccessCallback_346, OnFailureCallback_346)); return CHIP_NO_ERROR; } - void OnFailureResponse_343(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_346(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_343(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_346(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNonNull("nullableOctetString", nullableOctetString)); VerifyOrReturn(CheckValueAsString("nullableOctetString.Value()", nullableOctetString.Value(), @@ -48001,39 +48256,40 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableOctetString_344() + CHIP_ERROR TestWriteAttributeNullableOctetString_347() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableOctetStringArgument; - nullableOctetStringArgument.SetNonNull() = + nullableOctetStringArgument.SetNonNull(); + nullableOctetStringArgument.Value() = chip::ByteSpan(chip::Uint8::from_const_char("TestValuegarbage: not in length on purpose"), 9); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableOctetStringArgument, this, OnSuccessCallback_344, OnFailureCallback_344)); + nullableOctetStringArgument, this, OnSuccessCallback_347, OnFailureCallback_347)); return CHIP_NO_ERROR; } - void OnFailureResponse_344(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_347(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_344() { NextTest(); } + void OnSuccessResponse_347() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetString_345() + CHIP_ERROR TestReadAttributeNullableOctetString_348() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_345, OnFailureCallback_345)); + this, OnSuccessCallback_348, OnFailureCallback_348)); return CHIP_NO_ERROR; } - void OnFailureResponse_345(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_348(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_345(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_348(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNonNull("nullableOctetString", nullableOctetString)); VerifyOrReturn(CheckValueAsString("nullableOctetString.Value()", nullableOctetString.Value(), @@ -48042,7 +48298,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableOctetString_346() + CHIP_ERROR TestWriteAttributeNullableOctetString_349() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48052,67 +48308,67 @@ class TestCluster : public TestCommand nullableOctetStringArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableOctetStringArgument, this, OnSuccessCallback_346, OnFailureCallback_346)); + nullableOctetStringArgument, this, OnSuccessCallback_349, OnFailureCallback_349)); return CHIP_NO_ERROR; } - void OnFailureResponse_346(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_349(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_346() { NextTest(); } + void OnSuccessResponse_349() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetString_347() + CHIP_ERROR TestReadAttributeNullableOctetString_350() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_347, OnFailureCallback_347)); + this, OnSuccessCallback_350, OnFailureCallback_350)); return CHIP_NO_ERROR; } - void OnFailureResponse_347(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_350(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_347(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_350(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNull("nullableOctetString", nullableOctetString)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableOctetString_348() + CHIP_ERROR TestWriteAttributeNullableOctetString_351() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableOctetStringArgument; - nullableOctetStringArgument.SetNonNull() = - chip::ByteSpan(chip::Uint8::from_const_char("garbage: not in length on purpose"), 0); + nullableOctetStringArgument.SetNonNull(); + nullableOctetStringArgument.Value() = chip::ByteSpan(chip::Uint8::from_const_char("garbage: not in length on purpose"), 0); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableOctetStringArgument, this, OnSuccessCallback_348, OnFailureCallback_348)); + nullableOctetStringArgument, this, OnSuccessCallback_351, OnFailureCallback_351)); return CHIP_NO_ERROR; } - void OnFailureResponse_348(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_351(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_348() { NextTest(); } + void OnSuccessResponse_351() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetString_349() + CHIP_ERROR TestReadAttributeNullableOctetString_352() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_349, OnFailureCallback_349)); + this, OnSuccessCallback_352, OnFailureCallback_352)); return CHIP_NO_ERROR; } - void OnFailureResponse_349(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_352(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_349(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_352(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNonNull("nullableOctetString", nullableOctetString)); VerifyOrReturn(CheckValueAsString("nullableOctetString.Value()", nullableOctetString.Value(), @@ -48121,20 +48377,20 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharStringDefaultValue_350() + CHIP_ERROR TestReadAttributeNullableCharStringDefaultValue_353() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_350, OnFailureCallback_350)); + this, OnSuccessCallback_353, OnFailureCallback_353)); return CHIP_NO_ERROR; } - void OnFailureResponse_350(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_353(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_350(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_353(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNonNull("nullableCharString", nullableCharString)); VerifyOrReturn(CheckValueAsString("nullableCharString.Value()", nullableCharString.Value(), chip::CharSpan("", 0))); @@ -48142,38 +48398,39 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableCharString_351() + CHIP_ERROR TestWriteAttributeNullableCharString_354() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableCharStringArgument; - nullableCharStringArgument.SetNonNull() = chip::Span("☉T☉garbage: not in length on purpose", 7); + nullableCharStringArgument.SetNonNull(); + nullableCharStringArgument.Value() = chip::Span("☉T☉garbage: not in length on purpose", 7); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableCharStringArgument, this, OnSuccessCallback_351, OnFailureCallback_351)); + nullableCharStringArgument, this, OnSuccessCallback_354, OnFailureCallback_354)); return CHIP_NO_ERROR; } - void OnFailureResponse_351(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_354(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_351() { NextTest(); } + void OnSuccessResponse_354() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharString_352() + CHIP_ERROR TestReadAttributeNullableCharString_355() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_352, OnFailureCallback_352)); + this, OnSuccessCallback_355, OnFailureCallback_355)); return CHIP_NO_ERROR; } - void OnFailureResponse_352(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_355(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_352(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_355(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNonNull("nullableCharString", nullableCharString)); VerifyOrReturn(CheckValueAsString("nullableCharString.Value()", nullableCharString.Value(), chip::CharSpan("☉T☉", 7))); @@ -48181,7 +48438,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableCharStringValueTooLong_353() + CHIP_ERROR TestWriteAttributeNullableCharStringValueTooLong_356() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48191,66 +48448,67 @@ class TestCluster : public TestCommand nullableCharStringArgument.SetNull(); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableCharStringArgument, this, OnSuccessCallback_353, OnFailureCallback_353)); + nullableCharStringArgument, this, OnSuccessCallback_356, OnFailureCallback_356)); return CHIP_NO_ERROR; } - void OnFailureResponse_353(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_356(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_353() { NextTest(); } + void OnSuccessResponse_356() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharString_354() + CHIP_ERROR TestReadAttributeNullableCharString_357() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_354, OnFailureCallback_354)); + this, OnSuccessCallback_357, OnFailureCallback_357)); return CHIP_NO_ERROR; } - void OnFailureResponse_354(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_357(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_354(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_357(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNull("nullableCharString", nullableCharString)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableCharStringEmpty_355() + CHIP_ERROR TestWriteAttributeNullableCharStringEmpty_358() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableCharStringArgument; - nullableCharStringArgument.SetNonNull() = chip::Span("garbage: not in length on purpose", 0); + nullableCharStringArgument.SetNonNull(); + nullableCharStringArgument.Value() = chip::Span("garbage: not in length on purpose", 0); ReturnErrorOnFailure(cluster.WriteAttribute( - nullableCharStringArgument, this, OnSuccessCallback_355, OnFailureCallback_355)); + nullableCharStringArgument, this, OnSuccessCallback_358, OnFailureCallback_358)); return CHIP_NO_ERROR; } - void OnFailureResponse_355(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_358(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_355() { NextTest(); } + void OnSuccessResponse_358() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharString_356() + CHIP_ERROR TestReadAttributeNullableCharString_359() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_356, OnFailureCallback_356)); + this, OnSuccessCallback_359, OnFailureCallback_359)); return CHIP_NO_ERROR; } - void OnFailureResponse_356(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_359(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_356(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_359(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNonNull("nullableCharString", nullableCharString)); VerifyOrReturn(CheckValueAsString("nullableCharString.Value()", nullableCharString.Value(), chip::CharSpan("", 0))); @@ -48258,45 +48516,45 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestReadAttributeFromNonexistentEndpoint_357() + CHIP_ERROR TestReadAttributeFromNonexistentEndpoint_360() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 200; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_357, OnFailureCallback_357)); + this, OnSuccessCallback_360, OnFailureCallback_360)); return CHIP_NO_ERROR; } - void OnFailureResponse_357(EmberAfStatus status) + void OnFailureResponse_360(EmberAfStatus status) { VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); NextTest(); } - void OnSuccessResponse_357(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } + void OnSuccessResponse_360(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeFromNonexistentCluster_358() + CHIP_ERROR TestReadAttributeFromNonexistentCluster_361() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 0; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_358, OnFailureCallback_358)); + this, OnSuccessCallback_361, OnFailureCallback_361)); return CHIP_NO_ERROR; } - void OnFailureResponse_358(EmberAfStatus status) + void OnFailureResponse_361(EmberAfStatus status) { VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); NextTest(); } - void OnSuccessResponse_358(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } + void OnSuccessResponse_361(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } - CHIP_ERROR TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_359() + CHIP_ERROR TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_362() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestSimpleOptionalArgumentRequest::Type; @@ -48304,78 +48562,81 @@ class TestCluster : public TestCommand RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_359(); + (static_cast(context))->OnSuccessResponse_362(); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_359(status); + (static_cast(context))->OnFailureResponse_362(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_359(EmberAfStatus status) + void OnFailureResponse_362(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_INVALID_VALUE)); NextTest(); } - void OnSuccessResponse_359() { ThrowSuccessResponse(); } + void OnSuccessResponse_362() { ThrowSuccessResponse(); } - CHIP_ERROR TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_360() + CHIP_ERROR TestSendACommandThatTakesAnOptionalParameterButDoNotSetIt_363() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestSimpleOptionalArgumentRequest::Type; RequestType request; - request.arg1.Emplace() = 1; + request.arg1.Emplace(); + request.arg1.Value() = 1; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_360(); + (static_cast(context))->OnSuccessResponse_363(); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_360(status); + (static_cast(context))->OnFailureResponse_363(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_360(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_363(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_360() { NextTest(); } + void OnSuccessResponse_363() { NextTest(); } - CHIP_ERROR TestReportSubscribeToListAttribute_361() + CHIP_ERROR TestReportSubscribeToListAttribute_364() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); - mTest_TestCluster_list_int8u_Reported = OnSuccessCallback_361; + mTest_TestCluster_list_int8u_Reported = OnSuccessCallback_364; return WaitForMs(0); } - void OnFailureResponse_361(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_364(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_361(const chip::app::DataModel::DecodableList & listInt8u) + void OnSuccessResponse_364(const chip::app::DataModel::DecodableList & listInt8u) { - mReceivedReport_361 = true; + mReceivedReport_364 = true; - auto iter = listInt8u.begin(); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 0)); - VerifyOrReturn(CheckValue("listInt8u[0]", iter.GetValue(), 1)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 1)); - VerifyOrReturn(CheckValue("listInt8u[1]", iter.GetValue(), 2)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 2)); - VerifyOrReturn(CheckValue("listInt8u[2]", iter.GetValue(), 3)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 3)); - VerifyOrReturn(CheckValue("listInt8u[3]", iter.GetValue(), 4)); - VerifyOrReturn(CheckNoMoreListItems("listInt8u", iter, 4)); + { + auto iter_0 = listInt8u.begin(); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 0)); + VerifyOrReturn(CheckValue("listInt8u[0]", iter_0.GetValue(), 1)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 1)); + VerifyOrReturn(CheckValue("listInt8u[1]", iter_0.GetValue(), 2)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 2)); + VerifyOrReturn(CheckValue("listInt8u[2]", iter_0.GetValue(), 3)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 3)); + VerifyOrReturn(CheckValue("listInt8u[3]", iter_0.GetValue(), 4)); + VerifyOrReturn(CheckNoMoreListItems("listInt8u", iter_0, 4)); + } } - CHIP_ERROR TestSubscribeToListAttribute_362() + CHIP_ERROR TestSubscribeToListAttribute_365() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48387,14 +48648,14 @@ class TestCluster : public TestCommand maxIntervalArgument = 10U; ReturnErrorOnFailure(cluster.SubscribeAttribute( - this, OnSuccessCallback_362, OnFailureCallback_362, minIntervalArgument, maxIntervalArgument, - OnSubscriptionEstablished_362)); + this, OnSuccessCallback_365, OnFailureCallback_365, minIntervalArgument, maxIntervalArgument, + OnSubscriptionEstablished_365)); return CHIP_NO_ERROR; } - void OnFailureResponse_362(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_365(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_362(const chip::app::DataModel::DecodableList & value) + void OnSuccessResponse_365(const chip::app::DataModel::DecodableList & value) { if (mTest_TestCluster_list_int8u_Reported) { @@ -48404,13 +48665,13 @@ class TestCluster : public TestCommand } } - void OnSubscriptionEstablishedResponse_362() + void OnSubscriptionEstablishedResponse_365() { - VerifyOrReturn(mReceivedReport_361, Exit("Initial report not received!")); + VerifyOrReturn(mReceivedReport_364, Exit("Initial report not received!")); NextTest(); } - CHIP_ERROR TestWriteSubscribedToListAttribute_363() + CHIP_ERROR TestWriteSubscribedToListAttribute_366() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48418,73 +48679,75 @@ class TestCluster : public TestCommand chip::app::DataModel::List listInt8uArgument; - uint8_t listInt8uList[4]; - listInt8uList[0] = 5; - listInt8uList[1] = 6; - listInt8uList[2] = 7; - listInt8uList[3] = 8; - listInt8uArgument = listInt8uList; + uint8_t listInt8uList_0[4]; + listInt8uList_0[0] = 5; + listInt8uList_0[1] = 6; + listInt8uList_0[2] = 7; + listInt8uList_0[3] = 8; + listInt8uArgument = listInt8uList_0; ReturnErrorOnFailure(cluster.WriteAttribute( - listInt8uArgument, this, OnSuccessCallback_363, OnFailureCallback_363)); + listInt8uArgument, this, OnSuccessCallback_366, OnFailureCallback_366)); return CHIP_NO_ERROR; } - void OnFailureResponse_363(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_366(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_363() { NextTest(); } + void OnSuccessResponse_366() { NextTest(); } - CHIP_ERROR TestCheckForListAttributeReport_364() + CHIP_ERROR TestCheckForListAttributeReport_367() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); - mTest_TestCluster_list_int8u_Reported = OnSuccessCallback_364; + mTest_TestCluster_list_int8u_Reported = OnSuccessCallback_367; return CHIP_NO_ERROR; } - void OnFailureResponse_364(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_367(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_364(const chip::app::DataModel::DecodableList & listInt8u) + void OnSuccessResponse_367(const chip::app::DataModel::DecodableList & listInt8u) { - mReceivedReport_364 = true; + mReceivedReport_367 = true; - auto iter = listInt8u.begin(); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 0)); - VerifyOrReturn(CheckValue("listInt8u[0]", iter.GetValue(), 5)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 1)); - VerifyOrReturn(CheckValue("listInt8u[1]", iter.GetValue(), 6)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 2)); - VerifyOrReturn(CheckValue("listInt8u[2]", iter.GetValue(), 7)); - VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 3)); - VerifyOrReturn(CheckValue("listInt8u[3]", iter.GetValue(), 8)); - VerifyOrReturn(CheckNoMoreListItems("listInt8u", iter, 4)); + { + auto iter_0 = listInt8u.begin(); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 0)); + VerifyOrReturn(CheckValue("listInt8u[0]", iter_0.GetValue(), 5)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 1)); + VerifyOrReturn(CheckValue("listInt8u[1]", iter_0.GetValue(), 6)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 2)); + VerifyOrReturn(CheckValue("listInt8u[2]", iter_0.GetValue(), 7)); + VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter_0, 3)); + VerifyOrReturn(CheckValue("listInt8u[3]", iter_0.GetValue(), 8)); + VerifyOrReturn(CheckNoMoreListItems("listInt8u", iter_0, 4)); + } NextTest(); } - CHIP_ERROR TestReadRangeRestrictedUnsigned8BitInteger_365() + CHIP_ERROR TestReadRangeRestrictedUnsigned8BitInteger_368() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_365, OnFailureCallback_365)); + this, OnSuccessCallback_368, OnFailureCallback_368)); return CHIP_NO_ERROR; } - void OnFailureResponse_365(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_368(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_365(uint8_t rangeRestrictedInt8u) + void OnSuccessResponse_368(uint8_t rangeRestrictedInt8u) { VerifyOrReturn(CheckValue("rangeRestrictedInt8u", rangeRestrictedInt8u, 70)); NextTest(); } - CHIP_ERROR TestWriteMinValueToARangeRestrictedUnsigned8BitInteger_366() + CHIP_ERROR TestWriteMinValueToARangeRestrictedUnsigned8BitInteger_369() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48494,19 +48757,19 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 0; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_366, OnFailureCallback_366)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_369, OnFailureCallback_369)); return CHIP_NO_ERROR; } - void OnFailureResponse_366(EmberAfStatus status) + void OnFailureResponse_369(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_366() { ThrowSuccessResponse(); } + void OnSuccessResponse_369() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedUnsigned8BitInteger_367() + CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedUnsigned8BitInteger_370() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48516,19 +48779,19 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 19; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_367, OnFailureCallback_367)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_370, OnFailureCallback_370)); return CHIP_NO_ERROR; } - void OnFailureResponse_367(EmberAfStatus status) + void OnFailureResponse_370(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_367() { ThrowSuccessResponse(); } + void OnSuccessResponse_370() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedUnsigned8BitInteger_368() + CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedUnsigned8BitInteger_371() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48538,19 +48801,19 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 101; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_368, OnFailureCallback_368)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_371, OnFailureCallback_371)); return CHIP_NO_ERROR; } - void OnFailureResponse_368(EmberAfStatus status) + void OnFailureResponse_371(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_368() { ThrowSuccessResponse(); } + void OnSuccessResponse_371() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToARangeRestrictedUnsigned8BitInteger_369() + CHIP_ERROR TestWriteMaxValueToARangeRestrictedUnsigned8BitInteger_372() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48560,39 +48823,39 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 255; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_369, OnFailureCallback_369)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_372, OnFailureCallback_372)); return CHIP_NO_ERROR; } - void OnFailureResponse_369(EmberAfStatus status) + void OnFailureResponse_372(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_369() { ThrowSuccessResponse(); } + void OnSuccessResponse_372() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_370() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_373() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_370, OnFailureCallback_370)); + this, OnSuccessCallback_373, OnFailureCallback_373)); return CHIP_NO_ERROR; } - void OnFailureResponse_370(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_373(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_370(uint8_t rangeRestrictedInt8u) + void OnSuccessResponse_373(uint8_t rangeRestrictedInt8u) { VerifyOrReturn(CheckValue("rangeRestrictedInt8u", rangeRestrictedInt8u, 70)); NextTest(); } - CHIP_ERROR TestWriteMinValidValueToARangeRestrictedUnsigned8BitInteger_371() + CHIP_ERROR TestWriteMinValidValueToARangeRestrictedUnsigned8BitInteger_374() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48602,35 +48865,35 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 20; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_371, OnFailureCallback_371)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_374, OnFailureCallback_374)); return CHIP_NO_ERROR; } - void OnFailureResponse_371(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_374(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_371() { NextTest(); } + void OnSuccessResponse_374() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_372() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_375() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_372, OnFailureCallback_372)); + this, OnSuccessCallback_375, OnFailureCallback_375)); return CHIP_NO_ERROR; } - void OnFailureResponse_372(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_375(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_372(uint8_t rangeRestrictedInt8u) + void OnSuccessResponse_375(uint8_t rangeRestrictedInt8u) { VerifyOrReturn(CheckValue("rangeRestrictedInt8u", rangeRestrictedInt8u, 20)); NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedUnsigned8BitInteger_373() + CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedUnsigned8BitInteger_376() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48640,35 +48903,35 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 100; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_373, OnFailureCallback_373)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_376, OnFailureCallback_376)); return CHIP_NO_ERROR; } - void OnFailureResponse_373(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_376(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_373() { NextTest(); } + void OnSuccessResponse_376() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_374() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_377() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_374, OnFailureCallback_374)); + this, OnSuccessCallback_377, OnFailureCallback_377)); return CHIP_NO_ERROR; } - void OnFailureResponse_374(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_377(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_374(uint8_t rangeRestrictedInt8u) + void OnSuccessResponse_377(uint8_t rangeRestrictedInt8u) { VerifyOrReturn(CheckValue("rangeRestrictedInt8u", rangeRestrictedInt8u, 100)); NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedUnsigned8BitInteger_375() + CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedUnsigned8BitInteger_378() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48678,55 +48941,55 @@ class TestCluster : public TestCommand rangeRestrictedInt8uArgument = 50; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8uArgument, this, OnSuccessCallback_375, OnFailureCallback_375)); + rangeRestrictedInt8uArgument, this, OnSuccessCallback_378, OnFailureCallback_378)); return CHIP_NO_ERROR; } - void OnFailureResponse_375(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_378(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_375() { NextTest(); } + void OnSuccessResponse_378() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_376() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_379() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_376, OnFailureCallback_376)); + this, OnSuccessCallback_379, OnFailureCallback_379)); return CHIP_NO_ERROR; } - void OnFailureResponse_376(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_379(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_376(uint8_t rangeRestrictedInt8u) + void OnSuccessResponse_379(uint8_t rangeRestrictedInt8u) { VerifyOrReturn(CheckValue("rangeRestrictedInt8u", rangeRestrictedInt8u, 50)); NextTest(); } - CHIP_ERROR TestReadRangeRestrictedUnsigned16BitInteger_377() + CHIP_ERROR TestReadRangeRestrictedUnsigned16BitInteger_380() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_377, OnFailureCallback_377)); + this, OnSuccessCallback_380, OnFailureCallback_380)); return CHIP_NO_ERROR; } - void OnFailureResponse_377(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_380(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_377(uint16_t rangeRestrictedInt16u) + void OnSuccessResponse_380(uint16_t rangeRestrictedInt16u) { VerifyOrReturn(CheckValue("rangeRestrictedInt16u", rangeRestrictedInt16u, 200U)); NextTest(); } - CHIP_ERROR TestWriteMinValueToARangeRestrictedUnsigned16BitInteger_378() + CHIP_ERROR TestWriteMinValueToARangeRestrictedUnsigned16BitInteger_381() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48736,19 +48999,19 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 0U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_378, OnFailureCallback_378)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_381, OnFailureCallback_381)); return CHIP_NO_ERROR; } - void OnFailureResponse_378(EmberAfStatus status) + void OnFailureResponse_381(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_378() { ThrowSuccessResponse(); } + void OnSuccessResponse_381() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedUnsigned16BitInteger_379() + CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedUnsigned16BitInteger_382() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48758,19 +49021,19 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 99U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_379, OnFailureCallback_379)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_382, OnFailureCallback_382)); return CHIP_NO_ERROR; } - void OnFailureResponse_379(EmberAfStatus status) + void OnFailureResponse_382(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_379() { ThrowSuccessResponse(); } + void OnSuccessResponse_382() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedUnsigned16BitInteger_380() + CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedUnsigned16BitInteger_383() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48780,19 +49043,19 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 1001U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_380, OnFailureCallback_380)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_383, OnFailureCallback_383)); return CHIP_NO_ERROR; } - void OnFailureResponse_380(EmberAfStatus status) + void OnFailureResponse_383(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_380() { ThrowSuccessResponse(); } + void OnSuccessResponse_383() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToARangeRestrictedUnsigned16BitInteger_381() + CHIP_ERROR TestWriteMaxValueToARangeRestrictedUnsigned16BitInteger_384() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48802,39 +49065,39 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 65535U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_381, OnFailureCallback_381)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_384, OnFailureCallback_384)); return CHIP_NO_ERROR; } - void OnFailureResponse_381(EmberAfStatus status) + void OnFailureResponse_384(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_381() { ThrowSuccessResponse(); } + void OnSuccessResponse_384() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_382() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_385() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_382, OnFailureCallback_382)); + this, OnSuccessCallback_385, OnFailureCallback_385)); return CHIP_NO_ERROR; } - void OnFailureResponse_382(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_385(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_382(uint16_t rangeRestrictedInt16u) + void OnSuccessResponse_385(uint16_t rangeRestrictedInt16u) { VerifyOrReturn(CheckValue("rangeRestrictedInt16u", rangeRestrictedInt16u, 200U)); NextTest(); } - CHIP_ERROR TestWriteMinValidValueToARangeRestrictedUnsigned16BitInteger_383() + CHIP_ERROR TestWriteMinValidValueToARangeRestrictedUnsigned16BitInteger_386() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48844,35 +49107,35 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 100U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_383, OnFailureCallback_383)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_386, OnFailureCallback_386)); return CHIP_NO_ERROR; } - void OnFailureResponse_383(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_386(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_383() { NextTest(); } + void OnSuccessResponse_386() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_384() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_387() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_384, OnFailureCallback_384)); + this, OnSuccessCallback_387, OnFailureCallback_387)); return CHIP_NO_ERROR; } - void OnFailureResponse_384(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_387(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_384(uint16_t rangeRestrictedInt16u) + void OnSuccessResponse_387(uint16_t rangeRestrictedInt16u) { VerifyOrReturn(CheckValue("rangeRestrictedInt16u", rangeRestrictedInt16u, 100U)); NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedUnsigned16BitInteger_385() + CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedUnsigned16BitInteger_388() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48882,35 +49145,35 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 1000U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_385, OnFailureCallback_385)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_388, OnFailureCallback_388)); return CHIP_NO_ERROR; } - void OnFailureResponse_385(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_388(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_385() { NextTest(); } + void OnSuccessResponse_388() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_386() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_389() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_386, OnFailureCallback_386)); + this, OnSuccessCallback_389, OnFailureCallback_389)); return CHIP_NO_ERROR; } - void OnFailureResponse_386(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_389(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_386(uint16_t rangeRestrictedInt16u) + void OnSuccessResponse_389(uint16_t rangeRestrictedInt16u) { VerifyOrReturn(CheckValue("rangeRestrictedInt16u", rangeRestrictedInt16u, 1000U)); NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedUnsigned16BitInteger_387() + CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedUnsigned16BitInteger_390() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48920,55 +49183,55 @@ class TestCluster : public TestCommand rangeRestrictedInt16uArgument = 500U; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16uArgument, this, OnSuccessCallback_387, OnFailureCallback_387)); + rangeRestrictedInt16uArgument, this, OnSuccessCallback_390, OnFailureCallback_390)); return CHIP_NO_ERROR; } - void OnFailureResponse_387(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_390(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_387() { NextTest(); } + void OnSuccessResponse_390() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_388() + CHIP_ERROR TestVerifyRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_391() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_388, OnFailureCallback_388)); + this, OnSuccessCallback_391, OnFailureCallback_391)); return CHIP_NO_ERROR; } - void OnFailureResponse_388(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_391(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_388(uint16_t rangeRestrictedInt16u) + void OnSuccessResponse_391(uint16_t rangeRestrictedInt16u) { VerifyOrReturn(CheckValue("rangeRestrictedInt16u", rangeRestrictedInt16u, 500U)); NextTest(); } - CHIP_ERROR TestReadRangeRestrictedSigned8BitInteger_389() + CHIP_ERROR TestReadRangeRestrictedSigned8BitInteger_392() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_389, OnFailureCallback_389)); + this, OnSuccessCallback_392, OnFailureCallback_392)); return CHIP_NO_ERROR; } - void OnFailureResponse_389(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_392(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_389(int8_t rangeRestrictedInt8s) + void OnSuccessResponse_392(int8_t rangeRestrictedInt8s) { VerifyOrReturn(CheckValue("rangeRestrictedInt8s", rangeRestrictedInt8s, -20)); NextTest(); } - CHIP_ERROR TestWriteMinValueToARangeRestrictedSigned8BitInteger_390() + CHIP_ERROR TestWriteMinValueToARangeRestrictedSigned8BitInteger_393() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -48978,19 +49241,19 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = -128; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_390, OnFailureCallback_390)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_393, OnFailureCallback_393)); return CHIP_NO_ERROR; } - void OnFailureResponse_390(EmberAfStatus status) + void OnFailureResponse_393(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_390() { ThrowSuccessResponse(); } + void OnSuccessResponse_393() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedSigned8BitInteger_391() + CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedSigned8BitInteger_394() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49000,19 +49263,19 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = -41; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_391, OnFailureCallback_391)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_394, OnFailureCallback_394)); return CHIP_NO_ERROR; } - void OnFailureResponse_391(EmberAfStatus status) + void OnFailureResponse_394(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_391() { ThrowSuccessResponse(); } + void OnSuccessResponse_394() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedSigned8BitInteger_392() + CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedSigned8BitInteger_395() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49022,19 +49285,19 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = 51; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_392, OnFailureCallback_392)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_395, OnFailureCallback_395)); return CHIP_NO_ERROR; } - void OnFailureResponse_392(EmberAfStatus status) + void OnFailureResponse_395(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_392() { ThrowSuccessResponse(); } + void OnSuccessResponse_395() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToARangeRestrictedSigned8BitInteger_393() + CHIP_ERROR TestWriteMaxValueToARangeRestrictedSigned8BitInteger_396() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49044,39 +49307,39 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = 127; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_393, OnFailureCallback_393)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_396, OnFailureCallback_396)); return CHIP_NO_ERROR; } - void OnFailureResponse_393(EmberAfStatus status) + void OnFailureResponse_396(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_393() { ThrowSuccessResponse(); } + void OnSuccessResponse_396() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueHasNotChanged_394() + CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueHasNotChanged_397() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_394, OnFailureCallback_394)); + this, OnSuccessCallback_397, OnFailureCallback_397)); return CHIP_NO_ERROR; } - void OnFailureResponse_394(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_397(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_394(int8_t rangeRestrictedInt8s) + void OnSuccessResponse_397(int8_t rangeRestrictedInt8s) { VerifyOrReturn(CheckValue("rangeRestrictedInt8s", rangeRestrictedInt8s, -20)); NextTest(); } - CHIP_ERROR TestWriteMinValidValueToARangeRestrictedSigned8BitInteger_395() + CHIP_ERROR TestWriteMinValidValueToARangeRestrictedSigned8BitInteger_398() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49086,35 +49349,35 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = -40; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_395, OnFailureCallback_395)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_398, OnFailureCallback_398)); return CHIP_NO_ERROR; } - void OnFailureResponse_395(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_398(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_395() { NextTest(); } + void OnSuccessResponse_398() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMinValid_396() + CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMinValid_399() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_396, OnFailureCallback_396)); + this, OnSuccessCallback_399, OnFailureCallback_399)); return CHIP_NO_ERROR; } - void OnFailureResponse_396(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_399(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_396(int8_t rangeRestrictedInt8s) + void OnSuccessResponse_399(int8_t rangeRestrictedInt8s) { VerifyOrReturn(CheckValue("rangeRestrictedInt8s", rangeRestrictedInt8s, -40)); NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedSigned8BitInteger_397() + CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedSigned8BitInteger_400() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49124,35 +49387,35 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = 50; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_397, OnFailureCallback_397)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_400, OnFailureCallback_400)); return CHIP_NO_ERROR; } - void OnFailureResponse_397(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_400(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_397() { NextTest(); } + void OnSuccessResponse_400() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_398() + CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_401() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_398, OnFailureCallback_398)); + this, OnSuccessCallback_401, OnFailureCallback_401)); return CHIP_NO_ERROR; } - void OnFailureResponse_398(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_401(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_398(int8_t rangeRestrictedInt8s) + void OnSuccessResponse_401(int8_t rangeRestrictedInt8s) { VerifyOrReturn(CheckValue("rangeRestrictedInt8s", rangeRestrictedInt8s, 50)); NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedSigned8BitInteger_399() + CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedSigned8BitInteger_402() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49162,55 +49425,55 @@ class TestCluster : public TestCommand rangeRestrictedInt8sArgument = 6; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt8sArgument, this, OnSuccessCallback_399, OnFailureCallback_399)); + rangeRestrictedInt8sArgument, this, OnSuccessCallback_402, OnFailureCallback_402)); return CHIP_NO_ERROR; } - void OnFailureResponse_399(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_402(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_399() { NextTest(); } + void OnSuccessResponse_402() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMidValid_400() + CHIP_ERROR TestVerifyRangeRestrictedSigned8BitIntegerValueIsAtMidValid_403() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_400, OnFailureCallback_400)); + this, OnSuccessCallback_403, OnFailureCallback_403)); return CHIP_NO_ERROR; } - void OnFailureResponse_400(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_403(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_400(int8_t rangeRestrictedInt8s) + void OnSuccessResponse_403(int8_t rangeRestrictedInt8s) { VerifyOrReturn(CheckValue("rangeRestrictedInt8s", rangeRestrictedInt8s, 6)); NextTest(); } - CHIP_ERROR TestReadRangeRestrictedSigned16BitInteger_401() + CHIP_ERROR TestReadRangeRestrictedSigned16BitInteger_404() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_401, OnFailureCallback_401)); + this, OnSuccessCallback_404, OnFailureCallback_404)); return CHIP_NO_ERROR; } - void OnFailureResponse_401(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_404(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_401(int16_t rangeRestrictedInt16s) + void OnSuccessResponse_404(int16_t rangeRestrictedInt16s) { VerifyOrReturn(CheckValue("rangeRestrictedInt16s", rangeRestrictedInt16s, -100)); NextTest(); } - CHIP_ERROR TestWriteMinValueToARangeRestrictedSigned16BitInteger_402() + CHIP_ERROR TestWriteMinValueToARangeRestrictedSigned16BitInteger_405() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49220,19 +49483,19 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = -32768; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_402, OnFailureCallback_402)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_405, OnFailureCallback_405)); return CHIP_NO_ERROR; } - void OnFailureResponse_402(EmberAfStatus status) + void OnFailureResponse_405(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_402() { ThrowSuccessResponse(); } + void OnSuccessResponse_405() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedSigned16BitInteger_403() + CHIP_ERROR TestWriteJustBelowRangeValueToARangeRestrictedSigned16BitInteger_406() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49242,19 +49505,19 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = -151; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_403, OnFailureCallback_403)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_406, OnFailureCallback_406)); return CHIP_NO_ERROR; } - void OnFailureResponse_403(EmberAfStatus status) + void OnFailureResponse_406(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_403() { ThrowSuccessResponse(); } + void OnSuccessResponse_406() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedSigned16BitInteger_404() + CHIP_ERROR TestWriteJustAboveRangeValueToARangeRestrictedSigned16BitInteger_407() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49264,19 +49527,19 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = 201; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_404, OnFailureCallback_404)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_407, OnFailureCallback_407)); return CHIP_NO_ERROR; } - void OnFailureResponse_404(EmberAfStatus status) + void OnFailureResponse_407(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_404() { ThrowSuccessResponse(); } + void OnSuccessResponse_407() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToARangeRestrictedSigned16BitInteger_405() + CHIP_ERROR TestWriteMaxValueToARangeRestrictedSigned16BitInteger_408() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49286,39 +49549,39 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = 32767; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_405, OnFailureCallback_405)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_408, OnFailureCallback_408)); return CHIP_NO_ERROR; } - void OnFailureResponse_405(EmberAfStatus status) + void OnFailureResponse_408(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_405() { ThrowSuccessResponse(); } + void OnSuccessResponse_408() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueHasNotChanged_406() + CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueHasNotChanged_409() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_406, OnFailureCallback_406)); + this, OnSuccessCallback_409, OnFailureCallback_409)); return CHIP_NO_ERROR; } - void OnFailureResponse_406(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_409(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_406(int16_t rangeRestrictedInt16s) + void OnSuccessResponse_409(int16_t rangeRestrictedInt16s) { VerifyOrReturn(CheckValue("rangeRestrictedInt16s", rangeRestrictedInt16s, -100)); NextTest(); } - CHIP_ERROR TestWriteMinValidValueToARangeRestrictedSigned16BitInteger_407() + CHIP_ERROR TestWriteMinValidValueToARangeRestrictedSigned16BitInteger_410() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49328,35 +49591,35 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = -150; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_407, OnFailureCallback_407)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_410, OnFailureCallback_410)); return CHIP_NO_ERROR; } - void OnFailureResponse_407(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_410(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_407() { NextTest(); } + void OnSuccessResponse_410() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMinValid_408() + CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMinValid_411() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_408, OnFailureCallback_408)); + this, OnSuccessCallback_411, OnFailureCallback_411)); return CHIP_NO_ERROR; } - void OnFailureResponse_408(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_411(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_408(int16_t rangeRestrictedInt16s) + void OnSuccessResponse_411(int16_t rangeRestrictedInt16s) { VerifyOrReturn(CheckValue("rangeRestrictedInt16s", rangeRestrictedInt16s, -150)); NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedSigned16BitInteger_409() + CHIP_ERROR TestWriteMaxValidValueToARangeRestrictedSigned16BitInteger_412() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49366,35 +49629,35 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = 200; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_409, OnFailureCallback_409)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_412, OnFailureCallback_412)); return CHIP_NO_ERROR; } - void OnFailureResponse_409(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_412(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_409() { NextTest(); } + void OnSuccessResponse_412() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_410() + CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_413() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_410, OnFailureCallback_410)); + this, OnSuccessCallback_413, OnFailureCallback_413)); return CHIP_NO_ERROR; } - void OnFailureResponse_410(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_413(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_410(int16_t rangeRestrictedInt16s) + void OnSuccessResponse_413(int16_t rangeRestrictedInt16s) { VerifyOrReturn(CheckValue("rangeRestrictedInt16s", rangeRestrictedInt16s, 200)); NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedSigned16BitInteger_411() + CHIP_ERROR TestWriteMiddleValidValueToARangeRestrictedSigned16BitInteger_414() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49404,35 +49667,35 @@ class TestCluster : public TestCommand rangeRestrictedInt16sArgument = 7; ReturnErrorOnFailure(cluster.WriteAttribute( - rangeRestrictedInt16sArgument, this, OnSuccessCallback_411, OnFailureCallback_411)); + rangeRestrictedInt16sArgument, this, OnSuccessCallback_414, OnFailureCallback_414)); return CHIP_NO_ERROR; } - void OnFailureResponse_411(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_414(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_411() { NextTest(); } + void OnSuccessResponse_414() { NextTest(); } - CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMidValid_412() + CHIP_ERROR TestVerifyRangeRestrictedSigned16BitIntegerValueIsAtMidValid_415() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); ReturnErrorOnFailure(cluster.ReadAttribute( - this, OnSuccessCallback_412, OnFailureCallback_412)); + this, OnSuccessCallback_415, OnFailureCallback_415)); return CHIP_NO_ERROR; } - void OnFailureResponse_412(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_415(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_412(int16_t rangeRestrictedInt16s) + void OnSuccessResponse_415(int16_t rangeRestrictedInt16s) { VerifyOrReturn(CheckValue("rangeRestrictedInt16s", rangeRestrictedInt16s, 7)); NextTest(); } - CHIP_ERROR TestReadNullableRangeRestrictedUnsigned8BitInteger_413() + CHIP_ERROR TestReadNullableRangeRestrictedUnsigned8BitInteger_416() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49440,13 +49703,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_413, OnFailureCallback_413)); + this, OnSuccessCallback_416, OnFailureCallback_416)); return CHIP_NO_ERROR; } - void OnFailureResponse_413(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_416(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_413(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + void OnSuccessResponse_416(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8u", nullableRangeRestrictedInt8u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8u.Value()", nullableRangeRestrictedInt8u.Value(), 70)); @@ -49454,99 +49717,103 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedUnsigned8BitInteger_414() + CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedUnsigned8BitInteger_417() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 0; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 0; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_414, OnFailureCallback_414)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_417, OnFailureCallback_417)); return CHIP_NO_ERROR; } - void OnFailureResponse_414(EmberAfStatus status) + void OnFailureResponse_417(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_414() { ThrowSuccessResponse(); } + void OnSuccessResponse_417() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned8BitInteger_415() + CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned8BitInteger_418() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 19; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 19; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_415, OnFailureCallback_415)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_418, OnFailureCallback_418)); return CHIP_NO_ERROR; } - void OnFailureResponse_415(EmberAfStatus status) + void OnFailureResponse_418(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_415() { ThrowSuccessResponse(); } + void OnSuccessResponse_418() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned8BitInteger_416() + CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned8BitInteger_419() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 101; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 101; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_416, OnFailureCallback_416)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_419, OnFailureCallback_419)); return CHIP_NO_ERROR; } - void OnFailureResponse_416(EmberAfStatus status) + void OnFailureResponse_419(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_416() { ThrowSuccessResponse(); } + void OnSuccessResponse_419() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedUnsigned8BitInteger_417() + CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedUnsigned8BitInteger_420() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 254; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 254; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_417, OnFailureCallback_417)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_420, OnFailureCallback_420)); return CHIP_NO_ERROR; } - void OnFailureResponse_417(EmberAfStatus status) + void OnFailureResponse_420(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_417() { ThrowSuccessResponse(); } + void OnSuccessResponse_420() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_418() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueHasNotChanged_421() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49554,13 +49821,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_418, OnFailureCallback_418)); + this, OnSuccessCallback_421, OnFailureCallback_421)); return CHIP_NO_ERROR; } - void OnFailureResponse_418(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_421(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_418(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + void OnSuccessResponse_421(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8u", nullableRangeRestrictedInt8u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8u.Value()", nullableRangeRestrictedInt8u.Value(), 70)); @@ -49568,26 +49835,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedUnsigned8BitInteger_419() + CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedUnsigned8BitInteger_422() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 20; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 20; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_419, OnFailureCallback_419)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_422, OnFailureCallback_422)); return CHIP_NO_ERROR; } - void OnFailureResponse_419(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_422(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_419() { NextTest(); } + void OnSuccessResponse_422() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_420() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMinValid_423() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49595,13 +49863,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_420, OnFailureCallback_420)); + this, OnSuccessCallback_423, OnFailureCallback_423)); return CHIP_NO_ERROR; } - void OnFailureResponse_420(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_423(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_420(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + void OnSuccessResponse_423(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8u", nullableRangeRestrictedInt8u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8u.Value()", nullableRangeRestrictedInt8u.Value(), 20)); @@ -49609,26 +49877,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedUnsigned8BitInteger_421() + CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedUnsigned8BitInteger_424() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 100; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 100; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_421, OnFailureCallback_421)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_424, OnFailureCallback_424)); return CHIP_NO_ERROR; } - void OnFailureResponse_421(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_424(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_421() { NextTest(); } + void OnSuccessResponse_424() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_422() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMaxValid_425() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49636,13 +49905,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_422, OnFailureCallback_422)); + this, OnSuccessCallback_425, OnFailureCallback_425)); return CHIP_NO_ERROR; } - void OnFailureResponse_422(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_425(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_422(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + void OnSuccessResponse_425(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8u", nullableRangeRestrictedInt8u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8u.Value()", nullableRangeRestrictedInt8u.Value(), 100)); @@ -49650,26 +49919,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned8BitInteger_423() + CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned8BitInteger_426() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; - nullableRangeRestrictedInt8uArgument.SetNonNull() = 50; + nullableRangeRestrictedInt8uArgument.SetNonNull(); + nullableRangeRestrictedInt8uArgument.Value() = 50; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_423, OnFailureCallback_423)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_426, OnFailureCallback_426)); return CHIP_NO_ERROR; } - void OnFailureResponse_423(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_426(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_423() { NextTest(); } + void OnSuccessResponse_426() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_424() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsAtMidValid_427() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49677,13 +49947,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_424, OnFailureCallback_424)); + this, OnSuccessCallback_427, OnFailureCallback_427)); return CHIP_NO_ERROR; } - void OnFailureResponse_424(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_427(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_424(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + void OnSuccessResponse_427(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8u", nullableRangeRestrictedInt8u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8u.Value()", nullableRangeRestrictedInt8u.Value(), 50)); @@ -49691,7 +49961,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedUnsigned8BitInteger_425() + CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedUnsigned8BitInteger_428() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49702,15 +49972,15 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_425, OnFailureCallback_425)); + nullableRangeRestrictedInt8uArgument, this, OnSuccessCallback_428, OnFailureCallback_428)); return CHIP_NO_ERROR; } - void OnFailureResponse_425(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_428(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_425() { NextTest(); } + void OnSuccessResponse_428() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsNull_426() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned8BitIntegerValueIsNull_429() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49718,20 +49988,20 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_426, OnFailureCallback_426)); + this, OnSuccessCallback_429, OnFailureCallback_429)); return CHIP_NO_ERROR; } - void OnFailureResponse_426(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_429(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_426(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) + void OnSuccessResponse_429(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8u) { VerifyOrReturn(CheckValueNull("nullableRangeRestrictedInt8u", nullableRangeRestrictedInt8u)); NextTest(); } - CHIP_ERROR TestReadNullableRangeRestrictedUnsigned16BitInteger_427() + CHIP_ERROR TestReadNullableRangeRestrictedUnsigned16BitInteger_430() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49739,13 +50009,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_427, OnFailureCallback_427)); + this, OnSuccessCallback_430, OnFailureCallback_430)); return CHIP_NO_ERROR; } - void OnFailureResponse_427(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_430(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_427(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + void OnSuccessResponse_430(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16u", nullableRangeRestrictedInt16u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16u.Value()", nullableRangeRestrictedInt16u.Value(), 200U)); @@ -49753,99 +50023,103 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedUnsigned16BitInteger_428() + CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedUnsigned16BitInteger_431() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 0U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 0U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_428, OnFailureCallback_428)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_431, OnFailureCallback_431)); return CHIP_NO_ERROR; } - void OnFailureResponse_428(EmberAfStatus status) + void OnFailureResponse_431(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_428() { ThrowSuccessResponse(); } + void OnSuccessResponse_431() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned16BitInteger_429() + CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedUnsigned16BitInteger_432() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 99U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 99U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_429, OnFailureCallback_429)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_432, OnFailureCallback_432)); return CHIP_NO_ERROR; } - void OnFailureResponse_429(EmberAfStatus status) + void OnFailureResponse_432(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_429() { ThrowSuccessResponse(); } + void OnSuccessResponse_432() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned16BitInteger_430() + CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedUnsigned16BitInteger_433() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 1001U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 1001U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_430, OnFailureCallback_430)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_433, OnFailureCallback_433)); return CHIP_NO_ERROR; } - void OnFailureResponse_430(EmberAfStatus status) + void OnFailureResponse_433(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_430() { ThrowSuccessResponse(); } + void OnSuccessResponse_433() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedUnsigned16BitInteger_431() + CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedUnsigned16BitInteger_434() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 65534U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 65534U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_431, OnFailureCallback_431)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_434, OnFailureCallback_434)); return CHIP_NO_ERROR; } - void OnFailureResponse_431(EmberAfStatus status) + void OnFailureResponse_434(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_431() { ThrowSuccessResponse(); } + void OnSuccessResponse_434() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_432() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueHasNotChanged_435() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49853,13 +50127,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_432, OnFailureCallback_432)); + this, OnSuccessCallback_435, OnFailureCallback_435)); return CHIP_NO_ERROR; } - void OnFailureResponse_432(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_435(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_432(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + void OnSuccessResponse_435(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16u", nullableRangeRestrictedInt16u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16u.Value()", nullableRangeRestrictedInt16u.Value(), 200U)); @@ -49867,26 +50141,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedUnsigned16BitInteger_433() + CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedUnsigned16BitInteger_436() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 100U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 100U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_433, OnFailureCallback_433)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_436, OnFailureCallback_436)); return CHIP_NO_ERROR; } - void OnFailureResponse_433(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_436(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_433() { NextTest(); } + void OnSuccessResponse_436() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_434() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMinValid_437() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49894,13 +50169,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_434, OnFailureCallback_434)); + this, OnSuccessCallback_437, OnFailureCallback_437)); return CHIP_NO_ERROR; } - void OnFailureResponse_434(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_437(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_434(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + void OnSuccessResponse_437(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16u", nullableRangeRestrictedInt16u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16u.Value()", nullableRangeRestrictedInt16u.Value(), 100U)); @@ -49908,26 +50183,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedUnsigned16BitInteger_435() + CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedUnsigned16BitInteger_438() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 1000U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 1000U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_435, OnFailureCallback_435)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_438, OnFailureCallback_438)); return CHIP_NO_ERROR; } - void OnFailureResponse_435(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_438(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_435() { NextTest(); } + void OnSuccessResponse_438() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_436() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMaxValid_439() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49935,13 +50211,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_436, OnFailureCallback_436)); + this, OnSuccessCallback_439, OnFailureCallback_439)); return CHIP_NO_ERROR; } - void OnFailureResponse_436(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_439(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_436(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + void OnSuccessResponse_439(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16u", nullableRangeRestrictedInt16u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16u.Value()", nullableRangeRestrictedInt16u.Value(), 1000U)); @@ -49949,26 +50225,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned16BitInteger_437() + CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedUnsigned16BitInteger_440() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; - nullableRangeRestrictedInt16uArgument.SetNonNull() = 500U; + nullableRangeRestrictedInt16uArgument.SetNonNull(); + nullableRangeRestrictedInt16uArgument.Value() = 500U; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_437, OnFailureCallback_437)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_440, OnFailureCallback_440)); return CHIP_NO_ERROR; } - void OnFailureResponse_437(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_440(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_437() { NextTest(); } + void OnSuccessResponse_440() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_438() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsAtMidValid_441() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -49976,13 +50253,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_438, OnFailureCallback_438)); + this, OnSuccessCallback_441, OnFailureCallback_441)); return CHIP_NO_ERROR; } - void OnFailureResponse_438(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_441(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_438(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + void OnSuccessResponse_441(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16u", nullableRangeRestrictedInt16u)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16u.Value()", nullableRangeRestrictedInt16u.Value(), 500U)); @@ -49990,7 +50267,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedUnsigned16BitInteger_439() + CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedUnsigned16BitInteger_442() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50001,15 +50278,15 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_439, OnFailureCallback_439)); + nullableRangeRestrictedInt16uArgument, this, OnSuccessCallback_442, OnFailureCallback_442)); return CHIP_NO_ERROR; } - void OnFailureResponse_439(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_442(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_439() { NextTest(); } + void OnSuccessResponse_442() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsNull_440() + CHIP_ERROR TestVerifyNullableRangeRestrictedUnsigned16BitIntegerValueIsNull_443() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50017,20 +50294,20 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_440, OnFailureCallback_440)); + this, OnSuccessCallback_443, OnFailureCallback_443)); return CHIP_NO_ERROR; } - void OnFailureResponse_440(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_443(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_440(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) + void OnSuccessResponse_443(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16u) { VerifyOrReturn(CheckValueNull("nullableRangeRestrictedInt16u", nullableRangeRestrictedInt16u)); NextTest(); } - CHIP_ERROR TestReadNullableRangeRestrictedSigned8BitInteger_441() + CHIP_ERROR TestReadNullableRangeRestrictedSigned8BitInteger_444() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50038,13 +50315,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_441, OnFailureCallback_441)); + this, OnSuccessCallback_444, OnFailureCallback_444)); return CHIP_NO_ERROR; } - void OnFailureResponse_441(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_444(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_441(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + void OnSuccessResponse_444(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8s", nullableRangeRestrictedInt8s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8s.Value()", nullableRangeRestrictedInt8s.Value(), -20)); @@ -50052,99 +50329,103 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedSigned8BitInteger_442() + CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedSigned8BitInteger_445() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = -127; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = -127; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_442, OnFailureCallback_442)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_445, OnFailureCallback_445)); return CHIP_NO_ERROR; } - void OnFailureResponse_442(EmberAfStatus status) + void OnFailureResponse_445(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_442() { ThrowSuccessResponse(); } + void OnSuccessResponse_445() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned8BitInteger_443() + CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned8BitInteger_446() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = -41; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = -41; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_443, OnFailureCallback_443)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_446, OnFailureCallback_446)); return CHIP_NO_ERROR; } - void OnFailureResponse_443(EmberAfStatus status) + void OnFailureResponse_446(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_443() { ThrowSuccessResponse(); } + void OnSuccessResponse_446() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned8BitInteger_444() + CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned8BitInteger_447() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = 51; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = 51; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_444, OnFailureCallback_444)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_447, OnFailureCallback_447)); return CHIP_NO_ERROR; } - void OnFailureResponse_444(EmberAfStatus status) + void OnFailureResponse_447(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_444() { ThrowSuccessResponse(); } + void OnSuccessResponse_447() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedSigned8BitInteger_445() + CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedSigned8BitInteger_448() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = 127; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = 127; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_445, OnFailureCallback_445)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_448, OnFailureCallback_448)); return CHIP_NO_ERROR; } - void OnFailureResponse_445(EmberAfStatus status) + void OnFailureResponse_448(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_445() { ThrowSuccessResponse(); } + void OnSuccessResponse_448() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueHasNotChanged_446() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueHasNotChanged_449() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50152,13 +50433,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_446, OnFailureCallback_446)); + this, OnSuccessCallback_449, OnFailureCallback_449)); return CHIP_NO_ERROR; } - void OnFailureResponse_446(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_449(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_446(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + void OnSuccessResponse_449(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8s", nullableRangeRestrictedInt8s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8s.Value()", nullableRangeRestrictedInt8s.Value(), -20)); @@ -50166,26 +50447,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedSigned8BitInteger_447() + CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedSigned8BitInteger_450() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = -40; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = -40; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_447, OnFailureCallback_447)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_450, OnFailureCallback_450)); return CHIP_NO_ERROR; } - void OnFailureResponse_447(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_450(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_447() { NextTest(); } + void OnSuccessResponse_450() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMinValid_448() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMinValid_451() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50193,13 +50475,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_448, OnFailureCallback_448)); + this, OnSuccessCallback_451, OnFailureCallback_451)); return CHIP_NO_ERROR; } - void OnFailureResponse_448(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_451(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_448(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + void OnSuccessResponse_451(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8s", nullableRangeRestrictedInt8s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8s.Value()", nullableRangeRestrictedInt8s.Value(), -40)); @@ -50207,26 +50489,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedSigned8BitInteger_449() + CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedSigned8BitInteger_452() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = 50; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = 50; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_449, OnFailureCallback_449)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_452, OnFailureCallback_452)); return CHIP_NO_ERROR; } - void OnFailureResponse_449(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_452(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_449() { NextTest(); } + void OnSuccessResponse_452() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_450() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMaxValid_453() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50234,13 +50517,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_450, OnFailureCallback_450)); + this, OnSuccessCallback_453, OnFailureCallback_453)); return CHIP_NO_ERROR; } - void OnFailureResponse_450(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_453(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_450(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + void OnSuccessResponse_453(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8s", nullableRangeRestrictedInt8s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8s.Value()", nullableRangeRestrictedInt8s.Value(), 50)); @@ -50248,26 +50531,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedSigned8BitInteger_451() + CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedSigned8BitInteger_454() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; - nullableRangeRestrictedInt8sArgument.SetNonNull() = 6; + nullableRangeRestrictedInt8sArgument.SetNonNull(); + nullableRangeRestrictedInt8sArgument.Value() = 6; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_451, OnFailureCallback_451)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_454, OnFailureCallback_454)); return CHIP_NO_ERROR; } - void OnFailureResponse_451(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_454(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_451() { NextTest(); } + void OnSuccessResponse_454() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMidValid_452() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtMidValid_455() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50275,13 +50559,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_452, OnFailureCallback_452)); + this, OnSuccessCallback_455, OnFailureCallback_455)); return CHIP_NO_ERROR; } - void OnFailureResponse_452(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_455(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_452(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + void OnSuccessResponse_455(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt8s", nullableRangeRestrictedInt8s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt8s.Value()", nullableRangeRestrictedInt8s.Value(), 6)); @@ -50289,7 +50573,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedSigned8BitInteger_453() + CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedSigned8BitInteger_456() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50300,15 +50584,15 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_453, OnFailureCallback_453)); + nullableRangeRestrictedInt8sArgument, this, OnSuccessCallback_456, OnFailureCallback_456)); return CHIP_NO_ERROR; } - void OnFailureResponse_453(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_456(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_453() { NextTest(); } + void OnSuccessResponse_456() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtNull_454() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned8BitIntegerValueIsAtNull_457() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50316,20 +50600,20 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_454, OnFailureCallback_454)); + this, OnSuccessCallback_457, OnFailureCallback_457)); return CHIP_NO_ERROR; } - void OnFailureResponse_454(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_457(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_454(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) + void OnSuccessResponse_457(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt8s) { VerifyOrReturn(CheckValueNull("nullableRangeRestrictedInt8s", nullableRangeRestrictedInt8s)); NextTest(); } - CHIP_ERROR TestReadNullableRangeRestrictedSigned16BitInteger_455() + CHIP_ERROR TestReadNullableRangeRestrictedSigned16BitInteger_458() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50337,13 +50621,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_455, OnFailureCallback_455)); + this, OnSuccessCallback_458, OnFailureCallback_458)); return CHIP_NO_ERROR; } - void OnFailureResponse_455(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_458(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_455(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + void OnSuccessResponse_458(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16s", nullableRangeRestrictedInt16s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16s.Value()", nullableRangeRestrictedInt16s.Value(), -100)); @@ -50351,99 +50635,103 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedSigned16BitInteger_456() + CHIP_ERROR TestWriteMinValueToANullableRangeRestrictedSigned16BitInteger_459() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = -32767; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = -32767; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_456, OnFailureCallback_456)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_459, OnFailureCallback_459)); return CHIP_NO_ERROR; } - void OnFailureResponse_456(EmberAfStatus status) + void OnFailureResponse_459(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_456() { ThrowSuccessResponse(); } + void OnSuccessResponse_459() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned16BitInteger_457() + CHIP_ERROR TestWriteJustBelowRangeValueToANullableRangeRestrictedSigned16BitInteger_460() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = -151; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = -151; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_457, OnFailureCallback_457)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_460, OnFailureCallback_460)); return CHIP_NO_ERROR; } - void OnFailureResponse_457(EmberAfStatus status) + void OnFailureResponse_460(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_457() { ThrowSuccessResponse(); } + void OnSuccessResponse_460() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned16BitInteger_458() + CHIP_ERROR TestWriteJustAboveRangeValueToANullableRangeRestrictedSigned16BitInteger_461() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = 201; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = 201; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_458, OnFailureCallback_458)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_461, OnFailureCallback_461)); return CHIP_NO_ERROR; } - void OnFailureResponse_458(EmberAfStatus status) + void OnFailureResponse_461(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_458() { ThrowSuccessResponse(); } + void OnSuccessResponse_461() { ThrowSuccessResponse(); } - CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedSigned16BitInteger_459() + CHIP_ERROR TestWriteMaxValueToANullableRangeRestrictedSigned16BitInteger_462() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = 32767; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = 32767; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_459, OnFailureCallback_459)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_462, OnFailureCallback_462)); return CHIP_NO_ERROR; } - void OnFailureResponse_459(EmberAfStatus status) + void OnFailureResponse_462(EmberAfStatus status) { VerifyOrReturn(CheckValue("status", status, EMBER_ZCL_STATUS_CONSTRAINT_ERROR)); NextTest(); } - void OnSuccessResponse_459() { ThrowSuccessResponse(); } + void OnSuccessResponse_462() { ThrowSuccessResponse(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueHasNotChanged_460() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueHasNotChanged_463() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50451,13 +50739,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_460, OnFailureCallback_460)); + this, OnSuccessCallback_463, OnFailureCallback_463)); return CHIP_NO_ERROR; } - void OnFailureResponse_460(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_463(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_460(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + void OnSuccessResponse_463(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16s", nullableRangeRestrictedInt16s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16s.Value()", nullableRangeRestrictedInt16s.Value(), -100)); @@ -50465,26 +50753,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedSigned16BitInteger_461() + CHIP_ERROR TestWriteMinValidValueToANullableRangeRestrictedSigned16BitInteger_464() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = -150; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = -150; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_461, OnFailureCallback_461)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_464, OnFailureCallback_464)); return CHIP_NO_ERROR; } - void OnFailureResponse_461(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_464(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_461() { NextTest(); } + void OnSuccessResponse_464() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMinValid_462() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMinValid_465() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50492,13 +50781,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_462, OnFailureCallback_462)); + this, OnSuccessCallback_465, OnFailureCallback_465)); return CHIP_NO_ERROR; } - void OnFailureResponse_462(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_465(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_462(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + void OnSuccessResponse_465(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16s", nullableRangeRestrictedInt16s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16s.Value()", nullableRangeRestrictedInt16s.Value(), -150)); @@ -50506,26 +50795,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedSigned16BitInteger_463() + CHIP_ERROR TestWriteMaxValidValueToANullableRangeRestrictedSigned16BitInteger_466() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = 200; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = 200; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_463, OnFailureCallback_463)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_466, OnFailureCallback_466)); return CHIP_NO_ERROR; } - void OnFailureResponse_463(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_466(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_463() { NextTest(); } + void OnSuccessResponse_466() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_464() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMaxValid_467() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50533,13 +50823,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_464, OnFailureCallback_464)); + this, OnSuccessCallback_467, OnFailureCallback_467)); return CHIP_NO_ERROR; } - void OnFailureResponse_464(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_467(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_464(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + void OnSuccessResponse_467(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16s", nullableRangeRestrictedInt16s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16s.Value()", nullableRangeRestrictedInt16s.Value(), 200)); @@ -50547,26 +50837,27 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedSigned16BitInteger_465() + CHIP_ERROR TestWriteMiddleValidValueToANullableRangeRestrictedSigned16BitInteger_468() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; - nullableRangeRestrictedInt16sArgument.SetNonNull() = 7; + nullableRangeRestrictedInt16sArgument.SetNonNull(); + nullableRangeRestrictedInt16sArgument.Value() = 7; ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_465, OnFailureCallback_465)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_468, OnFailureCallback_468)); return CHIP_NO_ERROR; } - void OnFailureResponse_465(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_468(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_465() { NextTest(); } + void OnSuccessResponse_468() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMidValid_466() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsAtMidValid_469() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50574,13 +50865,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_466, OnFailureCallback_466)); + this, OnSuccessCallback_469, OnFailureCallback_469)); return CHIP_NO_ERROR; } - void OnFailureResponse_466(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_469(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_466(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + void OnSuccessResponse_469(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) { VerifyOrReturn(CheckValueNonNull("nullableRangeRestrictedInt16s", nullableRangeRestrictedInt16s)); VerifyOrReturn(CheckValue("nullableRangeRestrictedInt16s.Value()", nullableRangeRestrictedInt16s.Value(), 7)); @@ -50588,7 +50879,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedSigned16BitInteger_467() + CHIP_ERROR TestWriteNullValueToANullableRangeRestrictedSigned16BitInteger_470() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50599,15 +50890,15 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.WriteAttribute( - nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_467, OnFailureCallback_467)); + nullableRangeRestrictedInt16sArgument, this, OnSuccessCallback_470, OnFailureCallback_470)); return CHIP_NO_ERROR; } - void OnFailureResponse_467(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_470(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_467() { NextTest(); } + void OnSuccessResponse_470() { NextTest(); } - CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsNull_468() + CHIP_ERROR TestVerifyNullableRangeRestrictedSigned16BitIntegerValueIsNull_471() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -50615,13 +50906,13 @@ class TestCluster : public TestCommand ReturnErrorOnFailure( cluster.ReadAttribute( - this, OnSuccessCallback_468, OnFailureCallback_468)); + this, OnSuccessCallback_471, OnFailureCallback_471)); return CHIP_NO_ERROR; } - void OnFailureResponse_468(EmberAfStatus status) { ThrowFailureResponse(); } + void OnFailureResponse_471(EmberAfStatus status) { ThrowFailureResponse(); } - void OnSuccessResponse_468(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) + void OnSuccessResponse_471(const chip::app::DataModel::Nullable & nullableRangeRestrictedInt16s) { VerifyOrReturn(CheckValueNull("nullableRangeRestrictedInt16s", nullableRangeRestrictedInt16s)); @@ -50896,7 +51187,8 @@ class TestClusterComplexTypes : public TestCommand using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; RequestType request; - request.arg1.Emplace().SetNull(); + request.arg1.Emplace(); + request.arg1.Value().SetNull(); auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context)) @@ -55132,11 +55424,13 @@ class TestDescriptorCluster : public TestCommand void OnSuccessResponse_1( const chip::app::DataModel::DecodableList & deviceList) { - auto iter = deviceList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("deviceList", iter, 0)); - VerifyOrReturn(CheckValue("deviceList[0].type", iter.GetValue().type, 22UL)); - VerifyOrReturn(CheckValue("deviceList[0].revision", iter.GetValue().revision, 1U)); - VerifyOrReturn(CheckNoMoreListItems("deviceList", iter, 1)); + { + auto iter_0 = deviceList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("deviceList", iter_0, 0)); + VerifyOrReturn(CheckValue("deviceList[0].type", iter_0.GetValue().type, 22UL)); + VerifyOrReturn(CheckValue("deviceList[0].revision", iter_0.GetValue().revision, 1U)); + VerifyOrReturn(CheckNoMoreListItems("deviceList", iter_0, 1)); + } NextTest(); } @@ -55156,54 +55450,56 @@ class TestDescriptorCluster : public TestCommand void OnSuccessResponse_2(const chip::app::DataModel::DecodableList & serverList) { - auto iter = serverList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 0)); - VerifyOrReturn(CheckValue("serverList[0]", iter.GetValue(), 3UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 1)); - VerifyOrReturn(CheckValue("serverList[1]", iter.GetValue(), 4UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 2)); - VerifyOrReturn(CheckValue("serverList[2]", iter.GetValue(), 29UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 3)); - VerifyOrReturn(CheckValue("serverList[3]", iter.GetValue(), 30UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 4)); - VerifyOrReturn(CheckValue("serverList[4]", iter.GetValue(), 31UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 5)); - VerifyOrReturn(CheckValue("serverList[5]", iter.GetValue(), 40UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 6)); - VerifyOrReturn(CheckValue("serverList[6]", iter.GetValue(), 41UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 7)); - VerifyOrReturn(CheckValue("serverList[7]", iter.GetValue(), 42UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 8)); - VerifyOrReturn(CheckValue("serverList[8]", iter.GetValue(), 46UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 9)); - VerifyOrReturn(CheckValue("serverList[9]", iter.GetValue(), 48UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 10)); - VerifyOrReturn(CheckValue("serverList[10]", iter.GetValue(), 49UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 11)); - VerifyOrReturn(CheckValue("serverList[11]", iter.GetValue(), 50UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 12)); - VerifyOrReturn(CheckValue("serverList[12]", iter.GetValue(), 51UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 13)); - VerifyOrReturn(CheckValue("serverList[13]", iter.GetValue(), 52UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 14)); - VerifyOrReturn(CheckValue("serverList[14]", iter.GetValue(), 53UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 15)); - VerifyOrReturn(CheckValue("serverList[15]", iter.GetValue(), 54UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 16)); - VerifyOrReturn(CheckValue("serverList[16]", iter.GetValue(), 55UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 17)); - VerifyOrReturn(CheckValue("serverList[17]", iter.GetValue(), 60UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 18)); - VerifyOrReturn(CheckValue("serverList[18]", iter.GetValue(), 62UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 19)); - VerifyOrReturn(CheckValue("serverList[19]", iter.GetValue(), 63UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 20)); - VerifyOrReturn(CheckValue("serverList[20]", iter.GetValue(), 64UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 21)); - VerifyOrReturn(CheckValue("serverList[21]", iter.GetValue(), 65UL)); - VerifyOrReturn(CheckNextListItemDecodes("serverList", iter, 22)); - VerifyOrReturn(CheckValue("serverList[22]", iter.GetValue(), 1029UL)); - VerifyOrReturn(CheckNoMoreListItems("serverList", iter, 23)); + { + auto iter_0 = serverList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 0)); + VerifyOrReturn(CheckValue("serverList[0]", iter_0.GetValue(), 3UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 1)); + VerifyOrReturn(CheckValue("serverList[1]", iter_0.GetValue(), 4UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 2)); + VerifyOrReturn(CheckValue("serverList[2]", iter_0.GetValue(), 29UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 3)); + VerifyOrReturn(CheckValue("serverList[3]", iter_0.GetValue(), 30UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 4)); + VerifyOrReturn(CheckValue("serverList[4]", iter_0.GetValue(), 31UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 5)); + VerifyOrReturn(CheckValue("serverList[5]", iter_0.GetValue(), 40UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 6)); + VerifyOrReturn(CheckValue("serverList[6]", iter_0.GetValue(), 41UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 7)); + VerifyOrReturn(CheckValue("serverList[7]", iter_0.GetValue(), 42UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 8)); + VerifyOrReturn(CheckValue("serverList[8]", iter_0.GetValue(), 46UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 9)); + VerifyOrReturn(CheckValue("serverList[9]", iter_0.GetValue(), 48UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 10)); + VerifyOrReturn(CheckValue("serverList[10]", iter_0.GetValue(), 49UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 11)); + VerifyOrReturn(CheckValue("serverList[11]", iter_0.GetValue(), 50UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 12)); + VerifyOrReturn(CheckValue("serverList[12]", iter_0.GetValue(), 51UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 13)); + VerifyOrReturn(CheckValue("serverList[13]", iter_0.GetValue(), 52UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 14)); + VerifyOrReturn(CheckValue("serverList[14]", iter_0.GetValue(), 53UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 15)); + VerifyOrReturn(CheckValue("serverList[15]", iter_0.GetValue(), 54UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 16)); + VerifyOrReturn(CheckValue("serverList[16]", iter_0.GetValue(), 55UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 17)); + VerifyOrReturn(CheckValue("serverList[17]", iter_0.GetValue(), 60UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 18)); + VerifyOrReturn(CheckValue("serverList[18]", iter_0.GetValue(), 62UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 19)); + VerifyOrReturn(CheckValue("serverList[19]", iter_0.GetValue(), 63UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 20)); + VerifyOrReturn(CheckValue("serverList[20]", iter_0.GetValue(), 64UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 21)); + VerifyOrReturn(CheckValue("serverList[21]", iter_0.GetValue(), 65UL)); + VerifyOrReturn(CheckNextListItemDecodes("serverList", iter_0, 22)); + VerifyOrReturn(CheckValue("serverList[22]", iter_0.GetValue(), 1029UL)); + VerifyOrReturn(CheckNoMoreListItems("serverList", iter_0, 23)); + } NextTest(); } @@ -55223,8 +55519,10 @@ class TestDescriptorCluster : public TestCommand void OnSuccessResponse_3(const chip::app::DataModel::DecodableList & clientList) { - auto iter = clientList.begin(); - VerifyOrReturn(CheckNoMoreListItems("clientList", iter, 0)); + { + auto iter_0 = clientList.begin(); + VerifyOrReturn(CheckNoMoreListItems("clientList", iter_0, 0)); + } NextTest(); } @@ -55244,12 +55542,14 @@ class TestDescriptorCluster : public TestCommand void OnSuccessResponse_4(const chip::app::DataModel::DecodableList & partsList) { - auto iter = partsList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("partsList", iter, 0)); - VerifyOrReturn(CheckValue("partsList[0]", iter.GetValue(), 1U)); - VerifyOrReturn(CheckNextListItemDecodes("partsList", iter, 1)); - VerifyOrReturn(CheckValue("partsList[1]", iter.GetValue(), 2U)); - VerifyOrReturn(CheckNoMoreListItems("partsList", iter, 2)); + { + auto iter_0 = partsList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("partsList", iter_0, 0)); + VerifyOrReturn(CheckValue("partsList[0]", iter_0.GetValue(), 1U)); + VerifyOrReturn(CheckNextListItemDecodes("partsList", iter_0, 1)); + VerifyOrReturn(CheckValue("partsList[1]", iter_0.GetValue(), 2U)); + VerifyOrReturn(CheckNoMoreListItems("partsList", iter_0, 2)); + } NextTest(); } @@ -55399,50 +55699,52 @@ class TestBasicInformation : public TestCommand void OnSuccessResponse_3(const chip::app::DataModel::DecodableList & attributeList) { - auto iter = attributeList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 0)); - VerifyOrReturn(CheckValue("attributeList[0]", iter.GetValue(), 0UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 1)); - VerifyOrReturn(CheckValue("attributeList[1]", iter.GetValue(), 1UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 2)); - VerifyOrReturn(CheckValue("attributeList[2]", iter.GetValue(), 2UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 3)); - VerifyOrReturn(CheckValue("attributeList[3]", iter.GetValue(), 3UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 4)); - VerifyOrReturn(CheckValue("attributeList[4]", iter.GetValue(), 4UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 5)); - VerifyOrReturn(CheckValue("attributeList[5]", iter.GetValue(), 5UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 6)); - VerifyOrReturn(CheckValue("attributeList[6]", iter.GetValue(), 6UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 7)); - VerifyOrReturn(CheckValue("attributeList[7]", iter.GetValue(), 7UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 8)); - VerifyOrReturn(CheckValue("attributeList[8]", iter.GetValue(), 8UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 9)); - VerifyOrReturn(CheckValue("attributeList[9]", iter.GetValue(), 9UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 10)); - VerifyOrReturn(CheckValue("attributeList[10]", iter.GetValue(), 10UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 11)); - VerifyOrReturn(CheckValue("attributeList[11]", iter.GetValue(), 11UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 12)); - VerifyOrReturn(CheckValue("attributeList[12]", iter.GetValue(), 12UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 13)); - VerifyOrReturn(CheckValue("attributeList[13]", iter.GetValue(), 13UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 14)); - VerifyOrReturn(CheckValue("attributeList[14]", iter.GetValue(), 14UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 15)); - VerifyOrReturn(CheckValue("attributeList[15]", iter.GetValue(), 15UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 16)); - VerifyOrReturn(CheckValue("attributeList[16]", iter.GetValue(), 16UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 17)); - VerifyOrReturn(CheckValue("attributeList[17]", iter.GetValue(), 17UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 18)); - VerifyOrReturn(CheckValue("attributeList[18]", iter.GetValue(), 18UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 19)); - VerifyOrReturn(CheckValue("attributeList[19]", iter.GetValue(), 65531UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter, 20)); - VerifyOrReturn(CheckValue("attributeList[20]", iter.GetValue(), 65533UL)); - VerifyOrReturn(CheckNoMoreListItems("attributeList", iter, 21)); + { + auto iter_0 = attributeList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 0)); + VerifyOrReturn(CheckValue("attributeList[0]", iter_0.GetValue(), 0UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 1)); + VerifyOrReturn(CheckValue("attributeList[1]", iter_0.GetValue(), 1UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 2)); + VerifyOrReturn(CheckValue("attributeList[2]", iter_0.GetValue(), 2UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 3)); + VerifyOrReturn(CheckValue("attributeList[3]", iter_0.GetValue(), 3UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 4)); + VerifyOrReturn(CheckValue("attributeList[4]", iter_0.GetValue(), 4UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 5)); + VerifyOrReturn(CheckValue("attributeList[5]", iter_0.GetValue(), 5UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 6)); + VerifyOrReturn(CheckValue("attributeList[6]", iter_0.GetValue(), 6UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 7)); + VerifyOrReturn(CheckValue("attributeList[7]", iter_0.GetValue(), 7UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 8)); + VerifyOrReturn(CheckValue("attributeList[8]", iter_0.GetValue(), 8UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 9)); + VerifyOrReturn(CheckValue("attributeList[9]", iter_0.GetValue(), 9UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 10)); + VerifyOrReturn(CheckValue("attributeList[10]", iter_0.GetValue(), 10UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 11)); + VerifyOrReturn(CheckValue("attributeList[11]", iter_0.GetValue(), 11UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 12)); + VerifyOrReturn(CheckValue("attributeList[12]", iter_0.GetValue(), 12UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 13)); + VerifyOrReturn(CheckValue("attributeList[13]", iter_0.GetValue(), 13UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 14)); + VerifyOrReturn(CheckValue("attributeList[14]", iter_0.GetValue(), 14UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 15)); + VerifyOrReturn(CheckValue("attributeList[15]", iter_0.GetValue(), 15UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 16)); + VerifyOrReturn(CheckValue("attributeList[16]", iter_0.GetValue(), 16UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 17)); + VerifyOrReturn(CheckValue("attributeList[17]", iter_0.GetValue(), 17UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 18)); + VerifyOrReturn(CheckValue("attributeList[18]", iter_0.GetValue(), 18UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 19)); + VerifyOrReturn(CheckValue("attributeList[19]", iter_0.GetValue(), 65531UL)); + VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 20)); + VerifyOrReturn(CheckValue("attributeList[20]", iter_0.GetValue(), 65533UL)); + VerifyOrReturn(CheckNoMoreListItems("attributeList", iter_0, 21)); + } NextTest(); } @@ -55848,10 +56150,12 @@ class TestGroupsCluster : public TestCommand { VerifyOrReturn(CheckValue("capacity", capacity, 255)); - auto iter = groupList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("groupList", iter, 0)); - VerifyOrReturn(CheckValue("groupList[0]", iter.GetValue(), 1U)); - VerifyOrReturn(CheckNoMoreListItems("groupList", iter, 1)); + { + auto iter_0 = groupList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("groupList", iter_0, 0)); + VerifyOrReturn(CheckValue("groupList[0]", iter_0.GetValue(), 1U)); + VerifyOrReturn(CheckNoMoreListItems("groupList", iter_0, 1)); + } NextTest(); } @@ -56053,12 +56357,12 @@ class TestGroupsCluster : public TestCommand RequestType request; - uint16_t groupListList[4]; - groupListList[0] = 1U; - groupListList[1] = 2U; - groupListList[2] = 4369U; - groupListList[3] = 3U; - request.groupList = groupListList; + uint16_t groupListList_0[4]; + groupListList_0[0] = 1U; + groupListList_0[1] = 2U; + groupListList_0[2] = 4369U; + groupListList_0[3] = 3U; + request.groupList = groupListList_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_13(data.capacity, data.groupList); @@ -56078,10 +56382,12 @@ class TestGroupsCluster : public TestCommand { VerifyOrReturn(CheckValue("capacity", capacity, 255)); - auto iter = groupList.begin(); - VerifyOrReturn(CheckNextListItemDecodes("groupList", iter, 0)); - VerifyOrReturn(CheckValue("groupList[0]", iter.GetValue(), 1U)); - VerifyOrReturn(CheckNoMoreListItems("groupList", iter, 1)); + { + auto iter_0 = groupList.begin(); + VerifyOrReturn(CheckNextListItemDecodes("groupList", iter_0, 0)); + VerifyOrReturn(CheckValue("groupList[0]", iter_0.GetValue(), 1U)); + VerifyOrReturn(CheckNoMoreListItems("groupList", iter_0, 1)); + } NextTest(); } @@ -56209,13 +56515,13 @@ class TestGroupsCluster : public TestCommand RequestType request; - uint16_t groupListList[5]; - groupListList[0] = 1U; - groupListList[1] = 2U; - groupListList[2] = 4369U; - groupListList[3] = 3U; - groupListList[4] = 32767U; - request.groupList = groupListList; + uint16_t groupListList_0[5]; + groupListList_0[0] = 1U; + groupListList_0[1] = 2U; + groupListList_0[2] = 4369U; + groupListList_0[3] = 3U; + groupListList_0[4] = 32767U; + request.groupList = groupListList_0; auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_18(data.capacity, data.groupList); @@ -56235,8 +56541,10 @@ class TestGroupsCluster : public TestCommand { VerifyOrReturn(CheckValue("capacity", capacity, 255)); - auto iter = groupList.begin(); - VerifyOrReturn(CheckNoMoreListItems("groupList", iter, 0)); + { + auto iter_0 = groupList.begin(); + VerifyOrReturn(CheckNoMoreListItems("groupList", iter_0, 0)); + } NextTest(); } @@ -56782,20 +57090,23 @@ class TestModeSelectCluster : public TestCommand const chip::app::DataModel::DecodableList & supportedModes) { - auto iter = supportedModes.begin(); - VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter, 0)); - VerifyOrReturn(CheckValueAsString("supportedModes[0].label", iter.GetValue().label, chip::CharSpan("Black", 5))); - VerifyOrReturn(CheckValue("supportedModes[0].mode", iter.GetValue().mode, 0)); - VerifyOrReturn(CheckValue("supportedModes[0].semanticTag", iter.GetValue().semanticTag, 0UL)); - VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter, 1)); - VerifyOrReturn(CheckValueAsString("supportedModes[1].label", iter.GetValue().label, chip::CharSpan("Cappuccino", 10))); - VerifyOrReturn(CheckValue("supportedModes[1].mode", iter.GetValue().mode, 4)); - VerifyOrReturn(CheckValue("supportedModes[1].semanticTag", iter.GetValue().semanticTag, 0UL)); - VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter, 2)); - VerifyOrReturn(CheckValueAsString("supportedModes[2].label", iter.GetValue().label, chip::CharSpan("Espresso", 8))); - VerifyOrReturn(CheckValue("supportedModes[2].mode", iter.GetValue().mode, 7)); - VerifyOrReturn(CheckValue("supportedModes[2].semanticTag", iter.GetValue().semanticTag, 0UL)); - VerifyOrReturn(CheckNoMoreListItems("supportedModes", iter, 3)); + { + auto iter_0 = supportedModes.begin(); + VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 0)); + VerifyOrReturn(CheckValueAsString("supportedModes[0].label", iter_0.GetValue().label, chip::CharSpan("Black", 5))); + VerifyOrReturn(CheckValue("supportedModes[0].mode", iter_0.GetValue().mode, 0)); + VerifyOrReturn(CheckValue("supportedModes[0].semanticTag", iter_0.GetValue().semanticTag, 0UL)); + VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 1)); + VerifyOrReturn( + CheckValueAsString("supportedModes[1].label", iter_0.GetValue().label, chip::CharSpan("Cappuccino", 10))); + VerifyOrReturn(CheckValue("supportedModes[1].mode", iter_0.GetValue().mode, 4)); + VerifyOrReturn(CheckValue("supportedModes[1].semanticTag", iter_0.GetValue().semanticTag, 0UL)); + VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 2)); + VerifyOrReturn(CheckValueAsString("supportedModes[2].label", iter_0.GetValue().label, chip::CharSpan("Espresso", 8))); + VerifyOrReturn(CheckValue("supportedModes[2].mode", iter_0.GetValue().mode, 7)); + VerifyOrReturn(CheckValue("supportedModes[2].semanticTag", iter_0.GetValue().semanticTag, 0UL)); + VerifyOrReturn(CheckNoMoreListItems("supportedModes", iter_0, 3)); + } NextTest(); }