Skip to content

Commit

Permalink
Added simulated tests Dec 09 (#24000)
Browse files Browse the repository at this point in the history
* Added simulated tests

* Auto generated files

* Added missed PICS in Ci-pics-value file
  • Loading branch information
manjunath-grl authored and pull[bot] committed Apr 27, 2023
1 parent 0de9248 commit 2224945
Show file tree
Hide file tree
Showing 58 changed files with 4,969 additions and 4,850 deletions.
22 changes: 21 additions & 1 deletion examples/placeholder/linux/apps/app1/ciTests.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
{
"Test": ["Test_TC_BINFO_2_3_Simulated"],
"Test": [
"Test_TC_BINFO_2_3_Simulated",
"Test_TC_ACT_3_1_Simulated",
"Test_TC_BOOL_3_1_Simulated",
"Test_TC_DESC_2_2_Simulated",
"Test_TC_DGETH_3_1_Simulated",
"Test_TC_DGETH_3_2_Simulated",
"Test_TC_DGSW_3_1_Simulated",
"Test_TC_DGSW_3_2_Simulated",
"Test_TC_DGWIFI_3_1_Simulated",
"Test_TC_DGWIFI_3_2_Simulated",
"Test_TC_FLW_3_1_Simulated",
"Test_TC_G_3_1_Simulated",
"Test_TC_I_3_1_Simulated",
"Test_TC_PRS_3_1_Simulated",
"Test_TC_PS_3_1_Simulated",
"Test_TC_PSCFG_3_1_Simulated",
"Test_TC_RH_3_1_Simulated",
"Test_TC_SWTCH_3_1_Simulated",
"Test_TC_WNCV_5_1_Simulated"
],
"collection": ["Test"]
}
29 changes: 29 additions & 0 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,26 @@ server cluster OperationalCredentials = 62 {
command access(invoke: administer) AddTrustedRootCertificate(AddTrustedRootCertificateRequest): DefaultSuccess = 11;
}

client cluster FixedLabel = 64 {
struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

readonly attribute LabelStruct labelList[] = 0;
readonly attribute int16u clusterRevision = 65533;
}

server cluster FixedLabel = 64 {
struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

readonly attribute LabelStruct labelList[] = 0;
readonly attribute int16u clusterRevision = 65533;
}

server cluster BooleanState = 69 {
info event StateChange = 0 {
boolean stateValue = 0;
Expand Down Expand Up @@ -1988,6 +2008,7 @@ client cluster TemperatureMeasurement = 1026 {
readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
Expand All @@ -1996,6 +2017,7 @@ server cluster TemperatureMeasurement = 1026 {
readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
Expand Down Expand Up @@ -2952,6 +2974,7 @@ endpoint 0 {
ram attribute measuredValue default = 0x8000;
ram attribute minMeasuredValue default = 0x8000;
ram attribute maxMeasuredValue default = 0x8000;
ram attribute tolerance;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}
Expand Down Expand Up @@ -3038,6 +3061,7 @@ endpoint 0 {
endpoint 1 {
device type anonymousEndpointType = 258, version 1;
binding cluster OnOff;
binding cluster FixedLabel;

server cluster Identify {
ram attribute identifyTime;
Expand Down Expand Up @@ -3099,6 +3123,11 @@ endpoint 1 {
ram attribute clusterRevision default = 1;
}

server cluster FixedLabel {
callback attribute labelList;
ram attribute clusterRevision default = 1;
}

server cluster ColorControl {
ram attribute currentX default = 0x616B;
ram attribute currentY default = 0x607D;
Expand Down
86 changes: 85 additions & 1 deletion examples/placeholder/linux/apps/app1/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5516,7 +5516,7 @@
"mfgCode": null,
"side": "server",
"type": "int16u",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -8235,6 +8235,90 @@
"reportableChange": 0
}
]
},
{
"name": "Fixed Label",
"code": 64,
"mfgCode": null,
"define": "FIXED_LABEL_CLUSTER",
"side": "client",
"enabled": 1,
"attributes": [
{
"name": "LabelList",
"code": 0,
"mfgCode": null,
"side": "client",
"type": "array",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "client",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
},
{
"name": "Fixed Label",
"code": 64,
"mfgCode": null,
"define": "FIXED_LABEL_CLUSTER",
"side": "server",
"enabled": 1,
"attributes": [
{
"name": "LabelList",
"code": 0,
"mfgCode": null,
"side": "server",
"type": "array",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
}
]
}
Expand Down
29 changes: 29 additions & 0 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,26 @@ server cluster OperationalCredentials = 62 {
command access(invoke: administer) AddTrustedRootCertificate(AddTrustedRootCertificateRequest): DefaultSuccess = 11;
}

client cluster FixedLabel = 64 {
struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

readonly attribute LabelStruct labelList[] = 0;
readonly attribute int16u clusterRevision = 65533;
}

server cluster FixedLabel = 64 {
struct LabelStruct {
char_string<16> label = 0;
char_string<16> value = 1;
}

readonly attribute LabelStruct labelList[] = 0;
readonly attribute int16u clusterRevision = 65533;
}

server cluster BooleanState = 69 {
info event StateChange = 0 {
boolean stateValue = 0;
Expand Down Expand Up @@ -1988,6 +2008,7 @@ client cluster TemperatureMeasurement = 1026 {
readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
Expand All @@ -1996,6 +2017,7 @@ server cluster TemperatureMeasurement = 1026 {
readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
Expand Down Expand Up @@ -2952,6 +2974,7 @@ endpoint 0 {
ram attribute measuredValue default = 0x8000;
ram attribute minMeasuredValue default = 0x8000;
ram attribute maxMeasuredValue default = 0x8000;
ram attribute tolerance;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}
Expand Down Expand Up @@ -3038,6 +3061,7 @@ endpoint 0 {
endpoint 1 {
device type anonymousEndpointType = 258, version 1;
binding cluster OnOff;
binding cluster FixedLabel;

server cluster Identify {
ram attribute identifyTime;
Expand Down Expand Up @@ -3099,6 +3123,11 @@ endpoint 1 {
ram attribute clusterRevision default = 1;
}

server cluster FixedLabel {
callback attribute labelList;
ram attribute clusterRevision default = 1;
}

server cluster ColorControl {
ram attribute currentX default = 0x616B;
ram attribute currentY default = 0x607D;
Expand Down
88 changes: 86 additions & 2 deletions examples/placeholder/linux/apps/app2/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5516,11 +5516,11 @@
"mfgCode": null,
"side": "server",
"type": "int16u",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"defaultValue": "0x0",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -8066,6 +8066,90 @@
}
]
},
{
"name": "Fixed Label",
"code": 64,
"mfgCode": null,
"define": "FIXED_LABEL_CLUSTER",
"side": "client",
"enabled": 1,
"attributes": [
{
"name": "LabelList",
"code": 0,
"mfgCode": null,
"side": "client",
"type": "array",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "client",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
},
{
"name": "Fixed Label",
"code": 64,
"mfgCode": null,
"define": "FIXED_LABEL_CLUSTER",
"side": "server",
"enabled": 1,
"attributes": [
{
"name": "LabelList",
"code": 0,
"mfgCode": null,
"side": "server",
"type": "array",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
},
{
"name": "Color Control",
"code": 768,
Expand Down
Loading

0 comments on commit 2224945

Please sign in to comment.