Classes | Defines | 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

Defines

#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

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, onceStream)
 TEST (RosConsole, throttleStream)
 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)

Define 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

int main ( int  argc,
char **  argv 
)

Definition at line 910 of file utest.cpp.

void onceFunc ( )

Definition at line 658 of file utest.cpp.

void onceStreamFunc ( )

Definition at line 704 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  ,
onceStream   
)

Definition at line 709 of file utest.cpp.

TEST ( RosConsole  ,
throttleStream   
)

Definition at line 729 of file utest.cpp.

TEST ( RosConsole  ,
basicFilter   
)

Definition at line 750 of file utest.cpp.

TEST ( RosConsole  ,
basicFilterStream   
)

Definition at line 767 of file utest.cpp.

TEST ( RosConsole  ,
advancedFilter   
)

Definition at line 803 of file utest.cpp.

TEST ( RosConsole  ,
advancedFilterStream   
)

Definition at line 822 of file utest.cpp.

TEST ( RosConsole  ,
changeFilter   
)

Definition at line 852 of file utest.cpp.

TEST ( RosConsole  ,
changeFilterStream   
)

Definition at line 869 of file utest.cpp.

TEST ( RosConsole  ,
formatToBufferInitialZero   
)

Definition at line 886 of file utest.cpp.

TEST ( RosConsole  ,
formatToBufferInitialLargerThanFormat   
)

Definition at line 895 of file utest.cpp.

TEST ( RosConsole  ,
formatToString   
)

Definition at line 904 of file utest.cpp.

void throttleFunc ( )

Definition at line 678 of file utest.cpp.

Definition at line 724 of file utest.cpp.


Variable Documentation



rosconsole
Author(s): Josh Faust
autogenerated on Fri Aug 28 2015 12:33:01