mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 19:59:34 +02:00
This creates an end-to-end test that checks for proper billing pipeline IO writes. The only remaining test would be to add a test for the Bigquery query, but see b/70839142 for why I've deemed that more work than worthwhile. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179706561
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
package(
|
|
default_testonly = 1,
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
|
|
|
|
java_library(
|
|
name = "beam",
|
|
srcs = glob(["*.java"]),
|
|
resources = glob(["testdata/*"]),
|
|
deps = [
|
|
"//java/google/registry/beam",
|
|
"//java/google/registry/util",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_apis_google_api_services_bigquery",
|
|
"@com_google_dagger",
|
|
"@com_google_guava",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@joda_time",
|
|
"@junit",
|
|
"@org_apache_avro",
|
|
"@org_apache_beam_runners_direct_java",
|
|
"@org_apache_beam_runners_google_cloud_dataflow_java",
|
|
"@org_apache_beam_sdks_java_core",
|
|
"@org_apache_beam_sdks_java_io_google_cloud_platform",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
default_test_size = "small",
|
|
medium_tests = ["InvoicingPipelineTest.java"],
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":beam"],
|
|
)
|