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

Unified Diff: pkg/scheduled_test/lib/src/scheduled_future_matchers.dart

Issue 93143002: Make pkg/stack_trace use stack chains. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
Index: pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
diff --git a/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart b/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
index 7241171181675cc7e836708bfc8510cd928a1775..fdfcd44a51563bd953d10ed50981b6698a864202 100644
--- a/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
+++ b/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
@@ -6,8 +6,6 @@ library scheduled_future_matchers;
import 'dart:async';
-import 'package:stack_trace/stack_trace.dart';
-
import '../scheduled_test.dart';
/// Matches a [Future] that completes successfully with a value. Note that this
@@ -62,11 +60,9 @@ class _ScheduledCompletes extends Matcher {
}
}
- var outerTrace = new Trace.current();
currentSchedule.wrapFuture(item.then((value) {
if (_matcher == null) return;
- // TODO(floitsch): we cannot switch traces anymore.
// If expect throws we might want to be able to switch to the outer trace
// instead.
expect(value, _matcher);
« no previous file with comments | « pkg/scheduled_test/lib/src/schedule_error.dart ('k') | pkg/scheduled_test/lib/src/scheduled_server/handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698