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

Side by Side Diff: test/error_group_test.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « test/downgrade/unlock_if_necessary_test.dart ('k') | test/get/broken_symlink_test.dart » ('j') | 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 library error_group_test;
6
7 import 'dart:async'; 5 import 'dart:async';
8 6
9 import 'package:pub/src/error_group.dart'; 7 import 'package:pub/src/error_group.dart';
10 import 'package:pub/src/utils.dart'; 8 import 'package:pub/src/utils.dart';
11 import 'package:test/test.dart'; 9 import 'package:test/test.dart';
12 10
13 ErrorGroup errorGroup; 11 ErrorGroup errorGroup;
14 12
15 // TODO(nweiz): once there's a global error handler, we should test that it does 13 // TODO(nweiz): once there's a global error handler, we should test that it does
16 // and does not get called at appropriate times. See issue 5958. 14 // and does not get called at appropriate times. See issue 5958.
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 completion(equals(['value1', 'value2']))); 434 completion(equals(['value1', 'value2'])));
437 controller..add('value1')..add('value2')..close(); 435 controller..add('value1')..add('value2')..close();
438 436
439 expect(signal.future.then((_) { 437 expect(signal.future.then((_) {
440 // shouldn't cause a top-level exception 438 // shouldn't cause a top-level exception
441 completer.completeError(new FormatException()); 439 completer.completeError(new FormatException());
442 }), completes); 440 }), completes);
443 }); 441 });
444 }); 442 });
445 } 443 }
OLDNEW
« no previous file with comments | « test/downgrade/unlock_if_necessary_test.dart ('k') | test/get/broken_symlink_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698