Commit Graph

177 Commits

Author SHA1 Message Date
ngeoffray@google.com e4e6eed36c Fix status file. Test fails in non-checked mode too.
Review URL: https://codereview.chromium.org//11293273

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14883 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:25:16 +00:00
ngeoffray@google.com b8b04e8a56 Support corelib tests in checked mode.
Review URL: https://codereview.chromium.org//11361257

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14882 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:09:22 +00:00
hausner@google.com 959f9ab4c4 More function literal changes in tests.
Review URL: https://codereview.chromium.org//11363206

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14816 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:57:39 +00:00
floitsch@google.com 8e6f238f86 a === b -> identical(a, b)
Replace === null with == null.

BUG=http://dartbug.com/6380

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
gram@google.com dc81700b63 Update library syntax.
Review URL: https://codereview.chromium.org//11363140

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14700 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 18:34:39 +00:00
scheglov@google.com 1d310ff72c Report error for deprecated #library #import #source
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00
gram@google.com fdb33dc06b git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14445 260f80e4-7a28-3924-810f-c04153c831b5 2012-11-01 23:36:51 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
scheglov@google.com 2e574c8c14 Issue 5887. Parts must start with 'part of'.
Second attempt.
Now only DartC changes, and status updates.
So, should not break anyone else.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:17:28 +00:00
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
efortuna@google.com baa9edbf53 Isolate test is flaky, not just failing on Windows, apparently!
Review URL: https://codereview.chromium.org//11260038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14104 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:12:52 +00:00
efortuna@google.com f8b54aacd3 Update Opera test status for Windows.
Review URL: https://codereview.chromium.org//11276030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14096 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 20:04:00 +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
ricow@google.com 873c7baa06 Update status for jsshell to make the builders green.
Review URL: https://codereview.chromium.org//11194052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14073 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 12:45:22 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +00:00
floitsch@google.com 9074fd0178 Make hashCode a getter and not a method.
Review URL: https://codereview.chromium.org//11191078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13866 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:41:04 +00:00
justinfagnani@google.com 1dfb9473c1 Allow package: imports inside isolates
BUG=http://dartbug/5915

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13752 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 18:14:38 +00:00
efortuna@google.com 4839206863 Rename ie to ie9.
Review URL: https://codereview.chromium.org//11184015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13748 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:44:38 +00:00
regis@google.com adb534674c Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
Review URL: https://codereview.chromium.org//11090016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
floitsch@google.com 026b907d2e Register parameter types for closure invocations to the backend.
Submit CL 11091029 on behalf of Nicolas.
https://codereview.chromium.org/11091029

BUG=http://dartbug.com/5744

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13492 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:09:54 +00:00
justinfagnani@google.com a2daec4209 Fix Timers in isolates in dart2js.
BUG=http://dartbug.com/5734

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13428 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 18:58:08 +00:00
ahe@google.com e1e381e60f Update status file for FF on Windows.
Review URL: https://codereview.chromium.org//11085021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13420 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 16:20:23 +00:00
justinfagnani@google.com eaec4331bd Fix timer tests: timer tests were not using expectAsync to wait for
callbacks to be executed.

BUG=http:///dartbug/5730

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13381 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 23:13:33 +00:00
johnniwinther@google.com 98ab126164 Patch refactoring.
This is the third and main part of the patch refactoring.
Patch libraries, classes, and functions now have there separate element chain,
which is doubly-linked to their origin counterparts.

See the library comment in lib/compiler/patch_parser.dart for a detailed
description of the new patch system, the terminology and the invariants.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13163 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:00:45 +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
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