Searched refs:EXPECT_THROW (Results 1 – 9 of 9) sorted by relevance
/external/gtest/test/ |
D | gtest_unittest.cc | 2746 EXPECT_THROW({ // NOLINT in TEST_F() 2753 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT in TEST_F() 2760 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing"); in TEST_F() 3328 EXPECT_THROW(throw 1, int); in TEST() 3329 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), ""); in TEST() 3330 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), ""); in TEST() 3339 EXPECT_THROW(ThrowNothing(), bool); in TEST() 3342 EXPECT_THROW(ThrowAnInteger(), int); in TEST() 3424 EXPECT_THROW(ThrowAString(), const char*); in TEST() 3611 TEST(ExpectTest, EXPECT_THROW) { in TEST() argument [all …]
|
/external/chromium/testing/gmock/test/ |
D | gmock-more-actions_test.cc | 598 EXPECT_THROW(a.Perform(make_tuple(0)), char); in TEST() 605 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); in TEST() 610 EXPECT_THROW(a.Perform(make_tuple()), MyException); in TEST()
|
D | gmock_link_test.h | 412 EXPECT_THROW(mock.VoidFromString(NULL), int); in TEST()
|
/external/protobuf/gtest/test/ |
D | gtest_unittest.cc | 3579 EXPECT_THROW({ // NOLINT in TEST_F() 3586 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT in TEST_F() 3593 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing"); in TEST_F() 4188 EXPECT_THROW(throw 1, int); in TEST() 4189 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), ""); in TEST() 4190 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), ""); in TEST() 4199 EXPECT_THROW(ThrowNothing(), bool); in TEST() 4202 EXPECT_THROW(ThrowAnInteger(), int); in TEST() 4284 EXPECT_THROW(ThrowAString(), const char*); in TEST() 4474 TEST(ExpectTest, EXPECT_THROW) { in TEST() argument [all …]
|
/external/chromium/testing/gtest/test/ |
D | gtest_unittest.cc | 3340 EXPECT_THROW({ // NOLINT in TEST_F() 3347 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT in TEST_F() 3354 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing"); in TEST_F() 4020 EXPECT_THROW(throw 1, int); in TEST() 4021 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), ""); in TEST() 4022 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), ""); in TEST() 4031 EXPECT_THROW(ThrowNothing(), bool); in TEST() 4034 EXPECT_THROW(ThrowAnInteger(), int); in TEST() 4116 EXPECT_THROW(ThrowAString(), const char*); in TEST() 4334 TEST(ExpectTest, EXPECT_THROW) { in TEST() argument [all …]
|
/external/gtest/include/gtest/ |
D | gtest.h | 1050 #define EXPECT_THROW(statement, expected_exception) \ macro
|
/external/protobuf/gtest/include/gtest/ |
D | gtest.h | 1593 #define EXPECT_THROW(statement, expected_exception) \ macro
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1682 #define EXPECT_THROW(statement, expected_exception) \ macro
|
/external/chromium/testing/gtest/include/gtest/ |
D | gtest.h | 1767 #define EXPECT_THROW(statement, expected_exception) \ macro
|