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

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

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@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 | « lib/src/frontend/throws_matcher.dart ('k') | lib/src/frontend/timeout.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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.throws_matchers;
6
7 import 'package:matcher/matcher.dart'; 5 import 'package:matcher/matcher.dart';
8 6
9 import 'throws_matcher.dart'; 7 import 'throws_matcher.dart';
10 8
11 /// A matcher for functions that throw ArgumentError. 9 /// A matcher for functions that throw ArgumentError.
12 const Matcher throwsArgumentError = const Throws(isArgumentError); 10 const Matcher throwsArgumentError = const Throws(isArgumentError);
13 11
14 /// A matcher for functions that throw ConcurrentModificationError. 12 /// A matcher for functions that throw ConcurrentModificationError.
15 const Matcher throwsConcurrentModificationError = 13 const Matcher throwsConcurrentModificationError =
16 const Throws(isConcurrentModificationError); 14 const Throws(isConcurrentModificationError);
(...skipping 18 matching lines...) Expand all
35 const Matcher throwsRangeError = const Throws(isRangeError); 33 const Matcher throwsRangeError = const Throws(isRangeError);
36 34
37 /// A matcher for functions that throw StateError. 35 /// A matcher for functions that throw StateError.
38 const Matcher throwsStateError = const Throws(isStateError); 36 const Matcher throwsStateError = const Throws(isStateError);
39 37
40 /// A matcher for functions that throw Exception. 38 /// A matcher for functions that throw Exception.
41 const Matcher throwsUnimplementedError = const Throws(isUnimplementedError); 39 const Matcher throwsUnimplementedError = const Throws(isUnimplementedError);
42 40
43 /// A matcher for functions that throw UnsupportedError. 41 /// A matcher for functions that throw UnsupportedError.
44 const Matcher throwsUnsupportedError = const Throws(isUnsupportedError); 42 const Matcher throwsUnsupportedError = const Throws(isUnsupportedError);
OLDNEW
« no previous file with comments | « lib/src/frontend/throws_matcher.dart ('k') | lib/src/frontend/timeout.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698