Main Page   Class Hierarchy   File List  

T2.cpp

00001 /*
00002   NEW TEST HARNESS T2.cpp    
00003   =======================
00004   The compile is easy:
00005   g++ T2.cpp -o T2
00006      
00007 */
00008 #include <iostream>
00009 #include <iomanip>
00010 
00011 // STEP 1). 
00012 // Initial include of all headers under test
00013 // needed to define classes
00014 
00015 //#include "ocTypes.h"
00016 //#include "ocString.h"
00017 #include "cgiExtend.h"
00018 #include "cgiClass.h"
00019 
00020 // Forces inclusion of test code
00021 #define IN_T2_TESTHARNESS
00022 
00023 using namespace std;
00024 
00025 int main( int argc, char ** argv )
00026 {
00027 // STEP 2).
00028 // Second include of files under test for actual test code.
00029 
00030 //#include "ocTypes.h"
00031 //#include "ocString.h"
00032 #include "cgiClass.h"
00033 return 0;
00034 }
00035 
00036 #undef IN_T2_TESTHARNESS
00037 
00038 // STEP 3).
00039 // include .cpp files, if any here
00040 #include "Astring.cpp"
00041 #include "cgiClass.cpp"

Generated on Tue Jan 20 09:03:27 2004 for OpenTools by doxygen1.2.18