diff options
Diffstat (limited to 'absl/strings/BUILD.bazel')
-rw-r--r-- | absl/strings/BUILD.bazel | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/absl/strings/BUILD.bazel b/absl/strings/BUILD.bazel index 1e52312b47c6..cb21385a30be 100644 --- a/absl/strings/BUILD.bazel +++ b/absl/strings/BUILD.bazel @@ -173,6 +173,20 @@ cc_test( ) cc_test( + name = "string_view_benchmark", + srcs = ["string_view_benchmark.cc"], + copts = ABSL_TEST_COPTS, + tags = ["benchmark"], + visibility = ["//visibility:private"], + deps = [ + ":strings", + "//absl/base", + "//absl/base:core_headers", + "@com_github_google_benchmark//:benchmark", + ], +) + +cc_test( name = "string_view_test", size = "small", srcs = ["string_view_test.cc"], @@ -201,6 +215,19 @@ cc_test( ) cc_test( + name = "str_replace_benchmark", + srcs = ["str_replace_benchmark.cc"], + copts = ABSL_TEST_COPTS, + tags = ["benchmark"], + visibility = ["//visibility:private"], + deps = [ + ":strings", + "//absl/base", + "@com_github_google_benchmark//:benchmark", + ], +) + +cc_test( name = "str_replace_test", size = "small", srcs = ["str_replace_test.cc"], @@ -226,6 +253,19 @@ cc_test( ) cc_test( + name = "str_split_benchmark", + srcs = ["str_split_benchmark.cc"], + copts = ABSL_TEST_COPTS, + tags = ["benchmark"], + visibility = ["//visibility:private"], + deps = [ + ":strings", + "//absl/base", + "@com_github_google_benchmark//:benchmark", + ], +) + +cc_test( name = "ostringstream_test", size = "small", srcs = ["internal/ostringstream_test.cc"], @@ -268,6 +308,19 @@ cc_test( ) cc_test( + name = "str_join_benchmark", + srcs = ["str_join_benchmark.cc"], + copts = ABSL_TEST_COPTS, + tags = ["benchmark"], + visibility = ["//visibility:private"], + deps = [ + ":strings", + "//absl/memory", + "@com_github_google_benchmark//:benchmark", + ], +) + +cc_test( name = "str_cat_test", size = "small", srcs = ["str_cat_test.cc"], @@ -281,6 +334,18 @@ cc_test( ) cc_test( + name = "str_cat_benchmark", + srcs = ["str_cat_benchmark.cc"], + copts = ABSL_TEST_COPTS, + tags = ["benchmark"], + visibility = ["//visibility:private"], + deps = [ + ":strings", + "@com_github_google_benchmark//:benchmark", + ], +) + +cc_test( name = "numbers_test", size = "small", srcs = [ |