proxygen
|
#include <TestUtil.h>
Public Member Functions | |
TestHeaderCodecStats (HeaderCodec::Type type) | |
void | recordEncode (HeaderCodec::Type type, HTTPHeaderSize &size) override |
void | recordDecode (HeaderCodec::Type type, HTTPHeaderSize &size) override |
void | recordDecodeError (HeaderCodec::Type type) override |
void | recordDecodeTooLarge (HeaderCodec::Type type) override |
void | reset () |
Public Member Functions inherited from proxygen::HeaderCodec::Stats | |
Stats () | |
virtual | ~Stats () |
Public Attributes | |
HeaderCodec::Type | type_ |
uint32_t | encodes {0} |
uint32_t | encodedBytesCompr {0} |
uint32_t | encodedBytesUncompr {0} |
uint32_t | decodes {0} |
uint32_t | decodedBytesCompr {0} |
uint32_t | decodedBytesUncompr {0} |
uint32_t | errors {0} |
uint32_t | tooLarge {0} |
Definition at line 44 of file TestUtil.h.
|
inlineexplicit |
Definition at line 47 of file TestUtil.h.
|
inlineoverridevirtual |
Implements proxygen::HeaderCodec::Stats.
Definition at line 57 of file TestUtil.h.
References wangle::HTTPHeaderSize::compressed, decodedBytesCompr, decodedBytesUncompr, decodes, EXPECT_EQ, type_, and wangle::HTTPHeaderSize::uncompressed.
|
inlineoverridevirtual |
Implements proxygen::HeaderCodec::Stats.
Definition at line 64 of file TestUtil.h.
References errors, EXPECT_EQ, and type_.
|
inlineoverridevirtual |
Implements proxygen::HeaderCodec::Stats.
Definition at line 69 of file TestUtil.h.
References EXPECT_EQ, tooLarge, and type_.
|
inlineoverridevirtual |
Implements proxygen::HeaderCodec::Stats.
Definition at line 50 of file TestUtil.h.
References wangle::HTTPHeaderSize::compressed, encodedBytesCompr, encodedBytesUncompr, encodes, EXPECT_EQ, type_, and wangle::HTTPHeaderSize::uncompressed.
|
inline |
Definition at line 74 of file TestUtil.h.
References decodedBytesCompr, decodedBytesUncompr, decodes, encodedBytesCompr, encodedBytesUncompr, encodes, errors, and tooLarge.
Referenced by TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::decodedBytesCompr {0} |
Definition at line 90 of file TestUtil.h.
Referenced by recordDecode(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::decodedBytesUncompr {0} |
Definition at line 91 of file TestUtil.h.
Referenced by recordDecode(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::decodes {0} |
Definition at line 89 of file TestUtil.h.
Referenced by recordDecode(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::encodedBytesCompr {0} |
Definition at line 87 of file TestUtil.h.
Referenced by recordEncode(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::encodedBytesUncompr {0} |
Definition at line 88 of file TestUtil.h.
Referenced by recordEncode(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::encodes {0} |
Definition at line 86 of file TestUtil.h.
Referenced by recordEncode(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::errors {0} |
Definition at line 92 of file TestUtil.h.
Referenced by recordDecodeError(), reset(), and TEST_F().
uint32_t proxygen::hpack::TestHeaderCodecStats::tooLarge {0} |
Definition at line 93 of file TestUtil.h.
Referenced by recordDecodeTooLarge(), reset(), and TEST_F().
HeaderCodec::Type proxygen::hpack::TestHeaderCodecStats::type_ |
Definition at line 85 of file TestUtil.h.
Referenced by recordDecode(), recordDecodeError(), recordDecodeTooLarge(), and recordEncode().