blob: 8f55049e05a382050d40ecac2e7b25871de48a3f [file] [log] [blame]
load("//src/main/java/com/google/android/libraries/feed/buildtools/testing:android_local_test.bzl", "DEFAULT_ANDROID_LOCAL_TEST_MANIFEST")
licenses(["notice"]) # Apache 2
android_local_test(
name = "AspectRatioScalingImageViewTest",
size = "small",
timeout = "moderate",
srcs = ["AspectRatioScalingImageViewTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "BitmapMaskingRoundedCornerDelegateTest",
size = "small",
timeout = "moderate",
srcs = ["BitmapMaskingRoundedCornerDelegateTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/functional",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//src/main/proto/search/now/ui/piet:piet_java_proto_lite",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "BorderDrawableTest",
size = "small",
timeout = "moderate",
srcs = ["BorderDrawableTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/ui",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//src/main/proto/search/now/ui/piet:piet_java_proto_lite",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "GradientDrawableTest",
size = "small",
timeout = "moderate",
srcs = ["GradientDrawableTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/functional",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//src/main/proto/search/now/ui/piet:piet_java_proto_lite",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "GradientShaderTest",
size = "small",
timeout = "moderate",
srcs = ["GradientShaderTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/functional",
"//src/main/java/com/google/android/libraries/feed/common/testing",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "GridRowViewTest",
size = "small",
timeout = "moderate",
srcs = ["GridRowViewTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/functional",
"//src/main/java/com/google/android/libraries/feed/common/testing",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "RoundedCornerViewHelperTest",
size = "small",
timeout = "moderate",
srcs = ["RoundedCornerViewHelperTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//src/main/proto/search/now/ui/piet:piet_java_proto_lite",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "RoundedCornerMaskCacheTest",
size = "small",
timeout = "moderate",
srcs = ["RoundedCornerMaskCacheTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/testing",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "RoundedCornerWrapperViewTest",
size = "small",
timeout = "moderate",
srcs = ["RoundedCornerWrapperViewTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/functional",
"//src/main/java/com/google/android/libraries/feed/piet/ui",
"//src/main/proto/search/now/ui/piet:piet_java_proto_lite",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)