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

Issue 110533009: Import TestRunner library into chromium. (Closed)

Created:
7 years ago by jochen (gone - plz use gerrit)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org
Visibility:
Public.

Description

Import TestRunner library into chromium. The reasons for the move are: - it's actually a blink embedder, so it can't use blink/wtf types - it can't use base either - we want to replace CppBoundClass with gin::Wrappable, not possible in blink In the first step, this is mostly a 1:1 copy (except for include paths). Follow-up CLs will move the test plugin and layout tests helpers and clean up the coding style BUG=324658 R=abarth@chromium.org, maruel@chromium.org, torne@chromium.org, jam@chromium.org TBR=torne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242095

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 2

Patch Set 3 : updates #

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : updates #

Patch Set 7 : updates #

Patch Set 8 : updates #

Patch Set 9 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16740 lines, -22 lines) Patch
M PRESUBMIT.py View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M android_webview/tools/webview_licenses.py View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 5 chunks +85 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 4 chunks +2 lines, -3 lines 0 comments Download
M content/shell/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
A + content/shell/common/test_runner/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A content/shell/common/test_runner/WebPreferences.h View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A content/shell/common/test_runner/WebPreferences.cpp View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M content/shell/common/webkit_test_helpers.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/shell/renderer/shell_render_frame_observer.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/renderer/shell_render_process_observer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A content/shell/renderer/test_runner/AccessibilityController.h View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/AccessibilityController.cpp View 1 2 1 chunk +180 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/CppBoundClass.h View 1 2 1 chunk +251 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/CppBoundClass.cpp View 1 2 1 chunk +362 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/CppVariant.h View 1 2 1 chunk +119 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/CppVariant.cpp View 1 2 1 chunk +296 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/EventSender.h View 1 2 1 chunk +188 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/EventSender.cpp View 1 2 1 chunk +1439 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/GamepadController.h View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/GamepadController.cpp View 1 2 1 chunk +173 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/KeyCodeMapping.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/KeyCodeMapping.cpp View 1 2 1 chunk +222 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockColorChooser.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockColorChooser.cpp View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockConstraints.h View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockConstraints.cpp View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockGrammarCheck.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockGrammarCheck.cpp View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockSpellCheck.h View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockSpellCheck.cpp View 1 2 1 chunk +184 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebAudioDevice.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebAudioDevice.cpp View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebMIDIAccessor.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebMediaStreamCenter.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebMediaStreamCenter.cpp View 1 2 1 chunk +93 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebRTCDTMFSenderHandler.h View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebRTCDTMFSenderHandler.cpp View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.h View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.cpp View 1 2 1 chunk +281 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebSpeechInputController.h View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebSpeechInputController.cpp View 1 2 1 chunk +186 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebSpeechRecognizer.h View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp View 1 2 1 chunk +226 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/NotificationPresenter.h View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/NotificationPresenter.cpp View 1 2 1 chunk +141 lines, -0 lines 0 comments Download
A + content/shell/renderer/test_runner/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A content/shell/renderer/test_runner/SpellCheckClient.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/SpellCheckClient.cpp View 1 2 1 chunk +143 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestCommon.h View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestCommon.cpp View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestInterfaces.h View 1 2 1 chunk +83 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestInterfaces.cpp View 1 2 1 chunk +191 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestPlugin.h View 1 2 1 chunk +137 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestPlugin.cpp View 1 2 1 chunk +560 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestRunner.h View 1 2 1 chunk +737 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TestRunner.cpp View 1 2 1 chunk +2132 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TextInputController.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/TextInputController.cpp View 1 2 1 chunk +193 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebAXObjectProxy.h View 1 2 1 chunk +145 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebAXObjectProxy.cpp View 1 2 1 chunk +1161 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebFrameTestProxy.h View 1 2 1 chunk +154 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebPermissions.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebPermissions.cpp View 1 2 1 chunk +113 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebScopedPtr.h View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTask.h View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTask.cpp View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestDelegate.h View 1 2 1 chunk +142 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestInterfaces.h View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestInterfaces.cpp View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestProxy.h View 1 2 1 chunk +539 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestProxy.cpp View 1 2 1 chunk +1367 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestRunner.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeControlWin.h View 1 2 1 chunk +175 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeControlWin.cpp View 1 2 1 chunk +465 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeEngineMac.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeEngineMac.mm View 1 2 1 chunk +173 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeEngineMock.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp View 1 2 1 chunk +601 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeEngineWin.h View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebTestThemeEngineWin.cpp View 1 2 1 chunk +716 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebUserMediaClientMock.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A content/shell/renderer/test_runner/WebUserMediaClientMock.cpp View 1 2 1 chunk +141 lines, -0 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/test/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M content/test/layouttest_support.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jochen (gone - plz use gerrit)
plz review Marc-Antoine, presubmit John, directory layout Adam, everything
7 years ago (2013-12-19 17:13:37 UTC) #1
jochen (gone - plz use gerrit)
On 2013/12/19 17:13:37, jochen wrote: > plz review > > Marc-Antoine, presubmit > John, directory ...
7 years ago (2013-12-19 17:14:26 UTC) #2
jam
quick questions: -does all the stuff in content/public need to be there? i.e. are some ...
7 years ago (2013-12-19 17:30:58 UTC) #3
abarth-chromium
On 2013/12/19 17:30:58, jam wrote: > -in general, when moving files like this we should ...
7 years ago (2013-12-19 17:37:39 UTC) #4
abarth-chromium
I didn't read all the files in detail, but LGTM https://codereview.chromium.org/110533009/diff/20001/content/content_layout_tests.gypi File content/content_layout_tests.gypi (right): https://codereview.chromium.org/110533009/diff/20001/content/content_layout_tests.gypi#newcode113 ...
7 years ago (2013-12-19 17:42:05 UTC) #5
M-A Ruel
PRESUBMIT.py lgtm
7 years ago (2013-12-19 17:53:51 UTC) #6
jochen (gone - plz use gerrit)
On 2013/12/19 17:30:58, jam wrote: > quick questions: > -does all the stuff in content/public ...
7 years ago (2013-12-19 18:41:34 UTC) #7
jam
On 2013/12/19 18:41:34, jochen wrote: > On 2013/12/19 17:30:58, jam wrote: > > quick questions: ...
7 years ago (2013-12-19 19:16:25 UTC) #8
jochen (gone - plz use gerrit)
On 2013/12/19 19:16:25, jam wrote: > On 2013/12/19 18:41:34, jochen wrote: > > On 2013/12/19 ...
7 years ago (2013-12-19 19:19:16 UTC) #9
jochen (gone - plz use gerrit)
John proposed via chat (if I understood correctly) to move the code inside content/shell - ...
7 years ago (2013-12-19 21:03:09 UTC) #10
abarth-chromium
On 2013/12/19 21:03:09, jochen wrote: > Is everybody ok with this approach? That fine with ...
7 years ago (2013-12-20 04:33:35 UTC) #11
jochen (gone - plz use gerrit)
I've moved the code inside content shell.
7 years ago (2013-12-20 10:31:17 UTC) #12
jochen (gone - plz use gerrit)
+torne for android_webview I've also added an OWNERS file with Adam and started a thread ...
7 years ago (2013-12-20 12:17:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/110533009/150001
7 years ago (2013-12-20 13:02:56 UTC) #14
Torne
android_webview license stuff LGTM
7 years ago (2013-12-20 13:21:17 UTC) #15
jochen (gone - plz use gerrit)
Committed patchset #9 manually as r242095 (presubmit successful).
7 years ago (2013-12-20 13:27:44 UTC) #16
jam
lgtm, thanks
7 years ago (2013-12-20 17:40:16 UTC) #17
jam
followup ping: this is still using webkit style, uses file names with capitals, isn't in ...
6 years, 9 months ago (2014-03-19 17:09:04 UTC) #18
jochen (gone - plz use gerrit)
On 2014/03/19 17:09:04, jam wrote: > followup ping: this is still using webkit style, uses ...
6 years, 9 months ago (2014-03-19 20:29:50 UTC) #19
jam
On 2014/03/19 20:29:50, jochen wrote: > On 2014/03/19 17:09:04, jam wrote: > > followup ping: ...
6 years, 9 months ago (2014-03-20 17:02:56 UTC) #20
jochen (gone - plz use gerrit)
6 years, 9 months ago (2014-03-20 20:05:30 UTC) #21
Message was sent while issue was closed.
On 2014/03/20 17:02:56, jam wrote:
> On 2014/03/19 20:29:50, jochen wrote:
> > On 2014/03/19 17:09:04, jam wrote:
> > > followup ping: this is still using webkit style, uses file names with
> > capitals,
> > > isn't in the content namespace etc. these are all things that it needs
since
> > > it's in src/content to be consistent with all the code there.
> > > 
> > > are there plans to convert this soon?
> > 
> > we currently convert the files while removing CppBoundClass instances which
is
> a
> > bit slow. You should see already a few files like test_runner.cc. After
that,
> > the rest should be more or less mechanical
> 
> ok, thanks for the update. just to be clear, so there are people already
tasked
> with doing this? or are you saying that it should be easy for anyone to
convert?

nobody has signed up yet for it. I plan to find an owner for converting the rest
once CppBoundClass is gone.

Powered by Google App Engine
This is Rietveld 408576698