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

Side by Side Diff: tests/SerializationTest.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 #include "SkBitmapDevice.h" 8 #include "SkBitmapDevice.h"
9 #include "SkBitmapSource.h" 9 #include "SkBitmapSource.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 invalidBitmap2.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); 311 invalidBitmap2.setConfig(SkBitmap::kARGB_8888_Config, 256, 256);
312 invalidBitmap2.setPixelRef(SkNEW_ARGS(SkMallocPixelRef, 312 invalidBitmap2.setPixelRef(SkNEW_ARGS(SkMallocPixelRef,
313 (NULL, 256, NULL)))->unref(); 313 (NULL, 256, NULL)))->unref();
314 314
315 // The deserialization should detect the pixel ref being too small and f ail 315 // The deserialization should detect the pixel ref being too small and f ail
316 TestBitmapSerialization(validBitmap, invalidBitmap2, false, reporter); 316 TestBitmapSerialization(validBitmap, invalidBitmap2, false, reporter);
317 } 317 }
318 } 318 }
319 319
320 #include "TestClassDef.h" 320 #include "TestClassDef.h"
321 DEFINE_TESTCLASS("Serialization", SerializationClass, Tests) 321 DEFINE_TESTCLASS_SHORT(Tests)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698