17 #ifndef COM_BORA_SOFTWARE__BALAU_TESTING__TEST_RUNNER_EXECUTION_MODEL 18 #define COM_BORA_SOFTWARE__BALAU_TESTING__TEST_RUNNER_EXECUTION_MODEL 91 template <
typename AllocatorT>
149 #endif // COM_BORA_SOFTWARE__BALAU_TESTING__TEST_RUNNER_EXECUTION_MODEL Run all tests in a single thread.
Definition: ExecutionModel.hpp:41
#define ThrowBalauException(ExceptionClass,...)
Throw a Balau style exception, with implicit file and line number, and optional stacktrace.
Definition: BalauException.hpp:45
Base class of command line exception classes.
Definition: CommandLineExceptions.hpp:27
Run tests in a set of worker processes.
Definition: ExecutionModel.hpp:69
Thrown when a bug is encountered (mainly unimplemented switch cases).
Definition: BalauException.hpp:178
Run all tests in a single process.
Definition: ExecutionModel.hpp:55
bool isExecutionModel(std::string_view value)
Returns true if the supplied string represents a valid execution model (the case is ignored)...
Definition: ExecutionModel.hpp:140
std::basic_string< char, std::char_traits< char >, AllocatorT > U8String
UTF-8 string type with selectable allocator.
Definition: ToStringA.hpp:41
The test runner and test assertion functions.
Definition: Assertions.hpp:23
static bool equalsIgnoreCase(const StringT< CharT, T ... > &lhs, const SubstrT &rhs)
Ignoring case, is the first string equal to the second string?
Definition: Strings.hpp:272
ExecutionModel
The type of execution model to be used by the test runner.
Definition: ExecutionModel.hpp:32
void fromString(ExecutionModel &model, const std::string &value)
Obtain the execution model from a string.
Definition: ExecutionModel.hpp:123
Balau::U8String< AllocatorT > toString(ExecutionModel model)
Print the execution model value as a UTF-8 string.
Definition: ExecutionModel.hpp:92
Balau exceptions for the command line parser.
Run each test in a separate worker process.
Definition: ExecutionModel.hpp:83