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

Unified Diff: chrome/test/data/webui/media_router/media_router_elements_browsertest.js

Issue 1766473002: [Media Router] Further split media_router_container tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/test/data/webui/media_router/media_router_elements_browsertest.js
diff --git a/chrome/test/data/webui/media_router/media_router_elements_browsertest.js b/chrome/test/data/webui/media_router/media_router_elements_browsertest.js
index eae673a463ab3d7c99c215b128c612e2b6b0a859..f7ffc2a8b39e00e194435103a2ea25baf4d17238 100644
--- a/chrome/test/data/webui/media_router/media_router_elements_browsertest.js
+++ b/chrome/test/data/webui/media_router/media_router_elements_browsertest.js
@@ -39,7 +39,8 @@ MediaRouterElementsBrowserTest.prototype = {
// media_router_container_filter_tests.js.
extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
'issue_banner_tests.js',
- 'media_router_container_tests.js',
+ 'media_router_container_part1_tests.js',
+ 'media_router_container_part2_tests.js',
imcheng 2016/03/04 00:26:58 I see you have moved most of the cast mode list re
btolsch 2016/03/04 02:14:38 Well, this isn't really a logical split. It was b
apacible 2016/03/04 17:21:33 Would it make sense to split tests based on views
btolsch 2016/03/04 20:00:37 Initially I was hesitant to do that because of the
apacible 2016/03/07 17:59:04 Let's pull out all of the properties / setup / cus
btolsch 2016/03/07 20:20:15 Done.
'media_router_container_filter_tests.js',
'media_router_header_tests.js',
'media_router_search_highlighter.js',
@@ -91,12 +92,21 @@ TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner',
mocha.run();
});
-// See bugs.chromium.org issue 591227
TEST_F('MediaRouterElementsBrowserTest',
imcheng 2016/03/04 00:26:59 Since we are at the point where it is necessary to
btolsch 2016/03/04 02:14:37 Done.
- 'DISABLED_MediaRouterElementsTestMediaRouterContainer',
+ 'MediaRouterElementsTestMediaRouterContainerPart1',
function() {
// Register mocha tests for the container.
apacible 2016/03/04 01:25:29 This comment can also be removed from all test cas
btolsch 2016/03/04 02:14:37 Done.
- media_router_container.registerTests();
+ media_router_container_part1.registerTests();
+
+ // Run all registered tests.
imcheng 2016/03/04 00:26:58 This comment can be removed from all test cases.
btolsch 2016/03/04 02:14:37 Done.
+ mocha.run();
+});
+
+TEST_F('MediaRouterElementsBrowserTest',
+ 'MediaRouterElementsTestMediaRouterContainerPart2',
+ function() {
+ // Register mocha tests for the container.
+ media_router_container_part2.registerTests();
// Run all registered tests.
mocha.run();

Powered by Google App Engine
This is Rietveld 408576698