| # Copyright 2024 Google LLC |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test") |
| |
| kt_jvm_test( |
| name = "beam_tests", |
| srcs = [ |
| "BeamCollectionTest.kt", |
| "BeamEncodersTest.kt", |
| "BeamTableTest.kt", |
| "BeamTests.kt", |
| ], |
| test_class = "com.google.privacy.differentialprivacy.pipelinedp4j.beam.BeamTests", |
| runtime_deps = [ |
| "@maven//:org_apache_beam_beam_runners_direct_java", |
| ], |
| deps = [ |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/beam:beam_collections", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/beam:beam_encoders", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/core:core_types", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/local:local_collections", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/proto:accumulators_kt_proto", |
| "@maven//:com_google_protobuf_protobuf_java", |
| "@maven//:com_google_testparameterinjector_test_parameter_injector", |
| "@maven//:com_google_truth_truth", |
| "@maven//:junit_junit", |
| "@maven//:org_apache_beam_beam_sdks_java_core", |
| "@maven//:org_hamcrest_hamcrest", |
| ], |
| ) |