| # 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") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| kt_jvm_test( |
| name = "spark_tests", |
| srcs = [ |
| "SparkCollectionTest.kt", |
| "SparkEncodersTest.kt", |
| "SparkTableTest.kt", |
| "SparkTests.kt", |
| ], |
| test_class = "com.google.privacy.differentialprivacy.pipelinedp4j.spark.SparkTests", |
| deps = [ |
| "//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", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/spark:spark_collections", |
| "//main/com/google/privacy/differentialprivacy/pipelinedp4j/spark:spark_encoders", |
| "@maven//:com_google_protobuf_protobuf_java", |
| "@maven//:com_google_testparameterinjector_test_parameter_injector", |
| "@maven//:com_google_truth_truth", |
| "@maven//:junit_junit", |
| "@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", |
| ], |
| ) |