| OLD | NEW |
| 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 Loading... |
| 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) |
| OLD | NEW |