Commit Graph

1458 Commits

Author SHA1 Message Date
blois@google.com 6cafb2cb2f Skipping dartanalyzer for Angular tests
Latest Angular bits appear to be crashing the analyzer.

CL which updated Angular is https://code.google.com/p/dart/source/detail?r=32035.

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32041 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 23:26:41 +00:00
blois@google.com 2a4b069b1a Updating Angular version
We missed some Angular-breaking changes because the parser tests were marked as failing due to some known Angular/Dart1.1 incompatibilities, but those have been fixed in Angular. Updating to this version has the parser tests passing cleanly.

Only manual change was to the pkg.status file.

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32035 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 22:27:53 +00:00
fschneider@google.com fb5e6077bd Undo workaround for a bug with compile-type of the context value.
I think this was fixed already with https://codereview.chromium.org/102053010/.

BUG=dartbug.com/15652
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31885 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 14:13:24 +00:00
srdjan@google.com 95c0b631ce Skip timeouting test for simarm checked-mode.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31856 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 22:10:30 +00:00
nweiz@google.com ef19c6611d Take a broader approach to filtering out bogus Mac OS watcher events.
With luck, this should unflake the test.

R=rnystrom@google.com
BUG=16079

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31853 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 21:49:31 +00:00
ajohnsen@google.com a2e7f7a53c Reapply r31820 with a 'slow' status file marker.
BUG=16023
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31826 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 12:12:12 +00:00
ricow@google.com f00ed4ba58 Revert revision 31820
This is causing timeouts on docgen package test

Nathan: Please work with Anders/Florian to figure out what is wrong and how to correctly utilize the streams. I don't have enough domain knowledge to figure this out.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31821 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 08:28:10 +00:00
ricow@google.com 890f614f82 Fix scheduled stream usage of asBroadcastStream
This was causing tiemouts on the bots

BUG: 16023

R=ajohnsen@google.com, floitsch@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31820 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 07:52:24 +00:00
efortuna@google.com f3cae6f52b Adjust test status for multi_test_library.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31796 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 18:58:42 +00:00
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
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 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 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
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
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 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
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
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 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
kustermann@google.com fea1fe4570 Status file updates for PASSing tests
Review URL: https://codereview.chromium.org//127883002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31599 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 09:38:38 +00:00
blois@google.com fcfba211c3 Disabling Angular tests while some reliability issues get worked out
Tests are failing intermittently. Also tests are taking ~1min each to compile and appear to be slowing down the bots quite a bit.
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31596 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 01:16:59 +00:00
blois@google.com fb63b6ba9f Disabling some Angular tests in unchecked mode.
The tests require checked mode (some of them have an explicit check for checked mode).

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31530 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 01:42:47 +00:00
blois@google.com ba857ec76f Disabling Angular tests on everything except for DRT
Appear to be a lot of browser-specific failures, our test matrix is different than Angulars. So will need to investigate & fix a bunch of them.
TBR
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31529 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 01:07:29 +00:00
blois@google.com 9d8df56a98 Adding Shadow DOM polyfill to Angular tests
Some of the Angular tests require shadow dom, so adding the polyfill to all of the HTML tests.

Updated files are:
 - pkg/pkg.status
 - third_party/pkg/update_angular.sh

All others are auto-generated.

BUG=15929
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31527 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 00:43:48 +00:00
blois@google.com 3779e0770e Adjusting test status for Angular
Working on the proper fix, just changing expectations for now.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31525 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 00:00:25 +00:00
blois@google.com 9e35fd81c3 Adding Angular and dependent packages for testing
This adds Angular tests to run in Dart's test suite.

Notes-
 - All files under pkg/third_party/angular_test are auto-generated by update_angular.sh
 - All files under third_party/pkg/angular are from Angular sources (with the exception of REVISION)

Modifed / Created files:
 - third_party/pkg/update_perf.sh
 - third_party/pkg/update_route_hierarchical.sh
 - third_party/pkg/update_perf.sh
 - third_party/pkg/update_all.sh
 - third_party/pkg/update_di.sh
 - third_party/pkg/update_js.sh
 - third_party/pkg/update_angular.sh
 - pkg/pkg.status

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31518 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 23:09:58 +00:00
vsm@google.com 5e3937addf Changes for Chrome 32
Once we're ready to switch ... some paths have changed from 31.

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31486 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 17:12:25 +00:00
lrn@google.com 047b32681d Create associated packages for the dart:collection and dart:async libs.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31260 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 11:57:56 +00:00
ajohnsen@google.com 08f69d0284 Mark http_test as flaky, due to optimizing compiler.
BUG=
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31163 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-16 14:58:11 +00:00
kustermann@google.com 3ad420f867 Followup status file update for polymer tests ie9 after fixing timeout issues
Review URL: https://codereview.chromium.org//99583010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31135 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 15:02:34 +00:00
kustermann@google.com 3c26594952 Mark polymer tests as passing after timeout issue on ie9 has been identified
Review URL: https://codereview.chromium.org//114263006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31128 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 12:33:40 +00:00
alanknight@google.com ceb7b6c1ab Remove expectation of static warning from analyzer tests
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31093 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 00:05:09 +00:00
regis@google.com fb6d24945f Introduce class TypeRef in the VM to fully support recursive types.
Fix issues 15244, 15148, 14869, 14000, and 13688 (was closed, but fragile).

Note that the current solution is not final as it may not be correct in more
complex cases not yet covered by language tests.
The final solution will require a 'trail' instead of a simple mark bit to
prevent operations involving recursive types to diverge.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31087 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 22:51:19 +00:00
jmesserly@google.com a526b4ed3a update our CustomElement+Shadow DOM patch
https://github.com/dart-lang/CustomElements/pull/3
fixes https://code.google.com/p/dart/issues/detail?id=15354

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31078 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 20:31:26 +00:00
kustermann@google.com 6b2c504e96 Mark stack_trace/test/trace_test as passing on safari
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31027 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 17:23:37 +00:00
kustermann@google.com e898028b18 Attempt to deflake our status files
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31022 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 15:37:34 +00:00
ahe@google.com 779fb039d8 Update status files
Review URL: https://codereview.chromium.org//109693002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30975 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-08 12:36:15 +00:00
ahe@google.com 95c86ebeda Skip tests that are timing out.
Review URL: https://codereview.chromium.org//108593003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30965 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 20:45:22 +00:00
ahe@google.com 53d500dee0 Implement dynamic function checks.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30932 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 06:47:07 +00:00
nweiz@google.com 4d99e67e36 Mark the mac_os directory_watcher test flaky.
R=rnystrom@google.com
BUG=15024
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30931 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 04:22:33 +00:00
nweiz@google.com b3fc09ef15 Update the Mac OS watcher in pkg/watcher.
The behavior of Directory.watch has changed, and this updates the
watcher to match the new behavior.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30915 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 20:26:18 +00:00
nweiz@google.com 165f8eb4b5 Update the Linux watcher to accommodate changes in [Directory.watch].
This also removes the extra time allotted for the test since issue
14606 is now mitigated.

R=rnystrom@google.com
BUG=15446

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30874 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 22:31:18 +00:00
ajohnsen@google.com abdc2ade9d Rewrite file-system-watcher to better handle the different system APIs.
BUG=http://code.google.com/p/dart/issues/detail?id=14941
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30848 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 10:35:00 +00:00