Commit Graph

1282 Commits

Author SHA1 Message Date
johnmccutchan@google.com bc987abea7 Revert type hierarchy changes
Review URL: https://codereview.chromium.org//23533046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27374 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 11:05:10 +00:00
ricow@google.com 0032257d32 Mark standalone/io/file_system_watcher_test as flaky timing out
Filed issue 13228

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27369 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:02:47 +00:00
johnmccutchan@google.com a2c4cf0896 Uint8ClampedList no longer inherits from Uint8List
Review URL: https://codereview.chromium.org//23464052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27366 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 08:06:22 +00:00
iposva@google.com 09a1a3824b - Add missing AddProperty function, which was lost during reformatting.
- Reenable vmservice tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27348 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 18:11:29 +00:00
iposva@google.com 3d5e47acfc - Disable vmservice/ tests temporarily.
Review URL: https://codereview.chromium.org//23983022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27347 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 17:57:28 +00:00
kustermann@google.com 5bb79cdda5 Followup CL after co19-roll to r576
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27340 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 15:55:07 +00:00
ajohnsen@google.com c04ce303ce Fix file_test after changing exception throw from readAsStringSync in File.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27330 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:37:35 +00:00
ajohnsen@google.com b57176ef54 Throw FileExceptions when in File when reading as String and decoding fails.
BUG=https://code.google.com/p/dart/issues/detail?id=13199
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27329 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:14:31 +00:00
ajohnsen@google.com 8fdf9b8ee6 Use correct output encoding in Process.runSync.
BUG=https://code.google.com/p/dart/issues/detail?id=13149
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27283 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 10:33:53 +00:00
ajohnsen@google.com d49e9b1bd3 Make sure we always have an 'open' asyncStart, while running tests in file_test.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27188 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 10:58:51 +00:00
ajohnsen@google.com f55580a137 Relax expectations for events on mac, and allow move events to not have a destination.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27184 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 09:31:35 +00:00
ajohnsen@google.com 1b9e2e8160 Run testReadAsText wrapped in createTempDirectory, as it uses the shared temp directory.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27180 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 08:53:08 +00:00
ajohnsen@google.com b8d9214b2c Be sure to enter monitor before notifying, in file_system_watcher_macos.
BUG=https://code.google.com/p/dart/issues/detail?id=13065
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27178 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 08:14:48 +00:00
ricow@google.com 0c4afa04b0 Mark standalone/io/file_system_watcher_test flaky on mac
Filed: issue 13065 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27176 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 07:03:54 +00:00
ricow@google.com 0a73c90237 Mark standalone/io/test_runner_test as flaky on simmips
We already have issue 12413 to track this.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27103 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 08:54:06 +00:00
ajohnsen@google.com 58e5923de2 Run file system operations in file_system_watcher_test after a runAsync delay.
This fixes the flakyness seen on Windows.

BUG=
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27065 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 16:07:06 +00:00
ajohnsen@google.com 7c53dfaf3f Make file system watcher compile on Mac OS 106, and add a runtime-call to test if the system supports the feature.
BUG=
R=kustermann@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27064 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 15:42:02 +00:00
sgjesse@google.com b1a115db63 Fix errors in dart:io tests found by the analyzer
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27057 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 14:02:21 +00:00
ajohnsen@google.com 7f25bcad1a Make multi-test less strict, to avoid oddly-delayed errors on Windows.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27055 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:49:49 +00:00
sgjesse@google.com 18c75d3dc2 Update dart:io tests to use asyncStart/asyncEnd
R=ajohnsen@google.com
BUG=http://dartbug.com/12977

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27054 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:42:56 +00:00
ajohnsen@google.com 82e0b66a40 Remove unused line from file_system_watcher_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27052 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:21:09 +00:00
ajohnsen@google.com 38bae0af02 Add FileSystemWatcher class to dart:io.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27048 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 12:43:08 +00:00
ajohnsen@google.com d47d589e92 Make sure to never report SocketExceptions on HttpResponse.
This fixes a case where the system might not fail on sending data, but first fail on closing the socket.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27039 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 11:05:08 +00:00
sgjesse@google.com 25d25afbd6 Use the same IP address for both server and client in web_socket_pipe_test
On Mac OS and Windows localhost by default resolve to IPv6 address ::1.

Also improve web_socket_pipe_test code and style as previously suggested.

R=whesse@google.com
BUG=http://dartbug.com/12974

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27012 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 12:00:56 +00:00
floitsch@google.com 57b38d163e Mark http_server_early_client_close_test as flaky.
Review URL: https://codereview.chromium.org//23545018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27007 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 10:36:21 +00:00
ajohnsen@google.com 5b151dafac Add library tag to web_socket_ping_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27000 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:58:03 +00:00
ajohnsen@google.com 092a50623d Fix web_socket_ping_test to not use any timeouts longer than 100 ms.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26998 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:46:14 +00:00
ajohnsen@google.com 687d009cdb Increase timeout for http_response_deadline_test, to make it stable on DebugSIMARM.
BUG=https://code.google.com/p/dart/issues/detail?id=12850
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26997 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:43:31 +00:00
sgjesse@google.com 207c3d82e6 Skip newly added failing test
The test standalone/io/web_socket_pipe_test is failing on Mac OS and
Windows.

TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26994 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:12:29 +00:00
sgjesse@google.com c02b3dd335 Fix piping to a WebSocket
R=lrn@google.com
BUG=http://dartbug.com/12923

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26991 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 07:33:04 +00:00
whesse@google.com 887523c613 Add passing status for standalone/oom_error_stacktrace_test on dart2js with runtime=none.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26842 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 08:36:55 +00:00
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
floitsch@google.com 31e1ffb8e9 Mark http_response_deadline_test as flaky on simmarm.
Review URL: https://codereview.chromium.org//23592006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26788 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 13:51:34 +00:00
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
whesse@google.com fd1a8cf947 Make dart:io SecureSocket builtin root certificate test more robust, merge test files.
BUG=dartbug.com/12770
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26709 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 12:22:17 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

R=floitsch@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +00:00
floitsch@google.com 35d7140e66 Remove Encoding-enum from dart:io and add interface in dart:convert.
BUG= http://dartbug.com/6284
BUG= http://dartbug.com/7966
R=nweiz@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26632 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 10:37:25 +00:00
whesse@google.com 804b907303 Fix error in tests/standalone/io/http_cross_process_test.dart.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26630 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 09:56:25 +00:00
whesse@google.com 80d341e0d4 Add dart:io tests for creating a client and server in separate processes.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26628 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 09:33:04 +00:00
floitsch@google.com 7ac9dcd8af Remove usage of dart:utf from dart:io.
R=ajohnsen@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26586 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 09:08:41 +00:00
kustermann@google.com cef46dcaa0 Remove entries in status refering to non-existent files/multitests
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26584 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 08:47:58 +00:00
ajohnsen@google.com cf6578fafe Update ZLib/GZip in dart:io to be a Codec/Converter from dart:convert.
BUG=
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26577 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 07:12:11 +00:00
kustermann@google.com bc051d0a91 Remove entries in status refering to non-existent files
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26438 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 16:40:40 +00:00
whesse@google.com 9de122a462 Add Platform.packageRoot and Platform.executableArguments to dart:io.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26432 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 15:21:55 +00:00
ajohnsen@google.com 92dc30bc0c Only change timeout to 100ms after the connection is established.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26420 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:44:09 +00:00
sgjesse@google.com 38506f9d57 Remove the LineTransformer from dart:io
The LineTransformer has been retired, and is replaced with LineSplitter from dart:convert

R=floitsch@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26419 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:35:46 +00:00
ajohnsen@google.com 87530aa003 Add HttpServer.idleTimeout for closing idle keep-alive connections.
Default value is set to 120 seconds.

BUG=https://code.google.com/p/dart/issues/detail?id=12565
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26417 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:04:36 +00:00
whesse@google.com 30aaf877c6 Fix error in SecureSocket, remove failing status from tests.
BUG=dartbug.com/12451
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26350 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 12:53:52 +00:00
zra@google.com 66d7b61a3b Fix status file for ARM hardware.
Review URL: https://codereview.chromium.org//23265002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26217 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:58:32 +00:00
zra@google.com 58ab6b769c Updates standalone status file for ARM
Now that we are linking dynamically again, let's re-enable the standalone tests.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26200 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 16:51:06 +00:00