Searched refs:g_current_test (Results 1 – 4 of 4) sorted by relevance
/third_party/ninja/src/ |
D | test.h | 49 extern testing::Test* g_current_test; 52 static testing::Test* Create() { return g_current_test = new y; } \ 65 g_current_test->Check(a == b, __FILE__, __LINE__, #a " == " #b) 67 g_current_test->Check(a != b, __FILE__, __LINE__, #a " != " #b) 69 g_current_test->Check(a > b, __FILE__, __LINE__, #a " > " #b) 71 g_current_test->Check(a < b, __FILE__, __LINE__, #a " < " #b) 73 g_current_test->Check(a >= b, __FILE__, __LINE__, #a " >= " #b) 75 g_current_test->Check(a <= b, __FILE__, __LINE__, #a " <= " #b) 77 g_current_test->Check(static_cast<bool>(a), __FILE__, __LINE__, #a) 79 g_current_test->Check(!static_cast<bool>(a), __FILE__, __LINE__, #a) [all …]
|
D | ninja_test.cc | 43 testing::Test* g_current_test; variable
|
/third_party/gn/src/util/test/ |
D | test.h | 35 extern testing::Test* g_current_test; 42 g_current_test->failed_ = true; in TestResult() 89 static testing::Test* Create() { return testing::g_current_test = new y; } \
|
D | gn_test.cc | 31 Test* g_current_test; variable
|