# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. # SPDX-License-Identifier: Apache-2.0 load( "//bazel_tools:scala.bzl", "da_scala_library", "da_scala_test_suite", ) da_scala_library( name = "testing-utils", srcs = glob(["src/main/scala/**/*.scala"]), tags = ["maven_coordinates=com.daml:testing-utils:__VERSION__"], visibility = [ "//visibility:public", ], exports = [ "@maven//:org_slf4j_slf4j_api", ], deps = [ "//ledger-api/grpc-definitions:ledger-api-scalapb", "//ledger-api/rs-grpc-akka", "//ledger-api/rs-grpc-bridge", "//libs-scala/contextualized-logging", "//libs-scala/direct-execution-context", "//libs-scala/grpc-utils", "//libs-scala/resources", "@maven//:com_google_guava_guava", "@maven//:com_typesafe_akka_akka_actor_2_12", "@maven//:com_typesafe_akka_akka_stream_2_12", "@maven//:com_typesafe_config", "@maven//:io_grpc_grpc_core", "@maven//:io_grpc_grpc_netty", "@maven//:org_scalactic_scalactic_2_12", "@maven//:org_scalatest_scalatest_2_12", "@maven//:org_slf4j_slf4j_api", ], ) da_scala_test_suite( name = "testing-utils-tests", srcs = glob(["src/test/scala/**/*.scala"]), deps = [ ":testing-utils", ], )