Commit Graph

5 Commits

Author SHA1 Message Date
sgjesse@google.com 921653a087 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=

Review URL: https://codereview.chromium.org//14436004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:47:13 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

Review URL: https://codereview.chromium.org//14426006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
ahe@google.com a260cab0d6 Update dartc status.
Review URL: https://codereview.chromium.org//14263010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21473 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:42:48 +00:00
asiva@google.com 1d8b30b3de Remove reference to scalarlist library in internal analyzer test.
Review URL: https://codereview.chromium.org//13328003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20685 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 18:49:34 +00:00
ager@google.com ee442f190e Add dart analyzer test suite 'analyze_library' that fails if we
introduce static type warnings in certain dart libraries.

I wanted this for dart:io and might as well add it for the other
libraries that have no warnings when analyzed.

This required a bit of test script reworking. dartc used a leading
hash in a file to determine if it was a test. That is now broken
and has been removed. This also allowed me to override the
readOptionsFromFile method in test suites so that certain analyzer
test suites can require all tests to be static clean.

R=ricow@google.com,kustermann@google.com,sgjesse@google.com,danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//12475004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19597 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 07:25:32 +00:00