haiku/src/tests/ExampleTestAddon.cpp
Ingo Weinhold 155b583ac3 Fixed unit tests build for platforms libbe_test and r5. Only randomly tested
a few whether they actually work.
New pseudo target "unittests", which builds all unit tests for the currently
set TARGET_PLATFORM. They are placed in generated/tests/<platform>/unittests.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-09 16:17:31 +00:00

11 lines
232 B
C++

#include <TestSuite.h>
#include <TestSuiteAddon.h>
#include "ExampleTest.h"
BTestSuite* getTestSuite() {
BTestSuite *suite = new BTestSuite("ExampleSuite");
suite->addTest("ExampleTests", ExampleTest::Suite());
return suite;
}