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

Issue 8889016: Enable Dartium tests in tools/test.dart. (Closed)

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

Description

Enable Dartium tests in tools/test.dart. BUG= TEST=tools/test.dart Committed: https://code.google.com/p/dart/source/detail?r=2312

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed comments. #

Total comments: 4

Patch Set 3 : Merge with caching of test info. #

Patch Set 4 : Disable dartc test suite on non-dartc components. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -13 lines) Patch
M tools/test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A tools/testing/dart/browser_test.dart View 1 1 chunk +105 lines, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 3 5 chunks +66 lines, -6 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 7 chunks +121 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Bill Hesse
This is not polished yet, but you can get a feel for the design before ...
9 years ago (2011-12-08 17:08:01 UTC) #1
Mads Ager (google)
Looks pretty simple. Let's get this finished ASAP! http://codereview.chromium.org/8889016/diff/1/tools/testing/dart/browser_test.dart File tools/testing/dart/browser_test.dart (right): http://codereview.chromium.org/8889016/diff/1/tools/testing/dart/browser_test.dart#newcode8 tools/testing/dart/browser_test.dart:8: String ...
9 years ago (2011-12-09 09:21:11 UTC) #2
Bill Hesse
http://codereview.chromium.org/8889016/diff/1/tools/testing/dart/browser_test.dart File tools/testing/dart/browser_test.dart (right): http://codereview.chromium.org/8889016/diff/1/tools/testing/dart/browser_test.dart#newcode57 tools/testing/dart/browser_test.dart:57: String library) => """ On 2011/12/09 09:21:12, Mads Ager ...
9 years ago (2011-12-09 12:33:28 UTC) #3
Mads Ager (google)
9 years ago (2011-12-09 13:19:37 UTC) #4
LGTM with a couple of comments.

http://codereview.chromium.org/8889016/diff/3002/tools/testing/dart/test_runn...
File tools/testing/dart/test_runner.dart (right):

http://codereview.chromium.org/8889016/diff/3002/tools/testing/dart/test_runn...
tools/testing/dart/test_runner.dart:83: /** RunningProcess.start() handles
CompilingTestCase specially, executing
BrowserTestCase

I would reformulate to say something about the class instead of start:

/**
  * BrowserTestCase that is handled specially by...
  */
?

http://codereview.chromium.org/8889016/diff/3002/tools/testing/dart/test_runn...
tools/testing/dart/test_runner.dart:240: 
Remove the extra new lines.

http://codereview.chromium.org/8889016/diff/3002/tools/testing/dart/test_suit...
File tools/testing/dart/test_suite.dart (right):

http://codereview.chromium.org/8889016/diff/3002/tools/testing/dart/test_suit...
tools/testing/dart/test_suite.dart:265: // Only run the tests that match the
pattern.
I still think these line should be extracted into a helper that returns a
boolean indicating whether the test should be skipped?

http://codereview.chromium.org/8889016/diff/3002/tools/testing/dart/test_suit...
tools/testing/dart/test_suite.dart:300: // TODO(whesse): Create directory in the
client case, if it doesn't exist.
I'm not sure I understand this TODO. If client doesn't exist should you get
here? If you should then you should deal with this TODO before commit.

Powered by Google App Engine
This is Rietveld 408576698