proxygen
|
#include <ExtensionTestsBase.h>
Protected Member Functions | |
Buf | getBuf (folly::StringPiece hex) |
std::vector< Extension > | getExtensions (folly::StringPiece hex) |
template<class T > | |
void | checkEncode (T &&ext, folly::StringPiece expectedHex) |
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 () |
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 20 of file ExtensionTestsBase.h.
|
inlineprotected |
Definition at line 39 of file ExtensionTestsBase.h.
References folly::IOBuf::create(), fizz::encodeExtension(), EXPECT_TRUE, getBuf(), and fizz::detail::write().
|
inlineprotected |
Definition at line 22 of file ExtensionTestsBase.h.
References folly::IOBuf::copyBuffer(), data, and folly::unhexlify().
Referenced by checkEncode(), and getExtensions().
|
inlineprotected |
Definition at line 27 of file ExtensionTestsBase.h.
References EXPECT_EQ, EXPECT_TRUE, getBuf(), folly::gen::move, and fizz::detail::read().