/[escript]/branches/RW_WIN32/finley/test/finley_UnitTests.cpp
ViewVC logotype

Annotation of /branches/RW_WIN32/finley/test/finley_UnitTests.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 212 - (hide annotations)
Thu Nov 24 04:16:33 2005 UTC (14 years, 8 months ago) by robwdcock
File size: 553 byte(s)
Reorganise the unit test source tree and how it operates. All tests in the suite are now compiled into a single executable. If for some reason you want to run just one then use the following syntax on the command line:
finley_UnitTests --suite=Atest,AnotherTest,YetAnotherTest,...


1 robwdcock 212 // finley_UnitTests.cpp : Defines the entry point for the console application.
2     //
3    
4     #include <iostream>
5     #include <tchar.h>
6    
7     #include "MeshAdapterTestCase.h"
8    
9     #include "CppUnitTest/TestRunner.h"
10    
11     using namespace CppUnitTest;
12    
13     int _tmain(int argc, _TCHAR* argv[])
14     {
15     //
16     // object which runs all of the tests
17     TestRunner runner;
18     //
19     // add the RangeTestCase suite of tests to the runner
20     runner.addTest ("MeshAdapter", MeshAdapterTestCase::suite());
21    
22     // actually run the unit tests.
23     runner.run (argc, argv);
24    
25     return 0;
26     }
27    

  ViewVC Help
Powered by ViewVC 1.1.26