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

Side by Side Diff: android_webview/tools/system_webview_shell/apk/test/resources/js-test.js

Issue 1364593002: Refactor android_webview_shell and its tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renaming Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 debug = function debug(msg) 5 debug = function debug(msg)
6 { 6 {
7 console.log(msg); 7 console.log(msg);
8 }; 8 };
9 9
10 description = function description(msg, quiet) 10 description = function description(msg, quiet)
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 function shouldBeEqualToString(a, b) 141 function shouldBeEqualToString(a, b)
142 { 142 {
143 if (typeof a !== "string" || typeof b !== "string") 143 if (typeof a !== "string" || typeof b !== "string")
144 debug("WARN: shouldBeEqualToString() expects string arguments"); 144 debug("WARN: shouldBeEqualToString() expects string arguments");
145 var unevaledString = JSON.stringify(b); 145 var unevaledString = JSON.stringify(b);
146 shouldBe(a, unevaledString); 146 shouldBe(a, unevaledString);
147 } 147 }
148 148
149 function shouldBeTrue(a, quiet) { shouldBe(a, "true", quiet); } 149 function shouldBeTrue(a, quiet) { shouldBe(a, "true", quiet); }
150 function shouldBeFalse(a, quiet) { shouldBe(a, "false", quiet); } 150 function shouldBeFalse(a, quiet) { shouldBe(a, "false", quiet); }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698