rad  3.0.0
Macros | Functions
gtLogCap.cpp File Reference

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>

Macros

#define GTLOGCAP_USE_LOG4CPLUS_INITIALIZER
 

Functions

int main (int argc, char **argv)
 

Detailed Description

A variant of google test main() that captures LOG4CPLUS logs during test execution and only prints the logs if the test fail.

Macro Definition Documentation

◆ GTLOGCAP_USE_LOG4CPLUS_INITIALIZER

#define GTLOGCAP_USE_LOG4CPLUS_INITIALIZER

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)