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

Issue 9666053: Add get_drt.py to test.dart, so that testing browser components updates DumpRenderTree. (Closed)

Created:
8 years, 9 months ago by Bill Hesse
Modified:
8 years, 9 months ago
Reviewers:
vsm, Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add get_drt.py to test.dart, so that testing browser components updates DumpRenderTree. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=5341

Patch Set 1 #

Total comments: 16

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -40 lines) Patch
A tools/testing/dart/drt_updater.dart View 1 1 chunk +46 lines, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 chunks +6 lines, -0 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 7 chunks +58 lines, -40 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Bill Hesse
http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater.dart File tools/testing/dart/drt_updater.dart (right): http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater.dart#newcode44 tools/testing/dart/drt_updater.dart:44: // blah blah blah Remove Bob Loblaw.
8 years, 9 months ago (2012-03-12 13:38:32 UTC) #1
Mads Ager (google)
LGTM with minor comments. http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater.dart File tools/testing/dart/drt_updater.dart (right): http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater.dart#newcode14 tools/testing/dart/drt_updater.dart:14: static Process updatingProcess; Make this ...
8 years, 9 months ago (2012-03-12 14:09:20 UTC) #2
vsm
DBC Thanks for doing this! http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater.dart File tools/testing/dart/drt_updater.dart (right): http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater.dart#newcode35 tools/testing/dart/drt_updater.dart:35: 'webdriver'].some((x) => x == ...
8 years, 9 months ago (2012-03-12 15:53:21 UTC) #3
Bill Hesse
'chromium' is being removed, as well. On 2012/03/12 15:53:21, vsm wrote: > DBC > > ...
8 years, 9 months ago (2012-03-12 16:18:55 UTC) #4
Bill Hesse
8 years, 9 months ago (2012-03-12 18:13:34 UTC) #5
http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
File tools/testing/dart/drt_updater.dart (right):

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:14: static Process updatingProcess;
On 2012/03/12 14:09:20, Mads Ager wrote:
> Make this private?

Done.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:31: const <String>['dartium',
On 2012/03/12 14:09:20, Mads Ager wrote:
> return TestUtils.isBrowserComponent(component)?

This is an open question - should these be assumed to have the same semantics? 
In which case, which library should import the other?  This will be a circular
dependency, while this way drt_updater has no dependency on anything.  I'll
change this later, if you want.


And now, after the changes, they are different: webdriver is a browser test, but
not a DRT test.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:35: 'webdriver'].some((x) => x ==
component);
On 2012/03/12 15:53:21, vsm wrote:
> webdriver shouldn't need DRT.  It'll use chrome (or another browser) instead.

Done.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:37: static String get getDrtPath() {
On 2012/03/12 14:09:20, Mads Ager wrote:
> Make this private?

Done.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:43: static void onUpdatedHandler(int
exit_code) {
On 2012/03/12 14:09:20, Mads Ager wrote:
> Make this private.

Done.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:44: // blah blah blah
On 2012/03/12 13:38:32, Bill Hesse wrote:
> Remove Bob Loblaw.

Done.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:45: print('DumpRenderTree
updated($exit_code)');
On 2012/03/12 14:09:20, Mads Ager wrote:
> Space between "updated" and "($exit_code)"?

Done.

http://codereview.chromium.org/9666053/diff/1/tools/testing/dart/drt_updater....
tools/testing/dart/drt_updater.dart:46: for (var callback in onUpdated )
callback();
On 2012/03/12 14:09:20, Mads Ager wrote:
> Remove trailing space after onUpdated.

Done.

Powered by Google App Engine
This is Rietveld 408576698