Home
last modified time | relevance | path

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

/third_party/ninja/src/
Dtest.h49 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 …]
Dninja_test.cc43 testing::Test* g_current_test; variable
/third_party/gn/src/util/test/
Dtest.h35 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; } \
Dgn_test.cc31 Test* g_current_test; variable