blob: cabeec02ae167e99ac5ad32a96ba3abbb510e584 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "sqltest",
srcs = ["sqltest.go"],
importpath = "go.skia.org/infra/golden/go/sql/sqltest",
visibility = ["//visibility:public"],
deps = [
"//go/emulators",
"//go/skerr",
"//go/testutils/unittest",
"//go/util",
"//golden/go/sql",
"//golden/go/sql/schema",
"@com_github_jackc_pgx_v4//pgxpool",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)
go_test(
name = "sqltest_test",
srcs = ["sqltest_test.go"],
deps = [
":sqltest",
"//go/skerr",
"//go/testutils/unittest",
"//golden/go/sql/schema",
"@com_github_jackc_pgtype//:pgtype",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)