Commit Graph

850 Commits

Author SHA1 Message Date
ahe@google.com 3a4d55f209 Create a wrapper around test.dart for running co19 tests.
Review URL: https://codereview.chromium.org//10973009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12775 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:52:53 +00:00
ahe@google.com d6ca10a62e Update co19 to r343.
Review URL: https://codereview.chromium.org//10972007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12774 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:37:43 +00:00
ahe@google.com 034a66d17f Parameterize 'new Options().script'.
Review URL: https://codereview.chromium.org//10970060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12763 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 09:41:53 +00:00
ahe@google.com 8332173392 Use semicolon, not comma.
Review URL: https://codereview.chromium.org//10956066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12761 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:51:22 +00:00
ahe@google.com f5083a4db7 Use the VM under test, not the prebuilt binary
Review URL: https://codereview.chromium.org//10965060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12760 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:31:32 +00:00
jackpal@google.com 3e510176c2 Fix Android build breaks
Prevent Android's STLPort from undefining global functions from
math.h when cmath is included after math.h.

The Android STLPort does not provide std::assert or std::atexit. Use
the C versions of these functions on Android.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12741 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 22:04:37 +00:00
gram@google.com eb2a0fc533 Eliminate some of the flakiness in testing:
- errors in test_controller.js get posted to the Dart configs
- Dart configs will receive these and set uncaughtError
- Selenium driver will output the full HTML body, not just up to the first script tag (else the errors above could be lost).
Review URL: https://codereview.chromium.org//10968040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12735 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 20:21:32 +00:00
whesse@google.com 2722230b81 Fix dart/tools directory to remove @'raw string' and foo.dynamic.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12698 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 12:53:08 +00:00
alanknight@google.com eac6195680 Be sure to use absolute paths in intl web server tests
Review URL: https://codereview.chromium.org//10961034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12666 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:08:23 +00:00
alanknight@google.com 907c7ea083 Read locales over http in the browser
Review URL: https://codereview.chromium.org//10959002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12664 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 23:27:56 +00:00
ager@google.com e676e88f81 Introduce a VM-only dart:scalarlist library for byte arrays.
Include it in the SDK so users can use it. Create a dummy
implementation and patch file for the library for dart2js so it can be
documented. Johnni, can you think of a nicer way of making
documentation generation work for a VM only library? Also, it seems that
patching kills the documentation comments and they do not show up in
the generated docs.

R=iposva@google.com,johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12616 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 07:08:10 +00:00
rnystrom@google.com df6862afb7 Fix git on non-Windows. Fix create_sdk on machines using svn.
Review URL: https://codereview.chromium.org//10942032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12575 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:48:25 +00:00
rnystrom@google.com 9c970fa558 First pass at getting git and tar.gz working on Windows.
Review URL: https://codereview.chromium.org//10937019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12573 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:32:24 +00:00
antonm@google.com b26899502d Store status for dart2dart tests in a separate file.
R=ahe@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12571 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:16:37 +00:00
ager@google.com 1159462fc6 Switch from interfaces to abstract classes in dart:io.
Add a bunch of default argument values to the abstract classes
so they are picked up by dartdoc.

R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12484 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 10:54:37 +00:00
johnniwinther@google.com 5bb04a5069 MSVS output to /build/ dir.
Review URL: https://codereview.chromium.org//10933125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12471 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 07:48:26 +00:00
lrn@google.com 99749ca619 This reapplies the change to remove "dynamic" from Object.
TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12449 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 19:14:49 +00:00
lrn@google.com 54d6cbda76 Revert "Remove Object.dynamic."
Some test expectations were missing.

TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12433 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:10:29 +00:00
lrn@google.com 9cc07e2f3f Remove Object.dynamic.
Review URL: https://codereview.chromium.org//10914286

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12432 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:00:44 +00:00
ngeoffray@google.com bef1d105d2 Avoid timeouts in dart2js/release/checked.
Review URL: https://codereview.chromium.org//10909264

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12428 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 10:17:49 +00:00
efortuna@google.com 9163dfe93c revert 1204. Will investigate when I get a chance.
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
efortuna@google.com 3c24dc9cee Reapply revert script.
Review URL: https://codereview.chromium.org//10919308

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12412 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 00:29:13 +00:00
rnystrom@google.com 383488ec4f Update unittest to new package layout.
Review URL: https://codereview.chromium.org//10917275

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com 659a57df3e Revert "Make unittest follow the new package layout."
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com 2ba81033a6 Make unittest follow the new package layout.
Review URL: https://codereview.chromium.org//10918240

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
efortuna@google.com 5778a6896f Improve selenium RC failure message.
Review URL: https://codereview.chromium.org//10907222

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12357 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 22:10:42 +00:00
rnystrom@google.com 85a7fb9e55 Remove unneeded _IN_SDK stuff in dartdoc.
Review URL: https://codereview.chromium.org//10905276

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12350 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 21:01:59 +00:00
rnystrom@google.com 05dadf490e Reorganize dartdoc to new package layout.
Review URL: https://codereview.chromium.org//10919260

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12338 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:49:48 +00:00
ahe@google.com 97fd568d65 Require wrapping for Firefox/Windows
Review URL: https://chromiumcodereview.appspot.com//10914250

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12298 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 05:02:05 +00:00
ahe@google.com 722e7ce28d Add --step_name option to test.dart.
Review URL: https://chromiumcodereview.appspot.com//10905208

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12296 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 04:19:11 +00:00
ahe@google.com 952ebb3a50 Enable wrapper-less browser tests on selenium.
Also fix bug 4631.

Review URL: https://chromiumcodereview.appspot.com//10916259

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12295 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 04:14:47 +00:00
lrn@google.com ec34263a9c Make JSON.stringify call toJson() on objects that it can't serialize.
The toJson method must return a value that can be directly serialized
(a num/String/bool/Null/List/Map value).
Clean up of json.dart with more comments and less unnecessary privacy.

BUG=4716

Review URL: https://chromiumcodereview.appspot.com//10914009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12238 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 07:21:27 +00:00
iposva@google.com b0a59f5624 - Do not pass -ansi to gcc to get va_copy.
Review URL: https://chromiumcodereview.appspot.com//10919216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12206 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 15:23:08 +00:00
whesse@google.com 6160cad059 Print error output from DumpRenderTree updater in test.dart.
BUG=dart:4157

Review URL: https://chromiumcodereview.appspot.com//10911205

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12195 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 13:24:24 +00:00
ahe@google.com d1cb4358a2 Run dart2js tests unmodified in drt.
Review URL: https://chromiumcodereview.appspot.com//10918168

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12182 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 11:16:21 +00:00
lrn@google.com f52c24b62f Rename NoSuchMethodException to NoSuchMethodError.
Moved NoSuchMethodError to errors.dart.
No changes in co19 tests, but test status updated.

Review URL: https://chromiumcodereview.appspot.com//10909166

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12172 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:52:25 +00:00
ahe@google.com 0e4bf23853 Revert "Run dart2js tests unmodified in browser."
This reverts r12164, r12166, r12167, and r12169.

Review URL: https://chromiumcodereview.appspot.com//10914197

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12170 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:05:52 +00:00
ahe@google.com 7d55ed7fdf Run dart2js tests unmodified in browser.
Review URL: https://chromiumcodereview.appspot.com//10919098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12159 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 07:00:24 +00:00
brianwilkerson@google.com 2bda2a7c16 Add meta to the SDK
Review URL: https://chromiumcodereview.appspot.com//10924003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12150 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 21:43:07 +00:00
antonm@google.com a1770a8bbd Sync .gitignore with the corresponding svn properties.
R=ahe@google.com

Review URL: https://chromiumcodereview.appspot.com//10914176

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12122 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 15:44:25 +00:00
efortuna@google.com 31cf5d5c24 Always turn on auto-updating on firefox for browser tests.
Review URL: https://chromiumcodereview.appspot.com//10909131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12081 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 23:49:32 +00:00
dgrove@google.com 4b496390d2 Bring back escaping of raw strings.
TBR=efortuna
Review URL: https://chromiumcodereview.appspot.com//10918129

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12070 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 22:01:57 +00:00
efortuna@google.com 12de46c95d Fix path to dart2js on windows.
Review URL: https://chromiumcodereview.appspot.com//10916183

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12069 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 21:50:16 +00:00
dgrove@google.com af1f82236f Move lib/compiler to pkg/compiler in SDK.
This addresses issue 4788 in the SDK. Once lib/compiler moves to pkg/compiler in the repo, this change can be undone.
Review URL: https://chromiumcodereview.appspot.com//10918106

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12062 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 20:36:47 +00:00
dgrove@google.com 75bd69169a Make dartdoc work again in the SDK.
BUG=4937
Review URL: https://chromiumcodereview.appspot.com//10905151

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12057 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 19:44:46 +00:00
lrn@google.com 66c692278e Fix typo in create_sdk.py.
TBR=antonm@google.com

Review URL: https://chromiumcodereview.appspot.com//10913131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12024 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 12:35:58 +00:00
lrn@google.com 978c3f6da6 Move dart:web to pkg:htmlescape.
Remove the dart:web library from the VM.
Remove reference to web library from libraries.dart.

Review URL: https://chromiumcodereview.appspot.com//10919147

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12023 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 12:30:55 +00:00
dgrove@google.com 2561dd7544 Remove frogpad, as it's unused.
Review URL: https://chromiumcodereview.appspot.com//10919138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11996 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:20:44 +00:00
efortuna@google.com f916eec374 Additional run_perf_tests.py tweaks.
Review URL: https://chromiumcodereview.appspot.com//10914115

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11995 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:13:31 +00:00
pquitslund@google.com 042e0dc303 Quest for greeness (syntax error fix).
Review URL: https://chromiumcodereview.appspot.com//10911130

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11982 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 20:16:21 +00:00