blob: e44d939b4d8275ed5b576e11a8aae1169a7c998d [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 = "CancelableRunnableTaskTest",
size = "small",
timeout = "moderate",
srcs = ["CancelableRunnableTaskTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/concurrent",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "SimpleSettableFutureTest",
size = "small",
timeout = "moderate",
srcs = ["SimpleSettableFutureTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/common/concurrent",
"//src/main/java/com/google/android/libraries/feed/common/testing",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@robolectric//bazel:android-all",
],
)
android_local_test(
name = "TaskQueueTest",
size = "small",
timeout = "moderate",
srcs = ["TaskQueueTest.java"],
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/host/logging",
"//src/main/java/com/google/android/libraries/feed/common/concurrent",
"//src/main/java/com/google/android/libraries/feed/common/concurrent/testing",
"//src/main/java/com/google/android/libraries/feed/common/time/testing",
"//src/main/java/com/google/android/libraries/feed/testing/host/logging",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_guava_guava",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)