Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6640 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2004-02-18 21:38:04 +00:00
parent 5e88de2dea
commit 1b89aa98ff
24 changed files with 149 additions and 35 deletions
+12
View File
@@ -7,6 +7,7 @@
// TestHandler
// MessageReceived
_EXPORT
void
BTestHandler::MessageReceived(BMessage *message)
{
@@ -18,6 +19,7 @@ BTestHandler::MessageReceived(BMessage *message)
}
// Queue
_EXPORT
BMessageQueue &
BTestHandler::Queue()
{
@@ -28,6 +30,7 @@ BTestHandler::Queue()
// TestApp
// constructor
_EXPORT
BTestApp::BTestApp(const char *signature)
: BApplication(signature),
fAppThread(B_ERROR),
@@ -38,6 +41,7 @@ BTestApp::BTestApp(const char *signature)
}
// destructor
_EXPORT
BTestApp::~BTestApp()
{
int32 count = fHandlers.CountItems();
@@ -46,6 +50,7 @@ BTestApp::~BTestApp()
}
// Init
_EXPORT
status_t
BTestApp::Init()
{
@@ -65,6 +70,7 @@ BTestApp::Init()
}
// Terminate
_EXPORT
void
BTestApp::Terminate()
{
@@ -74,12 +80,14 @@ BTestApp::Terminate()
}
// ReadyToRun
_EXPORT
void
BTestApp::ReadyToRun()
{
}
// CreateTestHandler
_EXPORT
BTestHandler *
BTestApp::CreateTestHandler()
{
@@ -92,6 +100,7 @@ BTestApp::CreateTestHandler()
}
// DeleteTestHandler
_EXPORT
bool
BTestApp::DeleteTestHandler(BTestHandler *handler)
{
@@ -107,6 +116,7 @@ BTestApp::DeleteTestHandler(BTestHandler *handler)
}
// Handler
_EXPORT
BTestHandler &
BTestApp::Handler()
{
@@ -116,6 +126,7 @@ BTestApp::Handler()
}
// TestHandlerAt
_EXPORT
BTestHandler *
BTestApp::TestHandlerAt(int32 index)
{
@@ -124,6 +135,7 @@ BTestApp::TestHandlerAt(int32 index)
}
// _AppThreadStart
_EXPORT
int32
BTestApp::_AppThreadStart(void *data)
{