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
paulberry@google.com
658ba06a25
Skip dart2analyzer tests on browsers
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//517553002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39648 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 12:05:17 +00:00
sigmund@google.com
4ad3066210
Mark template_binding/test/custom_element_bindings_test as flaky
...
BUG=https://code.google.com/p/dart/issues/detail?id=20714
TBR=jakemac@google.com
Review URL: https://codereview.chromium.org//516733002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39632 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 01:29:30 +00:00
jakemac@google.com
c0badd0fc4
flaky test
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//514723003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39600 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 16:06:16 +00:00
jakemac@google.com
3a8813b38d
add content tag to the js_interop_test element so its content is queryable
...
update web_components to latest
BUG= http://dartbug.com/20413
R=sigmund@google.com
Review URL: https://codereview.chromium.org//507653004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39596 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 14:58:13 +00:00
paulberry@google.com
df89cc1494
Run all pub tests on Windows with -j1
...
Should avoid timeouts with some particularly resource-intensive tests
(e.g. analysis server integration tests).
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//509903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39591 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 11:35:03 +00:00
kustermann@google.com
8e77e9c704
Remove obsolete http_base package
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//495533003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39543 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-26 10:09:34 +00:00
whesse@google.com
3d48991511
Update co19 status for dartium and android.
...
BUG=dartbug.com/19544
R=kustermann@google.com
Review URL: https://codereview.chromium.org//489383002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39450 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-21 13:30:41 +00:00
whesse@google.com
99180f5797
Update status for pkg tests.
...
BUG=dartbug.com/20575 dartbug.com/20576
TBR=kustermann@google.com
Review URL: https://codereview.chromium.org//481943003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39366 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-19 09:35:46 +00:00
paulberry@google.com
7226309842
Import analysis_services.dart into analysis_server.dart.
...
Having two separate packages doesn't really have any benefit, and has
the downside of forcing us to carefully avoid circular dependencies
between the two. It makes more sense to just combine them.
This is largely a mechanical change consisting of the following renames:
1. pkg/analysis_services/lib/src/* -> pkg/analysis_server/lib/src/services/*
2. pkg/analysis_services/lib/* -> pkg/analysis_server/lib/src/services/*
3. pkg/analysis_services/test/* -> pkg/analysis_server/test/services/*
There were 4 instances where 1 and 2 created a collision:
.../services/correction/assist.dart, .../services/correction/fix.dart,
.../services/refactoring/refactoring.dart, and
.../services/search/search_engine_internal.dart. To fix the
collision, the files coming from pkg/analysis_services/lib/src were
renamed to "..._internal.dart".
In addition, pkg/analysis_services/test/test_all.dart was modified to
call pkg/analysis_services/test/services/test_all.dart.
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//484733003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39349 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 20:17:49 +00:00
jakemac@google.com
5f94bfb494
Revert "Roll polymer to 0.3.5"
...
This reverts commit 9923eeb0a39a13926406896a78878237b32fa10e.
BUG=
Review URL: https://codereview.chromium.org//482763002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39336 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 15:59:01 +00:00
jakemac@google.com
82150beb8a
Roll polymer to 0.3.5
...
The following files were not migrated, mostly tests that we don't have an equivalent for (that I could find):
declaration/properties.js
test/html/element-registration.html
test/html/bind-object-repeat.html
test/html/publish-attributes.html
Also, observe.js was not migrated since it no changes looked to be applicable to us, https://github.com/Polymer/observe-js/compare/0.3.4...0.3.5 .
BUG= http://dartbug.com/20413
R=sigmund@google.com
Review URL: https://codereview.chromium.org//469823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39330 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 14:23:03 +00:00
whesse@google.com
3176e3c5e8
Update test status for polymer on Windows.
...
BUG=dartbug.com/19326
R=kustermann@google.com
Review URL: https://codereview.chromium.org//484623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39324 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 08:05:24 +00:00
paulberry@google.com
f822f41189
Update analysis server and integration tests to match new ChangeContentOverlay.
...
The spec was changed in r39199 so that ChangeContentOverlay contains a
list of edits rather than a single edit. This updates the analysis
server and integration tests accordingly.
BUG=dartbug.com/20495
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//472613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39218 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 20:04:55 +00:00
paulberry@google.com
21e307fb6b
Skip analysis server integration tests with dart2js
...
TBR=jwren@google.com
Review URL: https://codereview.chromium.org//474533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39213 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 18:31:14 +00:00
paulberry@google.com
159c19b0fc
Don't expect update_content_test to fail for analyzer.
...
This is a runtime failure only; analysis of the test should still
succeed.
TBR=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//469043002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39211 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 18:09:21 +00:00
paulberry@google.com
96d5bd1bf0
Add union types to the analysis server API spec.
...
R=brianwilkerson@google.com , jwren@google.com
Review URL: https://codereview.chromium.org//469673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39208 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 17:38:11 +00:00
paulberry@google.com
3e0ed734bf
Skip pkg/analysis_server/tool/spec/check_all_test on browsers.
...
TBR=jwren@google.com
Review URL: https://codereview.chromium.org//463053003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39203 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 15:56:34 +00:00
paulberry@google.com
eb73a6c2b3
Mark analysis server get_type_hierarchy_test as flaky on Windows
...
The symptoms are the same as the problem fixed in r39105, however I
suspect that the root cause is different, since the failure was
previously repeatable and is now sporadic.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//466103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39165 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 21:33:56 +00:00
ricow@google.com
0584a86f99
Skip pkg/analysis_server/test/integration/analysis/update_content_test server in debug mode
...
This is timing out
Review URL: https://codereview.chromium.org//464773003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39126 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 10:58:53 +00:00
paulberry@google.com
19a44a67a6
Split up server_domain_int_test.dart; regularize integration test directories.
...
With this change, there is a separate subfolder in "test/integration"
for each domain, and each subfolder has its own "test_all.dart".
This change is almost entirely code motion. The only material change
is that two tests have been dropped:
- test_connected(): this test is now unnecessary since every time the
"server.connected" message is received, the generated code in
integration_test_methods.dart verifies that it is well-formed.
- test_error(): this was a placeholder to remind us to test the
"server.error" notification. On further reflection, it's unlikely
that we'll be able to integration test this notification, since it
only occurs in the event of a server bug.
R=jwren@google.com
Review URL: https://codereview.chromium.org//458453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39112 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-11 22:25:26 +00:00
paulberry@google.com
931b0afaa6
Split analysis_domain_int_test.dart into several test files.
...
This test was timing out on the debug build bots because it had 6
sub-tests, each of which started a separate instance of the analysis
server. Split it out to one test per file.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//465513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39095 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-11 17:39:10 +00:00
paulberry@google.com
435f486eb5
Mark server_domain_int_test as slow on debug bots
...
TBR=scheglov@google.com
Review URL: https://codereview.chromium.org//459673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39066 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-09 23:45:22 +00:00
paulberry@google.com
abfa8dd268
Rework search_domain_int_test to avoid timeouts.
...
Now all sub-tests are run using a single analysis server so that the
SDK only needs to be analyzed once.
Reduces test time by about 9x.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//455983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39064 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-09 14:19:17 +00:00
paulberry@google.com
e37e8a0605
Disable search_domain_int_test on Windows.
...
I will work on a fix for this next week.
TBR=scheglov@google.com
Review URL: https://codereview.chromium.org//453123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39054 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 22:07:57 +00:00
paulberry@google.com
52d6abc907
Mark search_domain_int_test as slow.
...
In a follow CL I will rework this test.
TBR=scheglov@google.com
Review URL: https://codereview.chromium.org//453093003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39051 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 21:08:51 +00:00
whesse@google.com
0986f8b4c8
Deflake status files for Android content_shell tests.
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//449423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39033 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 09:54:58 +00:00
paulberry@google.com
75d6245e4f
Apply workaround for bug 13921 to new test in pkg/unittest.
...
TBR=kevmoo@google.com
Review URL: https://codereview.chromium.org//456543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39019 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 01:31:17 +00:00
kustermann@google.com
a385a28e5a
Add implementations for Headers, Request, Response and dart:io/dart:html clients to http_base
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//445933004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38984 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 13:01:59 +00:00
sigmund@google.com
b41df9c51c
Use as dynamic to get rid of warnigns in code_transformers
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//451493002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38951 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 20:46:58 +00:00
scheglov@google.com
c5263aae9f
Breaking changes in 'analyzer' package.
...
1. Source.uri added.
2. DartSdk.fromEncoding() replaced with fromFileUri().
This CL cannot be committed as is until pkg/code_transformers is fixed.
R=brianwilkerson@google.com , sigmund@google.com
BUG=
Review URL: https://codereview.chromium.org//428303004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38949 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 20:41:42 +00:00
jakemac@google.com
1e96833d23
Polymer transformers write to a *._buildLogs file and inject an element in that dom to show these elements when not in release mode (pub serve).
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//427623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38946 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 20:27:03 +00:00
hausner@google.com
d5e8342071
Disable some angular tests until perf_api.dart bug is fixed
...
class Profiler contains an illegal field initializer for field ‘counters’.
See github perf_api.dart issue #5 .
TBR=justinfagnani@google.com
Review URL: https://codereview.chromium.org//440233004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38916 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 23:57:57 +00:00
rmacnak@google.com
46639a66f4
Mark polymer tests as passing.
...
BUG=http://dartbug.com/20307g
R=sigmund@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//439733005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38870 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 17:27:07 +00:00
fschneider@google.com
eab5e4e50b
Skip some slow analysis server tests on ARM and MIPS simulators.
...
R=paulberry@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//433153005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38858 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 14:00:56 +00:00
whesse@google.com
f402f8902a
Update status file for dart2js --csp bot.
...
Status line said $checked instead of $csp.
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//441643005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38856 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 13:26:00 +00:00
whesse@google.com
bf90c871c7
Update status of android content_shell tests.
...
BUG=dartbug.com/20348
R=ricow@google.com
Review URL: https://codereview.chromium.org//433173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38853 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 11:31:07 +00:00
whesse@google.com
029448c426
Restore some status file lines removed in r38829
...
Two tests are failing on dart2js drt, and their lines were removed.
BUG=dartbug.com/19329
R=ricow@google.com
Review URL: https://codereview.chromium.org//441643003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38852 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 09:17:16 +00:00