Commit Graph

11 Commits

Author SHA1 Message Date
nweiz@google.com 3a4523a461 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@18430 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 02:11:00 +00:00
nweiz@google.com 1301af8746 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@18429 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 02:03:56 +00:00
nweiz@google.com 247d10c77c 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@18420 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:20:03 +00:00
nweiz@google.com f9e5ae9887 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@18366 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:54:36 +00:00
nweiz@google.com 8186b2e7ae 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@18363 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:18:45 +00:00
nweiz@google.com a9b616c161 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@18361 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 00:52:46 +00:00
nweiz@google.com 4bbc4dadb8 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@18359 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 00:24:56 +00:00
nweiz@google.com f547a4b770 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@18350 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:00:38 +00:00
nweiz@google.com 9772358aa4 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@18349 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 22:56:00 +00:00
nweiz@google.com 41ecfcd834 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@18288 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:29:42 +00:00
nweiz@google.com 8f3ec6b6d3 Add a scheduled test library.
Review URL: https://codereview.chromium.org//12209073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18285 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:07:57 +00:00