aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/StringTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/StringTest.cpp')
-rw-r--r--tests/StringTest.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/StringTest.cpp b/tests/StringTest.cpp
index c8c10e1925..462fcfadaf 100644
--- a/tests/StringTest.cpp
+++ b/tests/StringTest.cpp
@@ -192,16 +192,3 @@ static void TestString(skiatest::Reporter* reporter) {
#include "TestClassDef.h"
DEFINE_TESTCLASS("String", StringTestClass, TestString)
-
-DEF_TEST(String_SkStrSplit, r) {
- SkTArray<SkString> results;
-
- SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results);
- REPORTER_ASSERT(r, results.count() == 6);
- REPORTER_ASSERT(r, results[0].equals("a"));
- REPORTER_ASSERT(r, results[1].equals("b"));
- REPORTER_ASSERT(r, results[2].equals("c"));
- REPORTER_ASSERT(r, results[3].equals("dee"));
- REPORTER_ASSERT(r, results[4].equals("f"));
- REPORTER_ASSERT(r, results[5].equals("g"));
-}