Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ClassUnderTest Class Reference
Inheritance diagram for ClassUnderTest:
Inheritance graph
[legend]

Public Member Functions

 ClassUnderTest (Aws::Utils::Logging::LogLevel log_level)
 
void LogDebug (const char *tag, const std::string &message) override
 
void LogError (const char *tag, const std::string &message) override
 
void LogFatal (const char *tag, const std::string &message) override
 
void LogInfo (const char *tag, const std::string &message) override
 
void LogTrace (const char *tag, const std::string &message) override
 
void LogWarn (const char *tag, const std::string &message) override
 
 ~ClassUnderTest ()=default
 
- Public Member Functions inherited from Aws::Utils::Logging::AWSLogSystem
 AWSLogSystem (Aws::Utils::Logging::LogLevel log_level)
 
 AWSLogSystem (AWSLogSystem const &)=delete
 
Aws::Utils::Logging::LogLevel GetLogLevel () const override
 
void Log (Aws::Utils::Logging::LogLevel log_level, const char *tag, const char *format,...) override
 
void LogStream (Aws::Utils::Logging::LogLevel log_level, const char *tag, const Aws::OStringStream &message_stream) override
 
AWSLogSystemoperator= (AWSLogSystem const &)=delete
 
void SetLogLevel (Aws::Utils::Logging::LogLevel log_level)
 
 ~AWSLogSystem () override=default
 

Static Public Member Functions

static const std::string & GetExpectedLogMessageString (const ClassUnderTest *class_under_test)
 
static const std::string & GetExpectedTag (const ClassUnderTest *class_under_test)
 
static int GetLogDebugCount (const ClassUnderTest *class_under_test)
 
static int GetLogErrorCount (const ClassUnderTest *class_under_test)
 
static int GetLogFatalCount (const ClassUnderTest *class_under_test)
 
static int GetLogInfoCount (const ClassUnderTest *class_under_test)
 
static int GetLogTraceCount (const ClassUnderTest *class_under_test)
 
static int GetLogWarnCount (const ClassUnderTest *class_under_test)
 
static void ResetLogCounts (ClassUnderTest *class_under_test)
 
static void SetExpectedLogMessageString (ClassUnderTest *class_under_test, const std::string &message)
 
static void SetExpectedTagString (ClassUnderTest *class_under_test, const std::string &tag)
 

Private Attributes

std::string expected_log_message_string_
 
std::string expected_tag_
 
int log_debug_count_ = 0
 
int log_error_count_ = 0
 
int log_fatal_count_ = 0
 
int log_info_count_ = 0
 
int log_trace_count_ = 0
 
int log_warn_count_ = 0
 

Additional Inherited Members

Detailed Description

Definition at line 23 of file aws_log_system_test.cpp.

Constructor & Destructor Documentation

ClassUnderTest::ClassUnderTest ( Aws::Utils::Logging::LogLevel  log_level)
inlineexplicit

Definition at line 37 of file aws_log_system_test.cpp.

ClassUnderTest::~ClassUnderTest ( )
default

Member Function Documentation

static const std::string& ClassUnderTest::GetExpectedLogMessageString ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 91 of file aws_log_system_test.cpp.

static const std::string& ClassUnderTest::GetExpectedTag ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 96 of file aws_log_system_test.cpp.

static int ClassUnderTest::GetLogDebugCount ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 106 of file aws_log_system_test.cpp.

static int ClassUnderTest::GetLogErrorCount ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 121 of file aws_log_system_test.cpp.

static int ClassUnderTest::GetLogFatalCount ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 126 of file aws_log_system_test.cpp.

static int ClassUnderTest::GetLogInfoCount ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 101 of file aws_log_system_test.cpp.

static int ClassUnderTest::GetLogTraceCount ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 111 of file aws_log_system_test.cpp.

static int ClassUnderTest::GetLogWarnCount ( const ClassUnderTest class_under_test)
inlinestatic

Definition at line 116 of file aws_log_system_test.cpp.

void ClassUnderTest::LogDebug ( const char *  tag,
const std::string &  message 
)
inlineoverridevirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 59 of file aws_log_system_test.cpp.

void ClassUnderTest::LogError ( const char *  tag,
const std::string &  message 
)
inlineoverridevirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 73 of file aws_log_system_test.cpp.

void ClassUnderTest::LogFatal ( const char *  tag,
const std::string &  message 
)
inlineoverridevirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 80 of file aws_log_system_test.cpp.

void ClassUnderTest::LogInfo ( const char *  tag,
const std::string &  message 
)
inlineoverridevirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 45 of file aws_log_system_test.cpp.

void ClassUnderTest::LogTrace ( const char *  tag,
const std::string &  message 
)
inlineoverridevirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 52 of file aws_log_system_test.cpp.

void ClassUnderTest::LogWarn ( const char *  tag,
const std::string &  message 
)
inlineoverridevirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 66 of file aws_log_system_test.cpp.

static void ClassUnderTest::ResetLogCounts ( ClassUnderTest class_under_test)
inlinestatic

Definition at line 142 of file aws_log_system_test.cpp.

static void ClassUnderTest::SetExpectedLogMessageString ( ClassUnderTest class_under_test,
const std::string &  message 
)
inlinestatic

Definition at line 131 of file aws_log_system_test.cpp.

static void ClassUnderTest::SetExpectedTagString ( ClassUnderTest class_under_test,
const std::string &  tag 
)
inlinestatic

Definition at line 137 of file aws_log_system_test.cpp.

Member Data Documentation

std::string ClassUnderTest::expected_log_message_string_
private

Definition at line 33 of file aws_log_system_test.cpp.

std::string ClassUnderTest::expected_tag_
private

Definition at line 34 of file aws_log_system_test.cpp.

int ClassUnderTest::log_debug_count_ = 0
private

Definition at line 27 of file aws_log_system_test.cpp.

int ClassUnderTest::log_error_count_ = 0
private

Definition at line 30 of file aws_log_system_test.cpp.

int ClassUnderTest::log_fatal_count_ = 0
private

Definition at line 31 of file aws_log_system_test.cpp.

int ClassUnderTest::log_info_count_ = 0
private

Definition at line 26 of file aws_log_system_test.cpp.

int ClassUnderTest::log_trace_count_ = 0
private

Definition at line 28 of file aws_log_system_test.cpp.

int ClassUnderTest::log_warn_count_ = 0
private

Definition at line 29 of file aws_log_system_test.cpp.


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


aws_common
Author(s): AWS RoboMaker
autogenerated on Sat Mar 6 2021 03:11:38