From dd6ce20205b798acc4e74ff0bfff86a3b705c067 Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Thu, 2 Apr 2020 22:03:36 -0700 Subject: [PATCH] Add GTS tests for TreeHugger presubmit Goal is to cover the following two areas with the additions of three classes of presubmit tests: - decrypt 0-length CryptoInfo coverage by CtsMediaTestCases in av/drm/mediadrm/plugins coverage by exoplayer.gts.DashTest coverage by media.gts.WidevineGenericOpsTests Bug: 152407075 Test: atest Summary ------- arm64-v8a CtsMediaTestCases: Passed: 18, Failed: 0, Ignored: 0, Assumption Failed: 0 arm64-v8a GtsExoPlayerTestCases: Passed: 1, Failed: 0, Ignored: 0, Assumption Failed: 0 arm64-v8a GtsMediaTestCases: Passed: 2, Failed: 0, Ignored: 0, Assumption Failed: 0 Change-Id: Ic10759d2e61db3935420e7b7b12f5c15e9a28012 Merged-In: Ic10759d2e61db3935420e7b7b12f5c15e9a28012 --- media/TEST_MAPPING | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 media/TEST_MAPPING diff --git a/media/TEST_MAPPING b/media/TEST_MAPPING new file mode 100644 index 0000000000..a6dfb2145e --- /dev/null +++ b/media/TEST_MAPPING @@ -0,0 +1,32 @@ +{ + "presubmit": [ + { + "name": "GtsMediaTestCases", + "options" : [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "include-filter": "com.google.android.media.gts.WidevineGenericOpsTests" + } + ] + }, + { + "name": "GtsExoPlayerTestCases", + "options" : [ + { + "include-annotation": "android.platform.test.annotations.SocPresubmit" + }, + { + "include-filter": "com.google.android.exoplayer.gts.DashTest#testWidevine23FpsH264Fixed" + } + ] + } + ], + "imports": [ + { + "path": "frameworks/av/drm/mediadrm/plugins" + } + ] +} +