blob: 32312c80c1858a69494770316ae1697a0b875d2f [file] [log] [blame]
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# 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: 3.12.2. [TC-CONTENTLAUNCHER-10.3] Launch Content Verification
PICS:
- CONTENTLAUNCHER.S
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label:
"TH sends a LaunchContent command to the DUT with a search parameter
and string, and AutoPlay flag set to false"
PICS: CONTENTLAUNCHER.S.C00.Rsp
verification: |
The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner):
./chip-tool contentlauncher launch-content "{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }" 0 1 1
./chip-tv-casting-app contentlauncher launch-content "{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }" 0 1 1
On TH verify the success response (value 0) received from DUT
[1651062794.114531][157317:157322] CHIP:TOO: LaunchResponse: {
[1651062794.114546][157317:157322] CHIP:TOO: status: 0
[1651062794.114553][157317:157322] CHIP:TOO: data: exampleData
[1651062794.114560][157317:157322] CHIP:TOO: }
disabled: true
- label:
"TH sends a LaunchContent command to the DUT with a search parameter
and string, and AutoPlay flag set to true"
PICS: CONTENTLAUNCHER.S.C00.Rsp
verification: |
The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner):
./chip-tool contentlauncher launch-content "{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }" 1 1 1
./chip-tv-casting-app contentlauncher launch-content "{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }" 1 1 1
On TH verify the success response (value 0) received from DUT
[1651062895.695667][157343:157348] CHIP:TOO: LaunchResponse: {
[1651062895.695703][157343:157348] CHIP:TOO: status: 0
[1651062895.695724][157343:157348] CHIP:TOO: data: exampleData
[1651062895.695746][157343:157348] CHIP:TOO: }
disabled: true