skia2/tests
caryclark@google.com 42639cddc3 fix warnings on Mac in tests
Fix these class of warnings:
- unused functions
- unused locals
- sign mismatch
- missing function prototypes
- missing newline at end of file
- 64 to 32 bit truncation

The changes prefer to link in dead code in the debug build
with 'if (false)' than to comment it out, but trivial cases
are commented out or sometimes deleted if it appears to be
a copy/paste error.
Review URL: https://codereview.appspot.com/6301045

git-svn-id: http://skia.googlecode.com/svn/trunk@4175 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-06 12:03:39 +00:00
..
TestXCode/Tests.xcodeproj migrate more legacy unittests into tests/ 2009-03-07 03:39:23 +00:00
AAClipTest.cpp update the nearly_integral calculation to be (a) faster, and (b) to correctly 2012-05-11 20:57:25 +00:00
BitmapCopyTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
BitmapGetColorTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BitSetTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BlitRowTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BlurTest.cpp Remove warnings (trailing \, signed vs unsigned, parenthesization). 2011-10-27 15:27:51 +00:00
CanvasTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
ClampRangeTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ClipCacheTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
ClipCubicTest.cpp Addressed more Windows compiler complaint issues 2012-04-16 15:50:18 +00:00
ClipperTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
ClipStackTest.cpp If we try to clip against a path and the path only contains a rect, treat it as a clip against a rect. 2012-03-09 16:48:20 +00:00
ColorFilterTest.cpp Decouple the SkFlattenable from SkReader32/SkWriter32. 2012-04-12 13:24:04 +00:00
ColorTest.cpp Interpolate vertical linear gradients for improved quality. 2012-01-18 21:28:01 +00:00
DataRefTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
DeferredCanvasTest.cpp Adding missing SkIntToScalar to resolve DeferredCanvas unit test failures with fixed-point build 2012-02-13 22:27:58 +00:00
DequeTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
DrawBitmapRectTest.cpp Debug Windows compiler complaint fixes 2012-05-14 16:33:36 +00:00
DrawPathTest.cpp fix bug (and add test) for drawing an inverse-path whose bounds do intersect 2012-05-01 14:49:28 +00:00
DrawTextTest.cpp Subpixel text 3/8 of a pixel too far to the right. 2012-01-13 15:02:58 +00:00
EmptyPathTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
FillPathTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
FlateTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
FontHostStreamTest.cpp CreateTypefaceFromStream for GDI. 2012-05-18 19:06:41 +00:00
FontHostTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
GeometryTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
GLInterfaceValidation.cpp Code changes for ANGLE GL interface. .gyp file changes will be delivered later. 2012-03-28 16:19:11 +00:00
GLProgramsTest.cpp Merge GrGpuGLShaders into its parent class, GrGpuGL 2012-05-31 15:07:19 +00:00
InfRectTest.cpp speedup SkRect::isFinite() (almost 2x) 2012-05-16 13:35:36 +00:00
MathTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
Matrix44Test.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
MatrixTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
MemsetTest.cpp change SkChunkAlloc to grow its allocations geometrically (not linearly) 2012-05-17 14:28:11 +00:00
MetaDataTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
PackBitsTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
PaintTest.cpp Addressed more Windows compiler complaint issues 2012-04-16 15:50:18 +00:00
ParsePathTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
PathCoverageTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
PathMeasureTest.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
PathTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
PDFPrimitivesTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
PointTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
PremulAlphaRoundTripTest.cpp GPU device preserves pixel values across read/write/read of unpremul pixel values 2012-02-23 15:39:54 +00:00
QuickRejectTest.cpp Create macro for registering classes for deserialization 2012-03-26 17:57:35 +00:00
Reader32Test.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ReadPixelsTest.cpp Turn on read pixels test for raster backend 2012-02-09 13:53:48 +00:00
ReadWriteAlphaTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
RefCntTest.cpp WeakRefCnt 2012-05-16 18:21:56 +00:00
RefDictTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
RegionTest.cpp add more tests for rgn::intersects(rect) 2012-05-02 16:52:12 +00:00
ScalarTest.cpp fix Fixed build 2012-05-15 14:32:42 +00:00
ShaderOpacityTest.cpp Adding isOpaque method to skia shader classes 2011-12-09 15:48:03 +00:00
Sk64Test.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
skia_test.cpp add header to document debug-vs-release, fixed-vs-float 2011-10-26 15:25:18 +00:00
SortTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
SrcOverTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
StreamTest.cpp add tests for read/writePackedUInt, and fix a bug there. 2011-10-18 11:49:52 +00:00
StringTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00
Test.cpp Move GL-specific include files to their own subdirectory, to better 2012-02-14 15:11:59 +00:00
Test.h Adding more unit testing for SkCanvas and derived classes. 2012-02-22 21:00:42 +00:00
TestClassDef.h Skip test GLPrograms test when GL or Gr context can't be created. 2011-08-24 03:29:11 +00:00
TestSize.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
TLSTest.cpp Disable TLSTest for now, to work around http://code.google.com/p/skia/issues/detail?id=619 2012-05-31 13:54:51 +00:00
ToUnicode.cpp Debug Windows compiler complaint fixes 2012-05-14 16:33:36 +00:00
TriangulationTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
UnicodeTest.cpp fix clang compilation warning 2012-03-22 21:29:10 +00:00
UtilsTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
valgrind.supp Close a couple of minor memory leaks, add a valgrind suppression file to 2012-03-15 18:16:39 +00:00
WArrayTest.cpp Change append to appendf for call sites with no format arguments. 2012-02-21 18:53:39 +00:00
WritePixelsTest.cpp Fix warnings 2011-11-23 15:01:08 +00:00
Writer32Test.cpp add optional storage parameter to SkWriter32 2012-04-24 21:12:39 +00:00
XfermodeTest.cpp fix warnings on Mac in tests 2012-06-06 12:03:39 +00:00