summaryrefslogtreecommitdiffstats
path: root/sdch
diff options
context:
space:
mode:
authorrdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 19:56:22 +0000
committerrdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 19:58:02 +0000
commit33acd5b1bbf04edb08d32cae4e1c2ab783e39be8 (patch)
treeefca7729c0352847efa7e46380561d5602b692b8 /sdch
parent5d024270823d70d1f773b560634844fd1c9cf0bb (diff)
downloadchromium_src-33acd5b1bbf04edb08d32cae4e1c2ab783e39be8.zip
chromium_src-33acd5b1bbf04edb08d32cae4e1c2ab783e39be8.tar.gz
chromium_src-33acd5b1bbf04edb08d32cae4e1c2ab783e39be8.tar.bz2
Improve testing for SDCH.
Added some end-to-end browser tests, and added a bit of extra checking for the filter. The extra files for encoding dictionaries from sdch/open-vcdiff were added so that the tests could create an SDCH dictionary when run. IMO, this is more flexible for future tests and clearer to read and maintain than just hard-coding a dictionary inline in the tests. BUG=None R=mef@chromium.org Review URL: https://codereview.chromium.org/380003002 Cr-Commit-Position: refs/heads/master@{#290638} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
-rw-r--r--sdch/sdch.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp
index 233ac53..52a92f3 100644
--- a/sdch/sdch.gyp
+++ b/sdch/sdch.gyp
@@ -29,15 +29,19 @@
'open-vcdiff/src/encodetable.h',
'open-vcdiff/src/google/output_string.h',
'open-vcdiff/src/google/vcdecoder.h',
+ 'open-vcdiff/src/google/vcencoder.h',
'open-vcdiff/src/headerparser.cc',
'open-vcdiff/src/headerparser.h',
'open-vcdiff/src/instruction_map.cc',
'open-vcdiff/src/instruction_map.h',
+ 'open-vcdiff/src/jsonwriter.h',
+ 'open-vcdiff/src/jsonwriter.cc',
'open-vcdiff/src/rolling_hash.h',
'open-vcdiff/src/testing.h',
'open-vcdiff/src/varint_bigendian.cc',
'open-vcdiff/src/varint_bigendian.h',
'open-vcdiff/src/vcdecoder.cc',
+ 'open-vcdiff/src/vcencoder.cc',
'open-vcdiff/src/vcdiff_defs.h',
'open-vcdiff/src/vcdiffengine.cc',
'open-vcdiff/src/vcdiffengine.h',