Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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 testing::TestWithParam< int >, testing::TestWithParam< MyEnums >, testing::TestWithParam< std::string >, testing::TestWithParam< MyType >, FooTest, CommonTest< T >, DynamicFixture, DynamicUnitTestFixture, ExpectFailureTest, FadBLASUnitTests< FadType >, FadFadOpsUnitTest< FadFadType >, FadLAPACKUnitTests< FadType >, FadOpsUnitTest< FadType >, FadOpsUnitTest2< FadType >, FatalFailureInFixtureConstructorTest, FatalFailureInSetUpTest, FooTestFixture, GMockOutputTest, LogicalSparseOpsUnitTest, MacroNamingTestNonParametrized, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInSetUpTest, NonParameterizedBaseTest, Predicate1Test, Predicate2Test, Predicate3Test, Predicate4Test, Predicate5Test, PropertyOne, PropertyTwo, ProtectedFixtureMethodsTest, SetupFailTest, TEST_F_before_TEST_in_same_test_case, TEST_before_TEST_F_in_same_test_case, TaylorOpsUnitTest< TaylorType >, TearDownFailTest, TraitsTests< ADType >, TypeParamTest< T >, TypedTest< T >, bar::MixedUpTestSuiteTest, bar::MixedUpTestSuiteWithSameTestNameTest, foo::MixedUpTestSuiteTest, foo::MixedUpTestSuiteWithSameTestNameTest, testing::CodeLocationForTESTF, testing::CodeLocationForTYPEDTEST< T >, testing::CodeLocationForTYPEDTESTP< T >, testing::CurrentTestInfoTest, testing::ParseFlagsTest, testing::SetUpTestCaseTest, testing::SetUpTestSuiteTest, testing::TestInfoTest, testing::TestWithParam< T >, 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, 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_SetUpSetup ()
 
 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::~Test ( )
virtual

Definition at line 2433 of file gtest.cc.

◆ Test()

Test::Test ( )
protected

Definition at line 2426 of file gtest.cc.

Member Function Documentation

◆ SetUpTestSuite()

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

Definition at line 427 of file gtest.h.

◆ TearDownTestSuite()

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

Definition at line 435 of file gtest.h.

◆ TearDownTestCase()

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

Definition at line 439 of file gtest.h.

◆ SetUpTestCase()

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

Definition at line 440 of file gtest.h.

◆ HasFatalFailure()

bool Test::HasFatalFailure ( )
static

Definition at line 2702 of file gtest.cc.

◆ HasNonfatalFailure()

bool Test::HasNonfatalFailure ( )
static

Definition at line 2707 of file gtest.cc.

◆ IsSkipped()

bool Test::IsSkipped ( )
static

Definition at line 2713 of file gtest.cc.

◆ HasFailure()

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

Definition at line 454 of file gtest.h.

◆ RecordProperty() [1/2]

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

Definition at line 2449 of file gtest.cc.

◆ RecordProperty() [2/2]

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

Definition at line 2454 of file gtest.cc.

◆ SetUp()

void Test::SetUp ( )
protectedvirtual

◆ TearDown()

void Test::TearDown ( )
protectedvirtual

◆ HasSameFixtureClass()

bool Test::HasSameFixtureClass ( )
staticprivate

Definition at line 2481 of file gtest.cc.

◆ TestBody()

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

◆ Run()

void Test::Run ( )
private

Definition at line 2679 of file gtest.cc.

◆ DeleteSelf_()

void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 500 of file gtest.h.

◆ Setup()

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

Definition at line 521 of file gtest.h.

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test  )
private

Friends And Related Function Documentation

◆ TestInfo

friend class TestInfo
friend

Definition at line 416 of file gtest.h.

Member Data Documentation

◆ gtest_flag_saver_

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: