Clean up obsolete aliases for Truth.

Bug: 255714762
Test: presubmit
Change-Id: I8aab463c74d5e869d949a2b712886a9cc4d15709
Merged-In: I8aab463c74d5e869d949a2b712886a9cc4d15709
This commit is contained in:
Krzysztof Kosiński
2023-10-11 19:41:36 +00:00
parent e249035b89
commit 15e17e0119
5 changed files with 13 additions and 10 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.#
//############################################################
@@ -47,7 +47,7 @@ android_app {
"jsr305",
"settings-contextual-card-protos-lite",
"settings-log-bridge-protos-lite",
"settings-telephony-protos-lite",
"settings-telephony-protos-lite",
"contextualcards",
"settings-logtags",
"zxing-core-1.7",
@@ -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

@@ -21,7 +21,7 @@ android_test {
],
static_libs: [
"androidx.arch.core_core-testing",
"androidx.arch.core_core-testing",
"androidx.test.core",
"androidx.test.rules",
"androidx.test.espresso.core",
@@ -32,7 +32,7 @@ android_test {
"mockito-target-minus-junit4",
"platform-test-annotations",
"platform-test-rules",
"truth-prebuilt",
"truth",
"androidx.test.uiautomator_uiautomator",
"kotlinx_coroutines_test",
// Don't add SettingsLib libraries here - you can use them directly as they are in the
@@ -40,7 +40,7 @@ android_test {
],
errorprone: {
javacflags: ["-Xep:CheckReturnValue:WARN"]
javacflags: ["-Xep:CheckReturnValue:WARN"],
},
// Include all test java/kotlin files.