skia2/tests
vandebo@chromium.org 421d6443fb [PDF] Make stream compression optional on a per device basis.
There are a lot of small pieces to make this change work:
- SkPDFDocument (and SkPDFCatalog) take flags to disable compression (and font embedding - not implemented yet, can disable font subsetting for now).
- SkPDFStream now defers compression until the size/emit step.
- Classes that *had* a stream (because they didn't know the stream size at construction time) now *are* streams to make the substitution work correctly.
- The SkPDFShader implementation got pulled apart into two classes, one that is a SkPDFDict, and one that is a SkPDFStream (making the common ancestor SkPDFObject).
- Added helper methods in SkPDFObject for children that have simple resource lists.
- Added an iterator to SkPDFDict so that a substitute SkPDFStream can get a copy of the stream dictionary.
- Change SkPDFDocument to have a pointer to an SkPDFCatalog to remove a new circular header reference.

Review URL: http://codereview.appspot.com/4700045

git-svn-id: http://skia.googlecode.com/svn/trunk@1911 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-20 17:39:01 +00:00
..
TestXCode/Tests.xcodeproj migrate more legacy unittests into tests/ 2009-03-07 03:39:23 +00:00
BitmapCopyTest.cpp Another tiny comment-only change to trigger svn update 2011-04-26 19:31:33 +00:00
BitmapGetColorTest.cpp add simple test for SkBitmap::getColor() 2011-02-25 19:50:19 +00:00
BitSetTest.cpp A bit set class. Will be used for font subsetting. 2011-07-02 01:26:37 +00:00
BlitRowTest.cpp update to work correctly for scalar == fixed or float 2011-02-09 02:24:26 +00:00
BlurTest.cpp add asABlur() to maskfilters, so devices like gpu and pdf can query them. 2011-07-07 13:43:38 +00:00
ClampRangeTest.cpp handle overflow 2011-04-18 19:59:38 +00:00
ClipCubicTest.cpp update to work correctly for scalar == fixed or float 2011-02-09 02:24:26 +00:00
ClipperTest.cpp add unittest for IntersectLine, used by hairlines 2009-11-30 12:48:33 +00:00
ClipStackTest.cpp get tests closer to passing for SKIA_SCALAR=fixed 2011-05-17 17:36:59 +00:00
ColorFilterTest.cpp add reflection asColorMode to SkColorFilter (for gpu) 2011-04-14 15:50:52 +00:00
ColorTest.cpp update 2011-05-03 21:27:49 +00:00
DataRefTest.cpp rename public SkDataRef to SkData 2011-06-24 13:07:31 +00:00
DequeTest.cpp add tests for pushing on back as well as front 2011-02-22 19:56:18 +00:00
DrawBitmapRectTest.cpp abort drawing if srcRect is outside of the bitmap bounds 2011-03-17 17:48:04 +00:00
FillPathTest.cpp Correctly handle SkPath::kInverseWinding_FillType 2010-12-06 18:52:40 +00:00
FlateTest.cpp replace detach/getStream apis on dynamicwstream with SkData 2011-06-24 19:12:12 +00:00
GeometryTest.cpp more tests (need more meat in there) 2009-02-27 22:06:06 +00:00
InfRectTest.cpp update to work correctly for scalar == fixed or float 2011-02-09 02:24:26 +00:00
MathTest.cpp fix windows compile errors in "tests" 2011-06-08 18:26:08 +00:00
Matrix44Test.cpp add (disabled) tests for common angles 2011-06-24 18:13:39 +00:00
MatrixTest.cpp Fix build break from 1851. 2011-07-13 20:18:16 +00:00
MetaDataTest.cpp add refcnt helper to metadata 2011-03-30 18:23:21 +00:00
PackBitsTest.cpp add onSendClickToChildren to views, so a view can capture all clicks. 2009-11-16 14:52:01 +00:00
PaintTest.cpp update to work correctly for scalar == fixed or float 2011-02-09 02:24:26 +00:00
ParsePathTest.cpp add SkParsePath to go to/from SVG strings (e.g. "M0,0 L10,20") 2009-06-05 16:21:03 +00:00
PathCoverageTest.cpp Remove compile warning by removing unnecessary output. 2011-07-01 20:22:01 +00:00
PathMeasureTest.cpp migrate more legacy unittests into tests/ 2009-03-07 03:39:23 +00:00
PathTest.cpp Fix path iter returned pt on close, test path close pt in unit test. 2011-07-13 17:44:36 +00:00
PDFPrimitivesTest.cpp [PDF] Make stream compression optional on a per device basis. 2011-07-20 17:39:01 +00:00
PointTest.cpp Move PointTest.cpp out of tests/core into tests/ ; the other arrangement was 2011-06-15 18:49:21 +00:00
Reader32Test.cpp fix windows compile errors in "tests" 2011-06-08 18:26:08 +00:00
RefDictTest.cpp embed a refdict inside SkDevice 2011-01-25 23:50:57 +00:00
RegionTest.cpp add SkRegion::setRects(), and its unit tests 2010-07-13 18:35:14 +00:00
Sk64Test.cpp cleanup formating (e.g. no trailing spaces) 2009-04-02 16:59:40 +00:00
skia_test.cpp remove last vestiges of intentional break 2011-06-29 14:34:52 +00:00
SortTest.cpp fix heapsort 2009-03-18 03:08:15 +00:00
SrcOverTest.cpp add SkSfntUtils to parse some known truetype tables 2009-04-14 14:28:22 +00:00
StreamTest.cpp replace detach/getStream apis on dynamicwstream with SkData 2011-06-24 19:12:12 +00:00
StringTest.cpp Replace vsnprintf with vsnprintf_s; add code to reproduce issue to StringTest; 2011-07-08 17:49:22 +00:00
Test.cpp remove SkRefCnt safeRef() and safeUnref(), and replace the call-sites with 2011-02-07 15:30:46 +00:00
Test.h support -android mode when running tests, which spews out android specific 2009-04-09 04:06:54 +00:00
TestClassDef.h cleanup formating (e.g. no trailing spaces) 2009-04-02 16:59:40 +00:00
TestSize.cpp rename round, ceil, etc. to avoid some platform macros 2010-06-15 00:57:50 +00:00
TriangulationTest.cpp build with -Wall 2009-03-20 04:59:37 +00:00
UtilsTest.cpp tiny document-only change 2011-05-20 17:35:46 +00:00
Writer32Test.cpp add cross-process option to gpipe 2011-05-23 12:21:05 +00:00
XfermodeTest.cpp fix asMode() to always succeed if the xfermode was built from a Mode 2011-04-13 21:12:04 +00:00