proxygen
ProcessTicketTest Class Reference
Inheritance diagram for ProcessTicketTest:
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

std::string ticketFile
 
std::string certFile
 

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 31 of file TLSCredProcessorTest.cpp.

Member Function Documentation

void ProcessTicketTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 33 of file TLSCredProcessorTest.cpp.

33  {
34  char ticketTemp[] = {"/tmp/ticketFile-XXXXXX"};
35  File(mkstemp(ticketTemp), true);
36  ticketFile = ticketTemp;
37  char certTemp[] = {"/tmp/certFile-XXXXXX"};
38  File(mkstemp(certTemp), true);
39  certFile = certTemp;
40  }
void ProcessTicketTest::TearDown ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Definition at line 42 of file TLSCredProcessorTest.cpp.

42  {
43  remove(ticketFile.c_str());
44  remove(certFile.c_str());
45  }

Member Data Documentation

std::string ProcessTicketTest::certFile

Definition at line 48 of file TLSCredProcessorTest.cpp.

std::string ProcessTicketTest::ticketFile

Definition at line 47 of file TLSCredProcessorTest.cpp.


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