Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::AssertHelper Class Reference

#include <gtest.h>

Public Member Functions

 AssertHelper (TestPartResult::Type type, const char *file, int line, const char *message)
 
 ~AssertHelper ()
 
void operator= (const Message &message) const
 

Detailed Description

Definition at line 1707 of file gtest.h.

Constructor & Destructor Documentation

◆ AssertHelper()

testing::internal::AssertHelper::AssertHelper ( TestPartResult::Type type,
const char * file,
int line,
const char * message )

Definition at line 370 of file gtest.cc.

374 : data_(new AssertHelperData(type, file, line, message)) {
375}

◆ ~AssertHelper()

testing::internal::AssertHelper::~AssertHelper ( )

Definition at line 377 of file gtest.cc.

377 {
378 delete data_;
379}

Member Function Documentation

◆ operator=()

void testing::internal::AssertHelper::operator= ( const Message & message) const

Definition at line 382 of file gtest.cc.

382 {
384 AddTestPartResult(data_->type, data_->file, data_->line,
385 AppendUserMessage(data_->message, message),
386 UnitTest::GetInstance()->impl()
388 // Skips the stack frame for this function itself.
389 ); // NOLINT
390}
static UnitTest * GetInstance()
Definition gtest.cc:4374
std::string CurrentOsStackTraceExceptTop(int skip_count) GTEST_NO_INLINE_
Definition gtest.cc:810
Here is the call graph for this function:

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