Commit Graph

1458 Commits

Author SHA1 Message Date
paulberry@google.com 7611c5415a Add an integration test to verify that server I/O is asynchronous.
Currently disabled, since server I/O is currently synchronous.

BUG=dartbug.com/21252
R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41246 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-22 15:48:06 +00:00
floitsch@google.com 32ef6273ae Mark some analyzer/analysis_server tests as slow.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41147 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 13:16:09 +00:00
ricow@google.com c416ea097d Mark the analyzer tests slow generally on dart2js
We are seeing these flake on several bots

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41140 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 06:31:54 +00:00
floitsch@google.com 5c2ad49d55 Mark analyzer test as slow.
Review URL: https://codereview.chromium.org//655223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41129 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 13:47:50 +00:00
floitsch@google.com 9a8c878d48 Mark analyzer test as failing.
Add minimal example to lib/mirrors.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41097 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 13:44:38 +00:00
paulberry@google.com 69d1c6fb2b Disable test "check_all_test" on debug builds.
The only purpose of this test is to verify that analysis server code
generation is up to date, so it is sufficient to just run it on the
release buildbots, where is completes more quickly.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41086 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:49:50 +00:00
paulberry@google.com febb8f2e22 Split up large resolver_test.dart file.
This splits the four largest classes out of resolver_test.dart
and into their own files.  Hopefully this should help prevent
resolver_test.dart from timing out on the buildbots.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41085 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:43:33 +00:00
paulberry@google.com 47f8e15878 Mark analyzer "resolver_test" as slow.
This file contains 1713 unit tests and should be split up into smaller
files.

TBR=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41052 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 20:40:48 +00:00
ricow@google.com aaa40e8855 Mark pkg/analyzer/test/generated/engine_test as skip on dart2js
It is flaky timing out

R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41012 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 13:04:16 +00:00
vsm@google.com 314dd6e4f6 Status fix
TBR=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40791 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 22:02:59 +00:00
rnystrom@google.com ffa353e9d9 Fix glob list on Windows.
BUG=https://code.google.com/p/dart/issues/detail?id=21071
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40732 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 19:47:39 +00:00
ricow@google.com 19c691bc30 Mark pkg/glob/test/list_test and two pub tests as failing on windows
pkg/glob/test/list_test is being tracked in issue 21071

The following two pub tests are being tracked in issue 21086
pub/test/global/binstubs/binstub_runs_executable_test
pub/test/global/binstubs/missing_script_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40668 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 05:59:08 +00:00
jakemac@google.com 52ef5fe84e mark as flaky not failing
Review URL: https://codereview.chromium.org//599093003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40647 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 20:28:45 +00:00
jakemac@google.com fa6a6c0cb3 mark dartium tests as flaky due to 18931
Review URL: https://codereview.chromium.org//599183003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40636 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 17:50:20 +00:00
jakemac@google.com a6f50d735b Update to polymer js version 0.4.1
BUG= http://dartbug.com/21035
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40631 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 16:17:56 +00:00
nweiz@google.com 06017fb841 Add support for listing to the glob package.
R=rnystrom@google.com
BUG=17093

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40604 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 20:40:16 +00:00
whesse@google.com 90c7a56bdd Update status for Dartium tests.
BUG=dartbug.com/21012, dartbug.com/21000
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40491 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 10:22:04 +00:00
kevmoo@google.com 650012e159 fix win11 bots with status changes
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40487 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 04:20:24 +00:00
kevmoo@google.com 3d056175bc fix pkg status file for unittest
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40484 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 01:45:28 +00:00
kevmoo@google.com 38d6c15539 pkg/scheduled_test: status tweaks
BUG= https://code.google.com/p/dart/issues/detail?id=21007
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40483 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 01:36:49 +00:00
kevmoo@google.com 5c6bc92daa pkg/scheduled_test updated status file for jsshell
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40480 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 00:06:00 +00:00
kevmoo@google.com 02e029636b pkg/metatest: adding homepage to metatest pubspec
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40479 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 23:39:45 +00:00
kevmoo@google.com 615819acf9 Sharing metatest logic between unittest and scheduled_test
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40475 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 22:40:13 +00:00
nweiz@google.com 6ee6d6b110 Mark a bunch of tests as passing now that stack_trace works with the new Firefox.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40474 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 22:38:13 +00:00
jakemac@google.com 8c422a0862 fix findController for non-dart elements
BUG= http://dartbug.com/20931
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40458 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:30:56 +00:00
sethladd@google.com b1ae6d0817 remove serialization. it's moved to github
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40456 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:07:25 +00:00
sethladd@google.com ba1ab7d8f5 Revert "remove serialization. it's moved to github"
This reverts commit e06d6fbb470445cdbd7875a7aa24f5ecb6ee04d4.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40451 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 18:30:25 +00:00
sethladd@google.com ca72cda5b6 remove serialization. it's moved to github
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40447 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 17:59:10 +00:00
ricow@google.com acb59f47b1 Mark pkg/analysis_server/test/socket_server_test as slow on jsshell
R=eernst@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40431 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 10:49:18 +00:00
karlklose@google.com c1597202c4 Fix typo in previous CL.
TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40425 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 07:17:08 +00:00
karlklose@google.com 74a5d0559d Update test expectations.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40424 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 07:10:20 +00:00
jakemac@google.com 5230bf6eca simple index.html files for folders that contain entry points
BUG= http://dartbug.com/20963
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40408 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 22:14:16 +00:00
vsm@google.com 2eb587b49d Status fixes
TBR=terry@google.com,leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40222 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 22:02:03 +00:00
karlklose@google.com e71b933bfe Make test as failing on safarimobilesim.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40202 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:51:10 +00:00
ricow@google.com df319447f1 Remove suppressions for ie9
R=blois@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40201 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:01:14 +00:00
karlklose@google.com bde34d0efa Mark refactoring_test as Slow on js_shell.
TBR=jonniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40145 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 13:15:47 +00:00
vegorov@google.com 183abe7207 Fix StoreIndexedInstr input representation requirements for Int32/Uint32 arrays.
Previous implementation changed input representation depending on the propagated type of the value which violated assumptions made by SelectRepresentations phase.

Instead of using tagged/mint input require unboxed Int32/Uint32 input and insert explicit truncating unboxing when building StoreIndexed operation in the optimizer. This also leads to strictly better code and opens possibilities for further optimizations.

Implement Int32/Uint32 representation support on all platforms. This includes boxing, unboxing and unboxed converter operations.

Merge BoxInt32/BoxUint32 and UnboxInt32/UnboxUint32 instruction sequences to minimize duplication.

Improve instruction sequences by utilizing CARRY flag set by smi untagging where possible (ARM, ia32, x86).

Enable all tests that were disabled by r40078, r40079.

BUG=http://dartbug.com/20875
R=fschneider@google.com, johnmccutchan@google.com, srdjan@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40143 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 12:32:54 +00:00
sigmund@google.com 6318e91c82 Mark template_attr test as failing in IE until we investigate the issue.
Review URL: https://codereview.chromium.org//562013002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40133 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 00:10:25 +00:00
jakemac@google.com fb2d027d36 add flaky tests :(
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40127 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 22:54:36 +00:00
jakemac@google.com 589c718ac0 update polymer js to 0.4.0
BUG= http://dartbug.com/20809

The following files were not migrated, they used to be in platform.js
and are like polyfills, but are adding non-html spec functionality used
by polymer:

src/declaration/mdv.js
src/declaration/polymer.js
src/declaration/queue.js
src/declaration/styles.js
src/lib/dom.js
src/lib/lang.js
src/lib/loader.js
src/lib/styleloader.js
src/lib/url.js
src/system/compat.js
src/system/microtask.js
src/system/module.js
src/system/patches-mdv.js
src/system/unresolved.js

The following tests were not migrated. For the most part they are just
testing the features added by the files above:

test/html/loader-deduplicate.html
test/html/mdv-shadow.html
test/html/mdv-tests/polymer-expressions-tests.js
test/html/styling/recursive-style-import.html
test/html/url.html
test/js/bindMDV.js
test/js/oop.js
test/html/styling/rules/*
test/js/styling.js
test/js/register.js
test/js/utils.js
test/html/template-repeat-wrappers.html

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40120 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 21:41:47 +00:00
iposva@google.com f208566475 - Disable tests failing failing with --optimization-counter-threshold=5.
Review URL: https://codereview.chromium.org//562523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40079 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 03:52:21 +00:00
ricow@google.com f6bec3b946 Suppress flakiness in pkg/observe/test/list_path_observer_test on IE
Filed issue 20849 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39983 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 17:39:23 +00:00
kevmoo@google.com e0fa649db9 pkg/math: remove placeholder
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39946 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-07 00:30:06 +00:00
nweiz@google.com c37ddb51b3 Fix glob match and parse tests for Windows and URL styles.
R=rnystrom@google.com
BUG=20788, 20789

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39922 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-05 19:04:34 +00:00
sigmund@google.com 1781d2cb42 Step one towards stable error messages with details:
- switches polymer to use a messages type
 - autogenerates an HTML page from the message list.
 - use these messages on polymer transformers
 - moves build_logger to code_Transformers, so we can also use this in other packages.

Still pending to do more, for example, find a permanent location and URI scheme for messages
so we can show them on the command-line, improve the UI to tak advantage of clustering, etc.

But I think it's good enough to get it in and iterate afterwards

R=jakemac@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39884 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 20:28:15 +00:00
jakemac@google.com c9227e35e3 delete debug only files from output in release mode
Note: This adds a couple hundred milliseconds to the build for my sample application. However, that should remain fairly constant even if we add more files later since we already paid the price of spinning up the transformers.

BUG= http://dartbug.com/19521
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39828 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 20:01:48 +00:00
ricow@google.com 686409778b Mark pkg/glob/test/match_test as failing on browsers
Mark 	pkg/glob/test/match_test and pkg/glob/test/parse_test failing on windows on the vm

Filed issues 20789 and 20788 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39790 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 05:58:17 +00:00
srawlins@google.com 400ffc0c48 Addressing Issue 5991, where functions are requested for:
* greatest common denominator
* modulo inverse
* modulo exponentiation

In addition, I implemented functions for least common multiple and extended gcd, as they are so closely related.

These functions are respectively named gcd(), invert(), modexp(), lcm(), gcdext(), provided in the math package,
and tested in the math package.

When passed arguments larger than 2^53, a javascript implementation of dart will yield unpredictable results,
as is true with all of the dart:int methods.

Some of the function names are arbitrary, as they go by different names in different languages:

* For modular multiplicative inverse, I chose "invert." It goes by "invert" in GMP [1], "modInverse" in Java and Go,
"invmod" in Julia, "PowerMod" in Mathematica, and "pow" in Python.
* For modular exponentiation, I chose "powmod." It goes by "powm" in GMP, "exp" in Go, "modPow" in Java,
"powermod" in Julia and Mathematica, and "pow" in Python (optional arg).
* For extended gcd, I chose "gcdext." It goes by "gcdext" in GMP, "gcd" in Go (optional return args), "gcdx" in Julia,
and "ExtendedGCD" in Mathematica.

BUG= https://code.google.com/p/dart/issues/detail?id=5991

[1] https://gmplib.org/

R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39769 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-02 19:49:48 +00:00
scheglov@google.com 844f477d10 Use MockSdk to speed-up tests.
R=paulberry@google.com, brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39717 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-30 05:51:09 +00:00
paulberry@google.com b33b0f7ff0 Mark analyzer2dart tests as "slow" on debug bots
Diet parsing isn't currently used so these tests wind up parsing the
entire SDK.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39701 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-29 14:24:41 +00:00