gbracha@google.com
e08647bfd3
BREAKING CHANGE: Rename InstanceMIrror.invoke, .getField, .setField to invokeAsync, getFieldAsync, setFieldAsync. Likewise ClosureMirror.apply and ClassMIrror.newInstance. This is in preparation of new synchronous versions of the originals.
...
Review URL: https://codereview.chromium.org//13967003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21242 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:58:22 +00:00
rnystrom@google.com
68a5c9a803
Add flag to disable capturing stack traces.
...
BUG=http://dartbug.com/9697
Review URL: https://codereview.chromium.org//13839023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21237 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:20:43 +00:00
ajohnsen@google.com
21451e1d3d
Remove HttpClientRequest.response, as it's identical to HttpClientRequest.done.
...
BUG=
Review URL: https://codereview.chromium.org//14055003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21198 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 12:54:23 +00:00
alanknight@google.com
664fe171c6
Make use of the patterns in Intl number formatting
...
This adds code to parse and use the information from the pattern
string used to create a NumberFormat. It adds tests taken
from the Closure tests and also tests comparing a simple
format to the ICU output for a large set of locales.
In addition it has changes to
- part number_format.dart in intl.dart rather than having it as a
separate library
- Update the algorithm to incorporate some additions in Closure
- Allow setting a few of the internal parameters, which the
Closure tests wanted to use
- Add named constructors for the standard formats, e.g. DECIMAL_FORMAT
- Access _defaultLocale consistently via the getCurrentLocale() method
rather than directly, so it can never be uninitialized.
- Regenerated the locale data
Review URL: https://codereview.chromium.org//13814018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21166 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 19:58:42 +00:00
floitsch@google.com
536efee503
Don't try to measure the running time if the test hasn't started yet.
...
Review URL: https://codereview.chromium.org//13814017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21163 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 19:09:30 +00:00
kevmoo@j832.com
470b770a51
lib/utf: remove codepointsToString
...
point folks to use String.fromCharCodes
Review URL: https://codereview.chromium.org//13493020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21151 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 13:51:05 +00:00
ajohnsen@google.com
97606a604e
Fix pkg:http tests to include the accept-encoding header.
...
BUG=
Review URL: https://codereview.chromium.org//13937008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21135 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 07:51:07 +00:00
nweiz@google.com
49113955eb
Normalize packages' library names.
...
This makes the library names play nicer with dartdoc.
Review URL: https://codereview.chromium.org//13674024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21106 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:39:30 +00:00
lrn@google.com
24e3c0bbb0
Reapply "Reduce usage of IterableMixinWorkaround"
...
Fix bug and recommit
Review URL: https://codereview.chromium.org//13496014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21049 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:07:39 +00:00
kevmoo@j832.com
78c2deeca3
skipping IE test which is now timing out instead of failing
...
May still be related to https://code.google.com/p/dart/issues/detail?id=8983
Review URL: https://codereview.chromium.org//13741002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21014 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:36:39 +00:00
floitsch@google.com
8fd6d0aafd
Remove Expect from core library.
...
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
kevmoo@j832.com
755c71f1fc
pkg/intl test cleanup
...
pkg/unittest has evolved a lot. Helping intl use some of the new features and
avoid some problems. I think I fixed some issues in the process
BUG=https://code.google.com/p/dart/issues/detail?id=9342
Review URL: https://codereview.chromium.org//13684003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20993 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 18:24:14 +00:00
floitsch@google.com
c93132625d
Fix for pub.
...
Review URL: https://codereview.chromium.org//13598017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20987 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:16:54 +00:00
floitsch@google.com
e72250e49b
StreamConsumer has an addStream and a close functions.
...
The 'consume' function will be removed.
Review URL: https://codereview.chromium.org//13680002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:22:11 +00:00
floitsch@google.com
bef8ebb5f6
Add Iterable.fold (and Stream.fold) which replace reduce
.
...
For now this is just a copy. In a next step we will change the behavior of
`reduce`.
BUG= http://dartbug.com/9536
Review URL: https://codereview.chromium.org//13548002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
erikcorry@google.com
4e0db7cede
Revert 20969: Reduce usage of IterableMixinWorkaround
...
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//13598015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20972 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:18:13 +00:00
lrn@google.com
f3608405a3
Reduce usage of IterableMixinWorkaround.
...
Review URL: https://codereview.chromium.org//13685004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20969 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:01:19 +00:00
sgjesse@google.com
e10bc2d3e0
Reapply "Add a sleep function to dart:io"
...
This reapplies r20952, r20953, r20954 together with hiding sleep from
dart:io in a number of tests.
R=ager@google.com
Review URL: https://codereview.chromium.org//13704003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20964 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:04:26 +00:00
floitsch@google.com
1241f2b85e
Add optional writeAll separator argument.
...
BUG= http://dartbug.com/8694
Review URL: https://codereview.chromium.org//13008021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20943 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 22:37:14 +00:00
kevmoo@j832.com
47414d76fc
pkg/unittest: handling of runTests being called without any tests
...
Before: error trying to call config.onStart without initialization
Now: unittest run completes with error (No tests run)
Review URL: https://codereview.chromium.org//13539003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20915 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 13:13:01 +00:00
alanknight@google.com
c0eea0c042
Fix bug in code sample
...
Review URL: https://codereview.chromium.org//13581006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20897 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 22:01:08 +00:00
kustermann@google.com
d974f9b874
Mark unittest_test as flaky
...
Review URL: https://codereview.chromium.org//13537002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20864 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 14:40:37 +00:00
lrn@google.com
3b13f62170
Remove addLast from List.
...
The List.addLast method has been deprecated for quite a while.
A recent change removed it from the interface, but left the
implementation in place (which caused some errors from the analyzer).
This removes it completely.
Review URL: https://codereview.chromium.org//13528004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20857 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:52:19 +00:00
floitsch@google.com
1b90c01dad
Mark some more tests as flaky due to v8 bug.
...
Review URL: https://codereview.chromium.org//13432004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20855 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:25:47 +00:00
nweiz@google.com
5e5d82725c
Split apart several asynchronous tests to reduce timeouts.
...
Review URL: https://codereview.chromium.org//13472016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20827 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 22:39:43 +00:00
kevmoo@j832.com
d52c9fe5f1
status file: crash in unittest tests due to issue 9406
...
Review URL: https://codereview.chromium.org//13470015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20804 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 17:46:47 +00:00
iposva@google.com
ba0bc831b7
- Mark more tests as unnecessarily slow.
...
Review URL: https://codereview.chromium.org//13460008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20796 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:42:55 +00:00
kevmoo@j832.com
f614719ed8
pkg/unittest: clean up unittest tests
...
No longer trying to align values and indices across three arrays
Review URL: https://codereview.chromium.org//13463005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20792 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:34:58 +00:00
kasperl@google.com
f15b6960c0
Add a new implementation of HashMap that uses JS objects for its (multiple) hash tables.
...
I'll start refactoring the implementation to make it a bit more
maintainable, but I wanted to get your first impressions.
R=erikcorry@google.com ,lrn@google.com,srdjan@google.com
BUG=
Review URL: https://codereview.chromium.org//12827018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20770 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 11:51:36 +00:00
nweiz@google.com
bb9c6ea713
Mark scheduled_server_test as flaky and increase the timeout on the other scheduled tests.
...
BUG=9582
Review URL: https://codereview.chromium.org//13417002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20764 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 00:49:48 +00:00
nweiz@google.com
59a85239a7
Split up some slow pub tests and mark some scheduled_test tests as slow.
...
BUG=9231
Review URL: https://codereview.chromium.org//13375022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20758 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 23:20:11 +00:00
nweiz@google.com
23bf53be66
Use the stack_trace library in scheduled_test.
...
This also adds a couple features to stack_trace.
Review URL: https://codereview.chromium.org//13157004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20752 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 20:46:15 +00:00
kevmoo@j832.com
a80505a389
pkg/unittest: cleanup to logMessage
...
BREAKING
removed Configuration .logMessage
renamed Configuration.logTestCaseMessage to onLogMessage
Review URL: https://codereview.chromium.org//13261006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20751 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 20:32:48 +00:00
nweiz@google.com
0d0cdb58b2
Check in pkg/stack_trace/lib/src/utils.dart.
...
Review URL: https://codereview.chromium.org//13371002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20710 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:47:33 +00:00
nweiz@google.com
250224ed32
Be more careful about converting between file URIs and paths.
...
This happened to work on Windows because it interprets forward slashes as
directory separators.
Review URL: https://codereview.chromium.org//13191011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20708 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:36:38 +00:00
nweiz@google.com
0c20674dbd
Make pub warning-clean.
...
This also works around issue 9535 in scheduled_test.
Review URL: https://codereview.chromium.org//13348002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20702 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:07:27 +00:00
kevmoo@j832.com
93d2ac20d1
"Reverting 20670"
...
While I investigating bot failures
Review URL: https://codereview.chromium.org//13212008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20699 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 22:44:16 +00:00
nweiz@google.com
f5534bdb3f
Increase the default test timeout for scheduled tests on Windows.
...
Review URL: https://codereview.chromium.org//13327009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20695 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 21:47:35 +00:00
kevmoo@j832.com
de23c7efde
pkg/unittest: clean up test tests
...
No longer trying to align values and indices across three arrays
Review URL: https://codereview.chromium.org//13272003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20670 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 16:56:41 +00:00
kevmoo@j832.com
bbc23606eb
pkg/unittest: readonly view of testCase collection
...
Review URL: https://codereview.chromium.org//13251003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20658 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 01:22:55 +00:00
asiva@google.com
5e3c5d5568
Change http code in pkg to use dart:typeddata instead of dart:scalarlist
...
Review URL: https://codereview.chromium.org//13138002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20642 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:51:43 +00:00
nweiz@google.com
c590e8ae0c
Switch pkg packages, pub, and dartdoc to use package: imports.
...
This also changes the SDK layout by replacing the "pkg" directory, which
contained the full source of all the packages needed by pub and dartdoc, with a
"packages" directory that contains only their lib directories. This directory is
used as the package root for pub and dartdoc when run from the SDK.
BUG=6745
Review URL: https://codereview.chromium.org//12782016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20640 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:27:28 +00:00
efortuna@google.com
fac7fba1da
Re-enable throwing if we try to set the unit test configuration twice.
...
BUG=
Review URL: https://codereview.chromium.org//13195004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20624 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 17:49:04 +00:00
efortuna@google.com
7c0d12b41c
Remove throw from unittest.
...
BUG=
Review URL: https://codereview.chromium.org//13130005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20601 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 00:57:48 +00:00
nweiz@google.com
0831efdcdf
Don't run stack_trace tests on Dartium.
...
Review URL: https://codereview.chromium.org//12980004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20593 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 22:34:12 +00:00
nweiz@google.com
829edfcfa6
Fix the stack_trace frame test on Windows as well.
...
Review URL: https://codereview.chromium.org//12681036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20588 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:57:31 +00:00
nweiz@google.com
e3fcad44c3
Fix Frame.location on Windows in pkg/stack_trace.
...
Review URL: https://codereview.chromium.org//12545080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:37:20 +00:00
nweiz@google.com
3697a04750
Add a library for manipulating stack traces.
...
Review URL: https://codereview.chromium.org//13102003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20582 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:15:55 +00:00
kevmoo@j832.com
9db4a1d02f
pkg/logging: removed deprecated 'on' API
...
Review URL: https://codereview.chromium.org//12600033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20574 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 20:36:17 +00:00
scheglov@google.com
64f07b2a5e
Tweak Resolver driver sample to prevent warning from new analyzer.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//13095014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20552 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 00:31:09 +00:00