Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
testing::TestInfo Class Reference

#include <gtest.h>

List of all members.

Public Member Functions

bool is_reportable () const
const char * name () const
const TestResultresult () const
bool should_run () const
const char * test_case_name () const
const char * type_param () const
const char * value_param () const
 ~TestInfo ()

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestInfo)
int increment_death_test_count ()
void Run ()
 TestInfo (const std::string &test_case_name, const std::string &name, const char *a_type_param, const char *a_value_param, internal::TypeId fixture_class_id, internal::TestFactoryBase *factory)

Static Private Member Functions

static void ClearTestResult (TestInfo *test_info)

Private Attributes

internal::TestFactoryBase *const factory_
const internal::TypeId fixture_class_id_
bool is_disabled_
bool matches_filter_
const std::string name_
TestResult result_
bool should_run_
const std::string test_case_name_
const internal::scoped_ptr
< const ::std::string > 
type_param_
const internal::scoped_ptr
< const ::std::string > 
value_param_

Friends

TestInfointernal::MakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, internal::TypeId fixture_class_id, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, internal::TestFactoryBase *factory)
class internal::StreamingListenerTest
class internal::UnitTestImpl
class Test
class TestCase

Detailed Description

Definition at line 645 of file gtest.h.


Constructor & Destructor Documentation

Definition at line 2481 of file gtest.cc.

testing::TestInfo::TestInfo ( const std::string &  test_case_name,
const std::string &  name,
const char *  a_type_param,
const char *  a_value_param,
internal::TypeId  fixture_class_id,
internal::TestFactoryBase factory 
) [private]

Definition at line 2463 of file gtest.cc.


Member Function Documentation

static void testing::TestInfo::ClearTestResult ( TestInfo test_info) [inline, static, private]

Definition at line 739 of file gtest.h.

Definition at line 731 of file gtest.h.

Definition at line 692 of file gtest.h.

const char* testing::TestInfo::name ( ) const [inline]

Definition at line 655 of file gtest.h.

const TestResult* testing::TestInfo::result ( ) const [inline]

Definition at line 700 of file gtest.h.

void testing::TestInfo::Run ( ) [private]

Definition at line 2586 of file gtest.cc.

bool testing::TestInfo::should_run ( ) const [inline]

Definition at line 689 of file gtest.h.

const char* testing::TestInfo::test_case_name ( ) const [inline]

Definition at line 652 of file gtest.h.

const char* testing::TestInfo::type_param ( ) const [inline]

Definition at line 659 of file gtest.h.

const char* testing::TestInfo::value_param ( ) const [inline]

Definition at line 667 of file gtest.h.


Friends And Related Function Documentation

TestInfo* internal::MakeAndRegisterTestInfo ( const char *  test_case_name,
const char *  name,
const char *  type_param,
const char *  value_param,
internal::TypeId  fixture_class_id,
Test::SetUpTestCaseFunc  set_up_tc,
Test::TearDownTestCaseFunc  tear_down_tc,
internal::TestFactoryBase factory 
) [friend]
friend class internal::StreamingListenerTest [friend]

Definition at line 709 of file gtest.h.

friend class internal::UnitTestImpl [friend]

Definition at line 708 of file gtest.h.

friend class Test [friend]

Definition at line 706 of file gtest.h.

friend class TestCase [friend]

Definition at line 707 of file gtest.h.


Member Data Documentation

Definition at line 757 of file gtest.h.

Definition at line 752 of file gtest.h.

Definition at line 754 of file gtest.h.

Definition at line 755 of file gtest.h.

const std::string testing::TestInfo::name_ [private]

Definition at line 745 of file gtest.h.

Definition at line 762 of file gtest.h.

Definition at line 753 of file gtest.h.

const std::string testing::TestInfo::test_case_name_ [private]

Definition at line 744 of file gtest.h.

const internal::scoped_ptr<const ::std::string> testing::TestInfo::type_param_ [private]

Definition at line 748 of file gtest.h.

const internal::scoped_ptr<const ::std::string> testing::TestInfo::value_param_ [private]

Definition at line 751 of file gtest.h.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12