diff options
author | ccalvarin <ccalvarin@google.com> | 2018-04-13 12:20:43 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-13 12:22:38 -0700 |
commit | 10d9155d6b1fad5c05c5872fb917cc77fbc61810 (patch) | |
tree | 7d540a0dfcf619165a8e34497d6495781c368f7f /src/test/cpp/BUILD | |
parent | b985f619755864acd1a6bde13372c808ac609d35 (diff) |
Break out the SuccessfulIs(Un|Null)aryTest into a helper file.
RELNOTES: None.
PiperOrigin-RevId: 192805836
Diffstat (limited to 'src/test/cpp/BUILD')
-rw-r--r-- | src/test/cpp/BUILD | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/cpp/BUILD b/src/test/cpp/BUILD index 42f81129d1..782d1814b0 100644 --- a/src/test/cpp/BUILD +++ b/src/test/cpp/BUILD @@ -54,11 +54,23 @@ cc_test( ], ) +cc_library( + name = "test_util", + testonly = 1, + srcs = ["test_util.cc"], + hdrs = ["test_util.h"], + deps = [ + "//src/main/cpp:startup_options", + "@com_google_googletest//:gtest_main", + ], +) + cc_test( name = "startup_options_test", size = "small", srcs = ["startup_options_test.cc"], deps = [ + ":test_util", "//src/main/cpp:blaze_util", "//src/main/cpp:startup_options", "//src/main/cpp:workspace_layout", |