Commit Graph

1458 Commits

Author SHA1 Message Date
lrn@google.com 0bcd2f4f7b Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14198 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 13:34:58 +00:00
alanknight@google.com 03e97181bc Reinstate skipping of http_request_test on dartium
Review URL: https://codereview.chromium.org//11263056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14102 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 21:29:10 +00:00
alanknight@google.com 583697cae9 Tolerate null from finding browser locale, re-enable tests
Review URL: https://codereview.chromium.org//11265028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14097 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 20:07:02 +00:00
efortuna@google.com 5df1c2a7ad Enable Opera tests.
Review URL: https://codereview.chromium.org//11271016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14091 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 18:05:43 +00:00
efortuna@google.com ce3543f212 Reapply ie to ie9 rename.
Review URL: https://codereview.chromium.org//11231081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13978 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:17:30 +00:00
efortuna@google.com 920589055f Revert rename ie to ie9.
Review URL: https://codereview.chromium.org//11249003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13976 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:28:33 +00:00
efortuna@google.com aced5af6e3 Intl browser locale status on IE.
Review URL: https://codereview.chromium.org//11236058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13918 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 01:26:35 +00:00
efortuna@google.com 5c11640be1 Fix pkg.status with ie9 rename.
Review URL: https://codereview.chromium.org//11225049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13916 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 23:53:50 +00:00
scheglov@google.com 09b22d5b46 Issue 6073. Fixes for 'export'.
http://code.google.com/p/dart/issues/detail?id=6073

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13853 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-20 20:47:58 +00:00
ahe@google.com 5e0c331388 Turns out that dartc didn't implement export.
Review URL: https://codereview.chromium.org//11194079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13811 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:35:00 +00:00
efortuna@google.com 1044555ef0 Update date time test status
Review URL: https://codereview.chromium.org//11038045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13263 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:24:14 +00:00
efortuna@google.com cc93a9ca0d Fix test status on Windows.
Review URL: https://codereview.chromium.org//11027034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13250 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:06:31 +00:00
ager@google.com c4c4b7f08c Add in-process http server to the dart test scripts.
Removed support for extra commands. Change pkg/intl test to use
builtin http server.

Fixed regression in test runner so the test script terminates when
passing in an unknown selector.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 10:43:48 +00:00
alanknight@google.com a93c81e1c6 Remove "slow" tag from Intl http_request test
Review URL: https://codereview.chromium.org//11051030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13203 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 23:03:32 +00:00
alanknight@google.com 8d2d5bc6f7 Finding locale from browser needs to canonicalize the result
Review URL: https://codereview.chromium.org//11016017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13136 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 20:36:51 +00:00
alanknight@google.com 6d78df29c1 Temporarily disable finding browser on safari while debugging
Review URL: https://codereview.chromium.org//11032025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13131 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 18:50:41 +00:00
ricow@google.com ced5a068a8 Add pass marker to intl/test/date_time_format_http_request_test marked slow in last commit.
We should change the semantics of the slow marker to implicitly mean Pass unless otherwise specified.
Review URL: https://codereview.chromium.org//11040019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13102 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 07:02:39 +00:00
ricow@google.com f3b0a2c1eb Mark pkg/intl/test/date_time_format_http_request_test as slow.
The additional nit capitalizations of markers has no semantic meaning, just for consistency.
Review URL: https://codereview.chromium.org//11037014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13101 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 06:35:01 +00:00
ager@google.com d8f6b41e07 Update status to reflect tests passing.
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13058 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 10:36:19 +00:00
alanknight@google.com a9858d846c Also skip drt tests for http request
Review URL: https://codereview.chromium.org//10957049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12742 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 22:20:31 +00:00
alanknight@google.com 7de9ec0812 Disable http request tests on Dartium until issues can be resolved
Review URL: https://codereview.chromium.org//10967051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12739 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 21:20:25 +00:00
alanknight@google.com 379f74a6e0 Fix typo in start_web_server, re-enable tests
Review URL: https://codereview.chromium.org//10962035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12728 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 18:17:33 +00:00
alanknight@google.com db7dcd4585 Disable problematic http test
Review URL: https://codereview.chromium.org//10958027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12675 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 01:02:22 +00:00
alanknight@google.com 388a543ab2 Temporarily disable intl http test on dartium because of issue with the inc build and working direc…
Review URL: https://codereview.chromium.org//10965028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12670 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:33:41 +00:00
alanknight@google.com e8cb3a0c77 Spelling error in status file
Review URL: https://codereview.chromium.org//10968024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12667 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:11:38 +00:00
alanknight@google.com 6a15f1e851 Status file automatic merge did not work
Review URL: https://codereview.chromium.org//10967029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12665 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 23:55:14 +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
scheglov@google.com 3c4080aff2 Issue 5163. Constructor/member name conflict should be error
http://code.google.com/p/dart/issues/detail?id=5163

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12660 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 21:31:09 +00:00
alanknight@google.com 2a96a33e66 Fix finding locale from OS on Windows
Review URL: https://codereview.chromium.org//10939002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12505 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 17:08:29 +00:00
alanknight@google.com 989a9e3be2 Skip windows when finding browser locale from OS
Review URL: https://codereview.chromium.org//10928244

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12463 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 22:42:07 +00:00
alanknight@google.com f12a2943f6 Find the system locale from the browser or OS
Review URL: https://codereview.chromium.org//10907266

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12461 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 22:25:48 +00:00
ager@google.com 4a2dc9f4cb Update status files after fixes.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12376 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 11:21:56 +00:00
rnystrom@google.com 3c051bf78c Disable dartdoc_test on dartium.
Review URL: https://codereview.chromium.org//10909222

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12360 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 01:14:21 +00:00
rnystrom@google.com f3f22d89e9 Fail dartc dartdoc test.
Review URL: https://codereview.chromium.org//10905280

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12356 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 22:05:23 +00:00
alanknight@google.com 88d3a194d5 dart:io usage still fails on dartc due to 5143
Review URL: https://codereview.chromium.org//10919269

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12346 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 18:33:56 +00:00
alanknight@google.com 282a347822 Add async initialization for Intl.message and an example
Review URL: https://chromiumcodereview.appspot.com//10915215

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12345 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 18:20:29 +00:00
scheglov@google.com ea65bbb961 Issue 3553. Stop treating static final variables as constants
http://code.google.com/p/dart/issues/detail?id=3553
http://code.google.com/p/dart/issues/detail?id=3476

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12336 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 15:49:07 +00:00
alanknight@google.com e7b27a813d Oops, forgot to fix status file when renaming tests
Review URL: https://chromiumcodereview.appspot.com//10913142

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12068 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 21:18:30 +00:00
ngeoffray@google.com 13dd7022b5 num implements Comparable and Hashable.
Review URL: https://chromiumcodereview.appspot.com//10916172

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12037 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 14:20:36 +00:00
ngeoffray@google.com 94f1c2ed10 Change our 'is int' check to use Math.floor instead of a smi check.
Review URL: https://chromiumcodereview.appspot.com//10912147

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12018 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 12:05:34 +00:00
ngeoffray@google.com 9d2f296c5a Fix status files for browser checked mode.
Review URL: https://chromiumcodereview.appspot.com//10905139

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11998 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:31:27 +00:00
gram@google.com a1eecbbc65 Added support for layout render tests. These use expected values for the text render output from DumpRenderTree. When running a test in DRT the testrunner will see if there is a file with a .render extension in the same directory as the test file and with the same base file name. If so it will do additional checks of the rendered layout.
Here is a simple example test:

#library('sample');
#import('dart:html');
#import('pkg:unittest/unittest.dart');

main() {
  group('foo', () {
    test('test 1', () {
      document.body.nodes.add(new Element.html("<p>Test 1</p>"));
    });
    test('test 2', () {
      document.body.nodes.add(new Element.html("<p>Test 2</p>"));
    });
  });
}

And a sample matching .render file:

[foo test 1]
RenderBlock {P} at (0,0) size 284x20
  RenderText {#text} at (0,0) size 38x19
    text run at (0,0) width 38: "Test 1"
[foo test 2]
RenderBlock {P} at (0,0) size 284x20
  RenderText {#text} at (0,0) size 38x19
    text run at (0,0) width 38: "Test 2"

Note that the render content is only the content inside the <body> element, not including the body element itself.

testrunner can generate render files itself if you use the --generate-renders flag.

Also in this change - rename Configuration.log to trace, to avoid clash with the math log() function.
Review URL: https://chromiumcodereview.appspot.com//10914049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11994 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 21:51:24 +00:00
ngeoffray@google.com b5fe256172 Improvements for checked mode: check when intializing fields, and when assigning to fields.
Review URL: https://chromiumcodereview.appspot.com//10910092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11962 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 16:03:25 +00:00
ngeoffray@google.com fce3e2ec01 Fix checked mode on browser.
Review URL: https://chromiumcodereview.appspot.com//10912109

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11933 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 10:48:22 +00:00
alanknight@google.com 85e5a21b87 dartc can't compile dart:io, fix status to avoid using it
Review URL: https://chromiumcodereview.appspot.com//10911112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11904 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 21:14:52 +00:00
alanknight@google.com efa7a80f03 Async initialization for DateFormat
Review URL: https://chromiumcodereview.appspot.com//10917069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11901 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 19:54:01 +00:00
ahe@google.com 233c007636 Update status file for dart2js checked mode.
We didn't use to test checked mode on browsers. Now we do.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11877 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 15:57:38 +00:00
alanknight@google.com 7cc69cba39 Parsing dates with format that's just month or day will fail on certain days
Review URL: https://chromiumcodereview.appspot.com//10916015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11636 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 17:54:13 +00:00
sgjesse@google.com 686bd7b5a1 Disable failing test
R=kmillikin@google.com

BUG=dart:4838

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11582 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 08:09:06 +00:00
dgrove@google.com f76b3e0ac8 Fix syntax error in args.dart, reenable args tests.
Review URL: https://chromiumcodereview.appspot.com//10837315

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10920 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 20:15:29 +00:00