proxygen
folly::SSLSessionTest Class Reference
Inheritance diagram for folly::SSLSessionTest:
testing::Test

Public Member Functions

void SetUp () override
 
void TearDown () override
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 

Public Attributes

folly::EventBase eventBase
 
std::shared_ptr< SSLContextclientCtx
 
std::shared_ptr< SSLContextdfServerCtx
 
std::shared_ptr< SSLContexthskServerCtx
 
std::string serverName
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Static Public Member Functions inherited from testing::Test
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 inherited from testing::Test
 Test ()
 
 Test ()
 
 Test ()
 

Detailed Description

Definition at line 57 of file SSLSessionTest.cpp.

Member Function Documentation

void folly::SSLSessionTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 59 of file SSLSessionTest.cpp.

References folly::getctx().

59  {
60  clientCtx.reset(new folly::SSLContext());
61  dfServerCtx.reset(new folly::SSLContext());
62  hskServerCtx.reset(new folly::SSLContext());
63  serverName = "xyz.newdev.facebook.com";
65  }
std::shared_ptr< SSLContext > hskServerCtx
std::shared_ptr< SSLContext > dfServerCtx
void getctx(std::shared_ptr< folly::SSLContext > clientCtx, std::shared_ptr< folly::SSLContext > serverCtx)
std::shared_ptr< SSLContext > clientCtx
void folly::SSLSessionTest::TearDown ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 67 of file SSLSessionTest.cpp.

67 {}

Member Data Documentation

std::shared_ptr<SSLContext> folly::SSLSessionTest::clientCtx

Definition at line 70 of file SSLSessionTest.cpp.

std::shared_ptr<SSLContext> folly::SSLSessionTest::dfServerCtx

Definition at line 71 of file SSLSessionTest.cpp.

folly::EventBase folly::SSLSessionTest::eventBase

Definition at line 69 of file SSLSessionTest.cpp.

std::shared_ptr<SSLContext> folly::SSLSessionTest::hskServerCtx

Definition at line 74 of file SSLSessionTest.cpp.

std::string folly::SSLSessionTest::serverName

Definition at line 75 of file SSLSessionTest.cpp.


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