Classes | Macros | Functions | Variables
utest.cpp File Reference
#include "ros/console.h"
#include "log4cxx/appenderskeleton.h"
#include "log4cxx/spi/loggingevent.h"
#include <vector>
#include <stdexcept>
#include <gtest/gtest.h>
#include <boost/shared_array.hpp>
Include dependency graph for utest.cpp:

Go to the source code of this file.

Classes

struct  AdvancedFilter
 
struct  BasicFilter
 
struct  ChangeFilter
 
struct  TestAppender::Info
 
class  TestAppender
 
class  TestAppenderWithThrow
 

Macros

#define DEFINE_COND_TESTS(name, macro_base, level, log4cxx_level)
 
#define DEFINE_FILTER_TESTS(name, macro_base, level, log4cxx_level)
 
#define DEFINE_LEVEL_TESTS(name, macro_base, level, log4cxx_level)
 
#define DEFINE_ONCE_TESTS(name, macro_base, level, log4cxx_level)
 
#define DEFINE_THROTTLE_TESTS(name, macro_base, level, log4cxx_level)
 

Functions

void delayedThrottleFunc ()
 
void delayedThrottleFunc2 ()
 
void delayedThrottleStreamFunc ()
 
void delayedThrottleStreamFunc2 ()
 
int main (int argc, char **argv)
 
void onceFunc ()
 
void onceStreamFunc ()
 
 TEST (RosConsole, loggingLevels)
 
 TEST (RosConsole, changingLevel)
 
 TEST (RosConsole, changingLoggerLevel)
 
 TEST (RosConsole, longPrintfStyleOutput)
 
 TEST (RosConsole, throwingAppender)
 
 TEST (RosConsole, once)
 
 TEST (RosConsole, throttle)
 
 TEST (RosConsole, delayedThrottle)
 
 TEST (RosConsole, onceStream)
 
 TEST (RosConsole, throttleStream)
 
 TEST (RosConsole, delayedStreamThrottle)
 
 TEST (RosConsole, basicFilter)
 
 TEST (RosConsole, basicFilterStream)
 
 TEST (RosConsole, advancedFilter)
 
 TEST (RosConsole, advancedFilterStream)
 
 TEST (RosConsole, changeFilter)
 
 TEST (RosConsole, changeFilterStream)
 
 TEST (RosConsole, formatToBufferInitialZero)
 
 TEST (RosConsole, formatToBufferInitialLargerThanFormat)
 
 TEST (RosConsole, formatToString)
 
void throttleFunc ()
 
void throttleStreamFunc ()
 

Variables

BasicFilter g_filter (true)
 

Macro Definition Documentation

#define DEFINE_COND_TESTS (   name,
  macro_base,
  level,
  log4cxx_level 
)

Definition at line 106 of file utest.cpp.

#define DEFINE_FILTER_TESTS (   name,
  macro_base,
  level,
  log4cxx_level 
)

Definition at line 242 of file utest.cpp.

#define DEFINE_LEVEL_TESTS (   name,
  macro_base,
  level,
  log4cxx_level 
)

Definition at line 286 of file utest.cpp.

#define DEFINE_ONCE_TESTS (   name,
  macro_base,
  level,
  log4cxx_level 
)

Definition at line 154 of file utest.cpp.

#define DEFINE_THROTTLE_TESTS (   name,
  macro_base,
  level,
  log4cxx_level 
)

Definition at line 198 of file utest.cpp.

Function Documentation

void delayedThrottleFunc ( )

Definition at line 704 of file utest.cpp.

void delayedThrottleFunc2 ( )

Definition at line 709 of file utest.cpp.

void delayedThrottleStreamFunc ( )

Definition at line 792 of file utest.cpp.

void delayedThrottleStreamFunc2 ( )

Definition at line 797 of file utest.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 993 of file utest.cpp.

void onceFunc ( )

Definition at line 658 of file utest.cpp.

void onceStreamFunc ( )

Definition at line 746 of file utest.cpp.

TEST ( RosConsole  ,
loggingLevels   
)

Definition at line 340 of file utest.cpp.

TEST ( RosConsole  ,
changingLevel   
)

Definition at line 561 of file utest.cpp.

TEST ( RosConsole  ,
changingLoggerLevel   
)

Definition at line 581 of file utest.cpp.

TEST ( RosConsole  ,
longPrintfStyleOutput   
)

Definition at line 615 of file utest.cpp.

TEST ( RosConsole  ,
throwingAppender   
)

Definition at line 638 of file utest.cpp.

TEST ( RosConsole  ,
once   
)

Definition at line 663 of file utest.cpp.

TEST ( RosConsole  ,
throttle   
)

Definition at line 683 of file utest.cpp.

TEST ( RosConsole  ,
delayedThrottle   
)

Definition at line 714 of file utest.cpp.

TEST ( RosConsole  ,
onceStream   
)

Definition at line 751 of file utest.cpp.

TEST ( RosConsole  ,
throttleStream   
)

Definition at line 771 of file utest.cpp.

TEST ( RosConsole  ,
delayedStreamThrottle   
)

Definition at line 802 of file utest.cpp.

TEST ( RosConsole  ,
basicFilter   
)

Definition at line 833 of file utest.cpp.

TEST ( RosConsole  ,
basicFilterStream   
)

Definition at line 850 of file utest.cpp.

TEST ( RosConsole  ,
advancedFilter   
)

Definition at line 886 of file utest.cpp.

TEST ( RosConsole  ,
advancedFilterStream   
)

Definition at line 905 of file utest.cpp.

TEST ( RosConsole  ,
changeFilter   
)

Definition at line 935 of file utest.cpp.

TEST ( RosConsole  ,
changeFilterStream   
)

Definition at line 952 of file utest.cpp.

TEST ( RosConsole  ,
formatToBufferInitialZero   
)

Definition at line 969 of file utest.cpp.

TEST ( RosConsole  ,
formatToBufferInitialLargerThanFormat   
)

Definition at line 978 of file utest.cpp.

TEST ( RosConsole  ,
formatToString   
)

Definition at line 987 of file utest.cpp.

void throttleFunc ( )

Definition at line 678 of file utest.cpp.

void throttleStreamFunc ( )

Definition at line 766 of file utest.cpp.

Variable Documentation

BasicFilter g_filter(true)


rosconsole
Author(s): Josh Faust
autogenerated on Sun Feb 3 2019 03:29:44