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)
#define DEFINE_FILTER_TESTS(name, macro_base, level)
#define DEFINE_LEVEL_TESTS(name, macro_base, level)
#define DEFINE_ONCE_TESTS(name, macro_base, level)
#define DEFINE_THROTTLE_TESTS(name, macro_base, 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 
)

Definition at line 106 of file utest.cpp.

#define DEFINE_FILTER_TESTS (   name,
  macro_base,
  level 
)

Definition at line 242 of file utest.cpp.

#define DEFINE_LEVEL_TESTS (   name,
  macro_base,
  level 
)

Definition at line 286 of file utest.cpp.

#define DEFINE_ONCE_TESTS (   name,
  macro_base,
  level 
)

Definition at line 154 of file utest.cpp.

#define DEFINE_THROTTLE_TESTS (   name,
  macro_base,
  level 
)

Definition at line 198 of file utest.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 897 of file utest.cpp.

void onceFunc ( )

Definition at line 645 of file utest.cpp.

void onceStreamFunc ( )

Definition at line 691 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 602 of file utest.cpp.

TEST ( RosConsole  ,
throwingAppender   
)

Definition at line 625 of file utest.cpp.

TEST ( RosConsole  ,
once   
)

Definition at line 650 of file utest.cpp.

TEST ( RosConsole  ,
throttle   
)

Definition at line 670 of file utest.cpp.

TEST ( RosConsole  ,
onceStream   
)

Definition at line 696 of file utest.cpp.

TEST ( RosConsole  ,
throttleStream   
)

Definition at line 716 of file utest.cpp.

TEST ( RosConsole  ,
basicFilter   
)

Definition at line 737 of file utest.cpp.

TEST ( RosConsole  ,
basicFilterStream   
)

Definition at line 754 of file utest.cpp.

TEST ( RosConsole  ,
advancedFilter   
)

Definition at line 790 of file utest.cpp.

TEST ( RosConsole  ,
advancedFilterStream   
)

Definition at line 809 of file utest.cpp.

TEST ( RosConsole  ,
changeFilter   
)

Definition at line 839 of file utest.cpp.

TEST ( RosConsole  ,
changeFilterStream   
)

Definition at line 856 of file utest.cpp.

TEST ( RosConsole  ,
formatToBufferInitialZero   
)

Definition at line 873 of file utest.cpp.

TEST ( RosConsole  ,
formatToBufferInitialLargerThanFormat   
)

Definition at line 882 of file utest.cpp.

TEST ( RosConsole  ,
formatToString   
)

Definition at line 891 of file utest.cpp.

void throttleFunc ( )

Definition at line 665 of file utest.cpp.

Definition at line 711 of file utest.cpp.


Variable Documentation



rosconsole
Author(s): Josh Faust
autogenerated on Sat Dec 28 2013 17:35:45