Skip to content

Commit dc18c55

Browse files
committedJan 24, 2024·
TC-MEDIAPLAYBACK-6.10 test
1 parent a386c83 commit dc18c55

File tree

6 files changed

+227
-1
lines changed

6 files changed

+227
-1
lines changed
 

‎examples/placeholder/linux/apps/app1/ciTests.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"Test_TC_CC_7_5_Simulated",
1515
"Test_TC_CC_9_4_Simulated",
1616
"Test_TC_DGTHREAD_3_4_Simulated",
17-
"Test_TC_OO_3_2_Simulated"
17+
"Test_TC_OO_3_2_Simulated",
18+
"Test_TC_MEDIAPLAYBACK_6_10_Simulated"
1819
],
1920
"collection": ["Test"]
2021
}

‎src/app/tests/suites/certification/PICS.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -9953,3 +9953,18 @@ PICS:
99539953
# Commands generated
99549954
- label: "Does the device implement sending the GetTargetsResponse command?"
99559955
id: EEVSE.S.C00.Tx
9956+
9957+
- label:
9958+
"Does the DUT support the Media Playback client cluster,
9959+
ActivateAudioTrack command?"
9960+
id: MEDIAPLAYBACK.C.C0c.Tx
9961+
9962+
- label:
9963+
"Does the DUT support the Media Playback client cluster,
9964+
ActivateTextTrack command?"
9965+
id: MEDIAPLAYBACK.C.C0d.Tx
9966+
9967+
- label:
9968+
"Does the DUT support the Media Playback client cluster,
9969+
DeactivateTextTrack command?"
9970+
id: MEDIAPLAYBACK.C.C0e.Tx
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright (c) 2024 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name:
16+
19.8.9. [TC-MEDIAPLAYBACK-6.10] Optional Track Verification (DUT as Client)
17+
18+
PICS:
19+
- MEDIAPLAYBACK.C
20+
21+
config:
22+
nodeId: 0x12344321
23+
cluster: "Media Playback"
24+
endpoint: 0
25+
26+
tests:
27+
- label: "Wait for the device to be commissioned"
28+
cluster: "DelayCommands"
29+
command: "WaitForCommissioning"
30+
31+
- label: "Step 1: DUT sends ActivateAudioTrack command to TH"
32+
PICS: MEDIAPLAYBACK.C.C0c.Tx
33+
wait: ActivateAudioTrack
34+
35+
- label: "Step 2: DUT sends ActivateTextTrack command to TH"
36+
PICS: MEDIAPLAYBACK.C.C0d.Tx
37+
wait: ActivateTextTrack
38+
39+
- label: "Step 1: DUT sends DeactivateTextTrack command to TH"
40+
PICS: MEDIAPLAYBACK.C.C0e.Tx
41+
wait: DeactivateTextTrack

‎src/app/tests/suites/certification/ci-pics-values

+7
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ MEDIAPLAYBACK.S.C07.Rsp=1
430430
MEDIAPLAYBACK.S.C08.Rsp=1
431431
MEDIAPLAYBACK.S.C09.Rsp=1
432432
MEDIAPLAYBACK.S.C0b.Rsp=1
433+
MEDIAPLAYBACK.S.C0d.Rsp=1
434+
MEDIAPLAYBACK.S.C0c.Rsp=1
435+
MEDIAPLAYBACK.S.C0e.Rsp=1
433436

434437
MEDIAPLAYBACK.S.F00=1
435438
MEDIAPLAYBACK.S.F01=1
@@ -446,6 +449,9 @@ MEDIAPLAYBACK.C.C07.Tx=0
446449
MEDIAPLAYBACK.C.C08.Tx=1
447450
MEDIAPLAYBACK.C.C09.Tx=1
448451
MEDIAPLAYBACK.C.C0b.Tx=0
452+
MEDIAPLAYBACK.C.C0c.Tx=1
453+
MEDIAPLAYBACK.C.C0d.Tx=1
454+
MEDIAPLAYBACK.C.C0e.Tx=1
449455

450456
AUDIOOUTPUT.S=1
451457
AUDIOOUTPUT.S.A0000=1
@@ -2807,6 +2813,7 @@ OTCCM.S.C01.Tx=0
28072813
#Manual controllable
28082814
OTCCM.S.M.CAN_TEST_MODE_FAILURE=0
28092815
OTCCM.S.M.CAN_MANUALLY_CONTROLLED=0
2816+
OTCCM.S.M.CAN_MANUALLY_CONTROLLED=0
28102817

28112818
#Energy EVSE Cluster
28122819
EEVSE.S=0

‎zzz_generated/placeholder/app1/zap-generated/test/Commands.h

+81
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎zzz_generated/placeholder/app2/zap-generated/test/Commands.h

+81
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.