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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 221 - (show annotations)
Thu Nov 24 11:23:33 2005 UTC (14 years, 8 months ago) by phornby
File size: 696 byte(s)
Builds on Linux. Changes to path names in top level
SConstruct will break the windows build. I've done my best
to not change anything else that would break windows, but
something might have slipped past.

Please check the finley_UnitTests.cpp, bruce_UnitTests.cpp and
escript_UnitTest.cpp (look at the TODO).


1 // finley_UnitTests.cpp : Defines the entry point for the console application.
2 //
3
4 #include <iostream>
5
6 // TODO : Can't we just use int main(int, char* []) on all platforms?
7 #ifdef MSVC
8 #include <tchar.h>
9 #else
10 #define _TCHAR char
11 #define _tmain main
12 #endif
13
14 #include "MeshAdapterTestCase.h"
15
16 #include "CppUnitTest/TestRunner.h"
17
18 using namespace CppUnitTest;
19
20 int _tmain(int argc, _TCHAR* argv[])
21 {
22 //
23 // object which runs all of the tests
24 TestRunner runner;
25 //
26 // add the RangeTestCase suite of tests to the runner
27 runner.addTest ("MeshAdapter", MeshAdapterTestCase::suite());
28
29 // actually run the unit tests.
30 runner.run (argc, argv);
31
32 return 0;
33 }
34

  ViewVC Help
Powered by ViewVC 1.1.26