proxygen
|
#include <folly/Range.h>
#include <folly/io/Cursor.h>
#include <folly/io/IOBuf.h>
#include <glog/logging.h>
#include <folly/portability/GTest.h>
#include <proxygen/lib/http/codec/compress/Header.h>
#include <proxygen/lib/http/codec/compress/HeaderCodec.h>
#include <proxygen/lib/http/codec/compress/QPACKCodec.h>
#include <proxygen/lib/http/codec/compress/test/TestStreamingCallback.h>
#include <proxygen/lib/http/codec/compress/test/TestUtil.h>
#include <vector>
Go to the source code of this file.
Classes | |
class | QPACKTests |
Functions | |
TEST_F (QPACKTests, TestSimple) | |
TEST_F (QPACKTests, TestAbsoluteIndex) | |
TEST_F (QPACKTests, TestWithQueue) | |
TEST_F (QPACKTests, HeaderCodecStats) | |
TEST_F | ( | QPACKTests | , |
TestSimple | |||
) |
Definition at line 64 of file QPACKCodecTests.cpp.
References ASSERT_NE, proxygen::hpack::basicHeaders(), EXPECT_EQ, EXPECT_TRUE, and folly::gen::move.
TEST_F | ( | QPACKTests | , |
TestAbsoluteIndex | |||
) |
Definition at line 79 of file QPACKCodecTests.cpp.
References ASSERT_NE, EXPECT_EQ, EXPECT_TRUE, proxygen::hpack::headersFromArray(), folly::gen::move, string, and folly::value().
TEST_F | ( | QPACKTests | , |
TestWithQueue | |||
) |
Definition at line 107 of file QPACKCodecTests.cpp.
References proxygen::hpack::basicHeaders(), folly::data(), EXPECT_EQ, EXPECT_TRUE, f, proxygen::HTTP_HEADER_CONNECTION, i, max, folly::gen::move, and values().
TEST_F | ( | QPACKTests | , |
HeaderCodecStats | |||
) |
Definition at line 173 of file QPACKCodecTests.cpp.
References proxygen::hpack::TestHeaderCodecStats::decodedBytesCompr, proxygen::hpack::TestHeaderCodecStats::decodedBytesUncompr, proxygen::hpack::TestHeaderCodecStats::decodes, proxygen::hpack::TestHeaderCodecStats::encodedBytesCompr, proxygen::hpack::TestHeaderCodecStats::encodedBytesUncompr, proxygen::hpack::TestHeaderCodecStats::encodes, proxygen::hpack::TestHeaderCodecStats::errors, EXPECT_EQ, EXPECT_GT, EXPECT_TRUE, proxygen::TestStreamingCallback::getResult(), proxygen::hpack::headersFromArray(), folly::gen::move, and proxygen::hpack::TestHeaderCodecStats::reset().