1
0
Fork 0
flightgear/test_suite
Edward d'Auvergne 3bd60e96c8 TestSuite: Capture and reporting of all simgear logstream priorities.
Each of the global logstream priorities are captured into its own
std::ostringstream stream, all held together in the test suite global _iostreams
class instance.  This object can be obtained by calling getIOstreams().  The
streams are captured using the StreamLogCallback class, which is a simple
modification of the simgear FileLogCallback class, registered with the global
logstream's addCallback() function.

When tests fail, all of contents the different simgear logstreams are now
reported.  The failure report consists of the following sections:

  - Failure information.
  - SG_BULK simgear logstream (all messages).
  - SG_BULK only simgear logstream.
  - SG_DEBUG only simgear logstream.
  - SG_INFO only simgear logstream.
  - SG_WARN only simgear logstream.
  - SG_ALERT only simgear logstream.
  - Combined STDOUT and STDERR streams.

Any empty sections, except for SG_BULK, will not be shown.
2018-03-23 17:26:04 +01:00
..
gui_tests TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
simgear_tests TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
system_tests TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
unit_tests TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
bootstrap.cxx TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
CMakeLists.txt TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
fgCompilerOutputter.cxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
fgCompilerOutputter.hxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
fgTestListener.cxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
fgTestListener.hxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
fgTestRunner.cxx TestSuite: Custom output formatting. 2018-03-23 17:26:04 +01:00
fgTestRunner.hxx TestSuite: Initial support for a FlightGear test suite based on CppUnit. 2018-03-23 17:26:04 +01:00
formatting.cxx TestSuite: Custom output formatting. 2018-03-23 17:26:04 +01:00
formatting.hxx TestSuite: Custom output formatting. 2018-03-23 17:26:04 +01:00
logging.cxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
logging.hxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00
testSuite.cxx TestSuite: Capture and reporting of all simgear logstream priorities. 2018-03-23 17:26:04 +01:00