Code::Blocks  SVN r11506
debuggergdb_test_main.cpp
Go to the documentation of this file.
1 #include <UnitTest++.h>
2 #include <TestReporterStdout.h>
3 
4 struct RunAll
5 {
6  bool operator()(UnitTest::Test const* /*test*/) const { return true; }
7 };
8 
9 int main()
10 {
11 // return UnitTest::RunAllTests();
12  UnitTest::TestReporterStdout reporter;
13  UnitTest::TestRunner runner(reporter);
14  return runner.RunTestsIf(UnitTest::Test::GetTestList(), NULL, RunAll(), 1000);
15 }
bool operator()(UnitTest::Test const *) const
#define NULL
Definition: prefix.cpp:59
int main()