| 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 = "ClearAllTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["ClearAllTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/lifecycle", |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/host/config", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "ClientRequestManagerTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["ClientRequestManagerTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//third_party:robolectric", |
| "@com_google_protobuf_javalite//:protobuf_java_lite", |
| "@robolectric//bazel:android-all", |
| ], |
| ) |
| |
| android_local_test( |
| name = "ContentRemoveTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["ContentRemoveTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/sessionmanager", |
| "//src/main/java/com/google/android/libraries/feed/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "ContentUpdateTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["ContentUpdateTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//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/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "DetachSessionTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["DetachSessionTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/host/config", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_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 = "EmptyStreamTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["EmptyStreamTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/concurrent", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/time/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/com/google/android/libraries/feed/testing/proto:ui_refresh_reason_java_proto_lite", |
| "//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 = "ExistingSessionTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["ExistingSessionTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//src/main/java/com/google/android/libraries/feed/api/host/logging", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_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 = "FilterHeadTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["FilterHeadTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/sessionmanager", |
| "//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/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//third_party:robolectric", |
| "@com_google_code_findbugs_jsr305//jar", |
| "@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 = "GcTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["GcTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//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/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common", |
| "//src/main/java/com/google/android/libraries/feed/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/host/scheduler", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_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 = "LimitedPagingTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["LimitedPagingTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_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 = "MultiSessionPagingTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["MultiSessionPagingTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//src/main/java/com/google/android/libraries/feed/api/host/logging", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/sessionmanager", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "NoRequestWithContentTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["NoRequestWithContentTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//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 = "NoRequestWithTimeoutTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["NoRequestWithTimeoutTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//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 = "NoRequestWithWaitTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["NoRequestWithWaitTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//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 = "RequestWithContentTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["RequestWithContentTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//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 = "RequestWithTimeoutTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["RequestWithTimeoutTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//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 = "RequestWithWaitTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["RequestWithWaitTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//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 = "RemoveTrackingBehaviorTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["RemoveTrackingBehaviorTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common", |
| "//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/common", |
| "//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/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//third_party:robolectric", |
| "@com_google_code_findbugs_jsr305//jar", |
| "@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 = "RootOnlyTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["RootOnlyTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//src/main/java/com/google/android/libraries/feed/api/host/logging", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/sessionmanager", |
| "//src/main/java/com/google/android/libraries/feed/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "SemanticPropertiesTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["SemanticPropertiesTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/store", |
| "//src/main/java/com/google/android/libraries/feed/common", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/search/now/wire/feed:feed_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 = "SharedStateTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["SharedStateTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//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/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//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 = "SimpleStreamTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["SimpleStreamTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//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/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "StreamPagingTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["StreamPagingTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "StructureUpdateTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["StructureUpdateTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//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/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "SyntheticTokensTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["SyntheticTokensTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//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/internal/common", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/common/testing", |
| "//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/common", |
| "//src/main/java/com/google/android/libraries/feed/common/concurrent", |
| "//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/common/time/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "TimeoutSessionBaseTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["TimeoutSessionBaseTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/api/internal/sessionmanager", |
| "//src/main/java/com/google/android/libraries/feed/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/time/testing", |
| "//src/main/java/com/google/android/libraries/feed/feedsessionmanager", |
| "//src/main/java/com/google/android/libraries/feed/testing/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "TimeoutSessionWithContentTest", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["TimeoutSessionWithContentTest.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//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/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/time/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/host/scheduler", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//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 = "ViewDepthProviderTests", |
| size = "small", |
| timeout = "moderate", |
| srcs = ["ViewDepthProviderTests.java"], |
| aapt_version = "aapt2", |
| manifest_values = DEFAULT_ANDROID_LOCAL_TEST_MANIFEST, |
| deps = [ |
| "//src/main/java/com/google/android/libraries/feed/api/client/requestmanager", |
| "//src/main/java/com/google/android/libraries/feed/api/common", |
| "//src/main/java/com/google/android/libraries/feed/api/host/scheduler", |
| "//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/common/concurrent/testing", |
| "//src/main/java/com/google/android/libraries/feed/common/testing", |
| "//src/main/java/com/google/android/libraries/feed/testing/modelprovider", |
| "//src/main/java/com/google/android/libraries/feed/testing/requestmanager", |
| "//src/main/proto/com/google/android/libraries/feed/api/internal/proto:client_feed_java_proto_lite", |
| "//src/main/proto/search/now/wire/feed:feed_java_proto_lite", |
| "//third_party:robolectric", |
| "@com_google_protobuf_javalite//:protobuf_java_lite", |
| "@maven//:org_mockito_mockito_core", |
| "@robolectric//bazel:android-all", |
| ], |
| ) |