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

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

Issue 2670223002: Add cr_scrollable_behavior tests (Closed)
Patch Set: Rebase + @constructor comments Created 3 years, 10 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..325928729f17dce876aa7995776bb58f7f6c9ed8 100644
--- a/chrome/test/data/webui/cr_elements/cr_elements_browsertest.js
+++ b/chrome/test/data/webui/cr_elements/cr_elements_browsertest.js
@@ -39,6 +39,10 @@ CrElementsBrowserTest.prototype = {
function CrElementsLazyRenderTest() {}
+/**
+ * @constructor
+ * @extends {CrElementsBrowserTest}
+ */
CrElementsLazyRenderTest.prototype = {
__proto__: CrElementsBrowserTest.prototype,
@@ -56,6 +60,10 @@ TEST_F('CrElementsLazyRenderTest', 'All', function() {
mocha.run();
});
+/**
+ * @constructor
+ * @extends {CrElementsBrowserTest}
+ */
function CrElementsProfileAvatarSelectorTest() {}
CrElementsProfileAvatarSelectorTest.prototype = {
@@ -77,6 +85,10 @@ TEST_F('CrElementsProfileAvatarSelectorTest', 'All', function() {
mocha.grep(cr_profile_avatar_selector.TestNames.Basic).run();
});
+/**
+ * @constructor
+ * @extends {CrElementsBrowserTest}
+ */
function CrElementsToolbarSearchFieldTest() {}
CrElementsToolbarSearchFieldTest.prototype = {
@@ -97,6 +109,10 @@ TEST_F('CrElementsToolbarSearchFieldTest', 'All', function() {
mocha.run();
});
+/**
+ * @constructor
+ * @extends {CrElementsBrowserTest}
+ */
function CrElementsSliderTest() {}
CrElementsSliderTest.prototype = {
@@ -116,6 +132,10 @@ TEST_F('CrElementsSliderTest', 'All', function() {
mocha.run();
});
+/**
+ * @constructor
+ * @extends {CrElementsBrowserTest}
+ */
function CrElementsDrawerTest() {}
CrElementsDrawerTest.prototype = {
@@ -132,3 +152,25 @@ CrElementsDrawerTest.prototype = {
TEST_F('CrElementsDrawerTest', 'All', function() {
mocha.run();
});
+
+/**
+ * @constructor
+ * @extends {CrElementsBrowserTest}
+ */
+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