| Index: pkg/unittest/lib/src/core_matchers.dart
|
| diff --git a/pkg/unittest/lib/src/core_matchers.dart b/pkg/unittest/lib/src/core_matchers.dart
|
| index 73c9c3d904e9088a8be6666fa980306f8db0950c..20e9db2efbb2628e8a9bb4a0f55ad0961d2fadc0 100644
|
| --- a/pkg/unittest/lib/src/core_matchers.dart
|
| +++ b/pkg/unittest/lib/src/core_matchers.dart
|
| @@ -465,19 +465,6 @@ class _RangeError extends TypeMatcher {
|
| bool matches(item, MatchState matchState) => item is RangeError;
|
| }
|
|
|
| -// Temporary matcher for deprecated IndexOutOfRangeException.
|
| -/** A matcher for IndexOutOfRangeExceptions. */
|
| -const isIndexOutOfRangeException = const _IndexOutOfRangeException();
|
| -
|
| -/** A matcher for functions that throw IndexOutOfRangeException. */
|
| -const Matcher throwsIndexOutOfRangeException =
|
| - const Throws(isIndexOutOfRangeException);
|
| -
|
| -class _IndexOutOfRangeException extends TypeMatcher {
|
| - const _IndexOutOfRangeException() : super("IndexOutOfRangeException");
|
| - bool matches(item, MatchState matchState) => item is IndexOutOfRangeException;
|
| -}
|
| -
|
| /** A matcher for NoSuchMethodErrors. */
|
| const isNoSuchMethodError = const _NoSuchMethodError();
|
|
|
| @@ -502,15 +489,6 @@ class _UnimplementedError extends TypeMatcher {
|
| bool matches(item, MatchState matchState) => item is UnimplementedError;
|
| }
|
|
|
| -// Temporary matcher until NotImplementedException is removed.
|
| -/** A matcher for NotImplementedExceptions. */
|
| -const isNotImplementedException = isUnimplementedError;
|
| -
|
| -/** A matcher for functions that throw Exception. */
|
| -const Matcher throwsNotImplementedException =
|
| - const Throws(isUnimplementedError);
|
| -
|
| -
|
| /** A matcher for NullPointerExceptions. */
|
| const isNullPointerException = const _NullPointerException();
|
|
|
|
|