Merge "Clean up obsolete aliases for Truth." into main

This commit is contained in:
Treehugger Robot
2023-10-11 23:59:17 +00:00
committed by Gerrit Code Review
5 changed files with 12 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ android_test {
"androidx.test.rules",
"mockito-target",
"androidx.test.uiautomator_uiautomator",
"truth-prebuilt",
"truth",
],
srcs: ["**/*.java"],

View File

@@ -19,7 +19,7 @@ android_test {
],
static_libs: [
"truth-prebuilt",
"truth",
"androidx.test.core",
"androidx.test.espresso.core",
"androidx.test.espresso.intents-nodeps",

View File

@@ -1,4 +1,4 @@
//############################################################
//############################################################
// Build SettingsRoboTestStub.apk which includes test-only resources.#
//############################################################
@@ -90,7 +90,10 @@ android_robolectric_test {
"ims-common",
],
java_resource_dirs: ["config", "resources"],
java_resource_dirs: [
"config",
"resources",
],
instrumentation_for: "SettingsRoboTestStub",
@@ -114,6 +117,6 @@ java_library {
"Settings-core",
"Robolectric_all-target",
"mockito-robolectric-prebuilt",
"truth-prebuilt",
"truth",
],
}

View File

@@ -43,7 +43,7 @@ android_test {
"settings-helper",
"sysui-helper",
"timeresult-helper-lib",
"truth-prebuilt",
"truth",
],
//sdk_version: "current",

View File

@@ -30,14 +30,14 @@ android_test {
"androidx.preference_preference",
"mockito-target-minus-junit4",
"platform-test-annotations",
"truth-prebuilt",
"truth",
"androidx.test.uiautomator_uiautomator",
// Don't add SettingsLib libraries here - you can use them directly as they are in the
// instrumented Settings app.
],
errorprone: {
javacflags: ["-Xep:CheckReturnValue:WARN"]
javacflags: ["-Xep:CheckReturnValue:WARN"],
},
// Include all test java files.