Skip to content

Commit

Permalink
Test Modified May 5 (#18118)
Browse files Browse the repository at this point in the history
* Modified scripts
TC-CC-2.1
TC-LVL-2.1
TC-LVL-2.2
TC-MC-5.1
TC-MC-5.2
TC-MC-5.3
TC-MC-6.1
TC-MC-6.2
TC-MC-6.3
TC-MC-6.4
TC-MC-7.1
TC-MC-7.2
TC-MC-9.1
TC-OCC-2.2
TC-PRS-2.1
TC-TSUIC-1.1
TC-TSUIC-2.2

* Added auto generated files

* Modified test
TC-PRS-2.1
TC-TSUIC-2.2

* auto generated files

* Modified PRS testcase

* Auto generated files

* Modified tests

* Auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Oct 25, 2023
1 parent 35f5025 commit 1672420
Show file tree
Hide file tree
Showing 22 changed files with 4,150 additions and 7,347 deletions.
848 changes: 24 additions & 824 deletions src/app/tests/suites/certification/Test_TC_CC_2_1.yaml

Large diffs are not rendered by default.

33 changes: 6 additions & 27 deletions src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,44 +113,23 @@ tests:
constraints:
type: uint16

#Disabled due to issue - #13414
- label: "Reads the OnLevel attribute "
disabled: true
command: "readAttribute"
attribute: "on level"
response:
value: null

#Issue 13414
- label: "Reads the OnLevel attribute "
command: "readAttribute"
attribute: "on level"
response:
constraints:
type: uint8

#Disabled due to issue - #13414
- label: "Reads the OnTransitionTime attribute "
disabled: true
command: "readAttribute"
attribute: "on transition time"
response:
value: null

#Issue 13414
- label: "Reads the OnTransitionTime attribute "
command: "readAttribute"
attribute: "on transition time"
response:
constraints:
type: uint16

#Disabled due to issue - #13414
- label: "Reads the OffTransitionTime attribute "
disabled: true
command: "readAttribute"
attribute: "off transition time"
response:
value: null

#Issue 13414
- label: "Reads the OffTransitionTime attribute "
command: "readAttribute"
attribute: "off transition time"
Expand All @@ -173,10 +152,10 @@ tests:
constraints:
type: map8

#Disabled due to issue - #13414
#Issue 13414
- label: "Reads the StartUpCurrentLevel attribute "
disabled: true
command: "readAttribute"
attribute: "start up current level"
response:
value: null
constraints:
type: uint8
16 changes: 4 additions & 12 deletions src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,11 @@ tests:
arguments:
value: 0

#Disabled due to issue - #11670
#Issue 13414
- label: "Reads the OnLevel attribute from the DUT"
disabled: true
command: "readAttribute"
attribute: "on level"
response:
value: null
constraints:
type: uint8

Expand All @@ -80,13 +78,11 @@ tests:
constraints:
type: uint8

#Disabled due to issue - #11670
#Issue 13414
- label: "Reads the OnTransitionTime attribute from the DUT"
disabled: true
command: "readAttribute"
attribute: "on transition time"
response:
value: null
constraints:
type: uint16

Expand All @@ -104,13 +100,11 @@ tests:
constraints:
type: uint16

#Disabled due to issue - #11670
#Issue -13414
- label: "Reads the OffTransitionTime attribute from the DUT"
disabled: true
command: "readAttribute"
attribute: "off transition time"
response:
value: null
constraints:
type: uint16

Expand Down Expand Up @@ -150,13 +144,11 @@ tests:
constraints:
type: uint8

#Disabled due to issue - #11670
#issue -13414
- label: "Reads the StartUpCurrentLevel attribute from the DUT"
disabled: true
command: "readAttribute"
attribute: "start up current level"
response:
value: null
constraints:
type: uint8

Expand Down
2 changes: 2 additions & 0 deletions src/app/tests/suites/certification/Test_TC_MC_3_12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ tests:
value: nodeId

- label: "Hide Input Status Command"
PICS: PICS_SKIP_SAMPLE_APP
command: "HideInputStatus"

- label: "Show Input Status Command"
PICS: PICS_SKIP_SAMPLE_APP
command: "ShowInputStatus"
5 changes: 4 additions & 1 deletion src/app/tests/suites/certification/Test_TC_MC_3_13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ tests:
type: list

- label: "Rename Input Command"
PICS: PICS_SKIP_SAMPLE_APP
command: "RenameInput"
arguments:
values:
Expand All @@ -46,6 +47,7 @@ tests:
value: "A1"

- label: "Rename Input Command"
PICS: PICS_SKIP_SAMPLE_APP
command: "RenameInput"
arguments:
values:
Expand All @@ -58,4 +60,5 @@ tests:
command: "readAttribute"
attribute: "InputList"
response:
value: []
constraints:
type: list
24 changes: 0 additions & 24 deletions src/app/tests/suites/certification/Test_TC_MC_5_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,6 @@ tests:
- name: "nodeId"
value: nodeId

#issue 13412 TODO: Enable test and update response value when SDK supports.
- label: "Read attribute Channel list"
disabled: true
command: "readAttribute"
attribute: "ChannelList"
response:
value:
[
{
majorNumber: 1,
minorNumber: 2,
name: "exampleName",
callSign: "exampleCSign",
affiliateCallSign: "exampleASign",
},
{
majorNumber: 2,
minorNumber: 3,
name: "exampleName",
callSign: "exampleCSign",
affiliateCallSign: "exampleASign",
},
]

- label: "Reads the ChannelList attribute from the DUT"
command: "readAttribute"
attribute: "ChannelList"
Expand Down
23 changes: 13 additions & 10 deletions src/app/tests/suites/certification/Test_TC_MC_5_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ config:
nodeId: 0x12344321
cluster: "Channel"
endpoint: 1
majornumber:
type: INT16U
defaultValue: 1
minornumber:
type: INT16U
defaultValue: 2

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

#Disabled due to issue- #13029
- label: "Reads the ChannelList attribute"
disabled: true
command: "readAttribute"
attribute: "ChannelList"
response:
saveAs: ChanaelListValues
constraints:
type: list

#Disabled due to issue- #13029
#Issue 18097
- label: "TH sends a ChangeChannelByNumber command"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "ChangeChannelByNumber"
arguments:
values:
- name: "majorNumber"
value: ChanaelListValues
value: majornumber
- name: "minorNumber"
value: ChanaelListValues
value: minornumber

- label: "log a command"
cluster: "LogCommands"
Expand All @@ -57,10 +60,10 @@ tests:
- name: "message"
value: "verify that the channel has changed on the device."

#Disabled due to issue- #13029
#Issue 18094
- label: "Reads the CurrentChannel attribute"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "CurrentChannel"
response:
value: ChanaelListValues
value: [majorNumber: majornumber, minorNumber: minornumber]
27 changes: 16 additions & 11 deletions src/app/tests/suites/certification/Test_TC_MC_5_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ config:
nodeId: 0x12344321
cluster: "Channel"
endpoint: 1
majornumber:
type: INT16U
defaultValue: 1
minornumber:
type: INT16U
defaultValue: 2

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

#Disabled due to issue- #13029
- label: "Reads the ChannelList attribute from the DUT"
disabled: true
command: "readAttribute"
attribute: "ChannelList"
response:
saveAs: tvchannellistvalues
constraints:
type: list

#Disabled due to issue- #13029
#Issue 18094
- label: "Reads the CurrentChannel attribute from the DUT"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "CurrentChannel"
response:
value: channellistvalues
saveAs: currentChannelvalue
value: [majorNumber: majornumber, minorNumber: minornumber]

#Disabled due to issue - #13084
#Issue 13084 and 18098
- label: "Sends a SkipChannel command to the DUT"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "SkipChannel"
arguments:
values:
Expand All @@ -63,10 +67,11 @@ tests:
- name: "message"
value: "verify that the channel has changed on the device"

#Disabled due to issue- #13029
#Issue 18094 and 13029
- label: "Reads the CurrentChannel attribute from the DUT"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "CurrentChannel"
response:
value: channellistvalues
constraints:
type: list
15 changes: 8 additions & 7 deletions src/app/tests/suites/certification/Test_TC_MC_6_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ tests:
- label: "Precondition: Connect media content available for playback"
disabled: true

#Issue 18109
- label:
"Precondition: Media content in a paused state at the beginning of the
content"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "Pause"

- label: "log a command"
Expand All @@ -47,14 +48,14 @@ tests:
value: "Verify that media is paused"

- label: "Reads the CurrentState attribute"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "CurrentState"
response:
value: 1

- label: "sends a Play command"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "Play"

- label: "log a command"
Expand All @@ -72,7 +73,7 @@ tests:
value: 0

- label: "sends a Pause command"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "Pause"

- label: "log a command"
Expand All @@ -84,14 +85,14 @@ tests:
value: "Physically verify that the media is paused"

- label: "Reads the playback state attribute"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "CurrentState"
response:
value: 1

- label: "sends a Stop command"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "StopPlayback"

- label: "log a command"
Expand All @@ -103,7 +104,7 @@ tests:
value: "Physically verify that the media is stoped"

- label: "Reads the playback state attribute"
disabled: true
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "CurrentState"
response:
Expand Down
Loading

0 comments on commit 1672420

Please sign in to comment.