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

Unified Diff: test/path_observer_test.dart

Issue 1019243005: fix up tests (Closed) Base URL: git@github.com:dart-lang/observe.git@master
Patch Set: Created 5 years, 9 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 | « test/observe_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/path_observer_test.dart
diff --git a/test/path_observer_test.dart b/test/path_observer_test.dart
index e1225ef6aa7e375f914efe2b0d37e2736d8a0405..d1ad547d85b3a71e39ace16bdaca313dd8eb5f59 100644
--- a/test/path_observer_test.dart
+++ b/test/path_observer_test.dart
@@ -11,12 +11,17 @@ import 'package:observe/src/path_observer.dart'
import 'observe_test_utils.dart';
+import 'package:observe/mirrors_used.dart'; // make test smaller.
+import 'package:smoke/mirrors.dart';
+
// This file contains code ported from:
// https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js
// Dart note: getting invalid properties is an error, unlike in JS where it
// returns undefined. This difference comes up where we check for _throwsNSM in
// the tests below.
main() => dirtyCheckZone().run(() {
+ useMirrors();
+
group('PathObserver', observePathTests);
group('PropertyPath', () {
« no previous file with comments | « test/observe_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698