Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: tests/GifTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/GeometryTest.cpp ('k') | tests/GpuBitmapCopyTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 // This tests out GIF decoder (SkImageDecoder_libgif.cpp) 8 // This tests out GIF decoder (SkImageDecoder_libgif.cpp)
9 // It is not used on these platforms: 9 // It is not used on these platforms:
10 #if (!defined(SK_BUILD_FOR_WIN32)) && \ 10 #if (!defined(SK_BUILD_FOR_WIN32)) && \
11 (!defined(SK_BUILD_FOR_IOS)) && \ 11 (!defined(SK_BUILD_FOR_IOS)) && \
12 (!defined(SK_BUILD_FOR_MAC)) 12 (!defined(SK_BUILD_FOR_MAC))
13 13
14 #include "Test.h" 14 #include "Test.h"
15 #include "TestClassDef.h"
16 #include "SkBitmap.h" 15 #include "SkBitmap.h"
17 #include "SkData.h" 16 #include "SkData.h"
18 #include "SkForceLinking.h" 17 #include "SkForceLinking.h"
19 #include "SkImage.h" 18 #include "SkImage.h"
20 #include "SkImageDecoder.h" 19 #include "SkImageDecoder.h"
21 #include "SkStream.h" 20 #include "SkStream.h"
22 21
23 __SK_FORCE_IMAGE_DECODER_LINKING; 22 __SK_FORCE_IMAGE_DECODER_LINKING;
24 23
25 namespace { 24 namespace {
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // test short Gif. 80 is missing a few bytes. 198 // test short Gif. 80 is missing a few bytes.
200 test_gif_data_short(reporter, static_cast<void *>(gifData), 80); 199 test_gif_data_short(reporter, static_cast<void *>(gifData), 80);
201 // "libgif warning [DGifGetLine]" 200 // "libgif warning [DGifGetLine]"
202 201
203 test_interlaced_gif_data(reporter, static_cast<void *>(interlacedGif), 202 test_interlaced_gif_data(reporter, static_cast<void *>(interlacedGif),
204 100); // 100 is missing a few bytes 203 100); // 100 is missing a few bytes
205 // "libgif warning [interlace DGifGetLine]" 204 // "libgif warning [interlace DGifGetLine]"
206 } 205 }
207 206
208 #endif // !(SK_BUILD_FOR_WIN32||SK_BUILD_FOR_IOS||SK_BUILD_FOR_MAC) 207 #endif // !(SK_BUILD_FOR_WIN32||SK_BUILD_FOR_IOS||SK_BUILD_FOR_MAC)
OLDNEW
« no previous file with comments | « tests/GeometryTest.cpp ('k') | tests/GpuBitmapCopyTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698