skia2/tests
scroggo b61e206138 Add tests (and fix!) for known bad ICO files.
We previously saw crashes decoding bad ICO files. Add tests for
known bad files.

While testing, I learned that one of them still crashes. Check for
large offset and size separately to fix the crash.

BUG=skia:2878

Review URL: https://codereview.chromium.org/712123002
2014-11-10 13:12:25 -08:00
..
AAClipTest.cpp
AnnotationTest.cpp
ARGBImageEncoderTest.cpp
AsADashTest.cpp
AtomicTest.cpp
BadIcoTest.cpp Add tests (and fix!) for known bad ICO files. 2014-11-10 13:12:25 -08:00
BitmapCopyTest.cpp
BitmapGetColorTest.cpp
BitmapHasherTest.cpp
BitmapHeapTest.cpp
BitmapTest.cpp
BitSetTest.cpp
BlendTest.cpp
BlitRowTest.cpp
BlurTest.cpp
CachedDataTest.cpp
CachedDecodingPixelRefTest.cpp
CanvasStateHelpers.cpp
CanvasStateHelpers.h
CanvasStateTest.cpp
CanvasTest.cpp
ChecksumTest.cpp
ClampRangeTest.cpp
ClipCacheTest.cpp
ClipCubicTest.cpp
ClipperTest.cpp
ClipStackTest.cpp
ColorFilterTest.cpp
ColorPrivTest.cpp
ColorTest.cpp
CTest.cpp
DashPathEffectTest.cpp Add unit test for SkDashPathEffect::asPoints' culling 2014-11-05 08:06:40 -08:00
DataRefTest.cpp
DeferredCanvasTest.cpp
DequeTest.cpp
DeviceLooperTest.cpp
DiscardableMemoryPoolTest.cpp
DiscardableMemoryTest.cpp
DocumentTest.cpp
DrawBitmapRectTest.cpp
DrawPathTest.cpp
DrawTextTest.cpp
DynamicHashTest.cpp
EmptyPathTest.cpp
ErrorTest.cpp
FillPathTest.cpp
FitsInTest.cpp
FlatDataTest.cpp
FlateTest.cpp
FloatingPointTextureTest.cpp
FontConfigParser.cpp Allow all font weights on Android and respect overrides. 2014-11-04 10:54:32 -08:00
FontHostStreamTest.cpp
FontHostTest.cpp
FontMgrTest.cpp
FontNamesTest.cpp
FontObjTest.cpp
FrontBufferedStreamTest.cpp
GeometryTest.cpp
GifTest.cpp
GLInterfaceValidationTest.cpp
GLProgramsTest.cpp Clip in grdrawtarget 2014-11-06 12:57:13 -08:00
GpuColorFilterTest.cpp
GpuDrawPathTest.cpp
GpuLayerCacheTest.cpp
GpuRectanizerTest.cpp
GradientTest.cpp
GrAllocatorTest.cpp
GrBinHashKeyTest.cpp
GrContextFactoryTest.cpp
GrDrawTargetTest.cpp
GrGLSLPrettyPrintTest.cpp
GrMemoryPoolTest.cpp
GrOrderedSetTest.cpp
GrRedBlackTreeTest.cpp
GrSurfaceTest.cpp
GrTBSearchTest.cpp
GrTRecorderTest.cpp When running DM, write test failures to json. 2014-11-07 06:07:32 -08:00
ImageCacheTest.cpp
ImageDecodingTest.cpp
ImageFilterTest.cpp
ImageGeneratorTest.cpp
ImageIsOpaqueTest.cpp flag imageinfo as srgb 2014-11-10 08:57:21 -08:00
ImageNewShaderTest.cpp
InfRectTest.cpp
InterpolatorTest.cpp
JpegTest.cpp
KtxTest.cpp
LayerDrawLooperTest.cpp
LayerRasterizerTest.cpp
LazyPtrTest.cpp
LListTest.cpp
MallocPixelRefTest.cpp
MaskCacheTest.cpp
MathTest.cpp
Matrix44Test.cpp
MatrixClipCollapseTest.cpp
MatrixTest.cpp
MD5Test.cpp
MemoryTest.cpp
MemsetTest.cpp
MessageBusTest.cpp
MetaDataTest.cpp
MipMapTest.cpp
NameAllocatorTest.cpp
OnceTest.cpp
OSPathTest.cpp
PackBitsTest.cpp
PaintTest.cpp
ParsePathTest.cpp
PathCoverageTest.cpp
PathMeasureTest.cpp
PathOpsAngleIdeas.cpp
PathOpsAngleTest.cpp
PathOpsBattles.cpp
PathOpsBoundsTest.cpp
PathOpsCubicIntersectionTest.cpp
PathOpsCubicIntersectionTestData.cpp
PathOpsCubicIntersectionTestData.h
PathOpsCubicLineIntersectionIdeas.cpp
PathOpsCubicLineIntersectionTest.cpp
PathOpsCubicQuadIntersectionTest.cpp
PathOpsCubicReduceOrderTest.cpp
PathOpsCubicToQuadsTest.cpp
PathOpsDCubicTest.cpp
PathOpsDebug.cpp
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDQuadTest.cpp
PathOpsDRectTest.cpp
PathOpsDTriangleTest.cpp
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp
PathOpsExtendedTest.h
PathOpsInverseTest.cpp
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp
PathOpsOpCubicThreadedTest.cpp
PathOpsOpLoopThreadedTest.cpp
PathOpsOpRectThreadedTest.cpp
PathOpsOpTest.cpp
PathOpsQuadIntersectionTest.cpp
PathOpsQuadIntersectionTestData.cpp
PathOpsQuadIntersectionTestData.h
PathOpsQuadLineIntersectionTest.cpp
PathOpsQuadLineIntersectionThreadedTest.cpp
PathOpsQuadParameterizationTest.cpp
PathOpsQuadReduceOrderTest.cpp
PathOpsSimplifyDegenerateThreadedTest.cpp
PathOpsSimplifyFailTest.cpp
PathOpsSimplifyQuadralateralsThreadedTest.cpp
PathOpsSimplifyQuadThreadedTest.cpp
PathOpsSimplifyRectThreadedTest.cpp
PathOpsSimplifyTest.cpp
PathOpsSimplifyTrianglesThreadedTest.cpp
PathOpsSkpClipTest.cpp
PathOpsSkpTest.cpp
PathOpsTestCommon.cpp
PathOpsTestCommon.h
PathOpsThreadedCommon.cpp
PathOpsThreadedCommon.h
PathOpsTightBoundsTest.cpp
PathOpsTypesTest.cpp
PathTest.cpp
PathUtilsTest.cpp
PDFJpegEmbedTest.cpp
PDFPrimitivesTest.cpp
PictureBBHTest.cpp Make RTree handle the case where the playback canvas has empty clip bounds 2014-10-30 11:44:20 -07:00
PictureShaderTest.cpp
PictureTest.cpp Fix PictureTest for new GPU veto 2014-11-04 08:50:16 -08:00
PipeTest.cpp
PixelRefTest.cpp
PointTest.cpp
PremulAlphaRoundTripTest.cpp
QuickRejectTest.cpp
RandomTest.cpp
Reader32Test.cpp
ReadPixelsTest.cpp
ReadWriteAlphaTest.cpp
RecordDrawTest.cpp Shrink saveLayer device bounds when it supplies an explicit bounds and has a complex paint 2014-11-03 08:19:44 -08:00
RecorderTest.cpp
RecordingXfermodeTest.cpp
RecordOptsTest.cpp
RecordPatternTest.cpp
RecordReplaceDrawTest.cpp
RecordTest.cpp
RecordTestUtils.h
RefCntTest.cpp
RefDictTest.cpp
RegionTest.cpp
ResourceCacheTest.cpp Use GrResourceCache2 to service content key lookups 2014-11-10 10:19:06 -08:00
RoundRectTest.cpp
RTConfRegistryTest.cpp
RTreeTest.cpp
RuntimeConfigTest.cpp
ScalarTest.cpp
SerializationTest.cpp
SHA1Test.cpp
ShaderImageFilterTest.cpp
ShaderOpacityTest.cpp
SizeTest.cpp
SkBase64Test.cpp
skia_test.cpp Cleanup: Use SkAutoGraphics in gm and tests. 2014-11-07 06:12:30 -08:00
SkpSkGrTest.cpp
SkResourceCacheTest.cpp
SmallAllocatorTest.cpp
SortTest.cpp
SrcOverTest.cpp
StreamTest.cpp
StringTest.cpp
StrokerTest.cpp
StrokeTest.cpp
SurfaceTest.cpp
TArrayTest.cpp
TDStackNesterTest.cpp
Test.cpp When running DM, write test failures to json. 2014-11-07 06:07:32 -08:00
Test.h When running DM, write test failures to json. 2014-11-07 06:07:32 -08:00
TextBlobTest.cpp
TextureCompressionTest.cpp
THashCache.cpp
TileGridTest.cpp
Time.cpp Fix SkTime::GetDateTime Posix implementation, add unit test. 2014-11-10 09:20:22 -08:00
TLSTest.cpp
ToUnicodeTest.cpp
TracingTest.cpp
TSetTest.cpp
TypefaceTest.cpp
UnicodeTest.cpp
UtilsTest.cpp
WArrayTest.cpp
WritePixelsTest.cpp
Writer32Test.cpp
XfermodeTest.cpp