| # 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 = "api_tests", |
| srcs = [ |
| "ApiTests.kt", |
| "BeamQueryBuilderTest.kt", |
| "BeamQueryTest.kt", |
| "SparkQueryBuilderTest.kt", |
| "SparkQueryTest.kt" |
| ], |
| test_class = "com.google.privacy.differentialprivacy.pipelinedp4j.api.ApiTests", |
| runtime_deps = [ |
| "@maven//:org_apache_beam_beam_runners_direct_java", |
| ], |
| deps = [ |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/api", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/core:dp_functions_params", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/core/budget:budget_spec", |
| "//tests/com/google/privacy/differentialprivacy/pipelinedp4j/spark:spark_tests", |
| "@maven//:com_google_truth_truth", |
| "@maven//:junit_junit", |
| "@maven//:org_apache_beam_beam_sdks_java_core", |
| "@maven//:org_jetbrains_kotlin_kotlin_test", |
| "@maven//:org_apache_spark_spark_core_2_13", |
| "@maven//:org_apache_spark_spark_sql_2_13", |
| "@maven//:org_apache_spark_spark_mllib_2_13", |
| "@maven//:org_apache_spark_spark_catalyst_2_13", |
| "@maven//:com_fasterxml_jackson_core_jackson_databind", |
| "@maven//:com_fasterxml_jackson_module_jackson_module_paranamer", |
| ], |
| ) |