Home
last modified time | relevance | path

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

12

/external/minijail/
Dminijail0_cli_unittest.cc84 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), ""); in TEST_F()
90 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(0), ""); in TEST_F()
93 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(0), ""); in TEST_F()
96 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(0), ""); in TEST_F()
119 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), ""); in TEST_F()
122 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), ""); in TEST_F()
125 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), ""); in TEST_F()
129 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), in TEST_F()
147 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), ""); in TEST_F()
150 ASSERT_EXIT(parse_args_(argv), testing::ExitedWithCode(1), ""); in TEST_F()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-death-test_test.cc216 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
219 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
220 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()
221 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()
222 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()
223 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()
258 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
262 const testing::ExitedWithCode pred0(0); in TEST()
263 const testing::ExitedWithCode pred1(1); in TEST()
264 const testing::ExitedWithCode pred42(42); in TEST()
[all …]
/external/googletest/googletest/test/
Dgoogletest-death-test-test.cc208 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
211 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
212 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()
213 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()
214 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()
215 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()
250 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
254 const testing::ExitedWithCode pred0(0); in TEST()
255 const testing::ExitedWithCode pred1(1); in TEST()
256 const testing::ExitedWithCode pred42(42); in TEST()
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest-death-test.h190 class GTEST_API_ ExitedWithCode {
192 explicit ExitedWithCode(int exit_code);
196 void operator=(const ExitedWithCode& other);
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest-death-test.h179 class GTEST_API_ ExitedWithCode {
181 explicit ExitedWithCode(int exit_code);
185 void operator=(const ExitedWithCode& other);
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-death-test.h179 class GTEST_API_ ExitedWithCode {
181 explicit ExitedWithCode(int exit_code);
185 void operator=(const ExitedWithCode& other);
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest-death-test.h190 class GTEST_API_ ExitedWithCode {
192 explicit ExitedWithCode(int exit_code);
196 void operator=(const ExitedWithCode& other);
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-death-test.h190 class GTEST_API_ ExitedWithCode {
192 explicit ExitedWithCode(int exit_code);
196 void operator=(const ExitedWithCode& other);
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest-death-test.h190 class GTEST_API_ ExitedWithCode {
192 explicit ExitedWithCode(int exit_code);
196 void operator=(const ExitedWithCode& other);
/external/libbrillo/brillo/
Dflag_helper_unittest.cc239 ::testing::ExitedWithCode(EX_OK), in TEST_F()
265 ::testing::ExitedWithCode(EX_USAGE), in TEST_F()
287 ::testing::ExitedWithCode(EX_DATAERR), in TEST_F()
310 ::testing::ExitedWithCode(EX_DATAERR), in TEST_F()
332 ::testing::ExitedWithCode(EX_DATAERR), in TEST_F()
355 ::testing::ExitedWithCode(EX_DATAERR), in TEST_F()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-death-test.h191 class GTEST_API_ ExitedWithCode {
193 explicit ExitedWithCode(int exit_code);
197 void operator=(const ExitedWithCode& other);
/external/googletest/googletest/include/gtest/
Dgtest-death-test.h190 class GTEST_API_ ExitedWithCode {
192 explicit ExitedWithCode(int exit_code);
196 void operator=(const ExitedWithCode& other);
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc269 ::testing::ExitedWithCode(1), "No command specified\n" USAGE_REGEX); in TEST_F()
283 ::testing::ExitedWithCode(1), "Invalid command 'abc'\n" USAGE_REGEX); in TEST_F()
296 ::testing::ExitedWithCode(1), USAGE_REGEX); in TEST_F()
665 ::testing::ExitedWithCode(1), ".*Wrong number of arguments for call.*"); in TEST_F()
681 ::testing::ExitedWithCode(1), ".*Wrong number of arguments for call.*"); in TEST_F()
750 ::testing::ExitedWithCode(1), ".*Failed to parse metadata flag.*"); in TEST_F()
761 ::testing::ExitedWithCode(1), ".*Failed to parse metadata flag.*"); in TEST_F()
/external/libchrome/base/debug/
Ddebugger_unittest.cc36 ::testing::ExitedWithCode(0x80000003), ""); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc152 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
156 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
220 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-death-test.cc152 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
156 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
220 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-death-test.cc111 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
115 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
171 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc111 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
115 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
171 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc152 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
156 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
220 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/google-breakpad/src/testing/gtest/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()
/external/tensorflow/tensorflow/core/kernels/
Dcontrol_flow_ops_test.cc126 EXPECT_EXIT(RunOpKernel().IgnoreError(), ::testing::ExitedWithCode(0), ""); in TEST_F()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc155 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
159 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
223 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/googletest/googletest/src/
Dgtest-death-test.cc163 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode
167 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
231 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/external/llvm/unittests/Support/
DErrorTest.cpp461 ::testing::ExitedWithCode(1), "Error in tool:") in TEST()
465 ::testing::ExitedWithCode(2), "Error in tool:") in TEST()
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_death_test.cc250 ASSERT_EXIT(printf(NULL), ::testing::ExitedWithCode(0), ""); in TEST_F()
283 EXPECT_EXIT(DoCrashPureVirtualCall(), ::testing::ExitedWithCode(0), ""); in TEST_F()

12