Commit Graph

25510 Commits

Author SHA1 Message Date
iposva@google.com b7ea8f1845 - Remove tests with timeout triggered when running the harness
with the VM.
- Mark flaky test.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31773 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 03:27:38 +00:00
nweiz@google.com aee9a542fa Stop working around issue 16029 in pkg/http.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31770 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 00:10:48 +00:00
nweiz@google.com a24587554f Validate that Trace.from's argument isn't null.
R=rnystrom@google.com
BUG=16071

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31762 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 22:37:40 +00:00
nweiz@google.com 5a6969c6b1 Get rid of SafeHttpServer.
The behavior issues with HttpServer that led to this being created
seem to be solved now.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31761 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 22:36:51 +00:00
kevmoo@google.com 599c2c2e9f pkg/http: bumped build number
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31760 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 22:14:19 +00:00
pquitslund@google.com 63aefc6dd0 Line-break indenter plumbing.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31759 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 22:08:28 +00:00
nweiz@google.com c7aeb3406e Support Safari 6.1 stack traces with blank lines in pkg/stack_trace.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31756 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 21:07:47 +00:00
pquitslund@google.com 400fb9e232 Line breaking plumbing (continued).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31751 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 18:20:54 +00:00
kevmoo@google.com 97835dc3a6 pkg/unittest: added LICENSE
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31750 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 18:07:45 +00:00
alanknight@google.com 3d90cff43e Read Intl.message examples argument as a map, not a string
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31749 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 17:58:43 +00:00
scheglov@google.com 7a418f273f Add copyright header to generated analyzer files.
R=brianwilkerson@google.com, danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31743 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 16:01:36 +00:00
scheglov@google.com 06b58b48de Generate names for anonymous Java classes using enclosing classes and members.
R=brianwilkerson@google.com, devoncarew@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31741 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 16:00:21 +00:00
lrn@google.com f31896eba4 Fix expectation after moving json test.
Also increment version number of pkg/json in anticipation of pushing.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31734 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 12:25:15 +00:00
lrn@google.com 1bb616d0ce Fix JSON encoder accepting NaN and Infinity.
BUG= http://dartbug.com/16038
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31731 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 10:00:08 +00:00
scheglov@google.com cf456d685b Translate index.
No tests yet.
I'll need some time to find out how to translate Mockito based tests to Dart.

R=brianwilkerson@google.com, devoncarew@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31729 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 01:12:17 +00:00
kevmoo@google.com b8bc32dff3 pkg/unittest: bumping version after adding @proxy to Mock
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31727 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-11 02:16:49 +00:00
kevmoo@google.com 71d8ab2559 pkg/http: fixed analyzer warnings
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31726 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-11 01:56:51 +00:00
kevmoo@google.com 37b2d7173a pkg/unittest: add @proxy to Mock
Also: fixed analyzer errors

BUG= https://code.google.com/p/dart/issues/detail?id=13099
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31725 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-11 01:47:57 +00:00
blois@google.com 9dbf2f636c Enabling Angular tests on dart2js DRT, Dartium & VM
With the combined test and the 'slow' keyword, hopefully the dart2js compile times are under control.

BUG=15955
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31723 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-11 00:56:25 +00:00
nweiz@google.com e6614c6488 Mark pkgbuild as failing for pkg/watcher.
R=rnystrom@google.com
BUG=16026

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31720 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 23:43:02 +00:00
blois@google.com 646b97ce6f Merging all of the Angular tests into a single file to cut down on dart2js compile times. Using htmlIndividualConfig to cut down on how many tests are run at a time and to fail individual tests.
Each individual test was taking ~28s locally to compile, now the entire combined test is taking about the same.

This is still disabled overall as the dart2js compilation times are still timing out.

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31718 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 22:54:27 +00:00
scheglov@google.com 9efe9ba519 New analyzer snapshot.
Mostly to remove unnecessary casts.
But also includes your latest changed for Alan.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31717 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 22:27:52 +00:00
nweiz@google.com 5bcf2c4379 Only expect the polling test to time out on the VM.
It won't time out on e.g. the analyzer.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31716 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 22:11:56 +00:00
nweiz@google.com 2c7860874e Mark watcher/directory_watcher/polling_test as timing out.
R=rnystrom@google.com
BUG=16023

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31712 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 21:57:03 +00:00
nweiz@google.com 2be0bb8285 Stop working around issue 15458 in pkg/watcher.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31709 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 21:27:08 +00:00
nweiz@google.com ea8b5c598b Mark the polling directory watcher test as slow.
R=rnystrom@google.com
BUG=16023

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31708 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 21:22:26 +00:00
nweiz@google.com fb7ec85e6a Use stream matchers to unflake the mac OS watcher tests.
R=rnystrom@google.com
BUG=15024

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31705 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 20:36:33 +00:00
kevmoo@google.com 5fe1013ee4 resolved StaticWarning in http_server tests
R=pquitslund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31704 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 20:29:41 +00:00
pquitslund@google.com 5ccad24462 dartfmt commandline argument tweaks.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31703 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:51:25 +00:00
kevmoo@google.com a300ce0a1d pkg/http_server: return future for VirtualDirectory serveRequest
Also:
- Return the subscription from serve method
- Bumped version

BUG= https://code.google.com/p/dart/issues/detail?id=15893
BUG= https://code.google.com/p/dart/issues/detail?id=16005
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31701 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:27:05 +00:00
alanknight@google.com ca963ec85c Add an examples getter for all Message objects in Intl
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31697 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 18:45:10 +00:00
kustermann@google.com 54b71bdbe2 Reaply "Use a real package-root for all of our samples (and tests inside a package) instead of buildDir/packages/"
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31694 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 15:15:37 +00:00
kustermann@google.com 8afb1d4844 Revert "Use a real package-root for all of our samples (and tests inside a package) instead of buildDir/packages/"
Review URL: https://codereview.chromium.org//130743005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31693 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 12:58:33 +00:00
kustermann@google.com 76e4bdeb0c Use a real package-root for all of our samples (and tests inside a package) instead of buildDir/packages/
For all tests that depend on other packages (e.g. samples) we can
 - use packages from pub.dartlang.org
 - use packages from pub.dartlang.org with overrides for the packages we have
   in the dart repository.

This CL does NOT include test-specific package-roots for dartium. Dartium will request a URL containing
"packages" when it encounters a package import. Our HTTP server will then serve from buildDir/packages.
This needs to change when we have test specific VMOptions for dartium.

For normal tests (without a pubspec.yaml on the path to dart/, we still use buildDir/packages).

R=ricow@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31691 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 12:29:55 +00:00
sigmund@google.com 62c00509f4 Minor changes in lib.src.build.runner, and fix version (now that we determined
that -dev+x is no good).

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31687 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 02:06:33 +00:00
nweiz@google.com 4121e1df53 Don't throw an error if a scheduled process exits early.
Early exits are expected in some cases, since a process's stdout and
stderr streams can close later than the process itself exits. Throwing
an error caused some race conditions. Instead, ScheduledProcess now
prints additional debug info if an error occurs when a test exited
earlier than expected.

R=rnystrom@google.com
BUG=15654

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31686 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 01:32:31 +00:00
pquitslund@google.com 4cb2537a37 Line-breaking plumbing and bits and pieces.
Some tentative abstractions for implementing simple line breaking algorithms.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31683 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 23:04:33 +00:00
nweiz@google.com 64fe897e4e Code review changes for r31644.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31679 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 22:02:27 +00:00
nweiz@google.com 703d7cc77b Fix the version number for barback.
Also un-mark the pkgbuild tests as failing.

BUG=15999
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31677 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 21:01:46 +00:00
brianwilkerson@google.com 8e03a18e15 Initial server package layout
R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31674 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 19:33:15 +00:00
ajohnsen@google.com 41dfdb599c Make VirtualDirectory redirect if the directory-path does not end with a tailing slash.
BUG=https://code.google.com/p/dart/issues/detail?id=15764
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31651 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 10:26:54 +00:00
ajohnsen@google.com 7329df3700 Fix other HttpRequest implementations.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31648 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 08:51:24 +00:00
nweiz@google.com 8135a4dede Properly parse V8 lines involving eval in pkg/stack_trace.
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31644 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 01:52:31 +00:00
nweiz@google.com b356c28cae Fix an incorrect name in pkg.status for stream matcher tests.
R=rnystrom@google.com
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31640 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 00:54:12 +00:00
nweiz@google.com 6625856d62 Mark pkgbuild tests as failing due to issue 15977.
BUG=
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31637 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 00:17:32 +00:00
nweiz@google.com a21e30d91d Increment pubspecs to reflect the changes in r31629.
We (I) need to get better about remembering to do this.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31636 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 23:13:15 +00:00
nweiz@google.com c100b07926 Mark scheduled_matcher_test as failing on the browser.
R=rnystrom@google.com
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31632 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 22:50:36 +00:00
nweiz@google.com d9e78ae090 Add a ScheduledStream class and some stream matchers.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31629 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 22:14:30 +00:00
scheglov@google.com 217d980fcd Analyzer snapshot.
Rewrite TimeCounter to use Stopwatch.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31623 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 20:27:55 +00:00
lrn@google.com 4719012afc Reduce running time of priority queue test.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31605 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 12:37:38 +00:00