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

Issue 9664065: Base test case of a multi-test now insists no static type warnings (Closed)

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

Description

Base test case of a multi-test now insists no static type warnings There were 5 multitests that need adjustment after this change. 4 of them were trivial changes, so I went ahead and fixed them. http://code.google.com/p/dart/issues/detail?id=2107 Committed: https://code.google.com/p/dart/source/detail?r=5350

Patch Set 1 #

Patch Set 2 : Reverted SyntaxTest #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -25 lines) Patch
M tests/language/language.status View 2 chunks +2 lines, -0 lines 0 comments Download
M tests/language/src/FieldOverrideTest.dart View 2 chunks +3 lines, -4 lines 0 comments Download
M tests/language/src/OverrideMethodWithFieldTest.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/language/src/TypeVariableBounds2Test.dart View 3 chunks +12 lines, -3 lines 3 comments Download
M tests/language/src/WrongNumberTypeArgumentsTest.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M tools/testing/dart/multitest.dart View 3 chunks +41 lines, -12 lines 6 comments Download
M tools/testing/dart/test_runner.dart View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
zundel
https://chromiumcodereview.appspot.com/9664065/diff/1009/tests/language/src/TypeVariableBounds2Test.dart File tests/language/src/TypeVariableBounds2Test.dart (right): https://chromiumcodereview.appspot.com/9664065/diff/1009/tests/language/src/TypeVariableBounds2Test.dart#newcode12 tests/language/src/TypeVariableBounds2Test.dart:12: extends num /// 00: continued This test required a ...
8 years, 9 months ago (2012-03-12 14:54:38 UTC) #1
Bill Hesse
LGTM. http://codereview.chromium.org/9664065/diff/1009/tests/language/src/TypeVariableBounds2Test.dart File tests/language/src/TypeVariableBounds2Test.dart (right): http://codereview.chromium.org/9664065/diff/1009/tests/language/src/TypeVariableBounds2Test.dart#newcode35 tests/language/src/TypeVariableBounds2Test.dart:35: // In both production and checked modes, A<String> ...
8 years, 9 months ago (2012-03-12 16:02:49 UTC) #2
zundel
8 years, 9 months ago (2012-03-12 20:06:23 UTC) #3
https://chromiumcodereview.appspot.com/9664065/diff/1009/tools/testing/dart/m...
File tools/testing/dart/multitest.dart (right):

https://chromiumcodereview.appspot.com/9664065/diff/1009/tools/testing/dart/m...
tools/testing/dart/multitest.dart:104: "Invalid test directive '$nextOutcome' on
line ${lineCount}: ${annotation.rest} ");
On 2012/03/12 16:02:49, Bill Hesse wrote:
> Line too long?
> I think they have put concatenation of two adjacent strings in - is it in the
> VM?

Looks like we need to update the dart executable tools/testing/vm/<os> to get
it.

https://chromiumcodereview.appspot.com/9664065/diff/1009/tools/testing/dart/m...
tools/testing/dart/multitest.dart:119: if (outcomes[outcomeKey].isEmpty()) {
On 2012/03/12 16:02:49, Bill Hesse wrote:
> Why not: if outcomeKey != 'none' && outcomes[outcomeKey].isEmpty()

Done.

Powered by Google App Engine
This is Rietveld 408576698