gram@google.com
e3deeefa4d
Change isFalse to test against false instead of against true. (Issue 6611).
...
Review URL: https://codereview.chromium.org//11368151
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14798 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 18:16:25 +00:00
floitsch@google.com
8e6f238f86
a === b -> identical(a, b)
...
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
rnystrom@google.com
016676683a
Update fixnum to new package guidelines.
...
BUG=
Review URL: https://codereview.chromium.org//11405003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14760 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 21:28:21 +00:00
gram@google.com
cd8b10c1b5
Rearange the mock.dart comments for better doc formatting.
...
Review URL: https://codereview.chromium.org//11363154
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14749 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 18:41:40 +00:00
amouravski@google.com
73f6d857a5
Hack fix to include Mock in the API documentation.
...
Review URL: https://codereview.chromium.org//11312160
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14717 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 00:42:12 +00:00
efortuna@google.com
2948b9c835
Fix stale copy of unittest config.
...
Review URL: https://codereview.chromium.org//11377043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14666 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:56:20 +00:00
efortuna@google.com
bf9cd05e79
Move html_individual_config to correct location after tree rearranging.
...
Review URL: https://codereview.chromium.org//11362147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14664 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:53:11 +00:00
efortuna@google.com
3476d1c528
Run large html tests individually.
...
Review URL: https://codereview.chromium.org//11293019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14663 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:42:50 +00:00
nweiz@google.com
7058600a3a
Add a multipart HTTP request class.
...
Review URL: https://codereview.chromium.org//11363094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14651 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 20:59:59 +00:00
gram@google.com
afd6a79416
Update library syntax in pkg files.
...
Review URL: https://codereview.chromium.org//11362139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14646 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 18:52:40 +00:00
antonm@google.com
65b06a1601
Remove suppressions for now passing tests.
...
R=podivilov@chromium.org
Review URL: https://codereview.chromium.org//11369119
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14640 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 17:32:07 +00:00
sgjesse@google.com
f12c9bca71
Correct entry in pkg.status file
...
TBR=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//11364125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14628 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 15:24:16 +00:00
sgjesse@google.com
888322f484
Mark pkg/http/test/request_test flaky on Windows
...
R=ager@google.com
BUG=dart:6594
Review URL: https://codereview.chromium.org//11377025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14624 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 14:27:25 +00:00
sgjesse@google.com
ada7ba7414
Add debug print to try to find the issue with test pkg/http/test/request_test.dart
...
The flakines of the test have not been reproduced locally (neither on
Linux nor on Windows). Adding debug print for more diagnstics.
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//11369096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14579 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 15:57:39 +00:00
sgjesse@google.com
d83354b83d
Keep track of the request and response state in the HTTP client connection
...
In a HTTP client connection it is possible for the response to end
before the request has been fully sent. This situation was not handled
correctly. Now the HTTP client connection keeps track of the state of
both request and response and doen not end the client connection
before both are done.
R=ager@google.com
BUG=dart:6521
Review URL: https://codereview.chromium.org//11361119
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14559 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:28:19 +00:00
nweiz@google.com
64c2c67a79
Add a mock HTTP client class.
...
Review URL: https://codereview.chromium.org//11362097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14546 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 23:47:00 +00:00
scheglov@google.com
1d310ff72c
Report error for deprecated #library #import #source
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11366078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00
ricow@google.com
9f1fa8b10e
Suppress new pkg/http/http_test, it is flaky
...
Filed issue 6521 to track this
Review URL: https://codereview.chromium.org//11361085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14509 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-04 16:33:34 +00:00
nweiz@google.com
549efe3bdf
Add an HTTP library that wraps dart:io.
...
Review URL: https://codereview.chromium.org//11363063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14502 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:55:01 +00:00
nweiz@google.com
e6a33d23fb
Reverting 14496
...
Review URL: https://codereview.chromium.org//11293075
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14498 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:13:14 +00:00
nweiz@google.com
f6f3e1d556
Add an HTTP library that wraps dart:io.
...
Review URL: https://codereview.chromium.org//11338054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14496 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 19:45:04 +00:00
gram@google.com
f98f92be9d
Fix mock library to use new noSuchMethod signature.
...
Review URL: https://codereview.chromium.org//11363058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14494 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 18:32:09 +00:00
dgrove@google.com
037b2f8c60
svn add sdk
...
svn mv lib/sdk
svn mv lib/sdk/compiler sdk/lib/_internal
svn mv pkg/dartdoc sdk/lib/_internal
(cannot gcl upload due to .png's in dartdoc)
TBR=iposva
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14473 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 14:53:15 +00:00
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