diff options
author | Alexey Sokolov <sokolov@google.com> | 2018-02-03 23:36:19 (GMT) |
---|---|---|
committer | Alexey Sokolov <sokolov@google.com> | 2018-02-08 01:15:42 (GMT) |
commit | 092d0885332316ca679ac77e0f8fe1f5c368fb4f (patch) | |
tree | 8a9cae8146f8c4f93c6a59de375229034e6d8e5d /googletest/test/BUILD.bazel | |
parent | ea31cb15f0c2ab9f5f5b18e82311eb522989d747 (diff) | |
download | googletest-092d0885332316ca679ac77e0f8fe1f5c368fb4f.zip googletest-092d0885332316ca679ac77e0f8fe1f5c368fb4f.tar.gz googletest-092d0885332316ca679ac77e0f8fe1f5c368fb4f.tar.bz2 |
Add ability to throw from ASSERT
while not losing benefits of EXPECT, and not killing the whole test,
as with --gtest_throw_on_failure.
183822976
Diffstat (limited to 'googletest/test/BUILD.bazel')
-rw-r--r-- | googletest/test/BUILD.bazel | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/googletest/test/BUILD.bazel b/googletest/test/BUILD.bazel index 3c700b1..1b81133 100644 --- a/googletest/test/BUILD.bazel +++ b/googletest/test/BUILD.bazel @@ -219,6 +219,13 @@ py_test( deps = [":gtest_test_utils"], ) +cc_test( + name = "gtest_assert_by_exception_test", + size = "small", + srcs = ["gtest_assert_by_exception_test.cc"], + deps = ["//:gtest"], +) + cc_binary( name = "gtest_throw_on_failure_test_", testonly = 1, |