proj home

Files   Classes   Functions   Hierarchy  

createmakefiletest Class Reference

Test createmakefile class. More...

#include <createmakefiletest.h>

Collaboration diagram for createmakefiletest:

List of all members.

Static Public Member Functions

static void test01 (int argc, char **argv)
 Include paths calculated.
static void test02 (int argc, char **argv)
 Build a makefile.
static void test03 (int argc, char **argv)
 Build a makefile - uses hashtables.

Static Public Attributes

static string doc []
 Brief description of each test.


Detailed Description

Test createmakefile class.

Definition at line 7 of file createmakefiletest.h.


Member Function Documentation

void createmakefiletest::test01 ( int  argc,
char **  argv 
) [static]

Include paths calculated.

$ ../makefilebuildtool/main prog=51 <driver=main>

Definition at line 15 of file createmakefiletest.cpp.

References createmakefile< CFC >::ms, and createmakefile< CFC >::pathsstring().

Referenced by main().

00016 {
00017   //createmakefile<cfcontainervec> cm(argc,argv);
00018   createmakefile<cfcontainerhash> cm(argc,argv);
00019 
00020   cm.ms.print();
00021 
00022   cout << "paths:" << cm.pathsstring() << endl;
00023 }

void createmakefiletest::test02 ( int  argc,
char **  argv 
) [static]

Build a makefile.

$ ../makefilebuildtool/main prog=52 <driver=main> <makefile=Makefile>

Definition at line 26 of file createmakefiletest.cpp.

References createmakefile< CFC >::eval(), and createmakefile< CFC >::ms.

Referenced by main().

00027 {
00028   createmakefile<cfcontainervec> cm(argc,argv);
00029   cm.eval();
00030 
00031   cm.ms.printafterbuild();
00032 }

void createmakefiletest::test03 ( int  argc,
char **  argv 
) [static]

Build a makefile - uses hashtables.

$ ../makefilebuildtool/main prog=53 <driver=main> <makefile=Makefile>

Definition at line 34 of file createmakefiletest.cpp.

References createmakefile< CFC >::eval(), and createmakefile< CFC >::ms.

Referenced by main().

00035 {
00036   createmakefile<cfcontainerhash> cm(argc,argv);
00037   cm.eval();
00038 
00039   cm.ms.printafterbuild();
00040 }


Member Data Documentation

string createmakefiletest::doc [static]

Initial value:

 
{
  "",
  "$ ../makefilebuildtool/main prog=51 <driver=main>  Include paths calculated.",
  "$ ../makefilebuildtool/main prog=52 <driver=main> <makefile=Makefile> <libraries=libraries> Build a makefile.",
  "$ ../makefilebuildtool/main prog=53 <driver=main> <makefile=Makefile> <libraries=libraries> Build a makefile - uses hash data structure."
}
Brief description of each test.

Definition at line 13 of file createmakefiletest.h.

Referenced by main().


The documentation for this class was generated from the following files:

Generated on Fri Mar 4 00:49:52 2011 for Chelton Evans Source by  doxygen 1.5.8