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

Side by Side Diff: tests/DiscardableMemoryPoolTest.cpp

Issue 185923002: Rename test files to end with Test.cpp. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « tests/DiscardableMemoryPool.cpp ('k') | tests/GLInterfaceValidation.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 #include "SkDiscardableMemoryPool.h" 7 #include "SkDiscardableMemoryPool.h"
8 8
9 #include "Test.h" 9 #include "Test.h"
10 10
(...skipping 15 matching lines...) Expand all
26 REPORTER_ASSERT(reporter, 200 == pool->getRAMUsed()); 26 REPORTER_ASSERT(reporter, 200 == pool->getRAMUsed());
27 pool->setRAMBudget(400); 27 pool->setRAMBudget(400);
28 dm2->unlock(); 28 dm2->unlock();
29 REPORTER_ASSERT(reporter, 200 == pool->getRAMUsed()); 29 REPORTER_ASSERT(reporter, 200 == pool->getRAMUsed());
30 REPORTER_ASSERT(reporter, dm2->lock()); 30 REPORTER_ASSERT(reporter, dm2->lock());
31 dm2->unlock(); 31 dm2->unlock();
32 pool->dumpPool(); 32 pool->dumpPool();
33 REPORTER_ASSERT(reporter, !dm2->lock()); 33 REPORTER_ASSERT(reporter, !dm2->lock());
34 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); 34 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed());
35 } 35 }
OLDNEW
« no previous file with comments | « tests/DiscardableMemoryPool.cpp ('k') | tests/GLInterfaceValidation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698