Home
last modified time | relevance | path

Searched refs:GlobalTestContext (Results 1 – 6 of 6) sorted by relevance

/haiku/src/tests/system/kernel/unit/
H A DTestContext.cpp32 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 DTestContext.h31 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 DTestManager.h12 class GlobalTestContext; variable
22 void RunTests(GlobalTestContext& globalContext,
H A DTestThread.h29 return GlobalTestContext::Current()->SpawnThread(_Entry, name, priority, in Spawn()
38 *GlobalTestContext::Current()->CurrentContext(), thread->fArgument); in _Entry()
H A DTestManager.cpp69 TestManager::RunTests(GlobalTestContext& globalContext, in RunTests()
H A Dkernel_unit_tests.cpp258 GlobalTestContext globalContext(*output, options); in device_write()