Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: pkg/scheduled_test/test/scheduled_test_test.dart

Issue 12223122: Fix the expected error messages for scheduled tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/test/scheduled_test_test.dart
diff --git a/pkg/scheduled_test/test/scheduled_test_test.dart b/pkg/scheduled_test/test/scheduled_test_test.dart
index 7e9ffb80f2e6d0fa6781a41050440e188242fe90..dcf5beac590d78d6a0a3133f89ae8f4835ed57ea 100644
--- a/pkg/scheduled_test/test/scheduled_test_test.dart
+++ b/pkg/scheduled_test/test/scheduled_test_test.dart
@@ -775,7 +775,7 @@ void main() {
test('test 2', () {
expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
expect(errors.map((e) => e.error), equals(["The schedule timed out after "
- "1ms of inactivity."]));
+ "0:00:00.001 of inactivity."]));
});
}, passing: ['test 2']);
@@ -796,7 +796,7 @@ void main() {
test('test 2', () {
expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
expect(errors.map((e) => e.error), equals(["The schedule timed out after "
- "1ms of inactivity."]));
+ "0:00:00.001 of inactivity."]));
});
}, passing: ['test 2']);
@@ -841,7 +841,7 @@ void main() {
test('test 2', () {
expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
expect(errors.map((e) => e.error), equals([
- "The schedule timed out after 3ms of inactivity.",
+ "The schedule timed out after 0:00:00.003 of inactivity.",
"out-of-band"
]));
});
@@ -896,7 +896,7 @@ void main() {
expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
expect(errors.map((e) => e.error), equals([
"out-of-band",
- "The schedule timed out after 2ms of inactivity."
+ "The schedule timed out after 0:00:00.002 of inactivity."
]));
});
}, passing: ['test 2']);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698