ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Functions
testLog4cplus.cpp File Reference

Test log4cplus helpers. More...

#include <gtest/gtest.h>
#include <daq/log4cplus.hpp>
#include <sstream>

Go to the source code of this file.

Functions

 TEST (TestLogLevel, IstreamParsingOk)
 
 TEST (TestLogLevel, IstreamParsingFails)
 
 TEST (TestLogLevel, OstreamFormatting)
 
 TEST (TestTrim, TrimsRight)
 
 TEST (TestTrim, TrimsNothing)
 

Detailed Description

Test log4cplus helpers.

Definition in file testLog4cplus.cpp.

Function Documentation

◆ TEST() [1/5]

TEST ( TestLogLevel  ,
IstreamParsingFails   
)

Definition at line 23 of file testLog4cplus.cpp.

◆ TEST() [2/5]

TEST ( TestLogLevel  ,
IstreamParsingOk   
)

Definition at line 15 of file testLog4cplus.cpp.

◆ TEST() [3/5]

TEST ( TestLogLevel  ,
OstreamFormatting   
)

Definition at line 30 of file testLog4cplus.cpp.

◆ TEST() [4/5]

TEST ( TestTrim  ,
TrimsNothing   
)

Definition at line 44 of file testLog4cplus.cpp.

◆ TEST() [5/5]

TEST ( TestTrim  ,
TrimsRight   
)

Definition at line 37 of file testLog4cplus.cpp.