Searched refs:TestContext (Results 1 – 10 of 10) sorted by relevance
/haiku/src/tests/system/kernel/unit/ |
H A D | Test.h | 27 virtual status_t Setup(TestContext& context); 28 virtual bool Run(TestContext& context) = 0; 29 virtual bool Run(TestContext& context, const char* name); 30 virtual void Cleanup(TestContext& context, bool setupOK); 45 virtual status_t Setup(TestContext& context); 46 virtual void Cleanup(TestContext& context, bool setupOK); 55 bool (TestClass::*method)(TestContext&)); 58 virtual status_t Setup(TestContext& context); 59 virtual bool Run(TestContext& context); 60 virtual void Cleanup(TestContext& context, bool setupOK); [all …]
|
H A D | TestContext.h | 18 class TestContext; variable 41 TestContext* CurrentContext() const in CurrentContext() 43 void SetCurrentContext(TestContext* context); 84 TestContext* fCurrentContext; 90 class TestContext { 92 TestContext(GlobalTestContext* globalContext); 93 TestContext(TestContext& parent, Test* test); 94 ~TestContext(); 96 static TestContext* Current(); 99 TestContext* Parent() const { return fParent; } in Parent() [all …]
|
H A D | Test.cpp | 43 Test::Setup(TestContext& context) in Setup() 50 Test::Run(TestContext& context, const char* name) in Run() 58 Test::Cleanup(TestContext& context, bool setupOK) in Cleanup() 84 StandardTestDelegate::Setup(TestContext& context) in Setup() 91 StandardTestDelegate::Cleanup(TestContext& context, bool setupOK) in Cleanup()
|
H A D | TestContext.cpp | 99 GlobalTestContext::SetCurrentContext(TestContext* context) in SetCurrentContext() 198 TestContext::TestContext(GlobalTestContext* globalContext) in TestContext() function in TestContext 210 TestContext::TestContext(TestContext& parent, Test* test) in TestContext() function in TestContext 229 TestContext::~TestContext() in ~TestContext() 242 TestContext::TestDone(bool success) in TestDone() 262 TestContext::ErrorArgs(const char* format, va_list args) in ErrorArgs()
|
H A D | TestSuite.h | 28 virtual bool Run(TestContext& context); 29 virtual bool Run(TestContext& context, const char* name); 34 bool _Run(TestContext& context, Test* test,
|
H A D | TestThread.h | 18 void (ObjectType::*method)(TestContext&, ParameterType*), in TestThread() argument 45 void (ObjectType::*fMethod)(TestContext&, ParameterType*); 53 void (ObjectType::*method)(TestContext&, ParameterType*), const char* name, in SpawnThread() argument
|
H A D | TestSuite.cpp | 98 TestSuite::Run(TestContext& context) in Run() 111 TestSuite::Run(TestContext& context, const char* name) in Run() 142 TestSuite::_Run(TestContext& context, Test* test, const char* name) in _Run() 144 TestContext subContext(context, test); in _Run()
|
H A D | Jamfile | 9 TestContext.cpp
|
H A D | TestManager.cpp | 72 TestContext context(&globalContext); in RunTests()
|
/haiku/src/tests/system/kernel/unit/lock/ |
H A D | RWLockTests.cpp | 25 virtual status_t Setup(TestContext& context) in Setup() 31 virtual void Cleanup(TestContext& context, bool setupOK) in Cleanup() 37 bool TestSimple(TestContext& context) in TestSimple() 50 bool TestNestedWrite(TestContext& context) in TestNestedWrite() 61 bool TestNestedWriteRead(TestContext& context) in TestNestedWriteRead() 76 bool TestDegrade(TestContext& context) in TestDegrade() 86 bool TestConcurrentWriteRead(TestContext& context) in TestConcurrentWriteRead() 92 bool TestConcurrentWriteNestedRead(TestContext& context) in TestConcurrentWriteNestedRead() 98 bool TestConcurrentDegrade(TestContext& context) in TestConcurrentDegrade() 107 void TestConcurrentWriteReadThread(TestContext& context, void* _index) in TestConcurrentWriteReadThread() [all …]
|