mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
913f79a661
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. |
||
---|---|---|
.. | ||
Clara.tests.cpp | ||
CmdLine.tests.cpp | ||
Details.tests.cpp | ||
FloatingPoint.tests.cpp | ||
GeneratorsImpl.tests.cpp | ||
InternalBenchmark.tests.cpp | ||
PartTracker.tests.cpp | ||
RandomNumberGeneration.tests.cpp | ||
Reporters.tests.cpp | ||
Sharding.tests.cpp | ||
Stream.tests.cpp | ||
String.tests.cpp | ||
StringManip.tests.cpp | ||
Tag.tests.cpp | ||
TestSpecParser.tests.cpp | ||
TextFlow.tests.cpp | ||
ToString.tests.cpp | ||
UniquePtr.tests.cpp | ||
Xml.tests.cpp |