blob: 367df83656dc1be99f38ad99ee3504441d8e7aff [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 = "ProcessScopeBuilderTest",
size = "small",
timeout = "moderate",
srcs = ["ProcessScopeBuilderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/client/scope:processscope",
"//src/main/java/com/google/android/libraries/feed/api/client/scope:processscopebuilder",
"//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/network",
"//src/main/java/com/google/android/libraries/feed/api/host/proto",
"//src/main/java/com/google/android/libraries/feed/api/host/scheduler",
"//src/main/java/com/google/android/libraries/feed/api/host/storage",
"//src/main/java/com/google/android/libraries/feed/api/host/stream",
"//src/main/java/com/google/android/libraries/feed/api/internal/common",
"//src/main/java/com/google/android/libraries/feed/common/concurrent",
"//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",
],
)
android_local_test(
name = "StreamScopeBuilderTest",
size = "small",
timeout = "moderate",
srcs = ["StreamScopeBuilderTest.java"],
aapt_version = "aapt2",
manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST,
deps = [
"//src/main/java/com/google/android/libraries/feed/api/client/scope:streamscope",
"//src/main/java/com/google/android/libraries/feed/api/client/scope:streamscopebuilder",
"//src/main/java/com/google/android/libraries/feed/api/client/stream",
"//src/main/java/com/google/android/libraries/feed/api/host/action",
"//src/main/java/com/google/android/libraries/feed/api/host/config",
"//src/main/java/com/google/android/libraries/feed/api/host/imageloader",
"//src/main/java/com/google/android/libraries/feed/api/host/logging",
"//src/main/java/com/google/android/libraries/feed/api/host/offlineindicator",
"//src/main/java/com/google/android/libraries/feed/api/host/stream",
"//src/main/java/com/google/android/libraries/feed/api/internal/actionmanager",
"//src/main/java/com/google/android/libraries/feed/api/internal/common",
"//src/main/java/com/google/android/libraries/feed/api/internal/knowncontent",
"//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider",
"//src/main/java/com/google/android/libraries/feed/api/internal/protocoladapter",
"//src/main/java/com/google/android/libraries/feed/api/internal/sessionmanager",
"//src/main/java/com/google/android/libraries/feed/api/internal/stream",
"//src/main/java/com/google/android/libraries/feed/common/concurrent",
"//src/main/java/com/google/android/libraries/feed/common/protoextensions",
"//src/main/java/com/google/android/libraries/feed/common/time",
"//src/main/java/com/google/android/libraries/feed/common/time/testing",
"//src/main/java/com/google/android/libraries/feed/piet/host",
"//third_party:robolectric",
"@com_google_protobuf_javalite//:protobuf_java_lite",
"@maven//:com_google_truth_truth",
"@maven//:org_mockito_mockito_core",
"@robolectric//bazel:android-all",
],
)