Lines Matching +defs:test +defs:file
12 // This is defined as a simple macro in test.h so that it exists for platforms
13 // that don't use our test infrastructure. It's defined as a proper function
24 // This file can only include headers from src/__support/ or test/UnitTest. No
33 #include "test/UnitTest/ExecuteFunction.h"
34 #include "test/UnitTest/TestLogger.h"
62 Location(const char *file, int line) : file(file), line(line) {}
63 const char *file;
82 // returning from the test function, see LIBC_TEST_SCAFFOLDING_ below.
99 bool test(RunContext *Ctx, TestCond Cond, ValType LHS, ValType RHS,
105 // If set, then just this one test from the suite will be run.
107 // Should the test results print color codes to stdout?
109 // Should the test results print timing only in milliseconds, as GTest does?
114 // should use the macros TEST or TEST_F to write test cases.
144 bool test(TestCond Cond, ValType LHS, ValType RHS, const char *LHSStr,
146 return internal::test(Ctx, Cond, LHS, RHS, LHSStr, RHSStr, Loc);
151 bool test(TestCond Cond, ValType LHS, ValType RHS, const char *LHSStr,
153 return internal::test(Ctx, Cond, (long long)LHS, (long long)RHS, LHSStr,
159 bool test(TestCond Cond, ValType LHS, ValType RHS, const char *LHSStr,
161 return internal::test(Ctx, Cond, (unsigned long long)LHS,
168 bool test(TestCond Cond, ValType LHS, cpp::nullptr_t, const char *LHSStr,
170 return test(Cond, LHS, static_cast<ValType>(nullptr), LHSStr, RHSStr, Loc);
177 bool test(TestCond Cond, ValType LHS, ValType RHS, const char *LHSStr,
179 return internal::test(Ctx, Cond, LHS, RHS, LHSStr, RHSStr, Loc);
185 bool test(TestCond Cond, ValType LHS, ValType RHS, const char *LHSStr,
187 return internal::test(Ctx, Cond, LHS, RHS, LHSStr, RHSStr, Loc);
294 // TestCreator implements a linear hierarchy of test instances, effectively
327 // to run the test. The default will return the fully qualified canonical type
421 LIBC_TEST_SCAFFOLDING_(test(LIBC_NAMESPACE::testing::TestCond::COND, LHS, \