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

Unified Diff: chrome/test/data/webui/cr_elements/cr_elements_browsertest.js

Issue 2670223002: Add cr_scrollable_behavior tests (Closed)
Patch Set: . Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/test/data/webui/cr_elements/cr_scrollable_behavior_tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/cr_elements/cr_elements_browsertest.js
diff --git a/chrome/test/data/webui/cr_elements/cr_elements_browsertest.js b/chrome/test/data/webui/cr_elements/cr_elements_browsertest.js
index 1fcc2225f3cfa25392e7294adfffcc6f965c5c19..0a68f913ffb15c1564a8662e0264a3a8d979bacb 100644
--- a/chrome/test/data/webui/cr_elements/cr_elements_browsertest.js
+++ b/chrome/test/data/webui/cr_elements/cr_elements_browsertest.js
@@ -132,3 +132,21 @@ CrElementsDrawerTest.prototype = {
TEST_F('CrElementsDrawerTest', 'All', function() {
mocha.run();
});
+
Dan Beam 2017/02/03 22:29:00 nit: @constructor and associated copy pasta
stevenjb 2017/02/04 00:37:24 This was missing form all of the tests in this fil
+function CrElementsScrollableBehaviorTest() {}
+
+CrElementsScrollableBehaviorTest.prototype = {
+ __proto__: CrElementsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://resources/cr_elements/cr_scrollable_behavior.html',
+
+ /** @override */
+ extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([
+ 'cr_scrollable_behavior_tests.js',
+ ]),
+};
+
+TEST_F('CrElementsScrollableBehaviorTest', 'All', function() {
+ mocha.run();
+});
« no previous file with comments | « no previous file | chrome/test/data/webui/cr_elements/cr_scrollable_behavior_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698