Merge "Clean up obsolete aliases for Truth." into main am: 4b0bf8f98d
am: b06310a63f
am: 409a6b2492
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2776829 Change-Id: I8873863c35e54bc92f5aae982fe159a5e5e46438 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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"],
|
||||||
|
@@ -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",
|
||||||
|
@@ -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",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
@@ -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",
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user