Lines Matching refs:VCDiffEncoderTest
119 class VCDiffEncoderTest : public VerifyEncodedBytesTest {
125 VCDiffEncoderTest();
126 virtual ~VCDiffEncoderTest() { }
143 const char VCDiffEncoderTest::kDictionary[] =
149 const char VCDiffEncoderTest::kTarget[] =
155 const char VCDiffEncoderTest::kJSONDiff[] =
161 VCDiffEncoderTest::VCDiffEncoderTest()
173 TEST_F(VCDiffEncoderTest, EncodeBeforeStartEncoding) {
177 TEST_F(VCDiffEncoderTest, FinishBeforeStartEncoding) {
181 TEST_F(VCDiffEncoderTest, EncodeDecodeNothing) {
197 TEST_F(VCDiffEncoderTest, EncodeNothingJSON) {
209 TEST_F(VCDiffEncoderTest, EncodeDecodeNullDictionaryPtr) {
228 TEST_F(VCDiffEncoderTest, EncodeDecodeSimple) {
239 TEST_F(VCDiffEncoderTest, EncodeDecodeInterleaved) {
251 TEST_F(VCDiffEncoderTest, EncodeDecodeInterleavedChecksum) {
265 TEST_F(VCDiffEncoderTest, EncodeDecodeSingleChunk) {
279 TEST_F(VCDiffEncoderTest, EncodeSimpleJSON) {
286 TEST_F(VCDiffEncoderTest, EncodeDecodeSeparate) {
310 TEST_F(VCDiffEncoderTest, EncodeDecodeCrope) {
333 void VCDiffEncoderTest::TestWithFixedChunkSize(VCDiffStreamingEncoder *encoder,
376 TEST_F(VCDiffEncoderTest, EncodeDecodeFixedChunkSizes) {
388 TEST_F(VCDiffEncoderTest, EncodeFixedChunkSizesJSON) {
417 TEST_F(VCDiffEncoderTest, EncodeDecodeFixedChunkSizesNoVcdTarget) {
428 void VCDiffEncoderTest::TestWithEncodedChunkVector(size_t chunk_size) {
468 TEST_F(VCDiffEncoderTest, EncodeDecodeStreamOfChunks) {
479 TEST_F(VCDiffEncoderTest, DictionaryBufferOverwritten) {
514 TEST_F(VCDiffEncoderTest, DictionaryHasEmbeddedNULLs) {
546 TEST_F(VCDiffEncoderTest, DictionaryHasEmbeddedNewlines) {
576 TEST_F(VCDiffEncoderTest, UsingWideCharacters) {
616 TEST_F(VCDiffEncoderTest, ShouldNotReadPastEndOfBuffer) {
648 TEST_F(VCDiffEncoderTest, ShouldNotReadPastBeginningOfBuffer) {