load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(default_visibility = ["//:__subpackages__"])  # keep

licenses(["notice"])  # keep

go_library(
    name = "fakemonitoring",
    testonly = 1,
    srcs = ["fakemonitoring.go"],
    importpath = "github.com/google/tink/go/testing/fakemonitoring",
    visibility = ["//visibility:public"],
    deps = ["//monitoring"],
)

alias(
    name = "go_default_library",
    actual = ":fakemonitoring",
    visibility = ["//visibility:public"],
)

go_test(
    name = "fakemonitoring_test",
    srcs = ["fakemonitoring_test.go"],
    deps = [
        ":fakemonitoring",
        "//monitoring",
        "@com_github_google_go_cmp//cmp",
    ],
)
