|
proxygen
|
#include <algorithm>#include <folly/portability/GTest.h>#include <list>#include <memory>#include <proxygen/lib/http/codec/compress/HPACKDecoder.h>#include <proxygen/lib/http/codec/compress/HPACKEncoder.h>#include <proxygen/lib/http/codec/compress/Logging.h>#include <proxygen/lib/http/codec/compress/test/TestUtil.h>#include <vector>#include <folly/String.h>Go to the source code of this file.
Classes | |
| class | RFCRequestTest |
| class | RFCResponseTest |
Typedefs | |
| using | RfcParam = std::pair< bool, vector< string >> |
Functions | |
| RfcParam | d3 (false, exampleHex1) |
| RfcParam | d4 (true, exampleHex2) |
| RfcParam | d5 (false, exampleHex3) |
| RfcParam | d6 (true, exampleHex4) |
| TEST_P (RFCRequestTest, RfcExampleRequest) | |
| INSTANTIATE_TEST_CASE_P (Huffman, RFCRequestTest,::testing::Values(d3, d4)) | |
| TEST_P (RFCResponseTest, RfcExampleResponse) | |
| INSTANTIATE_TEST_CASE_P (Huffman, RFCResponseTest,::testing::Values(d5, d6)) | |
Variables | |
| vector< string > | exampleHex1 |
| vector< string > | exampleHex2 |
| vector< string > | exampleHex3 |
| vector< string > | exampleHex4 |
Definition at line 26 of file RFCExamplesTests.cpp.
| RfcParam d3 | ( | false | , |
| exampleHex1 | |||
| ) |
| RfcParam d4 | ( | true | , |
| exampleHex2 | |||
| ) |
| RfcParam d5 | ( | false | , |
| exampleHex3 | |||
| ) |
| RfcParam d6 | ( | true | , |
| exampleHex4 | |||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | Huffman | , |
| RFCRequestTest | , | ||
| ::testing::Values(d3, d4) | |||
| ) |
Referenced by TEST_P().
| INSTANTIATE_TEST_CASE_P | ( | Huffman | , |
| RFCResponseTest | , | ||
| ::testing::Values(d5, d6) | |||
| ) |
| TEST_P | ( | RFCRequestTest | , |
| RfcExampleRequest | |||
| ) |
Definition at line 132 of file RFCExamplesTests.cpp.
References proxygen::HeaderTable::bytes(), d3(), d4(), encodeDecode(), EXPECT_EQ, folly::gen::first, proxygen::HPACKContext::getTable(), INSTANTIATE_TEST_CASE_P(), folly::IOBuf::moveToFbString(), proxygen::HeaderTable::size(), and folly::unhexlify().
| TEST_P | ( | RFCResponseTest | , |
| RfcExampleResponse | |||
| ) |
Definition at line 160 of file RFCExamplesTests.cpp.
References proxygen::HeaderTable::bytes(), d5(), d6(), encodeDecode(), EXPECT_EQ, folly::gen::first, proxygen::HPACKHeaderName::get(), proxygen::HPACKContext::getHeader(), proxygen::HPACKContext::getTable(), INSTANTIATE_TEST_CASE_P(), folly::IOBuf::moveToFbString(), proxygen::HPACKHeader::name, proxygen::HeaderTable::size(), uint32_t, folly::unhexlify(), and proxygen::HPACKHeader::value.
Definition at line 87 of file RFCExamplesTests.cpp.
Definition at line 93 of file RFCExamplesTests.cpp.
Definition at line 102 of file RFCExamplesTests.cpp.
Definition at line 112 of file RFCExamplesTests.cpp.