Commit graph

761 commits

Author SHA1 Message Date
lrn@google.com
f4300b84a2 Make List.from and Iterable.toList default to not growable.
Review URL: https://codereview.chromium.org//12401002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19391 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 14:55:40 +00:00
gram@google.com
786a2463a6 There are features needed for unittest impl that don't make a lot of sense for users.
BUG=https://code.google.com/p/dart/issues/detail?id=8878
Review URL: https://codereview.chromium.org//12377055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19347 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-02 01:08:33 +00:00
gram@google.com
b1f515c1ce Fix build break with dart2js not liking conditional expressions in initializers of const classes.
Review URL: https://codereview.chromium.org//12393020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19341 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 22:20:14 +00:00
gram@google.com
9b40e6b13e Fix issue with async callbacks that get called synchronously while running test case function causing the test to be marked as complete prematurely.
Added an optional id to completion matchers that can be used in error messages (this was invaluable in tracking down the above problem).

Re-enable pub tests. https://code.google.com/p/dart/issues/detail?id=8862
Review URL: https://codereview.chromium.org//12393017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19339 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 21:49:15 +00:00
sigmund@google.com
5a1ee934cb pkg/unittest: Types, deprecations, docs
Add return types to a number of top-level members
deprecate callbackDone
guardAsync: added types, fixed documentation
- Shouldn't refer to private field in docs

Review URL: https://codereview.chromium.org//12381016
Patch from Kevin Moore <kevmoo@j832.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19335 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 18:49:35 +00:00
sigmund@google.com
d43f565f97 Don't use package: imports in logging until dartdoc/mirros support them.
Review URL: https://codereview.chromium.org//12380042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19270 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 00:32:14 +00:00
gram@google.com
d3a373e812 When we have excess callbacks, throw instead of calling error() so that we
get a stack trace.
Clean up SpreadArgsHelper.
We can now specify a min and max count for callbacks.
Split onTestResult into two - onTestResult and onTestResultChanged. The
first one is called initially, and the second if further callbacks occur 
after the test was considered complete, or if teardown fails.

See https://code.google.com/p/dart/issues/detail?id=8660
Review URL: https://codereview.chromium.org//12366004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19269 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 00:27:47 +00:00
nweiz@google.com
a903dfd3a4 Remove the wrapStream workaround for issue 8310.
Review URL: https://codereview.chromium.org//12374033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19266 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:24:21 +00:00
nweiz@google.com
3ce4e71a92 Make use of Completer.isComplete in pub and pkg/scheduled_test.
Review URL: https://codereview.chromium.org//12385027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19264 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:18:27 +00:00
nweiz@google.com
284649357a Fix the pkg/http multipart test to avoid a race condition.
BUG=8843

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19263 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:15:59 +00:00
nweiz@google.com
3dc5889034 Make oauth2 warning-clean.
Review URL: https://codereview.chromium.org//12379021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19262 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:08:27 +00:00
floitsch@google.com
51212d24ed Remove deprecated ms arguments for Timer and Future.
Review URL: https://codereview.chromium.org//12342014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19220 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:24:12 +00:00
nweiz@google.com
755454d444 Fix the pkg/http multipart tests.
Review URL: https://codereview.chromium.org//12385010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19200 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:46:46 +00:00
nweiz@google.com
ad5ec46189 Un-mark scheduled_test_test as skipped.
BUG=8844

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19198 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:33:10 +00:00
nweiz@google.com
a5c797e98d Reduce the number of times pumpEventQueue pumps.
r19179 makes pumping the event queue enough more expensive that the scheduled
test tests were routinely timing out.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19197 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:22:41 +00:00
nweiz@google.com
1ac65e06fe Add a change for r19194 that got eaten in a merge.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19196 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:21:57 +00:00
asiva@google.com
1c8138978c Fix status file.
Review URL: https://codereview.chromium.org//12383011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19195 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:21:18 +00:00
nweiz@google.com
63a8d1271f Change MultipartFile.fromFile to MultipartFile.fromPath in pkg/http.
This re-commits r19185, with all package: imports removed from pkg/http so that
it can transitively depend on pkg/path without breaking pub. This also marks
pkg/http/multipart_test as skipped temporarily (see issue 8843).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19194 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 01:16:10 +00:00
asiva@google.com
a4338c4865 Skip scheduled_test_test in debug mode under the VM as it seems to timeout always.
Review URL: https://codereview.chromium.org//12377006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19190 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 00:55:14 +00:00
nweiz@google.com
f28a7cbab9 Revert "Change MultipartFile.fromFile to MultipartFile.fromPath in pkg/http."
Review URL: https://codereview.chromium.org//12382003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19188 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 00:07:21 +00:00
sigmund@google.com
b9f616ec35 LoggerEvents get on -> Stream<LogRecord> get onRecord
Removed LoggerEvents, LoggerHandlerList, LoggerHandler

BUG=

Review URL: https://codereview.chromium.org//12334093
Patch from Kevin Moore <kevmoo@j832.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19187 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 00:05:06 +00:00
sigmund@google.com
f937c3629b make dartdoc and editor happy
added type to Logger.level setter
added type to Logger.root

Review URL: https://codereview.chromium.org//12316126
Patch from Kevin Moore <kevmoo@j832.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19186 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 23:43:01 +00:00
nweiz@google.com
e575394847 Change MultipartFile.fromFile to MultipartFile.fromPath in pkg/http.
This also makes pkg/http warning-clean.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19185 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 23:35:57 +00:00
nweiz@google.com
0a107333b7 Remove wrapInputStream and wrapOutputStream from pkg/http.
Review URL: https://codereview.chromium.org//12372002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19184 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 23:31:39 +00:00
nweiz@google.com
4eb2c68adf Fix a dartc error for pkg/http/multipart_test.
BUG=7458

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19180 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 22:55:22 +00:00
gram@google.com
2e8f08f25b TBR: Fix dartc break by removing re-export of fail from unittest; already in matcher.dart.
Review URL: https://codereview.chromium.org//12315140

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19173 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 21:37:54 +00:00
gram@google.com
512208ecaa Aligns with usage of FailureHandler and behavior of expect
Eliminates call: expect(false, isTrue, reason: ...)

BUG= https://code.google.com/p/dart/issues/detail?id=8450
Review URL: https://codereview.chromium.org//12328143

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19168 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 20:51:22 +00:00
gram@google.com
017d21bdc0 Unit test changes:
- add back KevMoo's assertions now that the bugs they exposed ar efixed
- remove onTestResult methods from a couple of configs; these did nothing other
  than prevent the base class implementation from being called which is wrong.
- fix the TestFunction signature
- change from ExpectException, which is deprecated, to TestFailure.
Review URL: https://codereview.chromium.org//12335113

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19166 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 19:57:40 +00:00
lrn@google.com
cea269dca8 Make List.from default to not growable.
Review URL: https://codereview.chromium.org//12335131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19130 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 13:09:11 +00:00
lrn@google.com
501819c2bf Make unit-test not create a fixed-length list of tests.
Review URL: https://codereview.chromium.org//12340100

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19122 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 10:15:31 +00:00
lrn@google.com
fa78a93635 Make arg parser return growable list of rest arguments.
This allows the user to remove them when he's done, which is what
is currently being done.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19119 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 09:48:17 +00:00
lrn@google.com
6b4f4b1bab Change new List(n) to return fixed length list.
Deprecate List.fixedLength, add List.filled.

Make Iterable.toList and List.from take "growable" argument,
defaulting to false.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 08:45:04 +00:00
gram@google.com
1f69581fb4 TBR: Removing the config assertions again; they still seem to be causing problems.
Review URL: https://codereview.chromium.org//12328120

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19094 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 23:03:22 +00:00
gram@google.com
0485f787c0 pkg/unittest: fixed asserts around currentTestCase
Fixed asserts originally in https://codereview.chromium.org/12328090/
removed by https://codereview.chromium.org/12330145/
Review URL: https://codereview.chromium.org//12340082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19088 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 22:06:06 +00:00
gram@google.com
336df64c51 Added ability for test cases to return Futures.
Review URL: https://codereview.chromium.org//12310123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19087 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 22:02:23 +00:00
sigmund@google.com
5ad88c9e0b unittest fix: Get rid of the deprecation of IllegalJsRegexException's matcher. The underlying type has
been deprecated for some time already, so I think we can safely get rid of this.
Adding the @deprecated works, but adding the dependence on meta breaks some of
our bots that don't use pub.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19083 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 21:39:34 +00:00
sigmund@google.com
198f8a4189 Fix unittest in checked mode
(partial revert of https://codereview.chromium.org/12328090)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19068 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 18:45:40 +00:00
sigmund@google.com
5947cf902c Configuration: make currentTestCase get-only
- Should be updated only by onTestStart, onTestResult
 - Added asserts to ensure calls to the above happen in expected order with reasonable values

Configuration: removed notifyController from
 - Does nothing, never called, never overridden

Configuration: add types to properties
 - Nice for dartdoc

deprecated throwsIllegalJSRegExpException
 - since IllegalJSRegExpException is also deprecated

Review URL: https://codereview.chromium.org//12328090
Patch from Kevin Moore <kevmoo@j832.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19067 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 18:34:59 +00:00
nweiz@google.com
c9c40b0c40 Add a nothing descriptor to scheduled_test.
BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19018 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 23:26:51 +00:00
nweiz@google.com
0014d54850 Add an async descriptor to scheduled_test.
BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19008 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 22:10:17 +00:00
sigmund@google.com
a50b019f35 Add comment in unittest
Review URL: https://codereview.chromium.org//12316106

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18993 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 19:23:56 +00:00
lrn@google.com
3c0ac360e7 Remove deprecated string features.
Make String.codeUnits return a List.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 10:48:09 +00:00
devoncarew@google.com
8fb803a971 Disambiguate a library prefix and a local variable in pkg/scheduled_test/lib/src/descriptor/utils.dart - fix for the dartc bots.
Review URL: https://codereview.chromium.org//12340041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18943 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-24 00:34:19 +00:00
nweiz@google.com
2431045f4d One final fix to the descriptor test on Windows.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18936 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-23 00:56:48 +00:00
nweiz@google.com
26e739d11c Always use POSIX path in Entry.load in scheduled_test.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18935 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-23 00:41:47 +00:00
nweiz@google.com
60539a0bae Match cross-platform path separators.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18931 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 23:50:13 +00:00
nweiz@google.com
f338f92978 Ensure scheduled_test directory entries are sorted when displaying error messages.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18930 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 23:20:25 +00:00
nweiz@google.com
1b886552df Fix some dumb test-breaking errors.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18929 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 23:05:45 +00:00
nweiz@google.com
3dc2490a27 Add a filesystem descriptor library to scheduled_test.
BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18928 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 23:01:51 +00:00
sigmund@google.com
1ce392bfb1 Fix use of string buffer in pathos
Review URL: https://codereview.chromium.org//12330077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18917 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 21:17:55 +00:00
nweiz@google.com
c8f6014ae7 Move pkg/path to pkg/pathos.
Review URL: https://codereview.chromium.org//12316056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18906 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:45:55 +00:00
sigmund@google.com
16eba207b6 Fix use of stringbuffer in pkg/args
Review URL: https://codereview.chromium.org//12335035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18902 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:21:18 +00:00
sigmund@google.com
55cfa2d3d5 Some fixes in unittest after io v2
Review URL: https://codereview.chromium.org//12316072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18899 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 17:34:17 +00:00
nweiz@google.com
0faec39c7e Add path.joinAll.
Review URL: https://codereview.chromium.org//12314047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18860 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 22:48:30 +00:00
sgjesse@google.com
488b016a2f Merge IO v2 branch to bleeding edge
R=ager@google.com, ajohnsen@google.com, whesse@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18820 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 11:58:11 +00:00
kustermann@google.com
d2c575c0b0 Create generated tests inside the build directory
Patch Set 1 is a revert of r18295.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18802 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 08:10:37 +00:00
nweiz@google.com
94eaaa79d1 Support nested tasks in scheduled_test.
BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18800 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 23:57:28 +00:00
floitsch@google.com
ecce8a6293 Remove deprecated Strings class.
Review URL: https://codereview.chromium.org//12295014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
ahe@google.com
4791afea54 Provide more information about non-unittest failures.
Review URL: https://codereview.chromium.org//12296025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18679 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 12:47:50 +00:00
lrn@google.com
bbfe7b02dc Reapply "Make Comparable generic."
Avoid concurrent modification in dart2js.
Avoid crash in VM by not using self-referential type bound.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18667 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 10:29:44 +00:00
kasperl@google.com
d4feeb4910 Revert "Make Comparable generic."
This reverts commit dd714db881a0ad63eaa1e5491e93dd8843eb5929.

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18657 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 08:06:03 +00:00
lrn@google.com
a0f22b77be Make Comparable generic.
It's now allowed to write "class X implements Comparable<X>" to make
X comparable only to X's. The argument type of Comparable<T>.compareTo
is now T.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18655 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 07:52:24 +00:00
lrn@google.com
03f5a66836 Recommit changing List.skip/take/revert returns Iterable and remove mappedBy.
This reverts r18591.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18615 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-18 10:35:51 +00:00
rnystrom@google.com
0e0473d33a Unbreak pub:
Revert "Make List.skip, List.take and List.reversed return Iterables, not Lists."

This reverts commit 44c3745a76acfad3d1d5bfc7a8b8c8e2def30e09.

Revert "Remove deprecated mappedBy."

This reverts commit 779ab69eab73e5e349245e99560b18955908e0cc.

BUG=dartbug.com/8560

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18591 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 18:38:42 +00:00
floitsch@google.com
0672317bec Remove deprecated mappedBy.
Committed: https://code.google.com/p/dart/source/detail?r=18575
Reverted: http://code.google.com/p/dart/source/detail?r=18576

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18579 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:57:18 +00:00
floitsch@google.com
ad839e6957 Revert "Remove deprecated mappedBy."
This reverts commit 18575.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18576 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:23:22 +00:00
floitsch@google.com
b37100770b Remove deprecated mappedBy.
Review URL: https://codereview.chromium.org//12212213

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18575 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:18:17 +00:00
lrn@google.com
ecbf4478c2 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12212211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:07:22 +00:00
lrn@google.com
b7f36d0d11 Make List.skip, List.take and List.reversed return Iterables, not Lists.
Removes ListView. It was premature optimization to have classes that combined any sequence of reverse, skip and take instead of just wrapping iterables.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18570 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 10:43:21 +00:00
dgrove@google.com
278d7b0c74 Update documentation links to point to the correct URLs.
Review URL: https://codereview.chromium.org//12252055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18552 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:27:10 +00:00
vsm@google.com
e2ef36a751 Fix dart.js to handle query strings
Still needs an automated test, but this passes my local ones.

BUG=http://code.google.com/p/dart/issues/detail?id=8408

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18549 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 23:38:20 +00:00
efortuna@google.com
7120208746 Fix test status for analyzer test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18544 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:03:28 +00:00
pquitslund@google.com
c5fba36a7a Test status fix to properly exclude analyzer tests from dart2js builds.
Review URL: https://codereview.chromium.org//12263045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18538 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:51:22 +00:00
pquitslund@google.com
fc2c75acda Fresh drop of analyzer-experimental.
Among other things, 
  * adds resolver and tests (in progress)
  * more tests in general (e.g., ast_test.dart and element_test.dart)
  * fixes getter/setter name generation
Review URL: https://codereview.chromium.org//12253009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18535 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:28:02 +00:00
amouravski@google.com
904cde1cca Added a readme to the browser package, so people know what's up.
Review URL: https://codereview.chromium.org//12212138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18532 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:11:48 +00:00
alanknight@google.com
84b4fc6a80 Fix modification of map while iterating in SimpleJsonFormat
Review URL: https://codereview.chromium.org//12210151

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18527 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 18:30:21 +00:00
alanknight@google.com
a3061ab600 Stop using deprecated charCodeAt in Intl
Review URL: https://codereview.chromium.org//12262030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18526 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 18:23:43 +00:00
floitsch@google.com
02a5b031fe Change Future.delayed to take a Duration.
Review URL: https://codereview.chromium.org//12224081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18471 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 19:31:22 +00:00
nweiz@google.com
3a4523a461 Fix the expected error messages for scheduled tests.
TBR
BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18430 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 02:11:00 +00:00
nweiz@google.com
1301af8746 Add built-in timeouts to scheduled_test.
Unlike r18363, this mocks out the Timer class to provide more deterministic
behavior when running tests on slow computers.

BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18429 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 02:03:56 +00:00
gram@google.com
d805b1b5c6 Remove deprecated functions.
See https://code.google.com/p/dart/issues/detail?id=8136
Review URL: https://codereview.chromium.org//12217148

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18425 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 01:07:28 +00:00
gram@google.com
59df9eecd7 Our nice new mismatched type error messages are garbled by minification.
Changing the unittest test to use a RegExp for verification instead of
a string literal.
Review URL: https://codereview.chromium.org//12221157

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18424 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 01:07:08 +00:00
nweiz@google.com
247d10c77c Pump the event queue manually rather than using a timer.
Hopefully this will be less flaky than timer-based tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18420 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:20:03 +00:00
amouravski@google.com
9cbede1d32 Added documentation links to all of the pkg packages hosted on api.dartlang.org.
Review URL: https://codereview.chromium.org//12218119

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18414 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:38:30 +00:00
gram@google.com
8e92719e2e Work around dart2js' broken implementation of runtimeType.
Review URL: https://codereview.chromium.org//12226131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18411 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:15:03 +00:00
gram@google.com
a8874f5796 TBR: Revert unittest test that makes use of function names as dart2js does not support this.
Review URL: https://codereview.chromium.org//12218127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18405 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 22:04:38 +00:00
gram@google.com
21ad5a0a84 Fix break in checked mode.
Review URL: https://codereview.chromium.org//12212147

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18404 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 21:25:57 +00:00
gram@google.com
851302ec89 Unit test improvements:
When doing equality tests, if two items have a different type but the same toString() represenation it can be hard to figure out the difference; we now include type info.
See https://code.google.com/p/dart/issues/detail?id=6816

If callbacks are not anonymous we include their names in error messages.

Throws matchers will fail now on arguments that are not Functions or Futures.
See https://code.google.com/p/dart/issues/detail?id=6761

Fix initial comment on how to use unittest; see issue https://code.google.com/p/dart/issues/detail?id=7835

The verbose flag to expect worked to show contents of Iterables but not Maps; fixed that.
Review URL: https://codereview.chromium.org//12217142

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18401 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 21:08:33 +00:00
gram@google.com
dad3b5ae60 Improve matcher descriptions that match against objects, and thus fix a bug
in mocking library. 

See https://code.google.com/p/dart/issues/detail?id=7039
Review URL: https://codereview.chromium.org//12207123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18386 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 17:22:19 +00:00
nweiz@google.com
f9e5ae9887 Revert "Add built-in timeouts to scheduled_test."
This reverts r18363.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18366 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:54:36 +00:00
alanknight@google.com
94c3ee853d Status file workaround for serialization flakiness for the moment
Review URL: https://codereview.chromium.org//12248010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18364 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:51:22 +00:00
nweiz@google.com
8186b2e7ae Add built-in timeouts to scheduled_test.
Review URL: https://codereview.chromium.org//12218102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18363 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:18:45 +00:00
nweiz@google.com
a9b616c161 Re-submit r18349.
This should hopefully guard against the race condition introduced by extremely
slow CPU time.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18361 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 00:52:46 +00:00
gram@google.com
845e951d44 setUp/tearDown functions can now be asynchronous.
See https://code.google.com/p/dart/issues/detail?id=7670
As part of this change:
- you can now provide an ID in calls to expectAsyncN; if a callback gets called too many times the ID will now be included in the message
- each test case is responsible for kicking off the next test case once it is complete. This is cleaner than the old code which had various tests scattered around that would kick off the next test case.
Review URL: https://codereview.chromium.org//12213079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18360 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 00:34:41 +00:00
nweiz@google.com
4bbc4dadb8 Roll back r18349.
This was exhibiting flaky failures on the VM bots.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18359 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 00:24:56 +00:00
alanknight@google.com
9fef95b7cc Some fixes to work better with the services framework
Review URL: https://codereview.chromium.org//12136002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18357 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:38:22 +00:00
nweiz@google.com
f547a4b770 Fix a couple ScheduleError error messages.
Review URL: https://codereview.chromium.org//12210098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18350 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:00:38 +00:00
nweiz@google.com
9772358aa4 Make the scheduled_test schedule keep track of multiple errors.
Review URL: https://codereview.chromium.org//12208096

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18349 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 22:56:00 +00:00
gram@google.com
4bb8fb3d67 If two Maps are compared with an equals() matcher and they have the same length,
show the first key missing from 'actual' that is in 'expected'.

See https://code.google.com/p/dart/issues/detail?id=6814
Review URL: https://codereview.chromium.org//12210100

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18347 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 22:46:19 +00:00
floitsch@google.com
3f7146707d Rework Timer interface.
Review URL: https://codereview.chromium.org//12213092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18326 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 19:22:16 +00:00
nweiz@google.com
f64f23b992 Disable the scheduled test tests on the browser bots.
Review URL: https://codereview.chromium.org//12223063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18297 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 02:15:18 +00:00
gram@google.com
a6af513345 Fix HTML enhanced config.
See https://code.google.com/p/dart/issues/detail?id=8335
Review URL: https://codereview.chromium.org//12210093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18294 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 01:07:43 +00:00
nweiz@google.com
41ecfcd834 Skip the scheduled test tests on dart2js.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18288 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:29:42 +00:00
nweiz@google.com
8f3ec6b6d3 Add a scheduled test library.
Review URL: https://codereview.chromium.org//12209073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18285 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:07:57 +00:00
gram@google.com
779c5e6a91 Updated contains and isEmpty matches to use iterables.
Original patch submitted by Matt Butler.
CR at https://codereview.chromium.org/12224053/
Addresses issue https://code.google.com/p/dart/issues/detail?id=8159

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18269 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 19:53:01 +00:00
sigmund@google.com
0a139954d0 Remove old location of test_controller.js
Dartium references to the old location have been updated to the new location,
now we can safely remove the file.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18194 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 23:50:27 +00:00
amouravski@google.com
48163b3c35 Changed README to README.md so it looks better on pub.dartlang.org.
Review URL: https://codereview.chromium.org//12224038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18193 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 23:15:52 +00:00
sigmund@google.com
3da8ef3392 Add test controller copy again
(partially reverts effect of r18184)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18186 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 21:02:22 +00:00
sigmund@google.com
376c46005e Move test_controller.js inside unitest/lib so it can be used in external tests
too.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18184 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 19:33:55 +00:00
gram@google.com
8f69c21b6c Fix inconsistent arguments types in expectAsyncN methods.
See https://code.google.com/p/dart/issues/detail?id=7788
Review URL: https://codereview.chromium.org//12221003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18154 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 20:05:32 +00:00
gram@google.com
4d1e578ace Fix dartdoc for BaseMatcher.
Review URL: https://codereview.chromium.org//12181026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18148 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 17:22:51 +00:00
gram@google.com
a6dc9254d9 Added an example of the use of predicate.
See https://code.google.com/p/dart/issues/detail?id=6180
Review URL: https://codereview.chromium.org//12193016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18147 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 17:18:44 +00:00
floitsch@google.com
cb10990e5a Remove Sink and move CollectionSink to async.
Committed: https://code.google.com/p/dart/source/detail?r=18063
Reverted: https://code.google.com/p/dart/source/detail?r=18067

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18144 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 15:32:18 +00:00
gram@google.com
372d463197 Some fixes/improvements to getter/setter mocking.
See https://code.google.com/p/dart/issues/detail?id=7535
and https://code.google.com/p/dart/issues/detail?id=6445
Review URL: https://codereview.chromium.org//12212003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18108 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 01:56:14 +00:00
nweiz@google.com
dbb72ee35d Get the pub oauth2 test passing locally.
Review URL: https://codereview.chromium.org//12191008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18103 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:57:25 +00:00
pquitslund@google.com
5b8c1da46d Simple parser driver example.
Review URL: https://codereview.chromium.org//12183033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18097 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:26:00 +00:00
pquitslund@google.com
1ea91e6409 Status file updates in quest for test greenness.
Review URL: https://codereview.chromium.org//12185033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18095 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:14:45 +00:00
pquitslund@google.com
76e80c3949 Generated scanner and parser tests.
Review URL: https://codereview.chromium.org//12188023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18094 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:02:08 +00:00
gram@google.com
65ee0311b8 Fix issue 8218: "part of" directive comes after dartdoc comment.
https://code.google.com/p/dart/issues/detail?id=8218
Review URL: https://codereview.chromium.org//12180024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18093 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:49:21 +00:00
pquitslund@google.com
57f1462885 Drop of generated scanner and example scanner driver.
(Tests to follow.)
Review URL: https://codereview.chromium.org//12197019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18087 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:59:51 +00:00
floitsch@google.com
cb1bff12b6 Revert "Remove Sink and move CollectionSink to async."
This reverts commit 18063.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18067 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:30:15 +00:00
floitsch@google.com
02f6b1835d Remove Sink and move CollectionSink to async.
Review URL: https://codereview.chromium.org//12154006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18063 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:03:55 +00:00
nweiz@google.com
18d274df07 Use the dart:async Stream API thoroughly in Pub.
This was originally submitted as r17822, and rolled back in r17867. There are no
changes, but in preparation for the dart:io Stream changes we're applying this
with the intent to mark Windows tests as failing.

BUG=7807

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17996 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:42:09 +00:00
blois@google.com
1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
pquitslund@google.com
418d5bab53 Generated code README and headers.
Review URL: https://codereview.chromium.org//12099004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17931 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:29:36 +00:00
efortuna@google.com
1ba9a4d49d Addressed Martin's comments.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17930 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:26:47 +00:00
lrn@google.com
9b23dff467 Reapply "Rename mappedBy to map."
This reverts commit r17907.

TBR.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
floitsch@google.com
b1a118d5ce Revert "Rename mappedBy to map."
This reverts commit 17899.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com
0dc2f4b1ba Rename mappedBy to map.
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.

BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +00:00
efortuna@google.com
62c5dc425f Update test expectations and address Martin's DBC. Oh what fun to test on platforms you can't repo locally...
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17883 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 00:13:43 +00:00
efortuna@google.com
532b0a7e0e Fix Safari "multitest" failure.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17882 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 23:53:42 +00:00
floitsch@google.com
e024c74a5f Remove List.filled constructor.
Review URL: https://codereview.chromium.org//12041019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17871 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 20:10:27 +00:00
nweiz@google.com
8be520740e Roll back Pub stream changes.
These changes are still breaking the Windows bots, so I'm rolling them back
until we figure out what's going on.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17867 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 19:26:03 +00:00
nweiz@google.com
d56994eb18 Use the dart:async Stream API thoroughly in Pub.
Review URL: https://codereview.chromium.org//12021008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17821 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 01:06:39 +00:00
nweiz@google.com
b2a13038b2 Always treat headers as individual strings in pkg/http.
BUG=8049

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17819 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 00:06:40 +00:00
sigmund@google.com
aeca565ae9 Fix build for throwsStateError: remove duplicate definitions in other tests.
Review URL: https://codereview.chromium.org//12088056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17812 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 21:47:05 +00:00
sigmund@google.com
dbaec07e76 Add matches for StateErrors
BUG=http://dartbug.com/8137

Review URL: https://codereview.chromium.org//12077045
Patch from Matthew Butler <butler.matthew@gmail.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17811 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 21:21:22 +00:00
floitsch@google.com
1b65d1175b Remove import of collection-dev.
Review URL: https://codereview.chromium.org//12096042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17802 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 19:29:54 +00:00
blois@google.com
f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +00:00
alanknight@google.com
d455506421 Serialization shouldn't modify the keys of a map it's iterating over
Review URL: https://codereview.chromium.org//12091026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17727 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 18:55:35 +00:00
alanknight@google.com
205d67aa3f Add a MapRule
Review URL: https://codereview.chromium.org//11931030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17724 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 17:57:11 +00:00
jmesserly@google.com
61c97e7325 Restructure YAML package suitable for pub lish
After this I can use tools/publish_pkg.py upload script to fix dartbug.com/4126

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17685 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 02:25:43 +00:00
alanknight@google.com
76bce685bb Remove the code that attempts to find a locale from the command line VM in Windows.
Review URL: https://codereview.chromium.org//12038073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17674 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:56:02 +00:00
pquitslund@google.com
b994cf3dca Library skew fix (in quest for build greeness) [TBR].
Review URL: https://codereview.chromium.org//12092002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17672 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:38:38 +00:00
pquitslund@google.com
07716c5523 Options parsing cleanup.
Review URL: https://codereview.chromium.org//12049028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17669 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:25:29 +00:00
alanknight@google.com
867e2fb38c Put back status file entry for russian windows locale test, it's still not working
Review URL: https://codereview.chromium.org//12033081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17590 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:06:42 +00:00
alanknight@google.com
e17f6ef909 Make standalone (non-browser) locale detection for windows also accept short locale names
Review URL: https://codereview.chromium.org//11953069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17588 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 18:51:50 +00:00
floitsch@google.com
ed938af868 Rename new Uri.fromString to Uri.parse.
Review URL: https://codereview.chromium.org//12052038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17562 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:26:18 +00:00
floitsch@google.com
fb7b9e3c5c Rename Date to DateTime.
BUG=http://dartbug.com/1424

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
iposva@google.com
57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
rnystrom@google.com
458aed6884 Add a README for path.
Review URL: https://codereview.chromium.org//12047035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17487 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:56:25 +00:00
rnystrom@google.com
f053f356ee Clean up code that locates SDK and SDK version.
This is prep work for SDK constraints. It moves the SDK
version-related code out of SdkSource (which will go away at some
point) into its own library.

I also removed the need for the DART_SDK env variable. It will
still be used if set (which the tests need), but if not set, Pub
will locate the SDK.
Clean up a few static warnings.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17433 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 23:52:37 +00:00
efortuna@google.com
5087eedf93 Adjust pkg status for analyzer-experimental tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17419 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:38:15 +00:00
pquitslund@google.com
2ff0092e2a Package re-name in quest for build greenness.
Review URL: https://codereview.chromium.org//12035030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17418 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 19:23:42 +00:00
pquitslund@google.com
75aa743c9a SVN cleanup (unversioning mis-versioned files).
Review URL: https://codereview.chromium.org//12038024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17415 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 18:54:43 +00:00
pquitslund@google.com
d08fa1edcd Experimental analyzer front-end baby-steps.
Notably:
  * basic package layout,
  * commandline parsing, and
  * a few tests

Much more to come! :)
Review URL: https://codereview.chromium.org//11938028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17414 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 18:37:04 +00:00
hausner@google.com
a885f8638b Fix map literals from change 17410
Remove any type arguments from map literals
that had one type argument before change 17410.
Review URL: https://codereview.chromium.org//12045024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17412 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 17:31:29 +00:00
hausner@google.com
dc3bf6646a Stop supporting map literals with 1 type argument
To be checked in next week Tue (Jan 22)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17410 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:48:00 +00:00
lrn@google.com
16795f22d1 Add List.reversed to give a reverse fixed-length view of a list.
Review URL: https://codereview.chromium.org//11896013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17402 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 14:56:45 +00:00
floitsch@google.com
1febeb689a Move some core classes to collection library.
Review URL: https://codereview.chromium.org//11867024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17352 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 13:34:02 +00:00
lrn@google.com
0e934a631e Add methods to Collection.
Methods are:
- void add(E)
- void addAll(Iterable<E>)
- void remove(Object)
- void removeAll(Iterable)
- void retainAll(Iterable)
- void removeMatching(bool test(E))
- void retainMatching(bool test(E))

They have been implemented for List and Set only.

Default implementations of removeX methods in Collections assume an efficient
remove method, which Lists won't have.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17257 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 10:13:51 +00:00
nweiz@google.com
03244ffee1 Stop treating StreamController as a Stream.
Apparently StreamController will soon stop extending Stream, so this gets rid of
all uses of it as a Stream in pkg/http and pub.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17163 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:35:45 +00:00
alanknight@google.com
ddd106b523 [ak] Fixed
Review URL: https://codereview.chromium.org//11889039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17152 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:21:34 +00:00
nweiz@google.com
013b0104f5 Add an ErrorGroup class to Pub.
Review URL: https://codereview.chromium.org//11941003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17106 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 00:12:30 +00:00
alanknight@google.com
ae8178bb6b Standalone locale test still failing on Windows, restore status file
Review URL: https://codereview.chromium.org//11936003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17096 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:47:37 +00:00
alanknight@google.com
27541ed0fb Fix tests to accept short locale names as long as long ones, properly this time.
Review URL: https://codereview.chromium.org//11895005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17091 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:47:45 +00:00
alanknight@google.com
7a42378b21 [ak] Fix tests to accept short locale names as well as long ones
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17090 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:39:22 +00:00
lrn@google.com
ef13a0822b Make StreamController's unnamed constructor create a single-sub stream.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17049 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 09:09:47 +00:00
nweiz@google.com
0109fd9664 No longer work around issue 7761.
This also moves Pub's modified _OutputStreamConsumer class into pkg/http.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17034 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 23:30:00 +00:00
dgrove@google.com
8ff8590cd3 Add homepage to pubspec.yaml .
Review URL: https://codereview.chromium.org//11534021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17029 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:27:15 +00:00
efortuna@google.com
4622dc3e76 Make browser tests all run from a server instead of the local filesystem.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17007 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:11:07 +00:00
efortuna@google.com
de347e5b4d Fix minor path handling issue in path package.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17006 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-12 23:43:44 +00:00
sigmund@google.com
fb052dd67c Improve compact and default configuration
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17004 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-12 00:47:40 +00:00
sigmund@google.com
603f5b678e Add again useVmConfiguration for deprecation purposes. This requires adding a
reference to the meta package fixing publish_pkg to rewrite imports correctly.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16991 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:35:34 +00:00
alanknight@google.com
b3b4c02a96 Make output formats pluggable, adapt to new libraries
Review URL: https://codereview.chromium.org//11820032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16989 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:17:14 +00:00
rnystrom@google.com
2394891f64 Add command support to args.
Review URL: https://codereview.chromium.org//11819068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16988 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:03:21 +00:00
sigmund@google.com
14dcd604b7 Make 'useXConfiguration' check for an existing configuration. This is so that it
is possible to compose tests:
testa() => useVmConfig();
testb() => useVmConfig(); testa();

This is now important because we moved some of the configuration state to
onInit, so by the time the second configure is called, the initialization might
have already been done.

An alternative would be to only allow to call configure once. Thoughts?

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16981 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 19:05:28 +00:00
ngeoffray@google.com
34a0db05e2 Update status file for jsshell.
Review URL: https://codereview.chromium.org//11862009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16970 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:33:31 +00:00
ngeoffray@google.com
184a9f610a Support Timer with 0 millisecond delay in dart2js running in the command line.
Review URL: https://codereview.chromium.org//11866003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16968 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:02:58 +00:00
lrn@google.com
4868ee2110 Remove Futures class, move methods to Future.
Optimize Future.forEach, Future.delay.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 09:46:45 +00:00
alanknight@google.com
f3bd62d72a Fix flakiness in intl_message_basic_example_test (7730)
Review URL: https://codereview.chromium.org//11818034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16930 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 18:23:33 +00:00
sigmund@google.com
8366691d1a Revert changes to _postMessage in r16899
Review URL: https://codereview.chromium.org//11833038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16925 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 16:37:09 +00:00
kustermann@google.com
96574ee329 Status file updates for jsshell
Review URL: https://codereview.chromium.org//11833035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16920 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:16:37 +00:00
sigmund@google.com
7259a9df79 This change does a couple fixes to configurations:
- it renames '_postMessage' so that it can be overriden by configurations that don't need it.
- it splits the onDone callback in two: onSummary - a callback with all the results, and onDone - a callback with just the end result. The idea is that onSummary is mostly dedicated to reporting results, while onDone is about notifying that unittest is done. This split is very useful for subclasses that only want to override onSummary or onDone.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 03:42:08 +00:00
sigmund@google.com
8578b61578 Move compact vm config from web_ui to the unittest package.
Review URL: https://codereview.chromium.org//11824049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16894 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 00:17:09 +00:00
sigmund@google.com
d0b9bd68bf More fixes to unittest
Review URL: https://codereview.chromium.org//11821039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16892 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 23:26:07 +00:00
nweiz@google.com
fcff2fb2d9 Fix ALL the pub tests.
Review URL: https://codereview.chromium.org//11830017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16888 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:37:40 +00:00
rnystrom@google.com
a3dfac3b6f Disable new args test suites on dart2js.
Review URL: https://codereview.chromium.org//11829035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16886 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:17:19 +00:00
rnystrom@google.com
2dd41b5c83 Split the args tests into a couple of smaller suites.
Review URL: https://codereview.chromium.org//11817027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16882 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:02:21 +00:00
ager@google.com
39c59cdfb3 Update status file with locale test that fails with at least Russian and Danish locale on Windows.
R=ricow@google.com,alanknight@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16844 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 10:11:45 +00:00
ager@google.com
75c8f427cc Update remaining usages of Completer.completeException.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16840 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 09:29:39 +00:00
nweiz@google.com
5741f611ba Update pkg/http to use the new async APIs.
Review URL: https://codereview.chromium.org//11825010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16834 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 03:10:42 +00:00
nweiz@google.com
7cf1400969 Fix the OAuth2 documentation to use then rather than chain/transform.
Review URL: https://codereview.chromium.org//11826010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16828 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 00:18:13 +00:00
alanknight@google.com
e638606f81 Fix bug 7763, use of reserved word as identifier in serialization tests
Review URL: https://codereview.chromium.org//11791053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16823 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 22:44:56 +00:00
rnystrom@google.com
00ec190d79 Take Nathan's patch: https://codereview.chromium.org/11794041/.
Review URL: https://codereview.chromium.org//11809003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16814 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 18:47:09 +00:00
vsm@google.com
8eacd88652 Create an sdk package to host dart.js
Devon: I think we'd need corresponding editor changes.  The editor could use either pub or just replace the path (as mentioned in the bug).

BUG=6723

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16812 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 18:35:22 +00:00
efortuna@google.com
22cf3808b8 Missed two files that needed dart:async import.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16779 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 02:24:23 +00:00
efortuna@google.com
01421cc23d Fix up test statuses. Browser tests should now all pass.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16777 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 01:49:14 +00:00
rnystrom@google.com
021b6438c5 Commit Martin's patch for pub + lib_v2.
Pub is still all kinds of broken with this, but it's slightly
less broken. Some tests pass, and at least the code *parses*
after this.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16763 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 23:11:55 +00:00
sigmund@google.com
f113cbe75f Fix htmlconfig
Review URL: https://codereview.chromium.org//11773032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16758 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 22:38:17 +00:00