Searched refs:GlobalTestContext (Results 1 – 6 of 6) sorted by relevance
/haiku/src/tests/system/kernel/unit/ |
H A D | TestContext.cpp | 32 struct GlobalTestContext::ThreadCookie { 33 GlobalTestContext* context; 37 ThreadCookie(GlobalTestContext* context, thread_func function, void* arg) in ThreadCookie() 47 /*static*/ GlobalTestContext::ThreadEntry* GlobalTestContext::sGlobalThreads 51 GlobalTestContext::GlobalTestContext(TestOutput& output, TestOptions& options) in GlobalTestContext() function in GlobalTestContext 65 GlobalTestContext::~GlobalTestContext() in ~GlobalTestContext() 80 /*static*/ GlobalTestContext* 81 GlobalTestContext::Current() in Current() 99 GlobalTestContext::SetCurrentContext(TestContext* context) in SetCurrentContext() 106 GlobalTestContext::TestDone(bool success) in TestDone() [all …]
|
H A D | TestContext.h | 31 struct GlobalTestContext { struct 32 GlobalTestContext(TestOutput& output, 34 ~GlobalTestContext(); 36 static GlobalTestContext* Current(); 58 GlobalTestContext* context; argument 61 ThreadEntry(GlobalTestContext* context) in ThreadEntry() 92 TestContext(GlobalTestContext* globalContext); argument 98 GlobalTestContext* GlobalContext() const { return fGlobalContext; } in GlobalContext() 123 GlobalTestContext* fGlobalContext; 134 return GlobalTestContext::Current()->CurrentContext(); in Current()
|
H A D | TestManager.h | 12 class GlobalTestContext; variable 22 void RunTests(GlobalTestContext& globalContext,
|
H A D | TestThread.h | 29 return GlobalTestContext::Current()->SpawnThread(_Entry, name, priority, in Spawn() 38 *GlobalTestContext::Current()->CurrentContext(), thread->fArgument); in _Entry()
|
H A D | TestManager.cpp | 69 TestManager::RunTests(GlobalTestContext& globalContext, in RunTests()
|
H A D | kernel_unit_tests.cpp | 258 GlobalTestContext globalContext(*output, options); in device_write()
|