Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
testing::TestResult Class Reference

#include <gtest.h>

Public Member Functions

TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
bool Failed () const
 
bool Failed () const
 
bool Failed () const
 
bool Failed () const
 
const TestPartResultGetTestPartResult (int i) const
 
const TestPartResultGetTestPartResult (int i) const
 
const TestPartResultGetTestPartResult (int i) const
 
const TestPartResultGetTestPartResult (int i) const
 
const TestPropertyGetTestProperty (int i) const
 
const TestPropertyGetTestProperty (int i) const
 
const TestPropertyGetTestProperty (int i) const
 
const TestPropertyGetTestProperty (int i) const
 
bool HasFatalFailure () const
 
bool HasFatalFailure () const
 
bool HasFatalFailure () const
 
bool HasFatalFailure () const
 
bool HasNonfatalFailure () const
 
bool HasNonfatalFailure () const
 
bool HasNonfatalFailure () const
 
bool HasNonfatalFailure () const
 
bool Passed () const
 
bool Passed () const
 
bool Passed () const
 
bool Passed () const
 
int test_property_count () const
 
int test_property_count () const
 
int test_property_count () const
 
int test_property_count () const
 
 TestResult ()
 
 TestResult ()
 
 TestResult ()
 
 TestResult ()
 
int total_part_count () const
 
int total_part_count () const
 
int total_part_count () const
 
int total_part_count () const
 
 ~TestResult ()
 
 ~TestResult ()
 
 ~TestResult ()
 
 ~TestResult ()
 

Private Member Functions

void AddTestPartResult (const TestPartResult &test_part_result)
 
void AddTestPartResult (const TestPartResult &test_part_result)
 
void AddTestPartResult (const TestPartResult &test_part_result)
 
void AddTestPartResult (const TestPartResult &test_part_result)
 
void Clear ()
 
void Clear ()
 
void Clear ()
 
void Clear ()
 
void ClearTestPartResults ()
 
void ClearTestPartResults ()
 
void ClearTestPartResults ()
 
void ClearTestPartResults ()
 
int death_test_count () const
 
int death_test_count () const
 
int death_test_count () const
 
int death_test_count () const
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)
 
int increment_death_test_count ()
 
int increment_death_test_count ()
 
int increment_death_test_count ()
 
int increment_death_test_count ()
 
void RecordProperty (const std::string &xml_element, const TestProperty &test_property)
 
void RecordProperty (const std::string &xml_element, const TestProperty &test_property)
 
void RecordProperty (const std::string &xml_element, const TestProperty &test_property)
 
void RecordProperty (const std::string &xml_element, const TestProperty &test_property)
 
void set_elapsed_time (TimeInMillis elapsed)
 
void set_elapsed_time (TimeInMillis elapsed)
 
void set_elapsed_time (TimeInMillis elapsed)
 
void set_elapsed_time (TimeInMillis elapsed)
 
const std::vector< TestPartResult > & test_part_results () const
 
const std::vector< TestPartResult > & test_part_results () const
 
const std::vector< TestPartResult > & test_part_results () const
 
const std::vector< TestPartResult > & test_part_results () const
 
const std::vector< TestProperty > & test_properties () const
 
const std::vector< TestProperty > & test_properties () const
 
const std::vector< TestProperty > & test_properties () const
 
const std::vector< TestProperty > & test_properties () const
 

Static Private Member Functions

static bool ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property)
 
static bool ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property)
 
static bool ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property)
 
static bool ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property)
 

Private Attributes

int death_test_count_
 
TimeInMillis elapsed_time_
 
std::vector< TestPartResulttest_part_results_
 
internal::Mutex test_properites_mutex_
 
std::vector< TestPropertytest_properties_
 

Friends

class internal::DefaultGlobalTestPartResultReporter
 
class internal::ExecDeathTest
 
class internal::TestResultAccessor
 
class internal::UnitTestImpl
 
class internal::WindowsDeathTest
 
class TestCase
 
class TestInfo
 
class UnitTest
 

Detailed Description

Definition at line 19094 of file gmock/fused-src/gtest/gtest.h.

Constructor & Destructor Documentation

testing::TestResult::TestResult ( )

Definition at line 3178 of file gmock-gtest-all.cc.

testing::TestResult::~TestResult ( )

Definition at line 3184 of file gmock-gtest-all.cc.

testing::TestResult::TestResult ( )
testing::TestResult::~TestResult ( )
testing::TestResult::TestResult ( )
testing::TestResult::~TestResult ( )
testing::TestResult::TestResult ( )
testing::TestResult::~TestResult ( )

Member Function Documentation

void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result)
private
void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result)
private
void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result)
private
void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result)
private

Definition at line 3211 of file gmock-gtest-all.cc.

void testing::TestResult::Clear ( )
private
void testing::TestResult::Clear ( )
private
void testing::TestResult::Clear ( )
private
void testing::TestResult::Clear ( )
private

Definition at line 3323 of file gmock-gtest-all.cc.

void testing::TestResult::ClearTestPartResults ( )
private
void testing::TestResult::ClearTestPartResults ( )
private
void testing::TestResult::ClearTestPartResults ( )
private

Definition at line 3206 of file gmock-gtest-all.cc.

void testing::TestResult::ClearTestPartResults ( )
private
int testing::TestResult::death_test_count ( ) const
inlineprivate

Definition at line 599 of file gtest/include/gtest/gtest.h.

int testing::TestResult::death_test_count ( ) const
inlineprivate

Definition at line 599 of file gmock/gtest/include/gtest/gtest.h.

int testing::TestResult::death_test_count ( ) const
inlineprivate

Definition at line 19179 of file gmock/gtest/fused-src/gtest/gtest.h.

int testing::TestResult::death_test_count ( ) const
inlineprivate

Definition at line 19179 of file gmock/fused-src/gtest/gtest.h.

TimeInMillis testing::TestResult::elapsed_time ( ) const
inline

Definition at line 543 of file gtest/include/gtest/gtest.h.

TimeInMillis testing::TestResult::elapsed_time ( ) const
inline

Definition at line 543 of file gmock/gtest/include/gtest/gtest.h.

TimeInMillis testing::TestResult::elapsed_time ( ) const
inline

Definition at line 19123 of file gmock/fused-src/gtest/gtest.h.

TimeInMillis testing::TestResult::elapsed_time ( ) const
inline

Definition at line 19123 of file gmock/gtest/fused-src/gtest/gtest.h.

bool testing::TestResult::Failed ( ) const
bool testing::TestResult::Failed ( ) const
bool testing::TestResult::Failed ( ) const
bool testing::TestResult::Failed ( ) const

Definition at line 3331 of file gmock-gtest-all.cc.

const TestPartResult& testing::TestResult::GetTestPartResult ( int  i) const
const TestPartResult& testing::TestResult::GetTestPartResult ( int  i) const
const TestPartResult& testing::TestResult::GetTestPartResult ( int  i) const
const TestPartResult & testing::TestResult::GetTestPartResult ( int  i) const

Definition at line 3190 of file gmock-gtest-all.cc.

const TestProperty& testing::TestResult::GetTestProperty ( int  i) const
const TestProperty& testing::TestResult::GetTestProperty ( int  i) const
const TestProperty & testing::TestResult::GetTestProperty ( int  i) const

Definition at line 3199 of file gmock-gtest-all.cc.

const TestProperty& testing::TestResult::GetTestProperty ( int  i) const
testing::TestResult::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestResult  )
private
testing::TestResult::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestResult  )
private
testing::TestResult::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestResult  )
private
testing::TestResult::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestResult  )
private
bool testing::TestResult::HasFatalFailure ( ) const
bool testing::TestResult::HasFatalFailure ( ) const
bool testing::TestResult::HasFatalFailure ( ) const

Definition at line 3345 of file gmock-gtest-all.cc.

bool testing::TestResult::HasFatalFailure ( ) const
bool testing::TestResult::HasNonfatalFailure ( ) const
bool testing::TestResult::HasNonfatalFailure ( ) const
bool testing::TestResult::HasNonfatalFailure ( ) const
bool testing::TestResult::HasNonfatalFailure ( ) const

Definition at line 3355 of file gmock-gtest-all.cc.

int testing::TestResult::increment_death_test_count ( )
inlineprivate

Definition at line 602 of file gtest/include/gtest/gtest.h.

int testing::TestResult::increment_death_test_count ( )
inlineprivate

Definition at line 602 of file gmock/gtest/include/gtest/gtest.h.

int testing::TestResult::increment_death_test_count ( )
inlineprivate

Definition at line 19182 of file gmock/fused-src/gtest/gtest.h.

int testing::TestResult::increment_death_test_count ( )
inlineprivate

Definition at line 19182 of file gmock/gtest/fused-src/gtest/gtest.h.

bool testing::TestResult::Passed ( ) const
inline

Definition at line 531 of file gmock/gtest/include/gtest/gtest.h.

bool testing::TestResult::Passed ( ) const
inline

Definition at line 531 of file gtest/include/gtest/gtest.h.

bool testing::TestResult::Passed ( ) const
inline

Definition at line 19111 of file gmock/fused-src/gtest/gtest.h.

bool testing::TestResult::Passed ( ) const
inline

Definition at line 19111 of file gmock/gtest/fused-src/gtest/gtest.h.

void testing::TestResult::RecordProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
private
void testing::TestResult::RecordProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
private
void testing::TestResult::RecordProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
private
void testing::TestResult::RecordProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
private

Definition at line 3218 of file gmock-gtest-all.cc.

void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed)
inlineprivate

Definition at line 578 of file gmock/gtest/include/gtest/gtest.h.

void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed)
inlineprivate

Definition at line 578 of file gtest/include/gtest/gtest.h.

void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed)
inlineprivate

Definition at line 19158 of file gmock/gtest/fused-src/gtest/gtest.h.

void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed)
inlineprivate

Definition at line 19158 of file gmock/fused-src/gtest/gtest.h.

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const
inlineprivate

Definition at line 566 of file gtest/include/gtest/gtest.h.

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const
inlineprivate

Definition at line 566 of file gmock/gtest/include/gtest/gtest.h.

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const
inlineprivate

Definition at line 19146 of file gmock/gtest/fused-src/gtest/gtest.h.

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const
inlineprivate

Definition at line 19146 of file gmock/fused-src/gtest/gtest.h.

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const
inlineprivate

Definition at line 572 of file gtest/include/gtest/gtest.h.

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const
inlineprivate

Definition at line 572 of file gmock/gtest/include/gtest/gtest.h.

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const
inlineprivate

Definition at line 19152 of file gmock/gtest/fused-src/gtest/gtest.h.

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const
inlineprivate

Definition at line 19152 of file gmock/fused-src/gtest/gtest.h.

int testing::TestResult::test_property_count ( ) const
int testing::TestResult::test_property_count ( ) const
int testing::TestResult::test_property_count ( ) const
int testing::TestResult::test_property_count ( ) const

Definition at line 3366 of file gmock-gtest-all.cc.

int testing::TestResult::total_part_count ( ) const
int testing::TestResult::total_part_count ( ) const
int testing::TestResult::total_part_count ( ) const
int testing::TestResult::total_part_count ( ) const

Definition at line 3361 of file gmock-gtest-all.cc.

static bool testing::TestResult::ValidateTestProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
staticprivate
static bool testing::TestResult::ValidateTestProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
staticprivate
static bool testing::TestResult::ValidateTestProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
staticprivate
bool testing::TestResult::ValidateTestProperty ( const std::string &  xml_element,
const TestProperty test_property 
)
staticprivate

Definition at line 3316 of file gmock-gtest-all.cc.

Friends And Related Function Documentation

Definition at line 19139 of file gmock/fused-src/gtest/gtest.h.

internal::ExecDeathTest
friend

Definition at line 19140 of file gmock/fused-src/gtest/gtest.h.

Definition at line 19141 of file gmock/fused-src/gtest/gtest.h.

Definition at line 19142 of file gmock/fused-src/gtest/gtest.h.

internal::WindowsDeathTest
friend

Definition at line 19143 of file gmock/fused-src/gtest/gtest.h.

TestCase
friend

Definition at line 19137 of file gmock/fused-src/gtest/gtest.h.

TestInfo
friend

Definition at line 19136 of file gmock/fused-src/gtest/gtest.h.

UnitTest
friend

Definition at line 19138 of file gmock/fused-src/gtest/gtest.h.

Member Data Documentation

int testing::TestResult::death_test_count_
private

Definition at line 19199 of file gmock/fused-src/gtest/gtest.h.

TimeInMillis testing::TestResult::elapsed_time_
private

Definition at line 19201 of file gmock/fused-src/gtest/gtest.h.

std::vector< TestPartResult > testing::TestResult::test_part_results_
private

Definition at line 19195 of file gmock/fused-src/gtest/gtest.h.

internal::Mutex testing::TestResult::test_properites_mutex_
private

Definition at line 19192 of file gmock/fused-src/gtest/gtest.h.

std::vector< TestProperty > testing::TestResult::test_properties_
private

Definition at line 19197 of file gmock/fused-src/gtest/gtest.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:10