catch2/tests/SelfTest
Martin Hořeňovský 913f79a661
Each reporter keeps its own colour implementation
This opens path to per-reporter colour output customization,
and fixes multiple issues with the old colour implementation.

Under the old implementation, using Win32-backed colouring
would always change the colour used by the console, even if the
actual output was written elsewhere, such as a file passed by
the `--out` flag. This will no longer happen, as the reporter's
colour impl will check that the reporter's stream is pointed
to console before trying to change the colours.

POSIX/ANSI colour implementation suffered a similar-ish issue,
in that it only wrote the colour escape codes into the default
output stream, even if the reporter asking for colouring was
actually writing to a completely different output stream.
2022-03-08 12:51:13 +01:00
..
Baselines Add %stderr and %stdout as recognized magic stream names 2022-03-07 10:59:27 +01:00
IntrospectiveTests Each reporter keeps its own colour implementation 2022-03-08 12:51:13 +01:00
Misc Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
TimingTests Use the new licence header in SelfTest's cpp files 2022-01-29 00:03:43 +01:00
UsageTests Minor whitespace fix 2022-02-21 20:04:43 +01:00
TestRegistrations.cpp Sweep out some Wsign-conversion warnings 2021-11-23 23:16:08 +01:00