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

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: SizeTest.cpp 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 93%
rename from tests/TestSize.cpp
rename to tests/SizeTest.cpp
index 466a628c5c723fef11ba95474b080440410f8c3c..aef0d5e2a891f7bf2d062a64231a6c2c50e3678e 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(SkISizeTest, reporter) {
mtklein 2014/06/25 15:53:58 ->ISize ?
tfarina 2014/06/25 15:56:01 Done.
SkISize a, b;
a.set(0, 0);
@@ -30,9 +31,7 @@ static void TestISize(skiatest::Reporter* reporter) {
a.fWidth == b.fWidth && a.fHeight == b.fHeight);
}
-DEF_TEST(Size, reporter) {
- TestISize(reporter);
-
+DEF_TEST(SkSizeTest, reporter) {
mtklein 2014/06/25 15:53:58 -> Size?
tfarina 2014/06/25 15:56:01 Done.
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