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

Side by Side Diff: pkg/observe/test/path_observer_test.dart

Issue 23437017: pkg/observe: wrapMicrotask should return the result the provided testCase (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/observe/test/observe_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async';
6 import 'package:observe/observe.dart'; 5 import 'package:observe/observe.dart';
7 import 'package:unittest/unittest.dart'; 6 import 'package:unittest/unittest.dart';
8 import 'observe_test_utils.dart'; 7 import 'observe_test_utils.dart';
9 8
10 // This file contains code ported from: 9 // This file contains code ported from:
11 // https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js 10 // https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js
12 11
13 main() { 12 main() {
14 group('PathObserver', observePathTests); 13 group('PathObserver', observePathTests);
15 } 14 }
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 252
254 class WatcherModel extends ObservableBase { 253 class WatcherModel extends ObservableBase {
255 // TODO(jmesserly): dart2js does not let these be on the same line: 254 // TODO(jmesserly): dart2js does not let these be on the same line:
256 // @observable var a, b, c; 255 // @observable var a, b, c;
257 @observable var a; 256 @observable var a;
258 @observable var b; 257 @observable var b;
259 @observable var c; 258 @observable var c;
260 259
261 WatcherModel(); 260 WatcherModel();
262 } 261 }
OLDNEW
« no previous file with comments | « pkg/observe/test/observe_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698