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