Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

TestCommandLine.h

Go to the documentation of this file.
00001 #ifndef TEST_COMMAND_LINE_H
00002 #define TEST_COMMAND_LINE_H
00003 
00011 
00012 #include <fstream.h>
00013 #include "FCCommandLineArguments.h"
00014 
00016 class TestCommandLineArguments : public FCCommandLineArguments
00017 {
00018 public:
00020     TestCommandLineArguments();
00022     virtual ~TestCommandLineArguments();
00023 
00025     void TestConstructor();
00026 
00028     void TestParse();
00029 
00031     void TestVerify();
00032 
00033 protected:
00035     void TestParseValue(int* Member, const char* MemberName, const char* Argument, 
00036                         const char* ArgumentValue, int ExpectedMemberValue);    
00037     
00039     void TestParseString(char* Member, const char* MemberName, const char* Argument,
00040                         const char* ArgumentValue);
00041 
00043     void TestParseBool(bool* Member, const char* MemberName, const char* Argument);
00044 
00046     void TestDisplayDebugOptionsBool(int Option, const char* MemberName, const char* Argument);
00047 
00049     void TestParseDebugDisplayObject();
00050 
00052     ofstream Write;
00053 };
00054 
00055 
00056 #endif

Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4