|
Simplify how TestChromeWebUIControllerFactory is registered now that multiple WebUIControllerFactory instances are supported. Instead of compiling the test code into the shipping product, have tests which use it unregister the default one and register the test one. This also makes the non-test version used for the majority of the test, which keeps the browser_tests more like the shipping product.
I've also moved the test harness code to chrome\test\base, which is where test harnesses live.
BUG= 169170
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179271
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -1230 lines) |
Patch |
|
M |
chrome/browser/ui/webui/bidi_checker_web_ui_test.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/chrome_web_ui_controller_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
View
|
1
2
3
4
|
3 chunks |
+1 line, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/ntp/most_visited_browsertest.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
D |
chrome/browser/ui/webui/test_chrome_web_ui_controller_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/webui/test_chrome_web_ui_controller_factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/webui/test_chrome_web_ui_controller_factory_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/webui/web_ui_browsertest.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -203 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/webui/web_ui_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -720 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/js2gtest.js
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
chrome/test/base/test_chrome_web_ui_controller_factory.h
|
View
|
|
4 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
A + |
chrome/test/base/test_chrome_web_ui_controller_factory.cc
|
View
|
|
3 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
|
A + |
chrome/test/base/test_chrome_web_ui_controller_factory_browsertest.cc
|
View
|
|
2 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
|
A + |
chrome/test/base/web_ui_browsertest.h
|
View
|
|
4 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
|
A + |
chrome/test/base/web_ui_browsertest.cc
|
View
|
|
4 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/webui/async_gen.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/webui/certificate_viewer_ui_test-inl.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/webui/chrome_send_browsertest.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/webui/ntp4_browsertest.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/webui/print_preview.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/webui/print_preview.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/site_instance_impl_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/web_contents/render_view_host_manager_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/webui/web_ui_controller_factory_registry.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/webui/web_ui_controller_factory_registry.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/public/browser/web_ui_controller_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|