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

Side by Side Diff: tests/GifTest.cpp

Issue 100113004: Use DEFINE_TESTCLASS_SHORT macro in tests. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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
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)) && \
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // test short Gif. 80 is missing a few bytes. 198 // test short Gif. 80 is missing a few bytes.
199 test_gif_data_short(reporter, static_cast<void *>(gifData), 80); 199 test_gif_data_short(reporter, static_cast<void *>(gifData), 80);
200 // "libgif warning [DGifGetLine]" 200 // "libgif warning [DGifGetLine]"
201 201
202 test_interlaced_gif_data(reporter, static_cast<void *>(interlacedGif), 202 test_interlaced_gif_data(reporter, static_cast<void *>(interlacedGif),
203 100); // 100 is missing a few bytes 203 100); // 100 is missing a few bytes
204 // "libgif warning [interlace DGifGetLine]" 204 // "libgif warning [interlace DGifGetLine]"
205 } 205 }
206 206
207 #include "TestClassDef.h" 207 #include "TestClassDef.h"
208 DEFINE_TESTCLASS("GifTest", GifTestClass, TestGif) 208 DEFINE_TESTCLASS_SHORT(TestGif)
209 209
210 #endif // !(SK_BUILD_FOR_WIN32||SK_BUILD_FOR_IOS||SK_BUILD_FOR_MAC) 210 #endif // !(SK_BUILD_FOR_WIN32||SK_BUILD_FOR_IOS||SK_BUILD_FOR_MAC)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698