blob: 7fcaffbf44671c6b47d7411ca4af5cc215841bb7 [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 = "ContinuationViewHolderTest",
size = "small",
timeout = "moderate",
srcs = ["ContinuationViewHolderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/host/config",
"//src/main/java/com/google/android/libraries/feed/api/host/stream",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/viewholders",
"//src/main/java/com/google/android/libraries/feed/sharedstream/logging",
"//src/main/java/com/google/android/libraries/feed/testing/host/stream",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "HeaderViewHolderTest",
size = "small",
timeout = "moderate",
srcs = ["HeaderViewHolderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/client/stream",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/viewholders",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "NoContentViewHolderTest",
size = "small",
timeout = "moderate",
srcs = ["NoContentViewHolderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/host/stream",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/viewholders",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "PietViewHolderTest",
size = "small",
timeout = "moderate",
srcs = ["PietViewHolderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/host/config",
"//src/main/java/com/google/android/libraries/feed/api/host/logging",
"//src/main/java/com/google/android/libraries/feed/api/host/stream",
"//src/main/java/com/google/android/libraries/feed/api/internal/actionparser",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/actions",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/scroll",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/viewholders",
"//src/main/java/com/google/android/libraries/feed/common/functional",
"//src/main/java/com/google/android/libraries/feed/common/time/testing",
"//src/main/java/com/google/android/libraries/feed/piet",
"//src/main/java/com/google/android/libraries/feed/piet/host",
"//src/main/java/com/google/android/libraries/feed/piet/testing",
"//src/main/java/com/google/android/libraries/feed/sharedstream/logging",
"//src/main/java/com/google/android/libraries/feed/sharedstream/piet",
"//src/main/java/com/google/android/libraries/feed/testing/host/stream",
"//src/main/proto/search/now/ui/action:feed_action_java_proto_lite",
"//src/main/proto/search/now/ui/action:feed_action_payload_java_proto_lite",
"//src/main/proto/search/now/ui/piet:piet_errors_java_proto_lite",
"//src/main/proto/search/now/ui/piet:piet_java_proto_lite",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_android_support_recyclerview_v7",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "ZeroStateViewHolderTest",
size = "small",
timeout = "moderate",
srcs = ["ZeroStateViewHolderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/host/stream",
"//src/main/java/com/google/android/libraries/feed/basicstream/internal/viewholders",
"//src/main/java/com/google/android/libraries/feed/testing/host/stream",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)