A variant of google test main()
that captures LOG4CPLUS logs during test execution and only prints the logs if the test fail.
More...
#include <sstream>
#include <gtest/gtest.h>
#include <log4cplus/version.h>
#include <log4cplus/initializer.h>
#include <log4cplus/appender.h>
#include <log4cplus/consoleappender.h>
#include <log4cplus/logger.h>
|
int | main (int argc, char **argv) |
|
A variant of google test main()
that captures LOG4CPLUS logs during test execution and only prints the logs if the test fail.
- Copyright
- 2020 ESO - European Southern Observatory
◆ GTLOGCAP_USE_LOG4CPLUS_INITIALIZER
#define GTLOGCAP_USE_LOG4CPLUS_INITIALIZER |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |