Home
last modified time | relevance | path

Searched refs:ExitedWithCode (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-death-test.h190 class GTEST_API_ ExitedWithCode {
192 explicit ExitedWithCode(int exit_code);
196 void operator=(const ExitedWithCode& other);
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-death-test_test.cc215 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
218 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
219 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()
220 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()
221 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()
222 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()
257 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
261 const testing::ExitedWithCode pred0(0); in TEST()
262 const testing::ExitedWithCode pred1(1); in TEST()
263 const testing::ExitedWithCode pred42(42); in TEST()
[all …]
Dgtest-port_test.cc383 ::testing::ExitedWithCode(0), "Success"); in TEST()
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc149 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
153 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
209 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()