Index: tests/StringTest.cpp |
diff --git a/tests/StringTest.cpp b/tests/StringTest.cpp |
index 0e71c2b98897efb5bcd97d5fa7d270ea6597b1ae..9e41c48c845d689c740d1544c731a1652750f44c 100644 |
--- a/tests/StringTest.cpp |
+++ b/tests/StringTest.cpp |
@@ -147,13 +147,6 @@ |
a.set(""); |
a.appendU64(0x0000000001000000ULL, 15); |
REPORTER_ASSERT(reporter, a.equals("000000016777216")); |
- |
- a.printf("%i", 0); |
- REPORTER_ASSERT(reporter, a.equals("0")); |
- a.printf("%g", 3.14); |
- REPORTER_ASSERT(reporter, a.equals("3.14")); |
- a.printf("hello %s", "skia"); |
- REPORTER_ASSERT(reporter, a.equals("hello skia")); |
static const struct { |
SkScalar fValue; |
@@ -192,25 +185,6 @@ |
REPORTER_ASSERT(reporter, buffer[19] == 0); |
REPORTER_ASSERT(reporter, buffer[20] == 'a'); |
- REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0")); |
- |
- a = SkStringPrintf("%2000s", " "); |
- REPORTER_ASSERT(reporter, a.size() == 2000); |
- for (size_t i = 0; i < a.size(); ++i) { |
- if (a[i] != ' ') { |
- ERRORF(reporter, "SkStringPrintf fail: a[%d] = '%c'", i, a[i]); |
- break; |
- } |
- } |
- a.reset(); |
- a.printf("%2000s", " "); |
- REPORTER_ASSERT(reporter, a.size() == 2000); |
- for (size_t i = 0; i < a.size(); ++i) { |
- if (a[i] != ' ') { |
- ERRORF(reporter, "SkStringPrintf fail: a[%d] = '%c'", i, a[i]); |
- break; |
- } |
- } |
} |
DEF_TEST(String_SkStrSplit, r) { |