Add a scheduled test library.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18285 260f80e4-7a28-3924-810f-c04153c831b5
Skip the scheduled test tests on dart2js.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18288 260f80e4-7a28-3924-810f-c04153c831b5
Make the scheduled_test schedule keep track of multiple errors.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18349 260f80e4-7a28-3924-810f-c04153c831b5
Fix a couple ScheduleError error messages.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18350 260f80e4-7a28-3924-810f-c04153c831b5
Roll back r18349.

This was exhibiting flaky failures on the VM bots.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18359 260f80e4-7a28-3924-810f-c04153c831b5
Re-submit r18349.

This should hopefully guard against the race condition introduced by extremely
slow CPU time.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18361 260f80e4-7a28-3924-810f-c04153c831b5
Add built-in timeouts to scheduled_test.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18363 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Add built-in timeouts to scheduled_test."

This reverts r18363.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18366 260f80e4-7a28-3924-810f-c04153c831b5
Pump the event queue manually rather than using a timer.

Hopefully this will be less flaky than timer-based tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18420 260f80e4-7a28-3924-810f-c04153c831b5
Add built-in timeouts to scheduled_test.

Unlike r18363, this mocks out the Timer class to provide more deterministic
behavior when running tests on slow computers.

BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18429 260f80e4-7a28-3924-810f-c04153c831b5
Fix the expected error messages for scheduled tests.

TBR
BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18430 260f80e4-7a28-3924-810f-c04153c831b5
Remove deprecated Strings class.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18686 260f80e4-7a28-3924-810f-c04153c831b5
Support nested tasks in scheduled_test.

BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18800 260f80e4-7a28-3924-810f-c04153c831b5
Move pkg/path to pkg/pathos.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18906 260f80e4-7a28-3924-810f-c04153c831b5
Add a filesystem descriptor library to scheduled_test.

BUG=8511

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18928 260f80e4-7a28-3924-810f-c04153c831b5
Fix some dumb test-breaking errors.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18929 260f80e4-7a28-3924-810f-c04153c831b5
Ensure scheduled_test directory entries are sorted when displaying error messages.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18930 260f80e4-7a28-3924-810f-c04153c831b5
Match cross-platform path separators.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18931 260f80e4-7a28-3924-810f-c04153c831b5
Always use POSIX path in Entry.load in scheduled_test.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18935 260f80e4-7a28-3924-810f-c04153c831b5
One final fix to the descriptor test on Windows.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/scheduled_test@18936 260f80e4-7a28-3924-810f-c04153c831b5