D | gtest_environment_test.cc | 116 void Check(bool condition, const char* msg) { in Check() function 143 Check(testing::AddGlobalTestEnvironment(env) == env, in main() 148 Check(RunAllTests(env, NO_FAILURE) != 0, in main() 151 Check(test_was_run, in main() 154 Check(env->tear_down_was_run(), in main() 159 Check(RunAllTests(env, NON_FATAL_FAILURE) != 0, in main() 162 Check(test_was_run, in main() 165 Check(env->tear_down_was_run(), in main() 170 Check(RunAllTests(env, FATAL_FAILURE) != 0, in main() 173 Check(!test_was_run, in main() [all …]
|