FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
_TestFairLoggerBase< T > Class Template Reference

#include <_TestFairLogger.h>

Inheritance diagram for _TestFairLoggerBase< T >:

Protected Member Functions

 _TestFairLoggerBase ()
 
 _TestFairLoggerBase (const _TestFairLoggerBase &)
 
_TestFairLoggerBaseoperator= (const _TestFairLoggerBase &)
 
 ~_TestFairLoggerBase ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
void SetOutFileName ()
 
void SetFairLoggerDefaultValues ()
 
void LogNoArguments ()
 
std::vector< std::string > CreateExpectedOutputNoArguments (std::string logLevel, std::string outStr)
 
std::vector< std::string > CreateExpectedLogLevels (std::string loglevel)
 
void CheckScreenOutput (std::vector< std::string > v)
 
void CheckFileOutput (std::vector< std::string > v, FairTestOutputHandler _handler)
 
std::vector< std::string > ReadLinesFromFile (std::string fileName)
 
bool CheckVerboseOutput (std::string logLevel, std::string outputString, std::string verbosity, std::string resultString)
 
 _TestFairLoggerBase ()
 
 _TestFairLoggerBase (const _TestFairLoggerBase &)
 
_TestFairLoggerBaseoperator= (const _TestFairLoggerBase &)
 
 ~_TestFairLoggerBase ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
void SetOutFileName ()
 
void SetFairLoggerDefaultValues ()
 
void LogNoArguments ()
 
std::vector< std::string > CreateExpectedOutputNoArguments (std::string loglevel, std::string outStr)
 
std::vector< std::string > CreateExpectedLogLevels (std::string loglevel)
 
void CheckScreenOutput (std::vector< std::string > v)
 
void CheckFileOutput (std::vector< std::string > v, FairTestOutputHandler _handler)
 
bool CheckVerboseOutput (std::string logLevel, std::string outputString, std::string verbosity, std::string resultString)
 
virtual void SetUp ()
 
void SetFairLoggerDefaultValues ()
 
void LogNoArguments (FairLogger *fLogger, const std::string &OutputString)
 
std::vector< std::string > CreateExpectedOutputNoArguments (const std::string &loglevel, const std::string &outString, const std::string &filename="")
 
std::vector< std::string > CreateExpectedLogLevels (const std::string &loglevel)
 
void CheckScreenOutput (FairCaptureOutput handler, const std::vector< std::string > &v)
 
void CheckFileOutput (FairTestOutputHandler handler, const std::vector< std::string > &v)
 
bool CheckVerboseOutput (const std::string &logLevel, const std::string &outputString, const std::string &verboseLevel, const std::string &resultString)
 

Protected Attributes

std::string fLogLevelSettingToTest
 
std::string fOutputString
 
std::string fOutFileName
 
FairLoggerfLogger
 
FairCaptureOutputNew fHandler
 
std::string logLevelSettingToTest
 
std::string OutputString
 
FairCaptureOutput handler
 

Detailed Description

template<class T>
class _TestFairLoggerBase< T >

Definition at line 30 of file _TestFairLogger.h.

Constructor & Destructor Documentation

template<class T>
_TestFairLoggerBase< T >::_TestFairLoggerBase ( )
inlineprotected

Definition at line 39 of file _TestFairLogger.h.

template<class T>
_TestFairLoggerBase< T >::_TestFairLoggerBase ( const _TestFairLoggerBase< T > &  )
protected
template<class T>
_TestFairLoggerBase< T >::~_TestFairLoggerBase ( )
inlineprotected

Definition at line 50 of file _TestFairLogger.h.

template<class T>
_TestFairLoggerBase< T >::_TestFairLoggerBase ( )
inlineprotected

Definition at line 40 of file _TestFairLoggerNew.h.

template<class T>
_TestFairLoggerBase< T >::_TestFairLoggerBase ( const _TestFairLoggerBase< T > &  )
protected
template<class T>
_TestFairLoggerBase< T >::~_TestFairLoggerBase ( )
inlineprotected

Definition at line 50 of file _TestFairLoggerNew.h.

Member Function Documentation

template<class T>
void _TestFairLoggerBase< T >::CheckFileOutput ( std::vector< std::string >  v,
FairTestOutputHandler  _handler 
)
inlineprotected

Definition at line 131 of file _TestFairLogger.h.

template<class T>
void _TestFairLoggerBase< T >::CheckFileOutput ( std::vector< std::string >  v,
FairTestOutputHandler  _handler 
)
inlineprotected

Definition at line 131 of file _TestFairLoggerNew.h.

template<class T>
void _TestFairLoggerBase< T >::CheckFileOutput ( FairTestOutputHandler  handler,
const std::vector< std::string > &  v 
)
inlineprotected

Definition at line 143 of file _TestFairTools.cxx.

template<class T>
void _TestFairLoggerBase< T >::CheckScreenOutput ( std::vector< std::string >  v)
inlineprotected

Definition at line 118 of file _TestFairLogger.h.

template<class T>
void _TestFairLoggerBase< T >::CheckScreenOutput ( std::vector< std::string >  v)
inlineprotected

Definition at line 118 of file _TestFairLoggerNew.h.

template<class T>
void _TestFairLoggerBase< T >::CheckScreenOutput ( FairCaptureOutput  handler,
const std::vector< std::string > &  v 
)
inlineprotected

Definition at line 130 of file _TestFairTools.cxx.

template<class T>
bool _TestFairLoggerBase< T >::CheckVerboseOutput ( std::string  logLevel,
std::string  outputString,
std::string  verbosity,
std::string  resultString 
)
inlineprotected

Definition at line 144 of file _TestFairLoggerNew.h.

template<class T>
bool _TestFairLoggerBase< T >::CheckVerboseOutput ( const std::string &  logLevel,
const std::string &  outputString,
const std::string &  verboseLevel,
const std::string &  resultString 
)
inlineprotected

Definition at line 156 of file _TestFairTools.cxx.

template<class T>
bool _TestFairLoggerBase< T >::CheckVerboseOutput ( std::string  logLevel,
std::string  outputString,
std::string  verbosity,
std::string  resultString 
)
inlineprotected

Definition at line 160 of file _TestFairLogger.h.

template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::CreateExpectedLogLevels ( std::string  loglevel)
inlineprotected

Definition at line 110 of file _TestFairLogger.h.

template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::CreateExpectedLogLevels ( std::string  loglevel)
inlineprotected

Definition at line 110 of file _TestFairLoggerNew.h.

template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::CreateExpectedLogLevels ( const std::string &  loglevel)
inlineprotected

Definition at line 121 of file _TestFairTools.cxx.

template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::CreateExpectedOutputNoArguments ( const std::string &  loglevel,
const std::string &  outString,
const std::string &  filename = "" 
)
inlineprotected

Definition at line 87 of file _TestFairTools.cxx.

template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::CreateExpectedOutputNoArguments ( std::string  logLevel,
std::string  outStr 
)
inlineprotected

Definition at line 91 of file _TestFairLogger.h.

template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::CreateExpectedOutputNoArguments ( std::string  loglevel,
std::string  outStr 
)
inlineprotected

Definition at line 91 of file _TestFairLoggerNew.h.

template<class T>
void _TestFairLoggerBase< T >::LogNoArguments ( FairLogger fLogger,
const std::string &  OutputString 
)
inlineprotected

Definition at line 74 of file _TestFairTools.cxx.

template<class T>
void _TestFairLoggerBase< T >::LogNoArguments ( )
inlineprotected

Definition at line 78 of file _TestFairLoggerNew.h.

template<class T>
void _TestFairLoggerBase< T >::LogNoArguments ( )
inlineprotected

Definition at line 78 of file _TestFairLogger.h.

template<class T>
_TestFairLoggerBase& _TestFairLoggerBase< T >::operator= ( const _TestFairLoggerBase< T > &  )
protected
template<class T>
_TestFairLoggerBase& _TestFairLoggerBase< T >::operator= ( const _TestFairLoggerBase< T > &  )
protected
template<class T>
std::vector<std::string> _TestFairLoggerBase< T >::ReadLinesFromFile ( std::string  fileName)
inlineprotected

Definition at line 144 of file _TestFairLogger.h.

template<class T>
void _TestFairLoggerBase< T >::SetFairLoggerDefaultValues ( )
inlineprotected

Definition at line 65 of file _TestFairTools.cxx.

template<class T>
void _TestFairLoggerBase< T >::SetFairLoggerDefaultValues ( )
inlineprotected

Definition at line 68 of file _TestFairLoggerNew.h.

template<class T>
void _TestFairLoggerBase< T >::SetFairLoggerDefaultValues ( )
inlineprotected

Definition at line 68 of file _TestFairLogger.h.

template<class T>
void _TestFairLoggerBase< T >::SetOutFileName ( )
inlineprotected

Definition at line 60 of file _TestFairLogger.h.

template<class T>
void _TestFairLoggerBase< T >::SetOutFileName ( )
inlineprotected

Definition at line 60 of file _TestFairLoggerNew.h.

template<class T>
virtual void _TestFairLoggerBase< T >::SetUp ( )
inlineprotectedvirtual
template<class T>
virtual void _TestFairLoggerBase< T >::SetUp ( )
inlineprotectedvirtual
template<class T>
virtual void _TestFairLoggerBase< T >::SetUp ( )
inlineprotectedvirtual
template<class T>
virtual void _TestFairLoggerBase< T >::TearDown ( )
inlineprotectedvirtual

Definition at line 58 of file _TestFairLogger.h.

template<class T>
virtual void _TestFairLoggerBase< T >::TearDown ( )
inlineprotectedvirtual

Definition at line 58 of file _TestFairLoggerNew.h.

Member Data Documentation

template<class T>
FairCaptureOutputNew _TestFairLoggerBase< T >::fHandler
protected

Definition at line 37 of file _TestFairLogger.h.

template<class T>
FairLogger * _TestFairLoggerBase< T >::fLogger
protected

Definition at line 36 of file _TestFairLogger.h.

template<class T>
std::string _TestFairLoggerBase< T >::fLogLevelSettingToTest
protected

Definition at line 33 of file _TestFairLogger.h.

template<class T>
std::string _TestFairLoggerBase< T >::fOutFileName
protected

Definition at line 35 of file _TestFairLogger.h.

template<class T>
std::string _TestFairLoggerBase< T >::fOutputString
protected

Definition at line 34 of file _TestFairLogger.h.

template<class T>
FairCaptureOutput _TestFairLoggerBase< T >::handler
protected

Definition at line 46 of file _TestFairTools.cxx.

template<class T>
std::string _TestFairLoggerBase< T >::logLevelSettingToTest
protected

Definition at line 43 of file _TestFairTools.cxx.

template<class T>
std::string _TestFairLoggerBase< T >::OutputString
protected

Definition at line 44 of file _TestFairTools.cxx.


The documentation for this class was generated from the following files: