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

Unified Diff: test/observe_test.dart

Issue 49223002: fix webui for sdk 0.8.7 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 2 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/data/input/trim_indentation_space_test.html ('k') | test/run_all.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/observe_test.dart
diff --git a/test/observe_test.dart b/test/observe_test.dart
index d40d81c614a1e18941bbe38af62e2758e274139e..a4ccb40b33a4274d16e7f06701941a4887d043e1 100644
--- a/test/observe_test.dart
+++ b/test/observe_test.dart
@@ -5,12 +5,12 @@
/** Tests for some of the utility helper functions used by the compiler. */
library observe_test;
+import 'dart:async';
import 'dart:collection' show LinkedHashMap;
import 'package:unittest/compact_vm_config.dart';
import 'package:unittest/unittest.dart';
import 'package:web_ui/observe.dart';
import 'package:web_ui/observe/observable.dart' show hasObservers, observeReads;
-import 'package:web_ui/src/utils_observe.dart' show setImmediate;
main() {
useCompactVMConfiguration();
@@ -132,7 +132,7 @@ main() {
// This will not affect the other observer, so it still gets the event.
unobserve();
- setImmediate(() => t.value = 777);
+ runAsync(() => t.value = 777);
}));
int count = 0;
observe(() => t.value + 1000, expectAsync1((n) {
« no previous file with comments | « test/data/input/trim_indentation_space_test.html ('k') | test/run_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698