proxygen
testing::Test Class Referenceabstract

#include <gtest.h>

Inheritance diagram for testing::Test:
AcceptRoutingHandlerTest AccessTest AsyncSocketGSOIntegrationTest AsyncSocketIntegrationTest AsyncUDPSocketTest bar::MixedUpTestCaseTest bar::MixedUpTestCaseTest bar::MixedUpTestCaseTest bar::MixedUpTestCaseWithSameTestNameTest bar::MixedUpTestCaseWithSameTestNameTest bar::MixedUpTestCaseWithSameTestNameTest BitVectorCodingTest BroadcastHandlerTest BroadcastPoolTest BufferedDigestTest BufferedSlidingWindowTest ByteEventTrackerTest CachelinePaddedTests< T > CommonTest< T > CommonTest< T > CommonTest< T > ConcurrentFlowManySender ConcurrentFlowSingleSender DelayedDestructionBaseTest DownstreamTransactionTest EchoHandlerFixture EgressStateMachineFixture ElfTest EliasFanoCodingTest EvbHandshakeHelperTest EventBaseThreadTest EventHandlerTest ExceptionTest ExpectFailureTest ExpectFailureTest ExpectFailureTest FatalFailureInFixtureConstructorTest FatalFailureInFixtureConstructorTest FatalFailureInFixtureConstructorTest FatalFailureInSetUpTest FatalFailureInSetUpTest FatalFailureInSetUpTest FilePersistentCacheTest< MutexT > FilePollerTest FilterTest fizz::client::test::AsyncFizzClientTest fizz::client::test::FizzClientTest fizz::client::test::SynchronizedLruPskCacheTest fizz::extensions::test::TokenBindingClientExtensionTest fizz::extensions::test::TokenBindingConstructorTest fizz::extensions::test::TokenBindingServerExtensionTest fizz::extensions::test::ValidatorTest fizz::server::test::AeadCookieCipherTest fizz::server::test::AeadTicketCipherTest fizz::server::test::AsyncFizzServerTest fizz::server::test::CertManagerTest fizz::server::test::FizzServerTest fizz::server::test::GetCookieStateTest fizz::test::AsyncFizzBaseTest fizz::test::AuthenticatorTest fizz::test::CertDecompressionManagerTest fizz::test::CertTestTyped< T > fizz::test::DefaultCertificateVerifierTest fizz::test::EncryptedRecordTest fizz::test::ExtensionsTest fizz::test::HandshakeContextTest fizz::test::HandshakeTest fizz::test::HandshakeTypesTest fizz::test::Key< T > fizz::test::KeySchedulerTest fizz::test::PlaintextRecordTest fizz::test::ProtocolTest< SM, Actions > fizz::test::RecordTest fizz::test::RSAPSSTest fizz::test::ValidateAuthenticatorTest fizz::test::ZlibCertificateCompressorTest folly::AsyncSSLSocketWriteTest folly::AtomicFetchResetTest folly::AtomicFetchSetTest folly::detail::StaticSingletonManagerTest folly::SSLContextTest folly::SSLOptionsTest folly::SSLSessionTest folly::symbolizer::test::ElfCacheTest folly::SynchronizedLockTest folly::SynchronizedTest< Mutex > folly::SynchronizedTimedTest< Mutex > folly::SynchronizedTimedWithConstTest< Mutex > folly::test::FileUtilTest folly::test::ReadFileFd folly::test::WriteFileAtomic foo::MixedUpTestCaseTest foo::MixedUpTestCaseTest foo::MixedUpTestCaseTest foo::MixedUpTestCaseWithSameTestNameTest foo::MixedUpTestCaseWithSameTestNameTest foo::MixedUpTestCaseWithSameTestNameTest FooTest FooTest FooTest FooTest FooTest FooTest FutureDAGTest GenericFilterTest< Owned > GMockOutputTest GMockOutputTest GMockOutputTest HazptrPreInitTest HeaderPieceTests HHWheelTimerTest HHWheelTimerTest HPACKBufferTests HPACKCodecTests HPACKHeaderNameTest HPACKHeaderTests HTTP2FramerTest HTTPCommonHeadersTests HTTPDownstreamTest< C > HTTPDownstreamTest< SPDY3_1CodecPair > HTTPParallelCodecTest HTTPUpstreamTest< C > HTTPUpstreamTest< MockHTTPCodecPair > HTTPUpstreamTest< SPDY3CodecPair > HuffmanTests ImmediateFlowManySender ImmediateFlowSingleSender IngressStateMachineFixture IntPaddedTestBase InvokeTest JsonPatchTest JsonPointerTest LifoSemTest LoggerTest LoggingTests LoggingTests LRUPersistentCacheTest< MutexT > MallctlHelperTest MockCodecDownstreamTest MultiFilePollerTest NeedleFinderTest< NeedleFinder > NewthreadExecutor NonFatalFailureInFixtureConstructorTest NonFatalFailureInFixtureConstructorTest NonFatalFailureInFixtureConstructorTest NonFatalFailureInSetUpTest NonFatalFailureInSetUpTest NonFatalFailureInSetUpTest ObservingHandlerTest OrderingTest PeekingAcceptorHandshakeHelperTest PerfectIndexMapTests< T > Predicate1Test Predicate1Test Predicate1Test Predicate2Test Predicate2Test Predicate2Test Predicate3Test Predicate3Test Predicate3Test Predicate4Test Predicate4Test Predicate4Test Predicate5Test Predicate5Test Predicate5Test PrimeTableTest< T > PrimeTableTest< T > PrimeTableTest< T > ProcessTicketTest PropagateConstTest PropertyOne PropertyOne PropertyOne PropertyTwo PropertyTwo PropertyTwo ProtectedFixtureMethodsTest ProtectedFixtureMethodsTest ProtectedFixtureMethodsTest fizz::test::ProtocolTest< ClientTypes, Actions > fizz::test::ProtocolTest< ServerTypes, Actions > proxygen::HeaderTableTests proxygen::QPACKHeaderTableTests proxygen::QueueTest proxygen::RFC1867Test proxygen::StructuredHeaders::StructuredHeadersUtilitiesTest proxygen::StructuredHeadersBufferTest proxygen::StructuredHeadersDecoderTest proxygen::StructuredHeadersEncoderTest proxygen::StructuredHeadersStandardTest QPACKTests QueueTest QueueTest QueueTest QuickTest QuickTest QuickTest ReadMostlySharedPtrTest RequestContextTest ScopedEventBaseThreadTest ScopedServerTest SecurityProtocolContextManagerTest Select64Test SlidingWindowTest SocketPeekerTest SSLSessionCacheDataTest StructPaddedTestBase TEST_before_TEST_F_in_same_test_case TEST_before_TEST_F_in_same_test_case TEST_before_TEST_F_in_same_test_case TEST_F_before_TEST_in_same_test_case TEST_F_before_TEST_in_same_test_case TEST_F_before_TEST_in_same_test_case testing::CodeLocationForTESTF testing::CodeLocationForTESTF testing::CodeLocationForTESTF testing::CodeLocationForTYPEDTEST< T > testing::CodeLocationForTYPEDTEST< T > testing::CodeLocationForTYPEDTEST< T > testing::CodeLocationForTYPEDTESTP< T > testing::CodeLocationForTYPEDTESTP< T > testing::CodeLocationForTYPEDTESTP< T > testing::CurrentTestInfoTest testing::CurrentTestInfoTest testing::CurrentTestInfoTest testing::gmock_generated_function_mockers_test::FunctionMockerTest testing::gmock_generated_function_mockers_test::FunctionMockerTest testing::gmock_generated_function_mockers_test::FunctionMockerTest testing::gmock_matchers_test::BacktrackingBPMTest testing::gmock_matchers_test::BacktrackingBPMTest testing::gmock_matchers_test::BacktrackingBPMTest testing::gmock_matchers_test::FloatingPointTest< RawType > testing::gmock_matchers_test::FloatingPointTest< RawType > testing::gmock_matchers_test::FloatingPointTest< RawType > testing::gmock_matchers_test::UnorderedElementsAreTest testing::gmock_matchers_test::UnorderedElementsAreTest testing::gmock_matchers_test::UnorderedElementsAreTest testing::InitGoogleTestTest testing::InitGoogleTestTest testing::InitGoogleTestTest testing::internal::ListenerTest testing::internal::ListenerTest testing::internal::ListenerTest testing::internal::UnitTestRecordPropertyTestHelper testing::internal::UnitTestRecordPropertyTestHelper testing::internal::UnitTestRecordPropertyTestHelper testing::SetUpTestCaseTest testing::SetUpTestCaseTest testing::SetUpTestCaseTest testing::TestInfoTest testing::TestInfoTest testing::TestInfoTest ThreadCachedIntTest ThreadSafeSSLSessionCacheTest TimekeeperFixture TimeoutTest TrampolineExecutor TypedTest< T > TypedTest< T > TypedTest< T > TypeParamTest< T > TypeParamTest< T > TypeParamTest< T > ViaFixture wangle::AcceptorTest wangle::SSLSessionPersistentCacheTest ZlibServerFilterTest ZlibTests

Classes

struct  Setup_should_be_spelled_SetUp
 

Public Types

typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 

Public Member Functions

virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 

Static Public Member Functions

static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
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 ()
 
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
 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)
 
virtual void TestBody ()=0
 
void Run ()
 
void DeleteSelf_ ()
 
virtual Setup_should_be_spelled_SetUpSetup ()
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Test)
 
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 ()
 
static bool HasSameFixtureClass ()
 
static bool HasSameFixtureClass ()
 

Private Attributes

const internal::scoped_ptr< GTEST_FLAG_SAVER_gtest_flag_saver_
 

Friends

class TestInfo
 

Detailed Description

Definition at line 371 of file gtest.h.

Member Typedef Documentation

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc

Definition at line 377 of file gtest.h.

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc

Definition at line 377 of file gtest.h.

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc

Definition at line 377 of file gtest.h.

typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc

Definition at line 378 of file gtest.h.

typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc

Definition at line 378 of file gtest.h.

typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc

Definition at line 378 of file gtest.h.

Constructor & Destructor Documentation

Test::~Test ( )
virtual

Definition at line 2221 of file gtest.cc.

Referenced by testing::TestPartNonfatallyFailed().

2221  {
2222 }
Test::Test ( )
protected

Definition at line 2214 of file gtest.cc.

Referenced by TEST_P(), and testing::TestPartNonfatallyFailed().

2216 }
const internal::scoped_ptr< GTEST_FLAG_SAVER_ > gtest_flag_saver_
Definition: gtest.h:455
#define GTEST_FLAG_SAVER_
Definition: gtest-port.h:2512
virtual testing::Test::~Test ( )
virtual
testing::Test::Test ( )
protected
virtual testing::Test::~Test ( )
virtual
testing::Test::Test ( )
protected

Member Function Documentation

void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 453 of file gtest.h.

Referenced by testing::TestInfo::Run().

453 { delete this; }
void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 453 of file gtest.h.

453 { delete this; }
void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 453 of file gtest.h.

453 { delete this; }
testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test  )
private
testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test  )
private
testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test  )
private
static bool testing::Test::HasFailure ( )
inlinestatic

Definition at line 407 of file gtest.h.

References Run(), string, and value.

407 { return HasFatalFailure() || HasNonfatalFailure(); }
static bool HasFatalFailure()
Definition: gtest.cc:2487
static bool HasNonfatalFailure()
Definition: gtest.cc:2492
static bool testing::Test::HasFailure ( )
inlinestatic

Definition at line 407 of file gtest.h.

References Run(), string, and value.

407 { return HasFatalFailure() || HasNonfatalFailure(); }
static bool HasFatalFailure()
Definition: gtest.cc:2487
static bool HasNonfatalFailure()
Definition: gtest.cc:2492
static bool testing::Test::HasFailure ( )
inlinestatic

Definition at line 407 of file gtest.h.

References Run(), string, and value.

Referenced by HasFailureHelper(), and folly::TEST().

407 { return HasFatalFailure() || HasNonfatalFailure(); }
static bool HasFatalFailure()
Definition: gtest.cc:2487
static bool HasNonfatalFailure()
Definition: gtest.cc:2492
static bool testing::Test::HasFatalFailure ( )
static
static bool testing::Test::HasFatalFailure ( )
static
static bool testing::Test::HasNonfatalFailure ( )
static
static bool testing::Test::HasNonfatalFailure ( )
static
bool Test::HasNonfatalFailure ( )
static

Definition at line 2492 of file gtest.cc.

References testing::internal::UnitTestImpl::current_test_result(), and testing::internal::GetUnitTestImpl().

Referenced by HasNonfatalFailureHelper(), and testing::TestPartNonfatallyFailed().

2492  {
2495 }
class UnitTestImpl * GetUnitTestImpl()
TestResult * current_test_result()
Definition: gtest.cc:4932
static bool HasNonfatalFailure()
Definition: gtest.cc:2492
bool Test::HasSameFixtureClass ( )
staticprivate

Definition at line 2269 of file gtest.cc.

References ADD_FAILURE, testing::internal::UnitTestImpl::current_test_case(), testing::internal::UnitTestImpl::current_test_info(), description, testing::TestInfo::fixture_class_id_, testing::Message::GetString(), testing::internal::GetTestTypeId(), testing::internal::GetUnitTestImpl(), message, testing::TestInfo::name(), testing::internal::PrintTestPartResultToString(), string, testing::TestInfo::test_case_name(), and testing::TestCase::test_info_list().

Referenced by Run(), and testing::TestPartNonfatallyFailed().

2269  {
2270  internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
2271  const TestCase* const test_case = impl->current_test_case();
2272 
2273  // Info about the first test in the current test case.
2274  const TestInfo* const first_test_info = test_case->test_info_list()[0];
2275  const internal::TypeId first_fixture_id = first_test_info->fixture_class_id_;
2276  const char* const first_test_name = first_test_info->name();
2277 
2278  // Info about the current test.
2279  const TestInfo* const this_test_info = impl->current_test_info();
2280  const internal::TypeId this_fixture_id = this_test_info->fixture_class_id_;
2281  const char* const this_test_name = this_test_info->name();
2282 
2283  if (this_fixture_id != first_fixture_id) {
2284  // Is the first test defined using TEST?
2285  const bool first_is_TEST = first_fixture_id == internal::GetTestTypeId();
2286  // Is this test defined using TEST?
2287  const bool this_is_TEST = this_fixture_id == internal::GetTestTypeId();
2288 
2289  if (first_is_TEST || this_is_TEST) {
2290  // Both TEST and TEST_F appear in same test case, which is incorrect.
2291  // Tell the user how to fix this.
2292 
2293  // Gets the name of the TEST and the name of the TEST_F. Note
2294  // that first_is_TEST and this_is_TEST cannot both be true, as
2295  // the fixture IDs are different for the two tests.
2296  const char* const TEST_name =
2297  first_is_TEST ? first_test_name : this_test_name;
2298  const char* const TEST_F_name =
2299  first_is_TEST ? this_test_name : first_test_name;
2300 
2301  ADD_FAILURE()
2302  << "All tests in the same test case must use the same test fixture\n"
2303  << "class, so mixing TEST_F and TEST in the same test case is\n"
2304  << "illegal. In test case " << this_test_info->test_case_name()
2305  << ",\n"
2306  << "test " << TEST_F_name << " is defined using TEST_F but\n"
2307  << "test " << TEST_name << " is defined using TEST. You probably\n"
2308  << "want to change the TEST to TEST_F or move it to another test\n"
2309  << "case.";
2310  } else {
2311  // Two fixture classes with the same name appear in two different
2312  // namespaces, which is not allowed. Tell the user how to fix this.
2313  ADD_FAILURE()
2314  << "All tests in the same test case must use the same test fixture\n"
2315  << "class. However, in test case "
2316  << this_test_info->test_case_name() << ",\n"
2317  << "you defined test " << first_test_name
2318  << " and test " << this_test_name << "\n"
2319  << "using two different test fixture classes. This can happen if\n"
2320  << "the two classes are from different namespaces or translation\n"
2321  << "units and have the same name. You should probably rename one\n"
2322  << "of the classes to put the tests into different test cases.";
2323  }
2324  return false;
2325  }
2326 
2327  return true;
2328 }
class UnitTestImpl * GetUnitTestImpl()
GTEST_API_ TypeId GetTestTypeId()
Definition: gtest.cc:620
friend class TestInfo
Definition: gtest.h:373
const void * TypeId
#define ADD_FAILURE()
Definition: gtest.h:1808
static bool testing::Test::HasSameFixtureClass ( )
staticprivate
static bool testing::Test::HasSameFixtureClass ( )
staticprivate
static void testing::Test::RecordProperty ( const std::string key,
const std::string value 
)
static
static void testing::Test::RecordProperty ( const std::string key,
const std::string value 
)
static
void Test::RecordProperty ( const std::string key,
const std::string value 
)
static

Definition at line 2237 of file gtest.cc.

References testing::UnitTest::GetInstance(), and testing::UnitTest::RecordProperty().

Referenced by ExternalUtilityThatCallsRecordProperty(), main(), RecordProperty(), PropertyOne::SetUp(), PropertyTwo::SetUp(), PropertyOne::TearDown(), PropertyTwo::TearDown(), TEST_F(), and testing::TestPartNonfatallyFailed().

2237  {
2239 }
void RecordProperty(const std::string &key, const std::string &value)
Definition: gtest.cc:4175
static const char *const value
Definition: Conv.cpp:50
static UnitTest * GetInstance()
Definition: gtest.cc:3972
static void testing::Test::RecordProperty ( const std::string key,
int  value 
)
static
static void testing::Test::RecordProperty ( const std::string key,
int  value 
)
static
void Test::RecordProperty ( const std::string key,
int  value 
)
static

Definition at line 2242 of file gtest.cc.

References testing::Message::GetString(), RecordProperty(), and value.

2242  {
2243  Message value_message;
2244  value_message << value;
2245  RecordProperty(key, value_message.GetString().c_str());
2246 }
static const char *const value
Definition: Conv.cpp:50
static void RecordProperty(const std::string &key, const std::string &value)
Definition: gtest.cc:2237
void Test::Run ( )
private

Definition at line 2465 of file gtest.cc.

References testing::internal::GetUnitTestImpl(), testing::internal::HandleExceptionsInMethodIfSupported(), HasFatalFailure(), HasSameFixtureClass(), testing::internal::UnitTestImpl::os_stack_trace_getter(), SetUp(), TearDown(), TestBody(), and testing::internal::OsStackTraceGetterInterface::UponLeavingGTest().

Referenced by testing::TestInfo::Run(), and testing::TestPartNonfatallyFailed().

2465  {
2466  if (!HasSameFixtureClass()) return;
2467 
2468  internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
2469  impl->os_stack_trace_getter()->UponLeavingGTest();
2471  // We will run the test only if SetUp() was successful.
2472  if (!HasFatalFailure()) {
2473  impl->os_stack_trace_getter()->UponLeavingGTest();
2475  this, &Test::TestBody, "the test body");
2476  }
2477 
2478  // However, we want to clean up as much as possible. Hence we will
2479  // always call TearDown(), even if SetUp() or the test body has
2480  // failed.
2481  impl->os_stack_trace_getter()->UponLeavingGTest();
2483  this, &Test::TearDown, "TearDown()");
2484 }
class UnitTestImpl * GetUnitTestImpl()
Result HandleExceptionsInMethodIfSupported(T *object, Result(T::*method)(), const char *location)
Definition: gtest.cc:2410
static bool HasFatalFailure()
Definition: gtest.cc:2487
virtual void SetUp()
Definition: gtest.cc:2227
virtual void TearDown()
Definition: gtest.cc:2233
static bool HasSameFixtureClass()
Definition: gtest.cc:2269
virtual void TestBody()=0
void testing::Test::Run ( )
private
void testing::Test::Run ( )
private
void Test::SetUp ( )
protectedvirtual

Reimplemented in ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, testing::InitGoogleTestTest, testing::InitGoogleTestTest, testing::InitGoogleTestTest, testing::SetUpTestCaseTest, testing::SetUpTestCaseTest, testing::SetUpTestCaseTest, Predicate5Test, Predicate5Test, Predicate5Test, MockHTTP2UpstreamTest, MockHTTPUpstreamTest, Predicate4Test, Predicate4Test, Predicate4Test, Predicate3Test, Predicate3Test, Predicate3Test, HTTP2UpstreamSessionWithVirtualNodesTest, ScopedServerTest, Predicate2Test, Predicate2Test, Predicate2Test, AsyncUDPSocketTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, AsyncSocketIntegrationTest, folly::test::ReadFileFd, AsyncSocketGSOIntegrationTest, folly::SynchronizedLockTest, fizz::test::ZlibCertificateCompressorTest, HTTPUpstreamTest< C >, HTTPUpstreamTest< MockHTTPCodecPair >, HTTPUpstreamTest< SPDY3CodecPair >, StructPaddedConstTest, BufferedSlidingWindowTest, MockCodecDownstreamTest, proxygen::RFC1867Test, fizz::test::ValidateAuthenticatorTest, testing::internal::ListenerTest, testing::internal::ListenerTest, testing::internal::ListenerTest, QueueTest, QueueTest, QueueTest, HTTPDownstreamTest< C >, HTTPDownstreamTest< SPDY3_1CodecPair >, GenericFilterTest< Owned >, Predicate1Test, Predicate1Test, Predicate1Test, fizz::test::CertTestTyped< T >, LRUPersistentCacheTest< MutexT >, TimeoutTest, IntPaddedConstTest, BufferedDigestTest, fizz::server::test::AeadTicketCipherTest, folly::symbolizer::test::ElfCacheTest, QueueTest, QueueTest, QueueTest, CommonTest< T >, CommonTest< T >, CommonTest< T >, QuickTest, fizz::test::AuthenticatorTest, QuickTest, QuickTest, wangle::AcceptorTest, EventHandlerTest, FlowControlFilterTest< initSize >, ThreadSafeSSLSessionCacheTest, folly::SSLSessionTest, fizz::test::HandshakeTest, fizz::server::test::FizzServerTest, PeekingAcceptorHandshakeHelperTest, wangle::SSLSessionPersistentCacheTest, fizz::client::test::AsyncFizzClientTest, HTTPChecksTest, HTTP2CodecTest, fizz::server::test::GetCookieStateTest, RequestContextTest, fizz::client::test::FizzClientTest, SocketPeekerTest, fizz::server::test::AsyncFizzServerTest, fizz::server::test::AeadCookieCipherTest, AcceptRoutingHandlerTest, MultiFilePollerTest, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, EvbHandshakeHelperTest, ZlibServerFilterTest, fizz::extensions::test::ValidatorTest, BroadcastHandlerTest, SSLSessionCacheDataTest, ByteEventTrackerTest, DownstreamTransactionTest, ObservingHandlerTest, ProcessTicketTest, fizz::server::test::ServerProtocolTest, LoggerTest, fizz::client::test::ClientProtocolTest, fizz::extensions::test::TokenBindingServerExtensionTest, fizz::extensions::test::TokenBindingConstructorTest, SlidingWindowTest, EchoHandlerFixture, BroadcastPoolTest, fizz::test::EncryptedRecordTest, fizz::client::test::SynchronizedLruPskCacheTest, fizz::test::DefaultCertificateVerifierTest, fizz::test::KeySchedulerTest, HTTPParallelCodecTest, fizz::extensions::test::TokenBindingClientExtensionTest, fizz::test::CertDecompressionManagerTest, and fizz::test::RSAPSSTest.

Definition at line 2227 of file gtest.cc.

Referenced by Run(), ProtectedFixtureMethodsTest::SetUp(), and testing::TestPartNonfatallyFailed().

2227  {
2228 }
virtual void testing::Test::SetUp ( )
protectedvirtual

Reimplemented in ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, testing::InitGoogleTestTest, testing::InitGoogleTestTest, testing::InitGoogleTestTest, testing::SetUpTestCaseTest, testing::SetUpTestCaseTest, testing::SetUpTestCaseTest, Predicate5Test, Predicate5Test, Predicate5Test, MockHTTP2UpstreamTest, MockHTTPUpstreamTest, Predicate4Test, Predicate4Test, Predicate4Test, Predicate3Test, Predicate3Test, Predicate3Test, HTTP2UpstreamSessionWithVirtualNodesTest, ScopedServerTest, Predicate2Test, Predicate2Test, Predicate2Test, AsyncUDPSocketTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, AsyncSocketIntegrationTest, folly::test::ReadFileFd, AsyncSocketGSOIntegrationTest, folly::SynchronizedLockTest, fizz::test::ZlibCertificateCompressorTest, HTTPUpstreamTest< C >, HTTPUpstreamTest< MockHTTPCodecPair >, HTTPUpstreamTest< SPDY3CodecPair >, StructPaddedConstTest, BufferedSlidingWindowTest, MockCodecDownstreamTest, proxygen::RFC1867Test, fizz::test::ValidateAuthenticatorTest, testing::internal::ListenerTest, testing::internal::ListenerTest, testing::internal::ListenerTest, QueueTest, QueueTest, QueueTest, HTTPDownstreamTest< C >, HTTPDownstreamTest< SPDY3_1CodecPair >, GenericFilterTest< Owned >, Predicate1Test, Predicate1Test, Predicate1Test, fizz::test::CertTestTyped< T >, LRUPersistentCacheTest< MutexT >, TimeoutTest, IntPaddedConstTest, BufferedDigestTest, fizz::server::test::AeadTicketCipherTest, folly::symbolizer::test::ElfCacheTest, QueueTest, QueueTest, QueueTest, CommonTest< T >, CommonTest< T >, CommonTest< T >, QuickTest, fizz::test::AuthenticatorTest, QuickTest, QuickTest, wangle::AcceptorTest, EventHandlerTest, FlowControlFilterTest< initSize >, ThreadSafeSSLSessionCacheTest, folly::SSLSessionTest, fizz::test::HandshakeTest, fizz::server::test::FizzServerTest, PeekingAcceptorHandshakeHelperTest, wangle::SSLSessionPersistentCacheTest, fizz::client::test::AsyncFizzClientTest, HTTPChecksTest, HTTP2CodecTest, fizz::server::test::GetCookieStateTest, RequestContextTest, fizz::client::test::FizzClientTest, SocketPeekerTest, fizz::server::test::AsyncFizzServerTest, fizz::server::test::AeadCookieCipherTest, AcceptRoutingHandlerTest, MultiFilePollerTest, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, EvbHandshakeHelperTest, ZlibServerFilterTest, fizz::extensions::test::ValidatorTest, BroadcastHandlerTest, SSLSessionCacheDataTest, ByteEventTrackerTest, DownstreamTransactionTest, ObservingHandlerTest, ProcessTicketTest, fizz::server::test::ServerProtocolTest, LoggerTest, fizz::client::test::ClientProtocolTest, fizz::extensions::test::TokenBindingServerExtensionTest, fizz::extensions::test::TokenBindingConstructorTest, SlidingWindowTest, EchoHandlerFixture, BroadcastPoolTest, fizz::test::EncryptedRecordTest, fizz::client::test::SynchronizedLruPskCacheTest, fizz::test::DefaultCertificateVerifierTest, fizz::test::KeySchedulerTest, HTTPParallelCodecTest, fizz::extensions::test::TokenBindingClientExtensionTest, fizz::test::CertDecompressionManagerTest, and fizz::test::RSAPSSTest.

virtual void testing::Test::SetUp ( )
protectedvirtual

Reimplemented in ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, testing::InitGoogleTestTest, testing::InitGoogleTestTest, testing::InitGoogleTestTest, testing::SetUpTestCaseTest, testing::SetUpTestCaseTest, testing::SetUpTestCaseTest, Predicate5Test, Predicate5Test, Predicate5Test, MockHTTP2UpstreamTest, MockHTTPUpstreamTest, Predicate4Test, Predicate4Test, Predicate4Test, Predicate3Test, Predicate3Test, Predicate3Test, HTTP2UpstreamSessionWithVirtualNodesTest, ScopedServerTest, Predicate2Test, Predicate2Test, Predicate2Test, AsyncUDPSocketTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, AsyncSocketIntegrationTest, folly::test::ReadFileFd, AsyncSocketGSOIntegrationTest, folly::SynchronizedLockTest, fizz::test::ZlibCertificateCompressorTest, HTTPUpstreamTest< C >, HTTPUpstreamTest< MockHTTPCodecPair >, HTTPUpstreamTest< SPDY3CodecPair >, StructPaddedConstTest, BufferedSlidingWindowTest, MockCodecDownstreamTest, proxygen::RFC1867Test, fizz::test::ValidateAuthenticatorTest, testing::internal::ListenerTest, testing::internal::ListenerTest, testing::internal::ListenerTest, QueueTest, QueueTest, QueueTest, HTTPDownstreamTest< C >, HTTPDownstreamTest< SPDY3_1CodecPair >, GenericFilterTest< Owned >, Predicate1Test, Predicate1Test, Predicate1Test, fizz::test::CertTestTyped< T >, LRUPersistentCacheTest< MutexT >, TimeoutTest, IntPaddedConstTest, BufferedDigestTest, fizz::server::test::AeadTicketCipherTest, folly::symbolizer::test::ElfCacheTest, QueueTest, QueueTest, QueueTest, CommonTest< T >, CommonTest< T >, CommonTest< T >, QuickTest, fizz::test::AuthenticatorTest, QuickTest, QuickTest, wangle::AcceptorTest, EventHandlerTest, FlowControlFilterTest< initSize >, ThreadSafeSSLSessionCacheTest, folly::SSLSessionTest, fizz::test::HandshakeTest, fizz::server::test::FizzServerTest, PeekingAcceptorHandshakeHelperTest, wangle::SSLSessionPersistentCacheTest, fizz::client::test::AsyncFizzClientTest, HTTPChecksTest, HTTP2CodecTest, fizz::server::test::GetCookieStateTest, RequestContextTest, fizz::client::test::FizzClientTest, SocketPeekerTest, fizz::server::test::AsyncFizzServerTest, fizz::server::test::AeadCookieCipherTest, AcceptRoutingHandlerTest, MultiFilePollerTest, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, EvbHandshakeHelperTest, ZlibServerFilterTest, fizz::extensions::test::ValidatorTest, BroadcastHandlerTest, SSLSessionCacheDataTest, ByteEventTrackerTest, DownstreamTransactionTest, ObservingHandlerTest, ProcessTicketTest, fizz::server::test::ServerProtocolTest, LoggerTest, fizz::client::test::ClientProtocolTest, fizz::extensions::test::TokenBindingServerExtensionTest, fizz::extensions::test::TokenBindingConstructorTest, SlidingWindowTest, EchoHandlerFixture, BroadcastPoolTest, fizz::test::EncryptedRecordTest, fizz::client::test::SynchronizedLruPskCacheTest, fizz::test::DefaultCertificateVerifierTest, fizz::test::KeySchedulerTest, HTTPParallelCodecTest, fizz::extensions::test::TokenBindingClientExtensionTest, fizz::test::CertDecompressionManagerTest, and fizz::test::RSAPSSTest.

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

Definition at line 474 of file gtest.h.

References GTEST_DISALLOW_COPY_AND_ASSIGN_.

474 { return NULL; }
virtual Setup_should_be_spelled_SetUp* testing::Test::Setup ( )
inlineprivatevirtual

Definition at line 474 of file gtest.h.

References GTEST_DISALLOW_COPY_AND_ASSIGN_.

474 { return NULL; }
virtual Setup_should_be_spelled_SetUp* testing::Test::Setup ( )
inlineprivatevirtual

Definition at line 474 of file gtest.h.

References GTEST_DISALLOW_COPY_AND_ASSIGN_.

474 { return NULL; }
static void testing::Test::SetUpTestCase ( )
inlinestatic

Definition at line 389 of file gtest.h.

389 {}
static void testing::Test::SetUpTestCase ( )
inlinestatic

Definition at line 389 of file gtest.h.

389 {}
static void testing::Test::SetUpTestCase ( )
inlinestatic

Definition at line 389 of file gtest.h.

389 {}
virtual void testing::Test::TearDown ( )
protectedvirtual

Reimplemented in ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, Predicate5Test, Predicate5Test, Predicate5Test, MockHTTPUpstreamTest, Predicate4Test, Predicate4Test, Predicate4Test, Predicate3Test, Predicate3Test, Predicate3Test, HTTP2UpstreamSessionWithVirtualNodesTest, Predicate2Test, Predicate2Test, Predicate2Test, FatalFailureInSetUpTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, AsyncSocketIntegrationTest, AsyncSocketGSOIntegrationTest, HTTPUpstreamTest< C >, HTTPUpstreamTest< MockHTTPCodecPair >, HTTPUpstreamTest< SPDY3CodecPair >, fizz::test::ZlibCertificateCompressorTest, testing::internal::ListenerTest, testing::internal::ListenerTest, testing::internal::ListenerTest, AcceptRoutingHandlerTest, Predicate1Test, Predicate1Test, Predicate1Test, PeekingAcceptorHandshakeHelperTest, CommonTest< T >, CommonTest< T >, CommonTest< T >, QuickTest, QuickTest, QuickTest, wangle::SSLSessionPersistentCacheTest, EventHandlerTest, folly::SSLSessionTest, EvbHandshakeHelperTest, BroadcastHandlerTest, SocketPeekerTest, ObservingHandlerTest, ZlibServerFilterTest, BroadcastPoolTest, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, ProcessTicketTest, SSLSessionCacheDataTest, MallctlHelperTest, fizz::test::AsyncFizzBaseTest, fizz::test::DefaultCertificateVerifierTest, EchoHandlerFixture, and fizz::test::CertDecompressionManagerTest.

virtual void testing::Test::TearDown ( )
protectedvirtual

Reimplemented in ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, Predicate5Test, Predicate5Test, Predicate5Test, MockHTTPUpstreamTest, Predicate4Test, Predicate4Test, Predicate4Test, Predicate3Test, Predicate3Test, Predicate3Test, HTTP2UpstreamSessionWithVirtualNodesTest, Predicate2Test, Predicate2Test, Predicate2Test, FatalFailureInSetUpTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, AsyncSocketIntegrationTest, AsyncSocketGSOIntegrationTest, HTTPUpstreamTest< C >, HTTPUpstreamTest< MockHTTPCodecPair >, HTTPUpstreamTest< SPDY3CodecPair >, fizz::test::ZlibCertificateCompressorTest, testing::internal::ListenerTest, testing::internal::ListenerTest, testing::internal::ListenerTest, AcceptRoutingHandlerTest, Predicate1Test, Predicate1Test, Predicate1Test, PeekingAcceptorHandshakeHelperTest, CommonTest< T >, CommonTest< T >, CommonTest< T >, QuickTest, QuickTest, QuickTest, wangle::SSLSessionPersistentCacheTest, EventHandlerTest, folly::SSLSessionTest, EvbHandshakeHelperTest, BroadcastHandlerTest, SocketPeekerTest, ObservingHandlerTest, ZlibServerFilterTest, BroadcastPoolTest, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, ProcessTicketTest, SSLSessionCacheDataTest, MallctlHelperTest, fizz::test::AsyncFizzBaseTest, fizz::test::DefaultCertificateVerifierTest, EchoHandlerFixture, and fizz::test::CertDecompressionManagerTest.

void Test::TearDown ( )
protectedvirtual

Reimplemented in ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, ProtectedFixtureMethodsTest, Predicate5Test, Predicate5Test, Predicate5Test, MockHTTPUpstreamTest, Predicate4Test, Predicate4Test, Predicate4Test, Predicate3Test, Predicate3Test, Predicate3Test, HTTP2UpstreamSessionWithVirtualNodesTest, Predicate2Test, Predicate2Test, Predicate2Test, FatalFailureInSetUpTest, FatalFailureInSetUpTest, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, AsyncSocketIntegrationTest, AsyncSocketGSOIntegrationTest, HTTPUpstreamTest< C >, HTTPUpstreamTest< MockHTTPCodecPair >, HTTPUpstreamTest< SPDY3CodecPair >, fizz::test::ZlibCertificateCompressorTest, testing::internal::ListenerTest, testing::internal::ListenerTest, testing::internal::ListenerTest, AcceptRoutingHandlerTest, Predicate1Test, Predicate1Test, Predicate1Test, PeekingAcceptorHandshakeHelperTest, CommonTest< T >, CommonTest< T >, CommonTest< T >, QuickTest, QuickTest, QuickTest, wangle::SSLSessionPersistentCacheTest, EventHandlerTest, folly::SSLSessionTest, EvbHandshakeHelperTest, BroadcastHandlerTest, SocketPeekerTest, ObservingHandlerTest, ZlibServerFilterTest, BroadcastPoolTest, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, PropertyOne, PropertyTwo, ProcessTicketTest, SSLSessionCacheDataTest, MallctlHelperTest, fizz::test::AsyncFizzBaseTest, fizz::test::DefaultCertificateVerifierTest, EchoHandlerFixture, and fizz::test::CertDecompressionManagerTest.

Definition at line 2233 of file gtest.cc.

Referenced by Run(), ProtectedFixtureMethodsTest::TearDown(), testing::TEST_F(), and testing::TestPartNonfatallyFailed().

2233  {
2234 }
static void testing::Test::TearDownTestCase ( )
inlinestatic

Definition at line 397 of file gtest.h.

397 {}
static void testing::Test::TearDownTestCase ( )
inlinestatic

Definition at line 397 of file gtest.h.

397 {}
static void testing::Test::TearDownTestCase ( )
inlinestatic

Definition at line 397 of file gtest.h.

397 {}
virtual void testing::Test::TestBody ( )
privatepure virtual
virtual void testing::Test::TestBody ( )
privatepure virtual
virtual void testing::Test::TestBody ( )
privatepure virtual

Friends And Related Function Documentation

TestInfo
friend

Definition at line 373 of file gtest.h.

Member Data Documentation

const internal::scoped_ptr< GTEST_FLAG_SAVER_ > Test::gtest_flag_saver_
private

Definition at line 455 of file gtest.h.


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