Commit Graph

21 Commits

Author SHA1 Message Date
nweiz@google.com 04a2a02fa8 Add debugging prints to the Mac OS directory watcher.
This is a temporary CL that will make it easier to track down and fix the errors
in the mac watcher.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30919 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 22:49:03 +00:00
nweiz@google.com 205f55ad4a Remove debugging prints from the Mac OS directory watcher.
R=rnystrom@google.com
BUG=15024

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30329 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-16 01:05:45 +00:00
nweiz@google.com 1bface13de Re-mark directory_watcher/mac_os_test as passing.
As before, this test is expected to fail. It's only failing on the
bots so we need to get the debug information from the bots to figure
out how to fix it.

This also adds some additional debug information to help clarify some
confusing output from the most recent failing log.

R=rnystrom@google.com
BUG=15024

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30315 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 21:43:50 +00:00
nweiz@google.com 0a4fb91145 Properly close watcher streams during tests.
This also makes [futureStream] pass cancellations through to the underlying
stream, and adds the ability for it to return broadcast streams.

R=rnystrom@google.com
BUG=14943

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30180 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 01:42:00 +00:00
nweiz@google.com db4cfbd3bf Work around a flake in the Mac OS watcher test on the bots.
Issues 14373 and 14793 were tag-teaming to cause no_subscription_test
to fail for the Mac OS watcher occasionally.

This also marks directory_watcher/mac_os_test as timing out, apparently due to
issue 14943.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30174 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 21:26:11 +00:00
nweiz@google.com 28ef6879f5 Fix some analyzer warnings and hints in pkg/watcher.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30172 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 21:02:06 +00:00
nweiz@google.com 03337e9e5f Wrap Directory.watch on Mac OS for the watcher package.
R=rnystrom@google.com
BUG=14428

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30168 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 19:47:18 +00:00
nweiz@google.com 73e68b810f Fix the watcher tests on Windows.
The tests were assuming POSIX paths.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30091 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 01:44:53 +00:00
nweiz@google.com 500eb1266b Wrap Directory.watch on linux for the watcher package.
R=rnystrom@google.com
BUG=14428

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30081 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 22:49:18 +00:00
whesse@google.com 428e84e7d4 Use Directory.systemTemp getter in pkg subdirectory of repository.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28218 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 13:12:10 +00:00
nweiz@google.com 9300846114 Use filtered stacks in pub, barback, and watcher tests.
This also exposes more unittest stuff to users of scheduled_test.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26751 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:13:30 +00:00
rnystrom@google.com 6c2fe4dea5 Normalize test paths.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26160 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:46:41 +00:00
rnystrom@google.com a07415d196 Handle watching a non-existent directory.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26153 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:02:02 +00:00
rnystrom@google.com b44ec0e706 Re-implement directory polling.
BUG=https://code.google.com/p/dart/issues/detail?id=12107
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25746 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 22:01:39 +00:00
gram@google.com fb62473ebf Add missing newline after Actual value in fail message.
Remove the BasMatcher class; it made some sense when we had both 'interface'
and 'class' but adds no value now.
Fix a comment in the CustomMatcher documentation.
Fix tests affected by these changes.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25356 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 19:48:26 +00:00
rnystrom@google.com 67506c3e49 Normalize paths when matching them.
Review URL: https://codereview.chromium.org//18464006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24986 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-13 00:10:44 +00:00
rnystrom@google.com 44364a50dd Normalize paths in mock timestamp map.
Makes sure separators are consistent on Windows.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24984 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 23:47:49 +00:00
rnystrom@google.com 2147df7433 Add some debug prints to figure out why a test is failing on windows.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24983 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 23:25:28 +00:00
rnystrom@google.com 94fdc83209 Split up tests and add some heartbeats to try to make them not timeout.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24978 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 22:45:43 +00:00
rnystrom@google.com b269f59153 Fix pathos->path in watcher example.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24976 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:47:02 +00:00
rnystrom@google.com ed4a747343 File watching package.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24971 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:15:02 +00:00