40 #ifndef _unittestenumerations_h
41 #define _unittestenumerations_h
const Mezzanine::String FailedString("Failed")
Corresponds to TestResult::Failed.
const Mezzanine::String InconclusiveString("Inconclusive")
Corresponds to TestResult::Inconclusive.
const Mezzanine::String NotApplicableString("NotApplicable")
Corresponds to TestResult::NotApplicable.
const Mezzanine::String UnknownString("Unknown")
Corresponds to TestResult::Unknown.
At least one test return worse then skipped.
Mezzanine::String TestResultToString(TestResult Convertable)
This converts A test result enum value into a String matching the identifier name.
const Mezzanine::String CancelledString("Cancelled")
Corresponds to TestResult::Cancelled.
This is the default behavior, because it is presumed failures should be visible so they can be fixed...
Just Overwrite, useful if the test was defaulted to a low value.
All the definitions for datatypes as well as some basic conversion functions are defined here...
At least some invalid args were passed on the command line.
This is not even a kind of failure, This is used to when referencing a test, so if this winds up comi...
const Mezzanine::String WarningString("Warning")
Corresponds to TestResult::Warning.
Test was simply not ran at the behest of the user.
const Mezzanine::String SkippedString("Skipped")
Corresponds to TestResult::Skipped.
OverWriteResults
This is used to control the behavior of the function UnitTestGroup::AddTestResult() ...
TestResult StringToTestResult(Mezzanine::String Text)
Roughly convert a String to a TestResult.
Since we don't know what happened this is the worst kind of failure.
const Mezzanine::String SuccessString("Success")
Corresponds to TestResult::Success.
Technically the test passed but there is something that is not quite right.
TestResult
Return values from tests.
Normal exit all tests skipped or better.
This is a supplementary running a test, if a results already exists, skip writing anything...
If a user answers that with "don't know" in a test that involved interaction, The user knows there is...
The bulk of the engine components go in this namspace.
Was canceled by user, so success is unknown, but user knows test was canceled.
Test was ran and appeared to work.
std::string String
A datatype used to a series of characters.
ExitCodes
Possible ways to exit the UnitTestGroup Program.
Overwrite only if the result is better than the old result.