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

Issue 10541140: re-writes some static field negative tests for use with analyzer (Closed)

Created:
8 years, 6 months ago by zundel
Modified:
8 years, 6 months ago
Reviewers:
ahe, scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

re-writes some static field negative tests for use with analyzer Committed: https://code.google.com/p/dart/source/detail?r=8628

Patch Set 1 : # #

Total comments: 8

Patch Set 2 : Refactored shared test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -118 lines) Patch
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java View 27 chunks +55 lines, -32 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -4 lines 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +2 lines, -2 lines 0 comments Download
D tests/language/static_field1_run_negative_test.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D tests/language/static_field1a_run_negative_test.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D tests/language/static_field2_run_negative_test.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D tests/language/static_field2a_run_negative_test.dart View 1 chunk +0 lines, -20 lines 0 comments Download
M tests/language/static_field_test.dart View 1 1 chunk +47 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
zundel
@Peter, could you review the refactoring of the negative tests into a multitest? @Konstantin, The ...
8 years, 6 months ago (2012-06-13 13:54:50 UTC) #1
scheglov
LGTM
8 years, 6 months ago (2012-06-13 14:24:31 UTC) #2
ahe
I think the test is correct, but I do have a few suggestions. LGTM, but ...
8 years, 6 months ago (2012-06-13 14:27:24 UTC) #3
zundel
@Peter: PTAL https://chromiumcodereview.appspot.com/10541140/diff/9/tests/language/static_field_test.dart File tests/language/static_field_test.dart (right): https://chromiumcodereview.appspot.com/10541140/diff/9/tests/language/static_field_test.dart#newcode69 tests/language/static_field_test.dart:69: var foo = new StaticField1RunNegativeTest(); On 2012/06/13 ...
8 years, 6 months ago (2012-06-13 15:15:43 UTC) #4
ahe
8 years, 6 months ago (2012-06-13 15:26:08 UTC) #5
LGTM

https://chromiumcodereview.appspot.com/10541140/diff/9001/tests/language/stat...
File tests/language/static_field_test.dart (right):

https://chromiumcodereview.appspot.com/10541140/diff/9001/tests/language/stat...
tests/language/static_field_test.dart:70: print(x); // to compile 'x'
Not a proper sentence: first letter should be uppercase, and terminated with a
period.

Powered by Google App Engine
This is Rietveld 408576698