proxygen
|
#include <ProtocolTest.h>
Protected Types | |
using | MutateState = folly::Function< void(typename SM::State &)> |
Protected Member Functions | |
template<typename... Args> | |
void | expectActions (const Actions &actions) |
template<typename T > | |
T | expectAction (Actions &actions) |
template<typename T > | |
T | expectSingleAction (Actions actions) |
void | processStateMutations (Actions &actions) |
template<typename T > | |
uint32_t | getNumActions (const Actions &actions, bool expectNonZero) |
template<typename T1 , typename T2 , typename... Args> | |
uint32_t | getNumActions (const Actions &actions, bool expectNonZero) |
void | expectExceptionType (Actions &actions) |
template<typename ExceptionType > | |
void | expectError (Actions &actions, folly::Optional< AlertDescription > alert, std::string msg="") |
void | expectAeadCreation (std::map< std::string, MockAead ** > keys) |
void | expectAeadCreation (MockAead **clientAead, MockAead **serverAead) |
void | expectEncryptedReadRecordLayerCreation (MockEncryptedReadRecordLayer **recordLayer, MockAead **readAead, folly::ByteRange expectedBaseSecret, folly::Optional< bool > skipFailedDecryption=folly::none, Sequence *s=nullptr) |
void | expectEncryptedWriteRecordLayerCreation (MockEncryptedWriteRecordLayer **recordLayer, MockAead **writeAead, folly::ByteRange expectedBaseSecret, std::function< TLSContent(TLSMessage &, MockEncryptedWriteRecordLayer *)> expectedWrite=nullptr, Sequence *s=nullptr) |
Protected Member Functions inherited from testing::Test | |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Protected Attributes | |
SM::State | state_ |
MockFactory * | factory_ |
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 |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
virtual | ~Test () |
virtual | ~Test () |
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) |
Definition at line 25 of file ProtocolTest.h.
|
protected |
Definition at line 27 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 35 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 30 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 112 of file ProtocolTest.h.
Referenced by fizz::test::ProtocolTest< ClientTypes, Actions >::expectAeadCreation().
|
inlineprotected |
Definition at line 123 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 128 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 153 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 87 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 82 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 46 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 61 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 77 of file ProtocolTest.h.
|
inlineprotected |
Definition at line 51 of file ProtocolTest.h.
Referenced by fizz::test::ProtocolTest< ClientTypes, Actions >::expectError().
|
protected |
Definition at line 185 of file ProtocolTest.h.
Referenced by fizz::test::ProtocolTest< ClientTypes, Actions >::expectAeadCreation(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectEncryptedReadRecordLayerCreation(), and fizz::test::ProtocolTest< ClientTypes, Actions >::expectEncryptedWriteRecordLayerCreation().
|
protected |
Definition at line 184 of file ProtocolTest.h.
Referenced by fizz::test::ProtocolTest< ClientTypes, Actions >::expectError(), and fizz::test::ProtocolTest< ClientTypes, Actions >::processStateMutations().