proxygen
|
#include <folly/portability/GTest.h>
#include <proxygen/lib/http/codec/compress/HPACKHeader.h>
#include <proxygen/lib/http/codec/compress/HeaderIndexingStrategy.h>
#include <sstream>
Go to the source code of this file.
Classes | |
class | HPACKHeaderTests |
class | HPACKHeaderNameTest |
Functions | |
TEST_F (HPACKHeaderTests, Size) | |
TEST_F (HPACKHeaderTests, Operators) | |
TEST_F (HPACKHeaderTests, HasValue) | |
TEST_F (HPACKHeaderTests, HeaderIndexingStrategyBasic) | |
HPACKHeaderName | destroyedHPACKHeaderName (std::string name) |
TEST_F (HPACKHeaderNameTest, TestConstructor) | |
TEST_F (HPACKHeaderNameTest, TestCopyConstructor) | |
TEST_F (HPACKHeaderNameTest, TestMoveConstructor) | |
TEST_F (HPACKHeaderNameTest, TestAssignmentOperators) | |
TEST_F (HPACKHeaderNameTest, TestGetSize) | |
TEST_F (HPACKHeaderNameTest, TestOperators) | |
TEST_F (HPACKHeaderNameTest, TestIsCommonHeader) | |
HPACKHeaderName destroyedHPACKHeaderName | ( | std::string | name | ) |
Definition at line 71 of file HPACKHeaderTests.cpp.
Referenced by TEST_F().
TEST_F | ( | HPACKHeaderTests | , |
Size | |||
) |
Definition at line 22 of file HPACKHeaderTests.cpp.
References proxygen::HPACKHeader::bytes(), EXPECT_EQ, and h.
TEST_F | ( | HPACKHeaderTests | , |
Operators | |||
) |
Definition at line 27 of file HPACKHeaderTests.cpp.
References EXPECT_EQ, EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | HPACKHeaderTests | , |
HasValue | |||
) |
Definition at line 49 of file HPACKHeaderTests.cpp.
References EXPECT_FALSE, EXPECT_TRUE, and proxygen::HPACKHeader::hasValue().
TEST_F | ( | HPACKHeaderTests | , |
HeaderIndexingStrategyBasic | |||
) |
Definition at line 56 of file HPACKHeaderTests.cpp.
References data, EXPECT_FALSE, EXPECT_TRUE, and proxygen::HeaderIndexingStrategy::indexHeader().
TEST_F | ( | HPACKHeaderNameTest | , |
TestConstructor | |||
) |
Definition at line 77 of file HPACKHeaderTests.cpp.
References EXPECT_EQ, and proxygen::HPACKHeaderName::get().
TEST_F | ( | HPACKHeaderNameTest | , |
TestCopyConstructor | |||
) |
Definition at line 89 of file HPACKHeaderTests.cpp.
References destroyedHPACKHeaderName(), EXPECT_EQ, and proxygen::HPACKHeaderName::get().
TEST_F | ( | HPACKHeaderNameTest | , |
TestMoveConstructor | |||
) |
Definition at line 104 of file HPACKHeaderTests.cpp.
References EXPECT_EQ, proxygen::HPACKHeaderName::get(), and folly::gen::move.
TEST_F | ( | HPACKHeaderNameTest | , |
TestAssignmentOperators | |||
) |
Definition at line 115 of file HPACKHeaderTests.cpp.
References EXPECT_EQ, proxygen::HPACKHeaderName::get(), folly::gen::move, and string.
TEST_F | ( | HPACKHeaderNameTest | , |
TestGetSize | |||
) |
Definition at line 152 of file HPACKHeaderTests.cpp.
References EXPECT_EQ, and proxygen::HPACKHeaderName::size().
TEST_F | ( | HPACKHeaderNameTest | , |
TestOperators | |||
) |
Definition at line 160 of file HPACKHeaderTests.cpp.
TEST_F | ( | HPACKHeaderNameTest | , |
TestIsCommonHeader | |||
) |
Definition at line 176 of file HPACKHeaderTests.cpp.
References EXPECT_EQ, EXPECT_FALSE, proxygen::HTTPCommonHeaders::getPointerToHeaderName(), proxygen::HTTPHeaderCodeCommonOffset, proxygen::HPACKHeaderName::isCommonHeader(), proxygen::HPACKHeader::name, proxygen::HTTPCommonHeaders::num_header_codes, string, and uint64_t.