This aggregates the results of all the other test groups. More...
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::String > | TestGroupsToRun |
When determining what tests to run the name are aggregated here. More... | |
This aggregates the results of all the other test groups.
Definition at line 151 of file mezztest.cpp.
|
inline |
Constructor.
GlobalTestGroups | The collection of tests that could be run |
Definition at line 205 of file mezztest.cpp.
|
inlinevirtual |
Display the results either to the console or to the temp file for the main process to pick up.
Output | Where to present the output, this only works for the main process. Defaults to std::cout. |
Error | A stream to send all errors to, defailts to std::cerr |
Summary | Passed onto the UnitTests UnitTestGroup::DisplayResults if run from the main process. |
FullOutput | Passed onto the UnitTests UnitTestGroup::DisplayResults if run from the main process. |
HeaderOutput | Passed onto the UnitTests UnitTestGroup::DisplayResults if run from the main process. |
Definition at line 288 of file mezztest.cpp.
|
inlinevirtual |
Used to signal that none or only a subset of tests should run.
Definition at line 195 of file mezztest.cpp.
|
inlinevirtual |
Determine which tests need to be run and run them.
Definition at line 262 of file mezztest.cpp.
|
inlinevirtual |
Used to signal.
Definition at line 191 of file mezztest.cpp.
|
inlinevirtual |
This indicates we should run automatic tests rather than than launching a subprocess for that.
Definition at line 167 of file mezztest.cpp.
|
inlinevirtual |
This indicates we should run interactive tests rather than than launching a subprocess for that.
Definition at line 175 of file mezztest.cpp.
|
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.
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.