Commit Graph

35087 Commits

Author SHA1 Message Date
lrn@google.com 2208fcd208 Change NotImplementedException to UnimplementedError.
Retain a NotImplementedException type for backwards compatibility.
This class will be removed soon.
The constructor of UnimplementedError is currently const in order to
support the NotImplementedException. That will be fixed too.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14467 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 13:18:37 +00:00
lrn@google.com d3a6c41136 Temporarily reintroduce IndexOutOfRangeError matcher in unittests.
For even more backwards compatibility, don't remove the matcher yet.
Also change inheritance structure to make catching RangeError with
"on IndexOutOfRangeException" work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14456 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 09:04:18 +00:00
johnniwinther@google.com b0263c0511 Merge SourceLocation and Source
Review URL: https://codereview.chromium.org//11275097

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14454 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 08:12:23 +00:00
ahe@google.com bff4aee22a Lightweight asynchronous test helper.
Review URL: https://codereview.chromium.org//11358039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14452 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 07:24:57 +00:00
gram@google.com fdb33dc06b git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14445 260f80e4-7a28-3924-810f-c04153c831b5 2012-11-01 23:36:51 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
gram@google.com 504b13a80e Fix test statuses of some tests that were marked as Fail but now pass as we
support new library syntax.
Review URL: https://codereview.chromium.org//11293048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14439 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 22:15:38 +00:00
sigmund@google.com 17cf77cbbb Fix missing argument in unittest
Review URL: https://codereview.chromium.org//11367038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14424 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 18:35:33 +00:00
antonm@google.com 594b09ced4 Hopefully the last touch.
TBR=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14416 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 16:47:29 +00:00
antonm@google.com 9937d0238c Splt dartium and drt expectations.
TBR=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14411 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 15:19:44 +00:00
antonm@google.com 350b034161 Suppress test which were migrated to new library syntax.
Alas, current testing framework doesn't support this new syntax for browser
tests.

TBR=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14409 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 14:50:08 +00:00
lrn@google.com 7e6ae8ea09 Renaming IndexOutOfRangeException to RangeError.
It now extends ArgumentError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14405 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 13:46:30 +00:00
johnniwinther@google.com 2a9517dcd9 List abstract classes separately in Dartdoc
Review URL: https://codereview.chromium.org//11361029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14401 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 12:36:14 +00:00
johnniwinther@google.com 30f5c628c9 Named arguments printed correctly by Dartdoc
Review URL: https://codereview.chromium.org//11363031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14400 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 12:31:35 +00:00
alanknight@google.com 7c260bbdfb Update status file that was expecting intl tests to fail due to import directives
Review URL: https://codereview.chromium.org//11365015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14375 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 22:15:52 +00:00
alanknight@google.com 8352fb6c7e Update intl to new import syntax
Review URL: https://codereview.chromium.org//11366016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14372 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 21:32:10 +00:00
amouravski@google.com 07b92a1f2f "Reverting 14361" to fix a break.
Review URL: https://codereview.chromium.org//11360015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14370 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 20:20:05 +00:00
gram@google.com 806d61f077 Fix issue 6389; Asynchronous test failures cause cascading bugs in asynchronous tests.
http://code.google.com/p/dart/issues/detail?id=6389
Review URL: https://codereview.chromium.org//11363019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14369 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 20:19:33 +00:00
hausner@google.com 29c1668cb9 Prevent mutation of final variables
Fixes issue 4328
Review URL: https://codereview.chromium.org//11363012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14366 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 19:43:44 +00:00
amouravski@google.com c9cb61c1fd Cleanup run on DartDoc tests.
Review URL: https://codereview.chromium.org//11359005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14361 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 18:10:42 +00:00
amouravski@google.com fd131176e4 Removed unnecessary entires in status file.
Review URL: https://codereview.chromium.org//11275080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14352 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 17:29:12 +00:00
amouravski@google.com d87adaf1d4 Fixed build break by updating expectation of tests.
Some tests were marked as fail OK, but now the underlying problem is fixed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14351 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 17:00:27 +00:00
antonm@google.com a2326d001b Support for Chrome roll.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14346 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 15:24:30 +00:00
amouravski@google.com 86d0e0e347 Cleanup run on DartDoc from Dart Editor.
Review URL: https://codereview.chromium.org//11339056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14345 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 15:08:22 +00:00
johnniwinther@google.com c12647ea46 Properties added to MethodMirror
Review URL: https://codereview.chromium.org//11363007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14339 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 13:49:39 +00:00
lrn@google.com 07172b0b0f Fix another now-passing test expectation.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14336 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:48:50 +00:00
lrn@google.com afbba1692c Fix more expectations, now that a test isn't wrong any more.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14335 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:20:26 +00:00
lrn@google.com 3395a69db1 Update test expectations for dartc/dartium.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14327 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:30:29 +00:00
johnniwinther@google.com 32b27bd498 Update MirrorSystem
Review URL: https://codereview.chromium.org//11366004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14326 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:59:03 +00:00
johnniwinther@google.com ec9e32f669 ObjectMirror => ContainerMirror
declaredMembers => members

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14325 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:51:10 +00:00
lrn@google.com a8720a6d9c Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

Committed: https://code.google.com/p/dart/source/detail?r=14254

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14324 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:32:54 +00:00
johnniwinther@google.com e3363ca49e ParameterMirror extends VariableMirror
Review URL: https://codereview.chromium.org//11358005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14322 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:14:03 +00:00
johnniwinther@google.com 9f771438ef TypeVariableMirror and TypedefMirror updated.
Review URL: https://codereview.chromium.org//11345035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14318 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 08:02:23 +00:00
johnniwinther@google.com 9dd3795cca FieldMirror => VariableMirror
+ member access methods

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14317 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 07:58:01 +00:00
johnniwinther@google.com e314b3f21b Member functions added to ClassMirror
Review URL: https://codereview.chromium.org//11338036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14283 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 14:31:11 +00:00
johnniwinther@google.com fba7570f65 Alignments for the ClassMirror interface.
Review URL: https://codereview.chromium.org//11348036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14282 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 14:25:26 +00:00
johnniwinther@google.com f3cd95e744 LibraryMirror interface updated to match dart:mirrors.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14276 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 13:34:52 +00:00
johnniwinther@google.com ab5d5b9200 isPrivate, isTopLevel moved to DeclarationMirror
Review URL: https://codereview.chromium.org//11347035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14270 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 12:12:06 +00:00
johnniwinther@google.com bad0f22863 Change surroundingDeclaration to DeclarationMirror.owner
Review URL: https://codereview.chromium.org//11337021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:36:44 +00:00
johnniwinther@google.com 72a529d5fc Move location to DeclarationMirror
Review URL: https://codereview.chromium.org//11345026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14262 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:12:26 +00:00
lrn@google.com 895d155ab1 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14260 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:47:42 +00:00
johnniwinther@google.com 1c222724d8 Introduce DeclarationMirror
Review URL: https://codereview.chromium.org//11338031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14257 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:25:27 +00:00
johnniwinther@google.com a9ec3ff87b Rename InterfaceMirror to ClassMirror
Review URL: https://codereview.chromium.org//11341037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14256 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:21:18 +00:00
lrn@google.com 4a24ddc1d4 Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14254 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:04:12 +00:00
ricow@google.com 318798e48c Add additional test harness error handling to test_controller.
We are seeing messed up output on firefox and the existing
eventhandler listinging for error is not sufficient for getting full
error output on firefox.
Review URL: https://codereview.chromium.org//11339039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14253 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:02:46 +00:00
scheglov@google.com 2e574c8c14 Issue 5887. Parts must start with 'part of'.
Second attempt.
Now only DartC changes, and status updates.
So, should not break anyone else.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:17:28 +00:00
lrn@google.com 778b0dc5e5 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14199 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 14:07:10 +00:00
lrn@google.com 0bcd2f4f7b Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14198 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 13:34:58 +00:00
scheglov@google.com dce51bf910 Using 'interface' and 'abstract' for methods should produce error
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14165 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-27 16:22:18 +00:00
gram@google.com 0b097d118e Fixed unittest documentation to use new import syntax.
See https://codereview.chromium.org/11229063/

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14160 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 23:14:28 +00:00