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

Unified Diff: pkg/observe/test/observe_test_utils.dart

Issue 817483003: delete observe from the repo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/observe/test/observe_test.dart ('k') | pkg/observe/test/path_observer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/observe/test/observe_test_utils.dart
diff --git a/pkg/observe/test/observe_test_utils.dart b/pkg/observe/test/observe_test_utils.dart
deleted file mode 100644
index 07f4488f6b11e53d82375ea8958a5a0f18cd14e0..0000000000000000000000000000000000000000
--- a/pkg/observe/test/observe_test_utils.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library observe.test.observe_test_utils;
-
-import 'dart:async';
-import 'package:observe/observe.dart';
-import 'package:observe/mirrors_used.dart'; // to make tests smaller
-import 'package:unittest/unittest.dart';
-export 'package:observe/src/dirty_check.dart' show dirtyCheckZone;
-
-/// A small method to help readability. Used to cause the next "then" in a chain
-/// to happen in the next microtask:
-///
-/// future.then(newMicrotask).then(...)
-newMicrotask(_) => new Future.value();
-
-// TODO(jmesserly): use matchers when we have a way to compare ChangeRecords.
-// For now just use the toString.
-expectChanges(actual, expected, {reason}) =>
- expect('$actual', '$expected', reason: reason);
-
-List getListChangeRecords(List changes, int index) => changes
- .where((c) => c.indexChanged(index)).toList();
-
-List getPropertyChangeRecords(List changes, Symbol property) => changes
- .where((c) => c is PropertyChangeRecord && c.name == property).toList();
« no previous file with comments | « pkg/observe/test/observe_test.dart ('k') | pkg/observe/test/path_observer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698