aboutsummaryrefslogtreecommitdiff
path: root/TestMediaApp/assets
diff options
context:
space:
mode:
authorYabin Huang <yabinh@google.com>2019-09-03 13:46:42 -0700
committerYabin Huang <yabinh@google.com>2019-09-24 11:57:00 -0700
commit0ff14f2087fad2a0570bf0fafb6749fc56a42cc3 (patch)
treed2e11c26c81e9e46ea09e97a977221a5332c27f4 /TestMediaApp/assets
parent5c03d5cdb6f55fc566adce0584ace596e9494f39 (diff)
downloadtests-0ff14f2087fad2a0570bf0fafb6749fc56a42cc3.tar.gz
Add some test cases in test media app
Fixes: 139295650 Test: manual Change-Id: I4c2443992fe0fa7e9a21397aa1c47ba9ce62579f
Diffstat (limited to 'TestMediaApp/assets')
-rw-r--r--TestMediaApp/assets/media_items/simple_leaves.json26
1 files changed, 25 insertions, 1 deletions
diff --git a/TestMediaApp/assets/media_items/simple_leaves.json b/TestMediaApp/assets/media_items/simple_leaves.json
index d70a2a4..e666c1b 100644
--- a/TestMediaApp/assets/media_items/simple_leaves.json
+++ b/TestMediaApp/assets/media_items/simple_leaves.json
@@ -104,6 +104,30 @@
"POST_DELAY_MS": 1000
}
]
+ },
+ {
+ "FLAGS": "playable",
+ "METADATA": {
+ "MEDIA_ID": "simple_leaves bluetooth disconnected and reconnected",
+ "DISPLAY_TITLE": "Bluetooth disconnected at 2s and reconnected at 8s",
+ "DURATION": 20000
+ },
+ "EVENTS": [
+ { "STATE": "PLAYING", "POST_DELAY_MS": 0 },
+ {
+ "STATE": "ERROR",
+ "ERROR_MESSAGE": "Bluetooth audio disconnected.",
+ "POST_DELAY_MS": 2000
+ },
+ {
+ "ACTION": "RESET_METADATA",
+ "POST_DELAY_MS": 6000
+ },
+ {
+ "STATE": "PLAYING",
+ "POST_DELAY_MS": 3000
+ }
+ ]
}
]
-} \ No newline at end of file
+}