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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/split-string-by-regexes.html

Issue 2769843003: DevTools: split text_utils out of common module (Closed)
Patch Set: rebaseline Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/inspector/components/split-string-by-regexes.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/split-string-by-regexes.html b/third_party/WebKit/LayoutTests/inspector/components/split-string-by-regexes.html
index 10e8a1404af2fd0256d66ebb7643f7c68ec8c288..29e2a2c7d1d26aef9eb8022ea323e0b95538c16d 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/split-string-by-regexes.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/split-string-by-regexes.html
@@ -9,7 +9,7 @@ function test()
function testSimple(next)
{
var regexes = [/hello/g, /[0-9]+/g];
- var results = Common.TextUtils.splitStringByRegexes("hello123hello123", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("hello123hello123", regexes);
dumpResults(results);
next();
},
@@ -17,7 +17,7 @@ function test()
function testMatchAtStart(next)
{
var regexes = [/yes/g];
- var results = Common.TextUtils.splitStringByRegexes("yes thank you", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("yes thank you", regexes);
dumpResults(results);
next();
},
@@ -25,7 +25,7 @@ function test()
function testMatchAtEnd(next)
{
var regexes = [/you/g];
- var results = Common.TextUtils.splitStringByRegexes("yes thank you", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("yes thank you", regexes);
dumpResults(results);
next();
},
@@ -33,7 +33,7 @@ function test()
function testAvoidInnerMatch(next)
{
var regexes = [/url\("red\.com"\)/g, /red/g];
- var results = Common.TextUtils.splitStringByRegexes("image: url(\"red.com\")", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("image: url(\"red.com\")", regexes);
dumpResults(results);
next();
},
@@ -41,7 +41,7 @@ function test()
function testNoMatch(next)
{
var regexes = [/something/g];
- var results = Common.TextUtils.splitStringByRegexes("nothing", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("nothing", regexes);
dumpResults(results);
next();
},
@@ -49,7 +49,7 @@ function test()
function testNoMatches(next)
{
var regexes = [/something/g, /123/g, /abc/g];
- var results = Common.TextUtils.splitStringByRegexes("nothing", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("nothing", regexes);
dumpResults(results);
next();
},
@@ -57,7 +57,7 @@ function test()
function testComplex(next)
{
var regexes = [/\(([^)]+)\)/g, /okay/g, /ka/g];
- var results = Common.TextUtils.splitStringByRegexes("Start. (okay) kit-kat okay (kale) ka( ) okay. End", regexes);
+ var results = TextUtils.TextUtils.splitStringByRegexes("Start. (okay) kit-kat okay (kale) ka( ) okay. End", regexes);
dumpResults(results);
next();
}
@@ -76,7 +76,7 @@ function test()
<body onload="runTest()">
<p>
-Tests Common.TextUtils.splitStringByRegexes.
+Tests TextUtils.TextUtils.splitStringByRegexes.
</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698