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

TestCommandLineArguments Class Reference

Test class of FCCommandLineArguments.

#include <TestCommandLine.h>

Inheritance diagram for TestCommandLineArguments:

FCCommandLineArguments List of all members.

Public Member Functions

 TestCommandLineArguments ()
 Constructor.
virtual ~TestCommandLineArguments ()
 Destructor.
void TestConstructor ()
 make sure everything is initialized correctly for FCCommandLineArguments
void TestParse ()
 make sure each command line argument is used
void TestVerify ()
 make sure each command line argument is used

Protected Member Functions

void TestParseValue (int *Member, const char *MemberName, const char *Argument, const char *ArgumentValue, int ExpectedMemberValue)
 Test an integer member from FCCommandLineArguments.
void TestParseString (char *Member, const char *MemberName, const char *Argument, const char *ArgumentValue)
 Test an string member from FCCommandLineArguments.
void TestParseBool (bool *Member, const char *MemberName, const char *Argument)
 Test an bool member from FCCommandLineArguments.
void TestDisplayDebugOptionsBool (int Option, const char *MemberName, const char *Argument)
 Test bool flags from DebugDisplayOption member of DebugDisplayObject.
void TestParseDebugDisplayObject ()
 Test for the FCSDebugDisplayInfo object.

Protected Attributes

ofstream Write
 Writes output of the tests.

Detailed Description

Definition at line 16 of file TestCommandLine.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 11:20:17 2005 for Cpp Freecell Solver by  doxygen 1.4.4