17 #ifndef COM_BORA_SOFTWARE__BALAU_TESTING__TEST_WRITER 18 #define COM_BORA_SOFTWARE__BALAU_TESTING__TEST_WRITER 42 public:
template<
typename T>
void write(T value) {
53 public:
virtual void writeString(
const std::string & value) = 0;
60 public:
virtual std::unique_ptr<TestWriter>
clone()
const = 0;
67 #endif // COM_BORA_SOFTWARE__BALAU_TESTING__TEST_WRITER Base class of test writers.
Definition: TestWriter.hpp:31
A file on the local file system.
A write only standard file on a file system which is written as bytes.
Balau::U8String< AllocatorT > toString(const BalauException &e)
Base class toString<AllocatorT> function for Balau exceptions.
Definition: BalauException.hpp:122
virtual std::unique_ptr< TestWriter > clone() const =0
Clone the writer instance.
virtual ~TestWriter()=default
Destroy a test writer instance.
void write(T value)
Convert the supplied value to a UTF-8 string and write the string to the writer's output stream(s)...
Definition: TestWriter.hpp:42
Test assertion functions.
virtual void writeString(const std::string &value)=0
Write the supplied UTF-8 string to the writer's output stream(s).
The test runner and test assertion functions.
Definition: Assertions.hpp:23
Balau::U8String< AllocatorT > toString(ExecutionModel model)
Print the execution model value as a UTF-8 string.
Definition: ExecutionModel.hpp:92
The abstract URI base class.