Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
testing::Test Class Referenceabstract

#include <gtest.h>

Inherited by bar::MixedUpTestSuiteTest, bar::MixedUpTestSuiteWithSameTestNameTest, CommonTest< T >, DynamicFixture, DynamicUnitTestFixture, ExpectFailureTest, FadBLASUnitTests< FadType >, FadFadOpsUnitTest< FadFadType >, FadLAPACKUnitTests< FadType >, FadOpsUnitTest< FadType >, FadOpsUnitTest2< FadType >, FatalFailureInFixtureConstructorTest, FatalFailureInSetUpTest, foo::MixedUpTestSuiteTest, foo::MixedUpTestSuiteWithSameTestNameTest, FooTest, FooTest, FooTestFixture, GMockOutputTest, LogicalSparseOpsUnitTest, MacroNamingTestNonParametrized, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInSetUpTest, NonParameterizedBaseTest, Predicate1Test, Predicate2Test, Predicate3Test, Predicate4Test, Predicate5Test, PropertyOne, PropertyTwo, ProtectedFixtureMethodsTest, SetupFailTest, TaylorOpsUnitTest< TaylorType >, TearDownFailTest, TEST_before_TEST_F_in_same_test_case, TEST_F_before_TEST_in_same_test_case, testing::CodeLocationForTESTF, testing::CodeLocationForTYPEDTEST< T >, testing::CodeLocationForTYPEDTESTP< T >, testing::CurrentTestInfoTest, testing::gmock_function_mocker_test::ExpectCallTest< T >, testing::gmock_function_mocker_test::FunctionMockerTest< T >, testing::gmock_function_mocker_test::MockMethodMockFunctionSignatureTest< F >, testing::gmock_function_mocker_test::OverloadedMockMethodTest< T >, testing::gmock_function_mocker_test::TemplateMockTest< T >, testing::internal::ListenerTest, testing::internal::UnitTestRecordPropertyTestHelper, testing::ParseFlagsTest, testing::SetUpTestCaseTest, testing::SetUpTestSuiteTest, testing::TestInfoTest, testing::TestWithParam< T >, testing::TestWithParam< int >, testing::TestWithParam< MyEnums >, testing::TestWithParam< MyType >, testing::TestWithParam< std::string >, TraitsTests< ADType >, TypedTest< T >, TypeParamTest< T >, works_here::NotInstantiatedTypeTest< T >, and works_here::NotUsedTypeTest< T >.

Classes

struct  Setup_should_be_spelled_SetUp
 

Public Member Functions

virtual ~Test ()
 

Static Public Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 
static void TearDownTestCase ()
 
static void SetUpTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool IsSkipped ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 

Protected Member Functions

 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Private Member Functions

virtual void TestBody ()=0
 
void Run ()
 
void DeleteSelf_ ()
 
virtual
Setup_should_be_spelled_SetUp
Setup ()
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Test)
 

Static Private Member Functions

static bool HasSameFixtureClass ()
 

Private Attributes

const std::unique_ptr
< GTEST_FLAG_SAVER_
gtest_flag_saver_
 

Friends

class TestInfo
 

Detailed Description

Definition at line 414 of file gtest.h.

Constructor & Destructor Documentation

Test::~Test ( )
virtual

Definition at line 2433 of file gtest.cc.

Test::Test ( )
protected

Definition at line 2426 of file gtest.cc.

Member Function Documentation

static void testing::Test::SetUpTestSuite ( )
inlinestatic

Definition at line 427 of file gtest.h.

static void testing::Test::TearDownTestSuite ( )
inlinestatic

Definition at line 435 of file gtest.h.

static void testing::Test::TearDownTestCase ( )
inlinestatic

Definition at line 439 of file gtest.h.

static void testing::Test::SetUpTestCase ( )
inlinestatic

Definition at line 440 of file gtest.h.

bool Test::HasFatalFailure ( )
static

Definition at line 2702 of file gtest.cc.

bool Test::HasNonfatalFailure ( )
static

Definition at line 2707 of file gtest.cc.

bool Test::IsSkipped ( )
static

Definition at line 2713 of file gtest.cc.

static bool testing::Test::HasFailure ( )
inlinestatic

Definition at line 454 of file gtest.h.

void Test::RecordProperty ( const std::string &  key,
const std::string &  value 
)
static

Definition at line 2449 of file gtest.cc.

void Test::RecordProperty ( const std::string &  key,
int  value 
)
static

Definition at line 2454 of file gtest.cc.

void Test::SetUp ( )
protectedvirtual
void Test::TearDown ( )
protectedvirtual
bool Test::HasSameFixtureClass ( )
staticprivate

Definition at line 2481 of file gtest.cc.

virtual void testing::Test::TestBody ( )
privatepure virtual
void Test::Run ( )
private

Definition at line 2679 of file gtest.cc.

void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 500 of file gtest.h.

virtual Setup_should_be_spelled_SetUp* testing::Test::Setup ( )
inlineprivatevirtual

Definition at line 521 of file gtest.h.

testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test  )
private

Friends And Related Function Documentation

friend class TestInfo
friend

Definition at line 416 of file gtest.h.

Member Data Documentation

const std::unique_ptr<GTEST_FLAG_SAVER_> testing::Test::gtest_flag_saver_
private

Definition at line 502 of file gtest.h.


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