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

Unified Diff: tests/SizeTest.cpp

Issue 337783007: Rename TestSize.cpp to SkSizeTest.cpp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: name fixes Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tests.gypi ('k') | tests/TestSize.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/SizeTest.cpp
diff --git a/tests/TestSize.cpp b/tests/SizeTest.cpp
similarity index 95%
rename from tests/TestSize.cpp
rename to tests/SizeTest.cpp
index 466a628c5c723fef11ba95474b080440410f8c3c..9800aa29c3e99a56ed6333262522dc9e1ec239ba 100644
--- a/tests/TestSize.cpp
+++ b/tests/SizeTest.cpp
@@ -6,9 +6,10 @@
*/
#include "SkSize.h"
+
#include "Test.h"
-static void TestISize(skiatest::Reporter* reporter) {
+DEF_TEST(ISize, reporter) {
SkISize a, b;
a.set(0, 0);
@@ -31,8 +32,6 @@ static void TestISize(skiatest::Reporter* reporter) {
}
DEF_TEST(Size, reporter) {
- TestISize(reporter);
-
SkSize a, b;
int ix = 5;
int iy = 3;
« no previous file with comments | « gyp/tests.gypi ('k') | tests/TestSize.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698