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", "androidx.test.rules",
"mockito-target", "mockito-target",
"androidx.test.uiautomator_uiautomator", "androidx.test.uiautomator_uiautomator",
"truth-prebuilt", "truth",
], ],
srcs: ["**/*.java"], srcs: ["**/*.java"],

View File

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

View File

@@ -1,4 +1,4 @@
//############################################################ //############################################################
// Build SettingsRoboTestStub.apk which includes test-only resources.# // Build SettingsRoboTestStub.apk which includes test-only resources.#
//############################################################ //############################################################
@@ -47,7 +47,7 @@ android_app {
"jsr305", "jsr305",
"settings-contextual-card-protos-lite", "settings-contextual-card-protos-lite",
"settings-log-bridge-protos-lite", "settings-log-bridge-protos-lite",
"settings-telephony-protos-lite", "settings-telephony-protos-lite",
"contextualcards", "contextualcards",
"settings-logtags", "settings-logtags",
"zxing-core-1.7", "zxing-core-1.7",
@@ -90,7 +90,10 @@ android_robolectric_test {
"ims-common", "ims-common",
], ],
java_resource_dirs: ["config", "resources"], java_resource_dirs: [
"config",
"resources",
],
instrumentation_for: "SettingsRoboTestStub", instrumentation_for: "SettingsRoboTestStub",
@@ -114,6 +117,6 @@ java_library {
"Settings-core", "Settings-core",
"Robolectric_all-target", "Robolectric_all-target",
"mockito-robolectric-prebuilt", "mockito-robolectric-prebuilt",
"truth-prebuilt", "truth",
], ],
} }

View File

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

View File

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