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

Issue 9662063: Fix some type and logical errors in test.dart, found by the Dart editor. (Closed)

Created:
8 years, 9 months ago by Bill Hesse
Modified:
8 years, 9 months ago
Reviewers:
zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix some type and logical errors in test.dart, found by the Dart editor. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=5334

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix a type error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -19 lines) Patch
M tools/testing/dart/multitest.dart View 4 chunks +5 lines, -5 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tools/testing/dart/test_progress.dart View 2 chunks +3 lines, -0 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 12 chunks +24 lines, -13 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Bill Hesse
8 years, 9 months ago (2012-03-12 15:20:18 UTC) #1
zundel
http://codereview.chromium.org/9662063/diff/1/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): http://codereview.chromium.org/9662063/diff/1/tools/testing/dart/test_runner.dart#newcode279 tools/testing/dart/test_runner.dart:279: for (String line in super.stderr) { This is really ...
8 years, 9 months ago (2012-03-12 15:35:27 UTC) #2
zundel
lgtm http://codereview.chromium.org/9662063/diff/1/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): http://codereview.chromium.org/9662063/diff/1/tools/testing/dart/test_runner.dart#newcode279 tools/testing/dart/test_runner.dart:279: for (String line in super.stderr) { On 2012/03/12 ...
8 years, 9 months ago (2012-03-12 16:40:19 UTC) #3
Bill Hesse
8 years, 9 months ago (2012-03-12 17:28:10 UTC) #4
https://chromiumcodereview.appspot.com/9662063/diff/1/tools/testing/dart/test...
File tools/testing/dart/test_runner.dart (right):

https://chromiumcodereview.appspot.com/9662063/diff/1/tools/testing/dart/test...
tools/testing/dart/test_runner.dart:279: for (String line in super.stderr) {
This class and the superclass are supposed to have the same types for stderr. 
I'm just trying to avoid the top level OutputStream stderr from dart:io. 
Inherited names are weaker than global scope names.

Otherwise, we can change all of these to stderrLines.


On 2012/03/12 15:35:27, zundel wrote:
> This is really tricky, overriding a field/getter in the superclass with a
> different type.  I believe that is supposed to cause a type error as well.  I
> think it would be better to rename one of the fields.

https://chromiumcodereview.appspot.com/9662063/diff/1/tools/testing/dart/test...
tools/testing/dart/test_runner.dart:1017: if (const
RegExp("selenium-server-standalone-.*\.jar").hasMatch(file)
This is a stray typo.

This accidentally made it into the commit.  Will be reverted.

Powered by Google App Engine
This is Rietveld 408576698