Revision 1064, 0.9 kB
(checked in by mido, 14 years ago)
|
astyle applied all over the library
|
-
Property svn:eol-style set to
native
|
Rev | Line | |
---|
[496] | 1 | #include "Test.h" |
---|
| 2 | #include "TestReporterStdout.h" |
---|
[418] | 3 | #include "UnitTest++.h" |
---|
[565] | 4 | #include "bdmerror.h" |
---|
[452] | 5 | #include "itpp_ext.h" |
---|
[565] | 6 | #include <string.h> |
---|
[722] | 7 | #include "../general_suite.h" |
---|
[418] | 8 | |
---|
[722] | 9 | using namespace UnitTest; |
---|
[689] | 10 | |
---|
[496] | 11 | int main ( int argc, char const *argv[] ) { |
---|
[1064] | 12 | if ( argc > 1 ) { |
---|
| 13 | if ( !strcmp ( argv[1], "print" ) ) |
---|
| 14 | { |
---|
| 15 | print_test_list(); |
---|
| 16 | return 0; |
---|
| 17 | } |
---|
| 18 | else |
---|
| 19 | pick_selected_tests ( argc, argv ); |
---|
| 20 | } else { |
---|
| 21 | cout << endl << "TESTSUITE - a program covering all BDM unit tests." << endl << endl |
---|
| 22 | << argv[0] << " ....................................... run all unit tests" << endl |
---|
| 23 | << argv[0] << " particular_test_1 particular_test_2 ... run selected unit tests" << endl |
---|
| 24 | << argv[0] << " print ................................. print all the implemented unit tests" << endl; |
---|
| 25 | } |
---|
[496] | 26 | |
---|
[1064] | 27 | return run_selected_tests(); |
---|
[418] | 28 | } |
---|