Skip to content

Commit

Permalink
Test added Apr 14 (#17388)
Browse files Browse the repository at this point in the history
* Added MF test
TC-MF-1.6
Modified scripts
TC-BI-1.1
TC-ETHDIAG-1.1
TC-OO-2.1
TC-PCC-2.1
TC-PCC-2.2
TC-PCC-2.3
TC-PCC-2.4
TC-WIFIDIAG-1.1

* Added auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Aug 3, 2023
1 parent e5b521f commit 2776697
Show file tree
Hide file tree
Showing 13 changed files with 3,056 additions and 857 deletions.
2 changes: 1 addition & 1 deletion examples/chip-tool/templates/tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function getManualTests()
'Test_TC_MF_1_2',
'Test_TC_MF_1_3',
'Test_TC_MF_1_5',
'Test_TC_MF_1_6',
'Test_TC_MF_1_7',
'Test_TC_MF_1_8',
'Test_TC_MF_1_9',
Expand Down Expand Up @@ -423,6 +422,7 @@ function getTests()

const MultipleFabrics = [
'Test_TC_MF_1_4',
'Test_TC_MF_1_6',
];

const OnOff = [
Expand Down
2 changes: 0 additions & 2 deletions src/app/tests/suites/certification/Test_TC_BI_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,13 @@ tests:
type: list

- label: "Read the global attribute: AcceptedCommandList"
disabled: true
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
constraints:
type: list

- label: "Read the global attribute: GeneratedCommandList"
disabled: true
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
Expand Down
13 changes: 2 additions & 11 deletions src/app/tests/suites/certification/Test_TC_ETHDIAG_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name: 48.1.1. [TC-ETHDIAG-1.1] Attributes with server as DUT
config:
nodeId: 0x12344321
cluster: "Ethernet Network Diagnostics"
endpoint: 1
endpoint: 0

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand All @@ -28,7 +28,7 @@ tests:
- name: "nodeId"
value: nodeId

#Disabled due to issue #11670 and #13648
#Disabled due to issue #16552 and #13648
- label: "Read PHYRate attribute"
disabled: true
command: "readAttribute"
Expand All @@ -37,7 +37,6 @@ tests:
value: null

- label: "Read PHYRate attribute constraints"
disabled: true
command: "readAttribute"
attribute: "PHYRate"
response:
Expand All @@ -54,7 +53,6 @@ tests:
value: null

- label: "Read FullDuplex attribute constraints"
disabled: true
command: "readAttribute"
attribute: "FullDuplex"
response:
Expand All @@ -69,7 +67,6 @@ tests:
value: 0

- label: "Read PacketRxCount attribute constraints"
disabled: true
command: "readAttribute"
attribute: "PacketRxCount"
response:
Expand All @@ -84,7 +81,6 @@ tests:
value: 0

- label: "Read PacketTxCount attribute constraints"
disabled: true
command: "readAttribute"
attribute: "PacketTxCount"
response:
Expand All @@ -99,7 +95,6 @@ tests:
value: 0

- label: "Read TxErrCount attribute constraints"
disabled: true
command: "readAttribute"
attribute: "TxErrCount"
response:
Expand All @@ -114,7 +109,6 @@ tests:
value: 0

- label: "Read CollisionCount attribute constraints"
disabled: true
command: "readAttribute"
attribute: "CollisionCount"
response:
Expand All @@ -129,7 +123,6 @@ tests:
value: 0

- label: "Read OverrunCount attribute constraints"
disabled: true
command: "readAttribute"
attribute: "OverrunCount"
response:
Expand All @@ -144,7 +137,6 @@ tests:
value: null

- label: "Read CarrierDetect attribute constraints"
disabled: true
command: "readAttribute"
attribute: "CarrierDetect"
response:
Expand All @@ -159,7 +151,6 @@ tests:
value: 0

- label: "Read TimeSinceReset attribute constraints"
disabled: true
command: "readAttribute"
attribute: "TimeSinceReset"
response:
Expand Down
385 changes: 137 additions & 248 deletions src/app/tests/suites/certification/Test_TC_MF_1_6.yaml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/app/tests/suites/certification/Test_TC_OO_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,31 @@ tests:
type: bool

- label: "read LT attribute: GlobalSceneControl"
optional: true
command: "readAttribute"
attribute: "GlobalSceneControl"
response:
constraints:
type: bool

- label: "read LT attribute: OnTime"
optional: true
command: "readAttribute"
attribute: "OnTime"
response:
constraints:
type: uint16

- label: "read LT attribute: OffWaitTime"
optional: true
command: "readAttribute"
attribute: "OffWaitTime"
response:
constraints:
type: uint16

- label: "read LT attribute: StartUpOnOff"
optional: true
command: "readAttribute"
attribute: "StartUpOnOff"
response:
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ tests:
constraints:
type: int16

#issue #11670 Null check is not implemented in YAML framework.
#issue #16650
- label: "read the optional attribute: MinConstPressure"
disabled: true
command: "readAttribute"
Expand Down
3 changes: 0 additions & 3 deletions src/app/tests/suites/certification/Test_TC_PCC_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ tests:
value: 1

- label: "Reads the attribute: EffectiveOperationMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveOperationMode"
PICS: A_EFFECTIVEOPERATIONMODE
Expand All @@ -51,7 +50,6 @@ tests:
value: 2

- label: "Reads the attribute: EffectiveOperationMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveOperationMode"
PICS: A_EFFECTIVEOPERATIONMODE
Expand All @@ -66,7 +64,6 @@ tests:
value: 3

- label: "Reads the attribute: EffectiveOperationMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveOperationMode"
PICS: A_EFFECTIVEOPERATIONMODE
Expand Down
5 changes: 0 additions & 5 deletions src/app/tests/suites/certification/Test_TC_PCC_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ tests:
value: 1

- label: "Reads the attribute: EffectiveControlMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveControlMode"
PICS: A_EFFECTIVECONTROLMODE
Expand All @@ -79,7 +78,6 @@ tests:
value: 2

- label: "Reads the attribute: EffectiveControlMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveControlMode"
PICS: A_EFFECTIVECONTROLMODE
Expand All @@ -94,7 +92,6 @@ tests:
value: 3

- label: "Reads the attribute: EffectiveControlMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveControlMode"
PICS: A_EFFECTIVECONTROLMODE
Expand All @@ -109,7 +106,6 @@ tests:
value: 5

- label: "Reads the attribute: EffectiveControlMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveControlMode"
PICS: A_EFFECTIVECONTROLMODE
Expand All @@ -124,7 +120,6 @@ tests:
value: 7

- label: "Reads the attribute: EffectiveControlMode"
disabled: true
command: "readAttribute"
attribute: "EffectiveControlMode"
PICS: A_EFFECTIVECONTROLMODE
Expand Down
1 change: 0 additions & 1 deletion src/app/tests/suites/certification/Test_TC_PCC_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ tests:
value: 1

- label: "Reads the attribute: LifetimeEnergyConsumed"
disabled: true
command: "readAttribute"
attribute: "LifetimeEnergyConsumed"
response:
Expand Down
10 changes: 2 additions & 8 deletions src/app/tests/suites/certification/Test_TC_WIFIDIAG_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ tests:
# https://github.com/project-chip/connectedhomeip/pull/14755 is
# fixed and the SDK has the right types.
- label: "Reads SecurityType attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "SecurityType"
response:
Expand All @@ -54,19 +53,14 @@ tests:
constraints:
type: enum

- label: "Reads WiFiVersion attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "WiFiVersion"
response:
value: null

- label: "Reads WiFiVersion attribute constraints"
command: "readAttribute"
attribute: "WiFiVersion"
response:
constraints:
type: enum
minValue: 0
maxValue: 5

- label: "Reads ChannelNumber attribute from DUT"
disabled: true
Expand Down
Loading

0 comments on commit 2776697

Please sign in to comment.