Definition at line 26 of file EncryptedRecordTest.cpp.
void fizz::test::EncryptedRecordTest::addToQueue |
( |
const std::string & |
hex | ) |
|
|
inlineprotected |
Definition at line 52 of file EncryptedRecordTest.cpp.
void append(std::unique_ptr< folly::IOBuf > &&buf, bool pack=false)
static Buf getBuf(const std::string &hex, size_t headroom=0, size_t tailroom=0)
static void fizz::test::EncryptedRecordTest::expectSame |
( |
const Buf & |
buf, |
|
|
const std::string & |
hex |
|
) |
| |
|
inlinestaticprotected |
Definition at line 56 of file EncryptedRecordTest.cpp.
References EXPECT_EQ, and folly::hexlify().
57 auto str = buf->moveToFbString().toStdString();
#define EXPECT_EQ(val1, val2)
bool hexlify(const InputString &input, OutputString &output, bool append_output)
static Buf fizz::test::EncryptedRecordTest::getBuf |
( |
const std::string & |
hex, |
|
|
size_t |
headroom = 0 , |
|
|
size_t |
tailroom = 0 |
|
) |
| |
|
inlinestaticprotected |
void fizz::test::EncryptedRecordTest::SetUp |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Reimplemented from testing::Test.
Definition at line 27 of file EncryptedRecordTest.cpp.
References folly::gen::move.
28 auto readAead = std::make_unique<MockAead>();
31 auto writeAead = std::make_unique<MockAead>();
EncryptedWriteRecordLayer write_
constexpr detail::Map< Move > move
virtual void setAead(folly::ByteRange, std::unique_ptr< Aead > aead)
EncryptedReadRecordLayer read_
virtual void setAead(folly::ByteRange, std::unique_ptr< Aead > aead)
MockAead* fizz::test::EncryptedRecordTest::readAead_ |
|
protected |
MockAead* fizz::test::EncryptedRecordTest::writeAead_ |
|
protected |
The documentation for this class was generated from the following file: