Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Public Attributes | List of all members
AllUnitTestGroups Class Reference

This aggregates the results of all the other test groups. More...

+ Inheritance diagram for AllUnitTestGroups:
+ Collaboration diagram for AllUnitTestGroups:

Public Member Functions

 AllUnitTestGroups (GlobalCoreTestGroup &GlobalTestGroups)
 Constructor. More...
 
virtual void DisplayResults (std::ostream &Output=std::cout, std::ostream &Error=std::cerr, bool Summary=true, bool FullOutput=true, bool HeaderOutput=true)
 Display the results either to the console or to the temp file for the main process to pick up. More...
 
virtual void DontRunAllTests ()
 Used to signal that none or only a subset of tests should run. More...
 
virtual void RunTests ()
 Determine which tests need to be run and run them. More...
 
virtual void ShouldRunAllTests ()
 Used to signal. More...
 
virtual void ShouldRunAutomaticTests ()
 This indicates we should run automatic tests rather than than launching a subprocess for that. More...
 
virtual void ShouldRunInteractiveTests ()
 This indicates we should run interactive tests rather than than launching a subprocess for that. More...
 
virtual void ShouldRunSubProcessTests ()
 Tells this whether or not it should be used to run any tests that child tests might want to spwan in a subprocess. More...
 

Public Attributes

GlobalCoreTestGroup & TestGroups
 A collection of all the test groups. More...
 
std::vector< Mezzanine::StringTestGroupsToRun
 When determining what tests to run the name are aggregated here. More...
 

Detailed Description

This aggregates the results of all the other test groups.

Definition at line 151 of file mezztest.cpp.

Constructor & Destructor Documentation

AllUnitTestGroups::AllUnitTestGroups ( GlobalCoreTestGroup &  GlobalTestGroups)
inline

Constructor.

Parameters
GlobalTestGroupsThe collection of tests that could be run

Definition at line 205 of file mezztest.cpp.

Member Function Documentation

virtual void AllUnitTestGroups::DisplayResults ( std::ostream &  Output = std::cout,
std::ostream &  Error = std::cerr,
bool  Summary = true,
bool  FullOutput = true,
bool  HeaderOutput = true 
)
inlinevirtual

Display the results either to the console or to the temp file for the main process to pick up.

Parameters
OutputWhere to present the output, this only works for the main process. Defaults to std::cout.
ErrorA stream to send all errors to, defailts to std::cerr
SummaryPassed onto the UnitTests UnitTestGroup::DisplayResults if run from the main process.
FullOutputPassed onto the UnitTests UnitTestGroup::DisplayResults if run from the main process.
HeaderOutputPassed onto the UnitTests UnitTestGroup::DisplayResults if run from the main process.

Definition at line 288 of file mezztest.cpp.

virtual void AllUnitTestGroups::DontRunAllTests ( )
inlinevirtual

Used to signal that none or only a subset of tests should run.

Definition at line 195 of file mezztest.cpp.

virtual void AllUnitTestGroups::RunTests ( )
inlinevirtual

Determine which tests need to be run and run them.

Definition at line 262 of file mezztest.cpp.

virtual void AllUnitTestGroups::ShouldRunAllTests ( )
inlinevirtual

Used to signal.

Definition at line 191 of file mezztest.cpp.

virtual void AllUnitTestGroups::ShouldRunAutomaticTests ( )
inlinevirtual

This indicates we should run automatic tests rather than than launching a subprocess for that.

Definition at line 167 of file mezztest.cpp.

virtual void AllUnitTestGroups::ShouldRunInteractiveTests ( )
inlinevirtual

This indicates we should run interactive tests rather than than launching a subprocess for that.

Definition at line 175 of file mezztest.cpp.

virtual void AllUnitTestGroups::ShouldRunSubProcessTests ( )
inlinevirtual

Tells this whether or not it should be used to run any tests that child tests might want to spwan in a subprocess.

Definition at line 183 of file mezztest.cpp.

Member Data Documentation

GlobalCoreTestGroup& AllUnitTestGroups::TestGroups

A collection of all the test groups.

Definition at line 200 of file mezztest.cpp.

std::vector<Mezzanine::String> AllUnitTestGroups::TestGroupsToRun

When determining what tests to run the name are aggregated here.

Definition at line 212 of file mezztest.cpp.


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