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

Side by Side Diff: lib/src/frontend/future_matchers.dart

Issue 1375413002: Get rid of some unused "hide" declarations. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | lib/src/frontend/prints_matcher.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 test.frontend.future_matchers; 5 library test.frontend.future_matchers;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:matcher/matcher.dart' hide throws, throwsA, expect, fail; 9 import 'package:matcher/matcher.dart';
10 10
11 import '../backend/invoker.dart'; 11 import '../backend/invoker.dart';
12 import 'expect.dart'; 12 import 'expect.dart';
13 13
14 /// Matches a [Future] that completes successfully with a value. 14 /// Matches a [Future] that completes successfully with a value.
15 /// 15 ///
16 /// Note that this creates an asynchronous expectation. The call to `expect()` 16 /// Note that this creates an asynchronous expectation. The call to `expect()`
17 /// that includes this will return immediately and execution will continue. 17 /// that includes this will return immediately and execution will continue.
18 /// Later, when the future completes, the actual expectation will run. 18 /// Later, when the future completes, the actual expectation will run.
19 /// 19 ///
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 Description describe(Description description) { 55 Description describe(Description description) {
56 if (_matcher == null) { 56 if (_matcher == null) {
57 description.add('completes successfully'); 57 description.add('completes successfully');
58 } else { 58 } else {
59 description.add('completes to a value that ').addDescriptionOf(_matcher); 59 description.add('completes to a value that ').addDescriptionOf(_matcher);
60 } 60 }
61 return description; 61 return description;
62 } 62 }
63 } 63 }
OLDNEW
« no previous file with comments | « no previous file | lib/src/frontend/prints_matcher.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698