Commit Graph

1115 Commits

Author SHA1 Message Date
ahe@google.com fb2a233d2c Remove generic typedefs that dart2js chokes on.
Review URL: https://codereview.chromium.org//11794047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16797 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 13:51:44 +00:00
ajohnsen@google.com 5696291f18 Fix future_test.dart and remove future2_test.dart.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16784 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 09:27:08 +00:00
floitsch@google.com 3106d74103 Update status file.
Two tests are timing out when compiled with dart2js and run in the browser.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16772 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 00:14:31 +00:00
vsm@google.com 52f5c2ff22 Test fixes for dartium
Review URL: https://codereview.chromium.org//11778030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16769 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 23:47:37 +00:00
floitsch@google.com 00d44bd6e8 Enable async-tests in drt (where Timer is available).
Review URL: https://codereview.chromium.org//11784027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16743 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 20:00:17 +00:00
ahe@google.com fa511096e8 Don't use redirecting factories with type arguments.
Also, update status file.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16729 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 16:56:16 +00:00
ager@google.com 10a3642727 Mark broken future test as failing on VM.
There is already a bug report for this. It looks like a high priority
that the new future behavior is correctly tested.

R=lrn@google.com,ajohnsen@google.com,floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16700 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 14:48:44 +00:00
lrn@google.com 2b2de751a7 Fixed status files for dart2js corelib/lib/language tests.
Moved two tests to lib/async where they belong.

R=floitsch@google.com
CC=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16699 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 14:15:29 +00:00
ricow@google.com 75ae6c0c85 Suppress async tests on dartium until bindings have been fixed.
Issue 7731 filed.
Review URL: https://codereview.chromium.org//11779020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16698 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 13:50:04 +00:00
karlklose@google.com 126820a65f Mark tests that use Timer as failing on dart2js.
There is no implementation for Timer in JavaScript.

R=floitsch@google.com
BUG=dartbug.com/7728

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16697 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 13:39:09 +00:00
ager@google.com 8344be9558 Mark slow_consumer2_test failing on x64 VM config
R=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16693 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 12:50:19 +00:00
scheglov@google.com ecd5c7d0bf Issue 5064. Some more 'skip' tests triage
http://code.google.com/p/dart/issues/detail?id=5064

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16227 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 20:39:03 +00:00
gram@google.com cdb7da543b Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/tests/standalone.
Review URL: https://codereview.chromium.org//11358203

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:45:18 +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
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
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
johnniwinther@google.com c5836e4af1 Revert "dart2js_mirrors_test added"
This reverts commit r13652.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13653 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-15 11:15:32 +00:00
johnniwinther@google.com 962ea5353a dart2js_mirrors_test added
Review URL: https://codereview.chromium.org//11118020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13652 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-15 10:53:33 +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 a844d14874 Fix status files to make bots green.
Review URL: https://chromiumcodereview.appspot.com//10917112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11936 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 11:41:59 +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
dgrove@google.com bacdd20e96 Continued deletion of frog.
Review URL: https://chromiumcodereview.appspot.com//10860071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11098 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 21:09:52 +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
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
gram@google.com 02df7ce4f6 Mark negative test as fail for dartc.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10364 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 02:11:26 +00:00
gram@google.com 547b8c0055 Added bad regexp callmatcher mock test.
Review URL: https://chromiumcodereview.appspot.com//10826086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10088 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 21:29:59 +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
smok@google.com ac8d991870 dart2dart
Several fixes for more robust renaming of type annotations and Send-s:
Correct renaming of class interfaces with type arguments, renaming
of global functions, constructor and named constructor calls, static
field accesses.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10003 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 05:27:58 +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
rmacnak@google.com bf0005b70a The mirror tests made the invalid assumption that the library with the tests
will be the root library at run time. They should instead get the library
mirror by name.
Review URL: https://chromiumcodereview.appspot.com//10805085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9858 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 17:22:50 +00:00
rmacnak@google.com a81ee512b7 Disable mirror tests on Dartium to fix the build. TBR.
Review URL: https://chromiumcodereview.appspot.com//10815067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9833 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-23 23:42:52 +00:00
rmacnak@google.com e0931044c0 Added getField/setField to ObjectMirror. For InstanceMirrors, this get/sets
fields; for InterfaceMirrors, static fields; for LibraryMirrors, top-level 
fields.
Review URL: https://chromiumcodereview.appspot.com//10704259

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9832 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-23 22:53:52 +00:00
efortuna@google.com 7be8e8fc12 Reapply r9192 and 9194, with the change of making locale a public field.
Review URL: https://chromiumcodereview.appspot.com//10692022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9206 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:00:58 +00:00
scheglov@google.com 68b1aa49c9 Issue 3897. Don't use method _invocation_ as enclosing Element
http://code.google.com/p/dart/issues/detail?id=3897

TBR
Committed for now.

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9196 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 02:32:59 +00:00
efortuna@google.com 02cbb9c9de revert 9192,9194
Review URL: https://chromiumcodereview.appspot.com//10700013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9195 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 23:52:40 +00:00
efortuna@google.com d1dfcdf96b Fix dartc status files and error.
Review URL: https://chromiumcodereview.appspot.com//10698025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9194 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 23:40:03 +00:00
zundel@google.com bf685f7b87 Documents a problem in the analyzer checking the library element in some cases
http://code.google.com/p/dart/issues/detail?id=3897

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9190 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 22:06:15 +00:00
efortuna@google.com 241d2ca7ca Run bidi tests in dartium now that dart:web works.
Review URL: https://chromiumcodereview.appspot.com//10694008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9187 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 19:41:22 +00:00
efortuna@google.com 80b7c27ed8 Submit 9138 again. The only thing new/different is tests/lib/lib.status.
Review URL: https://chromiumcodereview.appspot.com//10674009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9144 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 00:17:27 +00:00
rice@google.com dfa72761ed Skip int_64_test in dart2js checked mode
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8819 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 20:37:50 +00:00
ahe@google.com d14970bfa2 Update status file due to problem with checked mode in dart2js.
Review URL: https://chromiumcodereview.appspot.com//10556045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8807 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 16:44:56 +00:00
rice@google.com 905fbc4dc7 Add 'fixnum' library to utils/
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8804 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 16:07:08 +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
efortuna@google.com 17f116fc9a MessageFormat fixup
Review URL: https://chromiumcodereview.appspot.com//10538033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8413 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 23:37:28 +00:00
efortuna@google.com e797853f1c Fix status file.
TBR.
Review URL: https://chromiumcodereview.appspot.com//10509014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8273 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-05 02:07:13 +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