/[escript]/trunk/bruce/test/bruce_UnitTests.cpp
ViewVC logotype

Contents of /trunk/bruce/test/bruce_UnitTests.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 642 - (show annotations)
Thu Mar 23 14:03:49 2006 UTC (17 years ago) by robwdcock
Original Path: branches/ROBW_XPLATFORM/bruce/test/bruce_UnitTests.cpp
File size: 546 byte(s)
+ Bruce unit tests consolidated and added to build system

1 #include "BruceTestCase.h"
2 #include "BruceFactoryTestCase.h"
3
4 #include "CppUnitTest/TestRunner.h"
5
6 using namespace CppUnitTest;
7
8 int main(int argc, char* argv[])
9 {
10 //
11 // object which runs all of the tests
12 TestRunner runner;
13 //
14 // add the RangeTestCase suite of tests to the runner
15 runner.addTest ("Bruce", BruceTestCase::suite());
16 runner.addTest ("BruceFactory", BruceFactoryTestCase::suite());
17
18 // actually run the unit tests.
19 runner.run (argc, argv);
20 return 0;
21 }
22

  ViewVC Help
Powered by ViewVC 1.1.26