scheglov@google.com
64f07b2a5e
Tweak Resolver driver sample to prevent warning from new analyzer.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//13095014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20552 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 00:31:09 +00:00
efortuna@google.com
9ce0f4227d
Allow 'empty' tests if a feature is not supported in the browser.
...
BUG=
Review URL: https://codereview.chromium.org//13046006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20530 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 18:43:33 +00:00
dgrove@google.com
9bf5ff3f54
Make path to meta go through pkg/ , so that it's rewritten properly.
...
Review URL: https://codereview.chromium.org//12512008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20479 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 20:03:01 +00:00
efortuna@google.com
020f085318
Temporary fix to get tests running again.
...
BUG=
Review URL: https://codereview.chromium.org//13030005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20478 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 20:03:01 +00:00
efortuna@google.com
d44ba6d3c0
"Reverting 20457"
...
BUG=
Review URL: https://codereview.chromium.org//12703019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20477 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 19:50:19 +00:00
nweiz@google.com
fb5790f273
Add a dependency on pathos from http.
...
BUG=9399
Review URL: https://codereview.chromium.org//12703016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20473 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 19:41:05 +00:00
kevmoo@j832.com
b684a1e7f0
pkg/unittest: config refactor
...
Make the configure method a setter (per existing TODO)
Review URL: https://codereview.chromium.org//12770017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20462 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 18:03:16 +00:00
kevmoo@j832.com
a707fd09fd
pkg/unittest: removed html_layout_config
...
Review URL: https://codereview.chromium.org//13062005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20459 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 17:23:02 +00:00
kevmoo@j832.com
c21b5e3001
fix variable in catch statement
...
An oops after https://code.google.com/p/dart/source/detail?r=20051
Review URL: https://codereview.chromium.org//12729026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20457 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 17:17:38 +00:00
kevmoo@j832.com
e728737ccc
pkg/unittest: eliminate unneeded var
...
Review URL: https://codereview.chromium.org//12983009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20440 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-24 17:36:24 +00:00
scheglov@google.com
7533136284
New Analysis Engine translation.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12803014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20420 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 22:13:50 +00:00
kevmoo@j832.com
1a6983771c
pkg/intl: cleanup after message extraction test
...
call deleteGeneratedFiles after test
update deleteGeneratedFiles to cover all generated files
Review URL: https://codereview.chromium.org//12827019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20391 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 17:13:05 +00:00
alanknight@google.com
d2fe9fbb81
Set pkg.status for more Intl tests that crash the VM
...
Review URL: https://codereview.chromium.org//12897008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20356 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 21:54:24 +00:00
alanknight@google.com
5c7234a10b
Suppress no_library_test on Dartium, which requires all tests wrapped
...
Review URL: https://codereview.chromium.org//12995003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20350 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 21:05:37 +00:00
alanknight@google.com
6ed8fcc992
Add test and fix for 9203, fix sdk dep, delete unused file.
...
Review URL: https://codereview.chromium.org//12604023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20346 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 20:40:17 +00:00
alanknight@google.com
da21fcd5d5
Update status file for intl test that sporadically crashes the VM
...
Review URL: https://codereview.chromium.org//12958003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20345 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 20:35:54 +00:00
nweiz@google.com
94073b77e4
Fix an outdated method call in example code for oauth2.
...
BUG=7675
Review URL: https://codereview.chromium.org//12787015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20341 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 18:50:59 +00:00
kevmoo@j832.com
699a7a7cb8
Fix for returned Futures in unittest
...
BUG=https://code.google.com/p/dart/issues/detail?id=9344
Review URL: https://codereview.chromium.org//12836007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20337 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 18:22:22 +00:00
kustermann@google.com
afeda4a8a8
Marked date_time_format_file_even_test as flaky
...
Review URL: https://codereview.chromium.org//12596013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20325 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 16:42:31 +00:00
sigmund@google.com
68a26315ef
Move source maps package to the dart repo, so it can be used by other internal
...
tools.
Review URL: https://codereview.chromium.org//12207008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20300 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 23:41:50 +00:00
nweiz@google.com
7d365a2307
Cut down the default timeout in scheduled_test.
...
5s should be long enough to avoid any false positives while still timing out
well before test.py.
Review URL: https://codereview.chromium.org//12947003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20288 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 20:58:52 +00:00
nweiz@google.com
6cd9cee512
Provisionally stop working around issues 9252 and 9253.
...
We're removing these workarounds in the hopes that the pub tests won't resume
flaking. If they do, this CL should be rolled back.
Review URL: https://codereview.chromium.org//12879015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20286 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 19:49:05 +00:00
kevmoo@j832.com
1d9013517e
Moved pkg pubspecs to use dev_dependencies where appropriate
...
BUG=https://code.google.com/p/dart/issues/detail?id=9309
Review URL: https://codereview.chromium.org//12962003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20285 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 19:41:10 +00:00
nweiz@google.com
876a1c0034
Properly collate multiple directory validation errors in scheduled_test.
...
BUG=9266
Review URL: https://codereview.chromium.org//12440054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20243 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 21:04:16 +00:00
alanknight@google.com
d98dc62e7d
Parameterize the import directories, fix test to behave correctly on an error
...
Review URL: https://codereview.chromium.org//12478010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20241 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 20:53:26 +00:00
nweiz@google.com
90e03e6ac9
Miscellaneous small improvements for scheduled_test.
...
Review URL: https://codereview.chromium.org//12678011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20240 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 20:53:11 +00:00
ricow@google.com
b3d14f201d
Mark pkg/scheduled_test/test/descriptor_test as flaky.
...
Filed 9266
Review URL: https://codereview.chromium.org//12621007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20227 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 18:21:06 +00:00
nweiz@google.com
8f7295dce7
Work around issue 9252 in scheduled_test and pkg/http.
...
Review URL: https://codereview.chromium.org//12540010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20187 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 00:25:05 +00:00
nweiz@google.com
94c07e5281
Change the way Patterns work in scheduled_test/descriptor.
...
Instead of every Entry being able to have a pattern as a name, now there's a
separate Pattern entry that encapsulates the logic of finding entries that match
a pattern.
The Pattern class also has different semantics than the old pattern names. The
old semantics required only one filesystem entity with a name matching the
pattern; now any number are allowed, as long as only one of them matches the
Entry (that is, has the expected contents).
Review URL: https://codereview.chromium.org//12853005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20185 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 23:24:09 +00:00
alanknight@google.com
6bda92055d
Update Intl's json data file generation to current APIs
...
Review URL: https://codereview.chromium.org//12918018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20182 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 22:47:42 +00:00
scheglov@google.com
1dd8b25904
Fix analyzer_experimental.
...
TBR
Forgot to comment out Resolver tests :-(
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12529022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20179 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 21:28:22 +00:00
scheglov@google.com
1c4bc14d27
analyzer_experimental checkpoint and AnalysisContext example.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12604020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20178 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 21:17:54 +00:00
ngeoffray@google.com
124e5a1bf1
We might have hit the same safari bug again.
...
Review URL: https://codereview.chromium.org//12905004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20161 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 14:50:59 +00:00
ricow@google.com
25850a01ec
Mark scheduled_test/test/scheduled_test_test slow
...
I have filed dartbug.com/9231
Review URL: https://codereview.chromium.org//12917004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20160 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 14:13:46 +00:00
iposva@google.com
cdcb3e5b09
- Make test code fail when run from unexpected location.
...
Review URL: https://codereview.chromium.org//12787011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20122 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 23:14:07 +00:00
rnystrom@google.com
affd53983e
Fix escaping in YAML RegExp.
...
This was causing it to try to parse "m4" as a number, which fails.
Fixes #9128 .
BUG=
Review URL: https://codereview.chromium.org//12876003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20107 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 20:48:26 +00:00
scheglov@google.com
d7729fdac6
Update generated analyzer_experimental for new List interface.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12603007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20103 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 20:13:21 +00:00
alanknight@google.com
52f0f0a262
Add issue number to failing test
...
Review URL: https://codereview.chromium.org//12752005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20100 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 18:35:31 +00:00
blois@google.com
343f7c001e
Tweaking html_config to stabilize location test.
...
I believe that changes I made recently to html_config may have destabilized the html/location_test. Basically the location_test does a hash change and when this test is run after other tests, it may be causing a browser reload.
I'd actually like to refactor the printing of the results completely to build them programmatically (and clean them up?), but this is a larger change.
BUG=
Review URL: https://codereview.chromium.org//12890002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20092 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 16:53:39 +00:00
floitsch@google.com
f85fa4feff
Make argument to StringSink.writeln optional.
...
BUG= http://dartbug.com/9102
Review URL: https://codereview.chromium.org//12870003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20074 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 12:45:40 +00:00
lrn@google.com
844cd39fad
Change getRange to sublist. Make getRange deprecated.
...
This changes the exception behavior of getRange. It used to accept
a length of zero, no matter what start value. Now the start value
must be a valid list index.
Review URL: https://codereview.chromium.org//12817003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20064 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:15:39 +00:00
alanknight@google.com
16a944bce1
Change status file for intl test with encoding issue on Windows
...
Review URL: https://codereview.chromium.org//12630013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20058 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 00:08:56 +00:00
nweiz@google.com
6a22d28a86
Add the ability to abort a scheduled test.
...
Review URL: https://codereview.chromium.org//12753005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20056 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 22:37:41 +00:00
alanknight@google.com
ab0ead6b50
Intl test spawning processes must specify the encoding for stdout
...
Review URL: https://codereview.chromium.org//12645010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20055 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 22:17:24 +00:00
nweiz@google.com
a9a8d42063
Add a SafeHttpServer shim to work around issue 9140.
...
Review URL: https://codereview.chromium.org//12633015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20054 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 22:12:19 +00:00
blois@google.com
cf827e4814
Making it easier to run individual HTML tests.
...
BUG=
Review URL: https://codereview.chromium.org//12824008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20051 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 21:38:27 +00:00
alanknight@google.com
afc98385b5
Fix windows and pub failures in intl tests
...
Review URL: https://codereview.chromium.org//12448008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20049 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 21:36:18 +00:00
alanknight@google.com
0446767578
Adds facilities for extracting Intl.message calls and generating code from translations
...
This adds both general libraries for extracting messages and generating translations and scripts for using them with a trivial translation format. It removes the previous mechanism in message_lookup_local that relied on mirrors and traversing libraries in favor of one with a more explicit lookup by library that's consistent with the generated code. It also changes the code in basic_example to use that.
It also includes a couple of other changes. It now uses pathos for path manipulation, and the data_directory.dart hack for running tests from multiple different places was cleaned up and made more general. In addition, Intl.message now returns a string rather than a Future, which was changed as part of the libv2 integration.
This version does not yet support the plural syntax, as it disallows any interpolations that aren't just replacing a variable name. It also doesn't support named arguments to functions containing Intl.message, and it doesn't yet have a mechanism for designating sections of a text as not being subject to translation.
Finally, it relies on analyzer-experimental, which has a different name in the repository and in pub. So this version will run in the repository but will not run if used from pub. Bug 9071 asks for the names to be made consistent.
Review URL: https://codereview.chromium.org//12733003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20047 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 20:49:26 +00:00
nweiz@google.com
b44320b987
Add a ScheduledServer class.
...
Review URL: https://codereview.chromium.org//12809002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20042 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 18:20:08 +00:00
kevmoo@j832.com
519fa6c224
pkg/args Option should be more strict about names and abbreviations
...
Should not allow: space, \t, \r, \n, single- and double-quote, slashes
Should not allow empty string
Should not allow '-' as the beginning character
name should not be allowed to be null (although it's fine for abbreviation)
BUG=https://code.google.com/p/dart/issues/detail?id=8965
Review URL: https://codereview.chromium.org//12472019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20040 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 18:00:21 +00:00
gram@google.com
9827d99e2a
Bring webdriver up to date with SDK changes, and a bit of refactoring.
...
Review URL: https://codereview.chromium.org//12413012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20038 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 17:45:09 +00:00
floitsch@google.com
76d507cb6f
Add List.insert.
...
BUG= http://dartbug.com/5375
Review URL: https://codereview.chromium.org//12383073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20037 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 17:38:14 +00:00
erikcorry@google.com
2a857debea
dart2js: Create noSuchMethod handlers at runtime to reduce overhead.
...
This reduces the overhead for using noSuchMethod from over 10% to around 2%.
Following this change the original source names are not present when
minifying. This means you get the minified name in the methodName property
on InvocationMirror objects.
R=ngeoffray@google.com
BUG=
Review URL: https://codereview.chromium.org//12499005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20005 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 11:49:13 +00:00
scheglov@google.com
139e02c68e
Rename analyzer-experimental to analyzer_experimental.
...
https://code.google.com/p/dart/issues/detail?id=9071
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12838003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19973 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 21:42:01 +00:00
kevmoo@j832.com
050c82b520
pkg/unittest: locking down TestCase
...
Strip out most of the public API, leaving only read-only properties that might
be interesting for users of unittest.
This class is not designed to be instantiated or reused outside of unitttest.
The only constructor for TestCase makes strict assumptions about the unittest
environment, specifically _currentGroup, _testSetup, _testTeardown.
This enables maximum flexibility to evolve and improve the unittest library
without concern for supporting random use cases invented by 3rd-parties trying to be clever
Before: http://cl.ly/image/41230W032h1d
After: http://cl.ly/image/0K0E2S3g1327
All unittest via ./tools/bots/pub.py -n pub-mac pass
Review URL: https://codereview.chromium.org//12452004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19972 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 21:18:45 +00:00
scheglov@google.com
ec569934ae
Disable resolver_test.
...
TBR
I still cannot find way to get SDK path on bot :-(
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12545032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19943 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 16:31:06 +00:00
scheglov@google.com
d946286578
Look for dart-sdk in two places.
...
For standalone dart-sdk and for test bot.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12809003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19942 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 16:19:54 +00:00
floitsch@google.com
482b2f34e8
Move Options to dart:io.
...
Review URL: https://codereview.chromium.org//12794002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19927 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 13:12:00 +00:00
ager@google.com
26c4b3a58d
Fix file descriptor leak in event handler implementation. When shutting down an isolate, we did not destruct the eventhandler so we leaked the file descriptors for it.
...
Also fix leak of monitor wait data objects on Windows.
R=sgjesse@google.com
BUG=dartbug.com/9021
Review URL: https://codereview.chromium.org//12646007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19921 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 11:11:38 +00:00
kevmoo@j832.com
3f6b0a78d0
pkg/unittest: fixed deprecations in alt configs
...
specifically compact_vm_config, html_layout_config, interactive_html_config
No tests exist for these. Verified interactive_html_config is no longer broken
All are now 'green' under editor analysis
Review URL: https://codereview.chromium.org//12598008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19908 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 02:03:29 +00:00
nweiz@google.com
ecf000d1af
Use ".."-style imports in scheduled_test.
...
This will allow it to be imported by Pub, and to import pkg/http for future
tests.
Review URL: https://codereview.chromium.org//12449016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19905 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 23:57:47 +00:00
nweiz@google.com
813010cf01
Display which nested tasks are running when an error occurs in a scheduled test.
...
Review URL: https://codereview.chromium.org//12512005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19900 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 22:09:55 +00:00
nweiz@google.com
bed4ef5d73
Display metadata about out-of-band callbacks in scheduled test errors.
...
Review URL: https://codereview.chromium.org//12637020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19896 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 20:57:07 +00:00
floitsch@google.com
65718c56df
Rename XMatching to XWhere.
...
For example firstMatching -> firstWhere.
BUG= http://dartbug.com/8664
BUG= http://dartbug.com/8337
Review URL: https://codereview.chromium.org//12537009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19880 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 17:34:49 +00:00
scheglov@google.com
7a5e2100ad
Skip analyzer-experimental/.../resolver_test test.
...
TBR
R=efortuna@google.com
BUG=
Review URL: https://codereview.chromium.org//12440028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19830 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 23:27:53 +00:00
scheglov@google.com
5ef5ba52e4
Fixing build.
...
TBR
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12637014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19821 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 21:15:36 +00:00
scheglov@google.com
204d01da8d
Push new analyzer-experimental with Resolver and ResolverTest.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12671003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19820 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 20:52:08 +00:00
amouravski@google.com
6e056b8044
Lots of little changes for dartdoc/apidoc.
...
* Alphabetized imports.
* Added TODOs.
* Removed some prefixes.
* Cleaned up a LOT of async code to make it work better.
* Much, much, much friendlier status messages for dartdoc/apidoc. More to do...
* Prevented many, many bad warnings from showing up... by fixing them.
* Smarter finding of packages directories.
* Started using pathos all over the place.
* Added indexed_db to html_diff.
Review URL: https://codereview.chromium.org//12448006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19817 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 20:27:53 +00:00
floitsch@google.com
cead1d41f1
ceil/floor/truncate/round return integers.
...
This CL supercedes https://codereview.chromium.org/11748016/
Review URL: https://codereview.chromium.org//12317107
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19810 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 18:54:37 +00:00
lrn@google.com
53f877edb7
Rename String.concat to operator+.
...
Review URL: https://codereview.chromium.org//12441003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19788 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:59:17 +00:00
floitsch@google.com
5dc8107c53
Revert "Remove Expect from core library."
...
This reverts commit 19755.
Review URL: https://codereview.chromium.org//12743005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com
12dbd2fd70
Remove Expect from core library.
...
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00
nweiz@google.com
afcfccea83
Accommodate a race condition in pkg/scheduled_test/scheduled_process_test.
...
BUG=9022
Review URL: https://codereview.chromium.org//12741004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19754 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:02:26 +00:00
nweiz@google.com
b73ee6b89a
Remove debugging prints and comment out a few more tests in pkg/scheduled_test.
...
BUG=9022
Review URL: https://codereview.chromium.org//12735002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19753 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 00:08:49 +00:00
nweiz@google.com
88c193cf05
Add a bunch of ugly debugging prints to figure out why the bots are failing.
...
Review URL: https://codereview.chromium.org//12732004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19751 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 23:52:09 +00:00
nweiz@google.com
8fe98eca6c
Fix the build breakages caused by r19742.
...
TBR
Review URL: https://codereview.chromium.org//12663006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19746 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 23:31:02 +00:00
nweiz@google.com
15762df9f4
Stop working around issue 8512.
...
Review URL: https://codereview.chromium.org//12452008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19743 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 23:04:09 +00:00
nweiz@google.com
b67be38c35
Add a ScheduledProcess class to pkg/scheduled_test.
...
BUG=8511
Review URL: https://codereview.chromium.org//12377093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19742 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 23:02:04 +00:00
kevmoo@j832.com
72390e1545
pkg/unittest: fixed references to configuration implementations
...
Removed references to removed config libraries.
Replaced with references to existing config libraries
Tightened up description of matcher library
Review URL: https://codereview.chromium.org//12458002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19741 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 22:40:28 +00:00
amouravski@google.com
5ea5ef0145
Fix webdriver build warnings.
...
Review URL: https://codereview.chromium.org//12566008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19723 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 21:06:55 +00:00
ahe@google.com
e6d4c9925c
Revert "Don't output tons of messages on apidoc." and "Fix bot breaks."
...
This reverts r19662 and r19666.
Review URL: https://codereview.chromium.org//12690003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19694 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:55:39 +00:00
floitsch@google.com
d9fc776d43
Mark date_time_format_unitialized_test as flaky.
...
Review URL: https://codereview.chromium.org//12521008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19691 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:12:40 +00:00
floitsch@google.com
dd48256fe5
Remove deprecated StringBuffer.add, addAll and addCharCode.
...
Review URL: https://codereview.chromium.org//12473003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19690 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:07:18 +00:00
lrn@google.com
bead146749
Renamed StreamSink to EventSink. Renamed signalError to addError.
...
Review URL: https://codereview.chromium.org//12610006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19683 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:31:19 +00:00
sgjesse@google.com
b6096848b1
Make IOSink implement StringSink
...
Besides adding the StringSink methods I also added writeBytes and
deprecated both add and addString.
To handle the encoding of strings the IOSike has an encoding
property. This property is mutable in situation when it makes sense to
change encoding of what is written. The exception here is for HTTP
where the encoding is determined from the header and the encoding
cannot be changed.
R=ajohnsen@google.com , ager@google.com , nweiz@google.com
BUG=
Review URL: https://codereview.chromium.org//12504006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19676 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 10:06:28 +00:00
amouravski@google.com
cc1932ca71
Don't output tons of messages on apidoc.
...
Review URL: https://codereview.chromium.org//12642004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19662 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 23:19:45 +00:00
ricow@google.com
bf4db7b7be
Suppress failure in pkg/intl/test/date_time_format_http_request_test
...
Filed http://dartbug.com/8983
Review URL: https://codereview.chromium.org//12576004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19627 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 14:13:14 +00:00
sgjesse@google.com
ff47888a0d
Make instances of HeaderValue and ContentType immutable
...
Their parameters map is still mutable though.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//12440002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19598 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 07:25:56 +00:00
scheglov@google.com
31636d35f5
Use JavaFile instead of Dart File.
...
This fixes two failing tests (which we were have to comment out).
Plus, it also looks better IMHO, isolates File in single class, removing additional top-level functions.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12543009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19585 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:16:13 +00:00
dgrove@google.com
7d86e62d26
Import packages outside oauth2 via ../../.../pkg/ . This allows packages
...
to have their imports rewritten and uploaded to pub.
Review URL: https://codereview.chromium.org//12543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19566 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 17:17:05 +00:00
scheglov@google.com
be50bddc3e
Use limited JavaStringBuilder implementation instead of Dart StringBuffer.
...
StringBuffer.clear() is deprecated and will be removed.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12543003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19565 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 17:12:47 +00:00
scheglov@google.com
6e7bff23f8
Attempt to fix builds after analyzer-experimental fixes.
...
TBR
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12447008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19533 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 01:19:01 +00:00
scheglov@google.com
3a98de6d0a
Update analyzer-experimental.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12502002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19532 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 00:10:49 +00:00
gram@google.com
8b1e26736c
pkg/unittest: fix TestCase.runningTime
...
issue 4437 has been fixed for a while
Review URL: https://codereview.chromium.org//12442005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19522 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 22:27:04 +00:00
gram@google.com
c9a3ba45af
Tweak mismatch description message to check for Iterable, not Collection.
...
See https://code.google.com/p/dart/issues/detail?id=8880
Review URL: https://codereview.chromium.org//12391076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19428 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 22:23:41 +00:00
gram@google.com
7ba1dbb148
Don't throw if a non-string is passed to RegExpMatcher.
...
See https://code.google.com/p/dart/issues/detail?id=8881
Review URL: https://codereview.chromium.org//12395024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19426 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 22:10:35 +00:00
rnystrom@google.com
58c337d775
Fix scheduled_test after corelib broke it.
...
Review URL: https://codereview.chromium.org//12388085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19416 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 19:28:07 +00:00
alanknight@google.com
25619b3922
Fix deprecated StringBuffer usages in Intl
...
BUG=
Review URL: https://codereview.chromium.org//12382036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19412 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 18:41:28 +00:00
amouravski@google.com
e84340b7b6
Fixed two doc comments in pathos.
...
Review URL: https://codereview.chromium.org//12386051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19401 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 17:26:37 +00:00
floitsch@google.com
d91bca2813
Add List.asMap().
...
Review URL: https://codereview.chromium.org//12391046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19399 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 16:57:52 +00:00