diff options
author | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-27 19:17:41 +0000 |
---|---|---|
committer | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-27 19:17:41 +0000 |
commit | 54f0d1b7113cb0dc184e522539aab1030a28a421 (patch) | |
tree | 034f4823f8b9ed4ca84d28cbaa08de582edea4c5 /tests/PathMeasureTest.cpp | |
parent | 4e0d96b6558f0360993e3ecbe0975017a195d4f2 (diff) |
Tests : Unused parameters cleanup
I removed unused parameters in the tests wherever it was trivial to do so. I'm trying to get the easy ones out of the way before we get into more involved discussions around this.
Review URL: https://codereview.appspot.com/7394055
git-svn-id: http://skia.googlecode.com/svn/trunk@7891 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathMeasureTest.cpp')
-rw-r--r-- | tests/PathMeasureTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/PathMeasureTest.cpp b/tests/PathMeasureTest.cpp index e8477c6fde..4c26bc17cd 100644 --- a/tests/PathMeasureTest.cpp +++ b/tests/PathMeasureTest.cpp @@ -8,7 +8,7 @@ #include "Test.h" #include "SkPathMeasure.h" -static void test_small_segment3(skiatest::Reporter* reporter) { +static void test_small_segment3() { #ifdef SK_SCALAR_IS_FLOAT SkPath path; const SkPoint pts[] = { @@ -27,7 +27,7 @@ static void test_small_segment3(skiatest::Reporter* reporter) { #endif } -static void test_small_segment2(skiatest::Reporter* reporter) { +static void test_small_segment2() { #ifdef SK_SCALAR_IS_FLOAT SkPath path; const SkPoint pts[] = { @@ -45,7 +45,7 @@ static void test_small_segment2(skiatest::Reporter* reporter) { #endif } -static void test_small_segment(skiatest::Reporter* reporter) { +static void test_small_segment() { #ifdef SK_SCALAR_IS_FLOAT SkPath path; const SkPoint pts[] = { @@ -203,9 +203,9 @@ static void TestPathMeasure(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); REPORTER_ASSERT(reporter, tangent.fY == 0); - test_small_segment(reporter); - test_small_segment2(reporter); - test_small_segment3(reporter); + test_small_segment(); + test_small_segment2(); + test_small_segment3(); } #include "TestClassDef.h" |