Commit Graph

153 Commits

Author SHA1 Message Date
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
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
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
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
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
kasperl@google.com 8bd4bf096b Update almost all tests (except co19) to use the new try-catch syntax.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11492 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:11:41 +00:00
scheglov@google.com 618ff29a6d Issue 4713. Support for 'static const' field in interfaces
http://code.google.com/p/dart/issues/detail?id=4713

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11409 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 19:51:17 +00:00
iposva@google.com 670d295e40 - Updating status files with more failed tests due to bug 4713.
Review URL: https://chromiumcodereview.appspot.com//10869077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11406 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 19:04:23 +00:00
iposva@google.com fedcff55ed - Change "static final" to "static const" in the tests/ directory.
Review URL: https://chromiumcodereview.appspot.com//10871071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11350 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 22:21:20 +00:00
ricow@google.com 5871d1e68d Update status file to use mac instead of macos.
Emily: why do we have these skip exceptions anyway, imho they don't make any sense at all (who has ie on linux or mac?). If there is no deeper meaning we should delete them.
Review URL: https://chromiumcodereview.appspot.com//10877010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11287 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 07:01:09 +00:00
ager@google.com 722c1a3ce6 Deprecate Math object in corelib in favor of dart:math library.
Review URL: https://chromiumcodereview.appspot.com//10829459

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:33:01 +00:00
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
efortuna@google.com 1d14fb856e Un-enable Opera.
Review URL: https://chromiumcodereview.appspot.com//10826255

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10543 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 23:36:51 +00:00
efortuna@google.com 5072b18d98 Enable Opera testing (!!!).
Review URL: https://chromiumcodereview.appspot.com//10832239

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10513 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 16:50:34 +00:00
sigmund@google.com 1d950db569 Add Timer implementation for dart2js. Also moves tests to appropriate location.
Review URL: https://chromiumcodereview.appspot.com//10830230

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10460 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 20:58:07 +00:00
ager@google.com 7584aafb47 Fix negative test by not complicating it by using the unit test framework.
R=kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10215 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 08:06:27 +00:00
ager@google.com 50932d31c8 Fix dartc status file after isolate changes.
R=kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10212 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 07:51:20 +00:00
ager@google.com 6a4ce8c82f Fix type annotation issue.
R=kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10211 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 07:39:48 +00:00
ager@google.com 4531c0c770 Remove old isolate API and update all code in the repository to use
the new API.

R=kasperl@google.com,sigmund@google.com,turnidge@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10210 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 07:24:29 +00:00
smok@google.com 4412f8653f dart2dart Skip non-language tests, leave yaml too.
Review URL: https://chromiumcodereview.appspot.com//10823079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10014 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 13:50:54 +00:00
antonm@google.com 74d17a16f9 dart2dart compiler support.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +00:00
sigmund@google.com 7beec61faa fix isolate.status: oops, all browsers, not just drt
TBR=efortuna@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9221 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 20:53:16 +00:00
sigmund@google.com 5548949d3d update isolate.status: triagge what works and what doesn't work in dart2js
Review URL: https://chromiumcodereview.appspot.com//10694023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9219 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 20:48:25 +00:00
gram@google.com 9b79e27e17 Some unit test fixes:
Fixed a couple of issues in the ensureInitialized() function.
Added expectAsyncUntil methods to support callbackDone style tests.
Split the matcher tests up so that we can exclude those that use isInstance
from the environments where they don't work.
Eliminated the need for two functions calls in throws/throwsA.
Fixed some tests.
Changed some uses of Expect to expect.
Fixed a bug when using expectAsync with a count of zero.
Fixed a bug where we weren't updating the call count in invoke0/1/2.
Made expect behave sensibly in cases where the user doesn't supply a 
matcher (e.g. expect(foo, 0)). USing the predicate form with a 
reason now requires a named parameter.
Review URL: https://chromiumcodereview.appspot.com//10544167

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8753 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 23:17:57 +00:00
gram@google.com 0aceb0c410 Revert 8668
Review URL: https://chromiumcodereview.appspot.com//10539163

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8673 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 17:27:21 +00:00
gram@google.com 0a8476dfcc Some unit test fixes:
Fixed a couple of issues in the ensureInitialized() function.
Added expectAsyncUntil methods to support callbackDone style tests.
Split the matcher tests up so that we can exclude those that use isInstance
from the environments where they don't work.
Eliminated the need for two functions calls in throws/throwsA.
Fixed a couple of tests.
Review URL: https://chromiumcodereview.appspot.com//10545167

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8668 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 16:40:28 +00:00
floitsch@google.com 71f123f9e9 Update status file.
Review URL: https://chromiumcodereview.appspot.com//10533105

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8546 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 12:49:42 +00:00
floitsch@google.com af0fbc6d5f Give static functions that have a getter a name.
This is necessary so we can use them in spawnFunction.

Fixes issue 3244.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8540 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 11:49:12 +00:00
kasperl@google.com 78326ef863 Update status (more passing tests on IE).
TBR'ed.

R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8485 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 10:02:12 +00:00
kasperl@google.com b21cfb024e Unskip the last tests covered by http://dartbug/3304.
TBR'ed.

R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8484 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 08:49:10 +00:00
gram@google.com d2efc58b00 New expectation functions plus convert old tests to use these.
Review URL: https://chromiumcodereview.appspot.com//10441104

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8355 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 20:15:58 +00:00
kasperl@google.com 9b510ecbf8 Adjust status files after r8332.
R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8334 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 14:05:54 +00:00
kasperl@google.com 2bae781a21 Fix IE status files.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8105 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 14:24:48 +00:00
kasperl@google.com d9d1eb2a75 Update status files to make IE build bots green.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8086 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 07:30:26 +00:00
ngeoffray@google.com e2c7c6eaee Update status files for dart2js/mac/safari.
Review URL: https://chromiumcodereview.appspot.com//10442081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8085 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 07:26:01 +00:00
kasperl@google.com 5d23a99d71 Skip tests that time out on IE.
R=ngeoffray@google.com
BUG=http://dartbug.com/3304
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8084 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 05:59:16 +00:00
turnidge@google.com a339f45296 Add a regression test for bug 2235.
Review URL: https://chromiumcodereview.appspot.com//10443067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8081 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 21:36:42 +00:00
ngeoffray@google.com 2cb4416340 Use the typedef arity to know how to invoke a closure given by the dom.
Review URL: https://chromiumcodereview.appspot.com//10441071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8067 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 15:53:54 +00:00
ngeoffray@google.com 5ca4106a51 Skip dart2js/firefox until we fix issue 2615.
Review URL: https://chromiumcodereview.appspot.com//10449049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8045 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:41:29 +00:00
ngeoffray@google.com 50debf9fe0 It's system: macos, not system: mac
Review URL: https://chromiumcodereview.appspot.com//10458010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8039 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:08:12 +00:00
ngeoffray@google.com 3542e0bc07 Status file update to have dart2js/chrome/mac green.
Review URL: https://chromiumcodereview.appspot.com//10459006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8037 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 08:55:40 +00:00
turnidge@google.com ee4309c783 Skip some vm tests on other systems. They were timing out instead of
failing, which was making the buildbot sad.
Review URL: https://chromiumcodereview.appspot.com//10424005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7920 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 19:17:39 +00:00
turnidge@google.com 05b5d44b0e spawnUri. Take two. This time I'll wait for Anton before committing :-).
See original change 7756 for description.
Review URL: https://chromiumcodereview.appspot.com//10407042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7917 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 18:32:51 +00:00
gram@google.com 9248731b39 Change asyncTest/callbackDone style tests to use the new expectAsync/
guardAsync form, and fix a couple of issues in the unit test library
related to these.
Note: this CL covers the changes in the tests directory. There are a few
changes in utils and samples; these will de done in a separate CL.
Review URL: https://chromiumcodereview.appspot.com//10412015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7877 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 20:37:25 +00:00
hausner@google.com 048b8bde32 More String + elimination in tests
Worst offender was standalone test suite
Review URL: https://chromiumcodereview.appspot.com//10414002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7762 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:03:59 +00:00
turnidge@google.com 76d4586dea Revert my last change.
Review URL: https://chromiumcodereview.appspot.com//10332257

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7757 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 18:35:04 +00:00