Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Issue 1238443004: gl/test: Move some initialization code used in tests to a separate component. (Closed)

Created:
5 years, 5 months ago by sadrul
Modified:
5 years, 5 months ago
CC:
chromium-reviews, sadrul, dcheng, sievers+watch_chromium.org, stevenjb+watch_chromium.org, extensions-reviews_chromium.org, tdanderson+views_chromium.org, Matt Giuca, jam, jbauman+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, cc-bugs_chromium.org, tapted, mlamouri+watch-notifications_chromium.org, oshima+watch_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, Ian Vollick, tfarina, peter+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gl/test: Move some initialization code used in tests to a separate component. Moving test-code to a separete component, so that adding more test-only dependencies does not affect non-test code. BUG=none CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=jam@ for non-ui/gl/ changes, since trivial #include/gyp-gn updates Committed: https://crrev.com/ba162cdaf95c99b67da214be4cc8117db9ad2a5f Cr-Commit-Position: refs/heads/master@{#339539}

Patch Set 1 : . #

Patch Set 2 : fix-gn-check #

Total comments: 8

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -136 lines) Patch
M android_webview/android_webview_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/lib/main/webview_tests.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/accelerators/accelerator_interactive_uitest_chromeos.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/drag_drop/drag_drop_interactive_uitest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/test/test_suite.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/ash_native_cursor_manager_interactive_uitest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/BUILD.gn View 1 3 chunks +3 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/cc_test_suite.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/chrome_unit_test_suite.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/test/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M components/test/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/view_manager/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/view_manager/view_manager_app.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/content_tests.gypi View 7 chunks +7 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 5 chunks +5 lines, -0 lines 0 comments Download
M content/test/content_test_suite.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/test/extensions_unittests_main.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gpu_service_test.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/config/gpu_info_collector_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/gpu.gyp View 1 chunk +2 lines, -1 line 0 comments Download
M ui/app_list/test/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/test/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/aura/test/run_all_unittests.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/chromeos/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/chromeos/touch_exploration_controller_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/test/test_suite.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/BUILD.gn View 2 chunks +19 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 chunk +23 lines, -0 lines 0 comments Download
M ui/gl/gl_implementation.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/gl_surface.h View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M ui/gl/gl_surface.cc View 1 chunk +0 lines, -64 lines 0 comments Download
M ui/gl/gl_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gpu_timing_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
A ui/gl/test/gl_surface_test_support.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A ui/gl/test/gl_surface_test_support.cc View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
M ui/keyboard/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/test/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/message_center/test/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/test/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/corewm/desktop_capture_controller_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11_interactive_uitest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_topmost_window_finder_interactive_uitest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/widget_interactive_uitest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ui/wm/test/run_all_unittests.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
sadrul
kbr@ and piman@ for ui/gl/ OWNERS. Does this look like a reasonable thing to do? ...
5 years, 5 months ago (2015-07-20 06:10:24 UTC) #7
Ken Russell (switch to Gerrit)
This refactoring seems reasonable. Good idea. LGTM as long as it compiles.
5 years, 5 months ago (2015-07-20 19:19:01 UTC) #9
no sievers
lgtm w/nits https://codereview.chromium.org/1238443004/diff/120001/gpu/BUILD.gn File gpu/BUILD.gn (right): https://codereview.chromium.org/1238443004/diff/120001/gpu/BUILD.gn#newcode120 gpu/BUILD.gn:120: "//ui/gl:test_support", gl_tests actually uses real GL, see ...
5 years, 5 months ago (2015-07-20 20:45:39 UTC) #10
sadrul
https://codereview.chromium.org/1238443004/diff/120001/gpu/BUILD.gn File gpu/BUILD.gn (right): https://codereview.chromium.org/1238443004/diff/120001/gpu/BUILD.gn#newcode120 gpu/BUILD.gn:120: "//ui/gl:test_support", On 2015/07/20 20:45:39, sievers wrote: > gl_tests actually ...
5 years, 5 months ago (2015-07-20 21:36:31 UTC) #12
sadrul
+jam@ for toplevel owner stamp (will TBR since the relevant changes are only #include and ...
5 years, 5 months ago (2015-07-20 21:40:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1238443004/160001
5 years, 5 months ago (2015-07-20 21:41:52 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/29916)
5 years, 5 months ago (2015-07-20 21:53:33 UTC) #19
piman
lgtm
5 years, 5 months ago (2015-07-20 21:57:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1238443004/160001
5 years, 5 months ago (2015-07-20 21:59:20 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:160001)
5 years, 5 months ago (2015-07-20 22:34:57 UTC) #23
commit-bot: I haz the power
5 years, 5 months ago (2015-07-20 22:36:00 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ba162cdaf95c99b67da214be4cc8117db9ad2a5f
Cr-Commit-Position: refs/heads/master@{#339539}

Powered by Google App Engine
This is Rietveld 408576698