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

Issue 9479034: Update test.dart for detection output of machine formatted errors (Closed)

Created:
8 years, 10 months ago by zundel
Modified:
8 years, 9 months ago
CC:
reviews_dartlang.org, Mads Ager (google)
Visibility:
Public.

Description

Update test.dart for detection output of machine formatted errors

Patch Set 1 : Update test.dart for detection output of machine formatted errors #

Total comments: 12

Patch Set 2 : Removed --fatal-type-errors from negative tests, now use /// type annotation #

Patch Set 3 : Updates the multitest logic. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -63 lines) Patch
M compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java View 1 2 chunks +17 lines, -6 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java View 1 1 chunk +2 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/PrettyErrorFormatterTest.java View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/co19/co19-compiler.status View 1 1 chunk +0 lines, -2 lines 0 comments Download
M tests/language/language.status View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M tests/language/src/BoolTest.dart View 1 2 2 chunks +3 lines, -3 lines 2 comments Download
M tests/language/src/Prefix22NegativeTest.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/src/Prefix23NegativeTest.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/testing/dart/multitest.dart View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 11 chunks +189 lines, -21 lines 2 comments Download
M tools/testing/dart/test_suite.dart View 1 2 10 chunks +43 lines, -21 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
zundel
Not yet ready for prime time - is this what you had in mind? This ...
8 years, 10 months ago (2012-02-28 02:17:01 UTC) #1
Bill Hesse
LGTM. https://chromiumcodereview.appspot.com/9479034/diff/1005/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://chromiumcodereview.appspot.com/9479034/diff/1005/tools/testing/dart/test_runner.dart#newcode168 tools/testing/dart/test_runner.dart:168: Could this be an interface? Do interfaces have ...
8 years, 9 months ago (2012-02-28 14:06:38 UTC) #2
zundel
Thanks for taking a look https://chromiumcodereview.appspot.com/9479034/diff/1005/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://chromiumcodereview.appspot.com/9479034/diff/1005/tools/testing/dart/test_runner.dart#newcode168 tools/testing/dart/test_runner.dart:168: On 2012/02/28 14:06:38, Bill ...
8 years, 9 months ago (2012-02-28 14:12:08 UTC) #3
zundel
https://chromiumcodereview.appspot.com/9479034/diff/1005/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://chromiumcodereview.appspot.com/9479034/diff/1005/tools/testing/dart/test_runner.dart#newcode171 tools/testing/dart/test_runner.dart:171: On 2012/02/28 14:12:09, zundel wrote: > On 2012/02/28 14:06:38, ...
8 years, 9 months ago (2012-02-28 14:22:35 UTC) #4
scheglov
LGTM for DartC part. https://chromiumcodereview.appspot.com/9479034/diff/1005/compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java File compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java (right): https://chromiumcodereview.appspot.com/9479034/diff/1005/compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java#newcode158 compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java:158: StringBuffer result = new StringBuffer(); ...
8 years, 9 months ago (2012-02-28 23:59:29 UTC) #5
zundel
I am still stymied by the stderr from one test creeping in to the test ...
8 years, 9 months ago (2012-02-29 08:11:40 UTC) #6
zundel
I split this CL in half, one to address the errors in the wrong place, ...
8 years, 9 months ago (2012-03-01 06:09:14 UTC) #7
scheglov
No DartC changes, so still LGTM for me. https://chromiumcodereview.appspot.com/9479034/diff/16001/tests/language/src/BoolTest.dart File tests/language/src/BoolTest.dart (right): https://chromiumcodereview.appspot.com/9479034/diff/16001/tests/language/src/BoolTest.dart#newcode40 tests/language/src/BoolTest.dart:40: Expect.equals(true, ...
8 years, 9 months ago (2012-03-01 21:42:29 UTC) #8
zundel
8 years, 9 months ago (2012-03-01 21:51:43 UTC) #9
https://chromiumcodereview.appspot.com/9479034/diff/16001/tests/language/src/...
File tests/language/src/BoolTest.dart (right):

https://chromiumcodereview.appspot.com/9479034/diff/16001/tests/language/src/...
tests/language/src/BoolTest.dart:40: Expect.equals(true, true !== (true ==
false));
On 2012/03/01 21:42:30, scheglov wrote:
> Why these trailing spaces?

I will take care of them. I was abusing BoolTest to make sure all the different
scenarios I just added were working.

Powered by Google App Engine
This is Rietveld 408576698