WebView: consolidate TEST_MAPPING into single config
No change to logic, only test mapping changes. This moves all WebView
folders to use a single consolidated TEST_MAPPING config, across both
our production code and our test code. The goal is to make sure that
when we change any WebView-related code, we need to run the full suite
of WebView tests to make sure our code is still bug-free.
Bug: 419303926
Test: repo upload (check the automated test runs)
Flag: TEST_ONLY
Change-Id: Ib3ecf4476dab8765913e34244985e69a70b26f15
diff --git a/hostsidetests/webkit/TEST_MAPPING b/hostsidetests/webkit/TEST_MAPPING
index 27c686e..1911f48 100644
--- a/hostsidetests/webkit/TEST_MAPPING
+++ b/hostsidetests/webkit/TEST_MAPPING
@@ -1,12 +1,9 @@
{
- "presubmit": [
+ // Please do not add any configs in this file. All presubmit/postsubmit test
+ // configs belong in the unified TEST_MAPPING file linked below.
+ "imports": [
{
- "name": "CtsHostsideWebViewTests"
- }
- ],
- "hwasan-postsubmit": [
- {
- "name": "CtsHostsideWebViewTests"
+ "path": "frameworks/base/core/java/android/webkit"
}
]
}
diff --git a/libs/deviceutillegacy/src/android/webkit/cts/TEST_MAPPING b/libs/deviceutillegacy/src/android/webkit/cts/TEST_MAPPING
new file mode 100644
index 0000000..1911f48
--- /dev/null
+++ b/libs/deviceutillegacy/src/android/webkit/cts/TEST_MAPPING
@@ -0,0 +1,9 @@
+{
+ // Please do not add any configs in this file. All presubmit/postsubmit test
+ // configs belong in the unified TEST_MAPPING file linked below.
+ "imports": [
+ {
+ "path": "frameworks/base/core/java/android/webkit"
+ }
+ ]
+}
diff --git a/libs/testserver/src/android/webkit/cts/TEST_MAPPING b/libs/testserver/src/android/webkit/cts/TEST_MAPPING
new file mode 100644
index 0000000..1911f48
--- /dev/null
+++ b/libs/testserver/src/android/webkit/cts/TEST_MAPPING
@@ -0,0 +1,9 @@
+{
+ // Please do not add any configs in this file. All presubmit/postsubmit test
+ // configs belong in the unified TEST_MAPPING file linked below.
+ "imports": [
+ {
+ "path": "frameworks/base/core/java/android/webkit"
+ }
+ ]
+}
diff --git a/libs/webkit-shared/TEST_MAPPING b/libs/webkit-shared/TEST_MAPPING
new file mode 100644
index 0000000..1911f48
--- /dev/null
+++ b/libs/webkit-shared/TEST_MAPPING
@@ -0,0 +1,9 @@
+{
+ // Please do not add any configs in this file. All presubmit/postsubmit test
+ // configs belong in the unified TEST_MAPPING file linked below.
+ "imports": [
+ {
+ "path": "frameworks/base/core/java/android/webkit"
+ }
+ ]
+}
diff --git a/tests/tests/sdksandbox/webkit/TEST_MAPPING b/tests/tests/sdksandbox/webkit/TEST_MAPPING
new file mode 100644
index 0000000..1911f48
--- /dev/null
+++ b/tests/tests/sdksandbox/webkit/TEST_MAPPING
@@ -0,0 +1,9 @@
+{
+ // Please do not add any configs in this file. All presubmit/postsubmit test
+ // configs belong in the unified TEST_MAPPING file linked below.
+ "imports": [
+ {
+ "path": "frameworks/base/core/java/android/webkit"
+ }
+ ]
+}
diff --git a/tests/tests/webkit/TEST_MAPPING b/tests/tests/webkit/TEST_MAPPING
index d8e5749..1911f48 100644
--- a/tests/tests/webkit/TEST_MAPPING
+++ b/tests/tests/webkit/TEST_MAPPING
@@ -1,7 +1,9 @@
{
- "presubmit": [
+ // Please do not add any configs in this file. All presubmit/postsubmit test
+ // configs belong in the unified TEST_MAPPING file linked below.
+ "imports": [
{
- "name": "CtsWebkitTestCases"
+ "path": "frameworks/base/core/java/android/webkit"
}
]
}