Commit Graph

39 Commits

Author SHA1 Message Date
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
dgrove@google.com a71d1a3b93 Skip args tests to get gots green.
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//10829393

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10917 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 19:51:18 +00:00
alanknight@google.com 2f05a496cc One more place that needs a "test" prefix in skipped
Review URL: https://chromiumcodereview.appspot.com//10824320

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10777 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:09:09 +00:00
alanknight@google.com 38f1abc22c Missing "test" prefix on skipped fixnum test
Review URL: https://chromiumcodereview.appspot.com//10834347

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10773 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:12:51 +00:00
alanknight@google.com 3122c09799 Move status file entries from tests/lib to pkg so as not to run known failing tests on the moved li…
Review URL: https://chromiumcodereview.appspot.com//10836272

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10772 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:02:27 +00:00
dgrove@google.com 747b22d3bc Move fixnum to from lib/ to pkg/ . Once pub.dartlang.org
is available, this package will likely be moved there.
Review URL: https://chromiumcodereview.appspot.com//10854162

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10769 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 20:33:16 +00:00
efortuna@google.com 2cf286df4f Fix Opera's red build status.
Review URL: https://chromiumcodereview.appspot.com//10855180

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10755 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 17:41:00 +00:00
antonm@google.com da9404127f Update suppressions.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10712 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:50:51 +00:00
alanknight@google.com ce28be9d2f Move tests for things in /pkg into the right places for packages
Review URL: https://chromiumcodereview.appspot.com//10828310

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10688 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 23:05:20 +00:00