TEST_MAPPING for more of frameworks/av/media
Some test are listed, but currently disabled.
Some of the new tests needed to be marked as device-tests.
Bug: 144649738
Test: atest in the corresponding directories
Change-Id: If9db87a55baa17722f86b25db618db2d22742a10
diff --git a/media/TEST_MAPPING b/media/TEST_MAPPING
new file mode 100644
index 0000000..73d3c25
--- /dev/null
+++ b/media/TEST_MAPPING
@@ -0,0 +1,12 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsMediaTestCases",
+ "options": [
+ {
+ "include-filter": "android.media.cts.EncodeDecodeTest"
+ }
+ ]
+ }
+ ]
+}
diff --git a/media/extractors/TEST_MAPPING b/media/extractors/TEST_MAPPING
new file mode 100644
index 0000000..5c90a70
--- /dev/null
+++ b/media/extractors/TEST_MAPPING
@@ -0,0 +1,7 @@
+// frameworks/av/media/extractors
+{
+ "presubmit": [
+ // b/148094059: unit tests not allowed to download content
+ //{ "name": "ExtractorUnitTest" }
+ ]
+}
diff --git a/media/extractors/tests/Android.bp b/media/extractors/tests/Android.bp
index fa39b64..e27ed0b 100644
--- a/media/extractors/tests/Android.bp
+++ b/media/extractors/tests/Android.bp
@@ -17,6 +17,7 @@
cc_test {
name: "ExtractorUnitTest",
gtest: true,
+ test_suites: ["device-tests"],
srcs: ["ExtractorUnitTest.cpp"],
diff --git a/media/libstagefright/foundation/TEST_MAPPING b/media/libstagefright/foundation/TEST_MAPPING
index 6bd3a3a..1bd56a6 100644
--- a/media/libstagefright/foundation/TEST_MAPPING
+++ b/media/libstagefright/foundation/TEST_MAPPING
@@ -1,6 +1,9 @@
// mappings for frameworks/av/media/libstagefright/foundation
{
"presubmit": [
+ // b/148094059: unit tests not allowed to download content
+ //{ "name": "OpusHeaderTest" },
+
{ "name": "sf_foundation_test" },
{ "name": "MetaDataBaseUnitTest"}
]
diff --git a/media/libstagefright/timedtext/TEST_MAPPING b/media/libstagefright/timedtext/TEST_MAPPING
new file mode 100644
index 0000000..4528b32
--- /dev/null
+++ b/media/libstagefright/timedtext/TEST_MAPPING
@@ -0,0 +1,7 @@
+// mappings for frameworks/av/media/libstagefright/timedtext
+{
+ "presubmit": [
+ // b/148094059: unit tests not allowed to download content
+ //{ "name": "TimedTextUnitTest" }
+ ]
+}