Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pics update Jul 4 #20272

Merged
merged 5 commits into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
838 changes: 675 additions & 163 deletions src/app/tests/suites/certification/PICS.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/app/tests/suites/certification/Test_TC_FLABEL_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ tests:
[1654000813.726531][7713:7718] CHIP:DMG: WriteClient moving to [AwaitingDe]
[1654000813.726603][7713:7718] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE)
[1654000813.726707][7713:7718] CHIP:EM: Sending Standalone Ack for MessageCounter:11245962 on exchange 35967i
PICS: FLABEL.S.A0000
disabled: true

- label: "TH reads LabelList from the DUT"
Expand All @@ -55,4 +56,5 @@ tests:
[1651124649.821008][2819:2824] CHIP:TOO: Value: up
[1651124649.821039][2819:2824] CHIP:TOO: }
[1651124649.821193][2819:2824] CHIP:EM: Sending Standalone Ack for MessageCounter:2439070 on exchange 10798i
PICS: FLABEL.S.A0000
disabled: true
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_FLABEL_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config:

tests:
- label: "DUT reads LabelList from the TH"
PICS: FLABEL.S.A0000
verification: |
./chip-tool fixedlabel read label-list 1 0

Expand Down
2 changes: 2 additions & 0 deletions src/app/tests/suites/certification/Test_TC_MC_10_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ tests:
value: nodeId

- label: "TH reads the AcceptHeader attribute from the DUT"
PICS: MC_CONTENTLAUNCHER.S.A0000
command: "readAttribute"
attribute: "AcceptHeader"
response:
constraints:
type: list

- label: "TH reads the SupportedStreamingProtocols attribute from the DUT"
PICS: MC_CONTENTLAUNCHER.S.A0001
command: "readAttribute"
attribute: "SupportedStreamingProtocols"
response:
Expand Down
2 changes: 2 additions & 0 deletions src/app/tests/suites/certification/Test_TC_MC_10_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ tests:
- label:
"TH sends a LaunchContent command to the DUT with a search parameter
and string, and AutoPlay flag set to false"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |
./chip-tool contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 1 1

Expand Down Expand Up @@ -77,6 +78,7 @@ tests:
- label:
"TH sends a LaunchContent command to the DUT with a search parameter
and string, and AutoPlay flag set to true"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |
././chip-tool contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 1 1

Expand Down
5 changes: 5 additions & 0 deletions src/app/tests/suites/certification/Test_TC_MC_10_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ tests:
- label:
"TH sends a LaunchURL command to the DUT with a known good content URL
string"
PICS: MC_CONTENTLAUNCHER.C.C0001
verification: |
./chip-tool contentlauncher launch-url "exampleUrl" '{"providerName": "exampleName", "background": { "imageUrl": "exampleUrl", "color": "blue", "size" : {"width": 1.0, "height": 1.0, "metric": 0} }}' 1 1

Expand Down Expand Up @@ -76,27 +77,31 @@ tests:
- label:
"TH sends a LaunchURL command to the DUT with a known good content URL
string and a display string"
PICS: MC_CONTENTLAUNCHER.C.C0001
verification: |
./chip-tool contentlauncher launch-urlrequest https://csa-iot.org/ 'Test content' 1 1
disabled: true

- label:
"TH sends a LaunchURL command to the DUT with a known good content URL
string and a brand information object."
PICS: MC_CONTENTLAUNCHER.C.C0001
verification: |
Not supported by chip-tool
disabled: true

- label:
"TH sends a LaunchURL command to the DUT with a known unreachable
content URL string."
PICS: MC_CONTENTLAUNCHER.C.C0001
verification: |
./chip-tool contentlauncher launch-urlrequest https://badurl 1 1
disabled: true

- label:
"TH sends a LaunchURL command to the DUT with a known un-authorized
content URL string."
PICS: MC_CONTENTLAUNCHER.C.C0001
verification: |
./chip-tool contentlauncher launch-urlrequest https://csa-iot.org/badauth 1 1
disabled: true
13 changes: 13 additions & 0 deletions src/app/tests/suites/certification/Test_TC_MC_10_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Actor' and Value as An Actors name, for
example, Gaby sHoffman"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -33,6 +34,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Channel' and Value as Channel Name name, for
example, PBS'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -41,6 +43,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Character' and Value as Characters name,for
example, Snow White"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -49,6 +52,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Director' and Value as Directors name, for
example, Spike Lee"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -57,6 +61,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Event' and Value as An Events name , for
example 'Football games'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -65,6 +70,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Franchise' and Value as Franchises name,for
example 'Star Wars'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -73,6 +79,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Genre' and Value as Genres name, for example
'Horror'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -81,13 +88,15 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'League' and Value as Leagues name, for example
'NCAA'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true

- label:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Popularity' and Value as Popularitys name"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -96,6 +105,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Provider' and Value as Providers name, for
example 'Netflix'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -104,6 +114,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Sport' and Value as Sports name, for example,
football"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -112,6 +123,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'SportsTeam' and Value as SportTeams name , for
example 'Arsenel'"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
Expand All @@ -120,6 +132,7 @@ tests:
"DUT sends a LaunchContent command to the TH with search parameter
consisting of Type As 'Type' and Value as Types name, for example
'TVSeries',"
PICS: MC_CONTENTLAUNCHER.C.C0000
verification: |

disabled: true
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_MC_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tests:
value: nodeId

- label: "TH sends Sleep command to DUT"
PICS: MC_LOWPOWER.S
command: "Sleep"
response:
error: 0
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_MC_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config:

tests:
- label: "DUT sends Sleep command to TH"
PICS: MC_LOWPOWER.C
verification: |
./chip-tool lowpower sleep 1 1
[1645781483.851821][5175:5180] CHIP:DMG: InvokeResponseMessage =
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_MC_3_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tests:
[1651055193.215585][155444:155449] CHIP:TOO: }
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
PICS: PICS_USER_PROMPT && MC_MEDIAINPUT.S.A0000
arguments:
values:
- name: "message"
Expand Down
4 changes: 3 additions & 1 deletion src/app/tests/suites/certification/Test_TC_MC_3_11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tests:
[1651055193.215585][155444:155449] CHIP:TOO: }
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
PICS: PICS_USER_PROMPT && MC_MEDIAINPUT.S.A0000
arguments:
values:
- name: "message"
Expand All @@ -59,13 +59,15 @@ tests:
value: "y"

- label: "Select Input Command"
PICS: MC_MEDIAINPUT.S.C0000
command: "SelectInput"
arguments:
values:
- name: "index"
value: 1

- label: "Read current input list"
PICS: MC_MEDIAINPUT.S.A0001
command: "readAttribute"
attribute: "CurrentInput"
response:
Expand Down
5 changes: 4 additions & 1 deletion src/app/tests/suites/certification/Test_TC_MC_3_12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default

name: 21.5.3. [TC-MC-3.10] Show and Hide Input Status Verification
name: 21.5.3. [TC-MC-3.12] Show and Hide Input Status Verification

config:
nodeId: 0x12344321
Expand All @@ -30,18 +30,21 @@ tests:
value: nodeId

- label: "Read attribute media input list"
PICS: MC_MEDIAINPUT.S.A0000
command: "readAttribute"
attribute: "InputList"
response:
constraints:
type: list

- label: "Hide Input Status Command"
PICS: MC_MEDIAINPUT.S.C0002
command: "HideInputStatus"
response:
error: 0

- label: "Show Input Status Command"
PICS: MC_MEDIAINPUT.S.C0001
command: "ShowInputStatus"
response:
error: 0
5 changes: 3 additions & 2 deletions src/app/tests/suites/certification/Test_TC_MC_3_13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ tests:
[1651055193.215585][155444:155449] CHIP:TOO: }
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
PICS: PICS_USER_PROMPT && MC_MEDIAINPUT.S.A0000
arguments:
values:
- name: "message"
Expand All @@ -60,6 +60,7 @@ tests:
value: "y"

- label: "Rename Input Command"
PICS: MC_MEDIAINPUT.S.C0003
command: "RenameInput"
arguments:
values:
Expand Down Expand Up @@ -90,7 +91,7 @@ tests:
[1651055193.215585][155444:155449] CHIP:TOO: }
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
PICS: PICS_USER_PROMPT && MC_MEDIAINPUT.S.A0000
arguments:
values:
- name: "message"
Expand Down
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_MC_3_14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config:

tests:
- label: "DUT sends SelectInput command to TH"
PICS: MC_MEDIAINPUT.C.C0000
verification: |
The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH.
If the DUT knows the Index value, then those can be sent as the argument.
Expand Down
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_MC_3_15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config:

tests:
- label: "DUT sends Show Input Status command to TH"
PICS: MC_MEDIAINPUT.C.C0001
verification: |
The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH.

Expand Down
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_MC_3_16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config:

tests:
- label: "DUT sends Hide Input Status command to TH"
PICS: MC_MEDIAINPUT.C.C0002
verification: |
The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH.

Expand Down
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/Test_TC_MC_3_17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config:

tests:
- label: "DUT sends Rename Input command to TH"
PICS: MC_MEDIAINPUT.C.C0003
verification: |
The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH.

Expand Down
2 changes: 2 additions & 0 deletions src/app/tests/suites/certification/Test_TC_MC_3_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ tests:
value: nodeId

- label: "TH sends CEC Settings Keys(0x0A) to DUT"
PICS: MC_KEYPADINPUT.S.LK
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x0A

- label: "TH sends CEC Home Keys(0x09) to DUT"
PICS: MC_KEYPADINPUT.S.LK
command: "SendKey"
arguments:
values:
Expand Down
Loading