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

Issue 14436004: Add a new test suite 'analyze_tests' (Closed)

Created:
7 years, 8 months ago by Søren Gjesse
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a new test suite 'analyze_tests' The new test suite 'analyze_tests' will run the analyzer on the selected tests, and fail if there are static type errors. Currently only the tests in tests/standalone are included, but that can easily be expanded. The reason for starting this was that for M4 we where missing two 'part' files in io.dart (for the HttpBody utility class). This caused the use of HttpBody in the editor to be complicated. With static type checking on the tests which tested HttpBody this mistake would have been caught. R=ager@google.com, ricow@google.com, kustermann@google.com, ajohnsen@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=21944

Patch Set 1 #

Patch Set 2 : Fixed a test with type errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -3 lines) Patch
A tests/lib/analyzer/analyze_tests.status View 1 chunk +38 lines, -0 lines 0 comments Download
M tests/lib/analyzer/test_config.dart View 1 chunk +17 lines, -0 lines 0 comments Download
M tests/standalone/io/file_test.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/test.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
7 years, 8 months ago (2013-04-23 15:22:30 UTC) #1
Mads Ager (google)
LGTM
7 years, 8 months ago (2013-04-23 15:24:01 UTC) #2
kustermann
lgtm
7 years, 8 months ago (2013-04-24 09:12:16 UTC) #3
Søren Gjesse
7 years, 8 months ago (2013-04-24 12:47:22 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r21944 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698