Index: pkg/matcher/lib/src/error_matchers.dart |
diff --git a/pkg/matcher/lib/src/error_matchers.dart b/pkg/matcher/lib/src/error_matchers.dart |
index cb716f5cd08b256622ea8bfccc8146829a71c4e8..dca1759fa62766754e4c634a023d8cb4a274aaf5 100644 |
--- a/pkg/matcher/lib/src/error_matchers.dart |
+++ b/pkg/matcher/lib/src/error_matchers.dart |
@@ -7,28 +7,6 @@ library matcher.error_matchers; |
import 'core_matchers.dart'; |
import 'interfaces.dart'; |
-/// **DEPRECATED** |
-/// |
-/// Will be removed in the next major release. |
-// TODO(kevmoo): re-deprecate once 19173 is resolved |
-//@deprecated |
-const Matcher isAbstractClassInstantiationError = |
- const _AbstractClassInstantiationError(); |
- |
-/// **DEPRECATED** |
-/// |
-/// Will be removed in the next major release. |
-// TODO(kevmoo): re-deprecate once 19173 is resolved |
-//@deprecated |
-const Matcher throwsAbstractClassInstantiationError = |
- const Throws(isAbstractClassInstantiationError); |
- |
-class _AbstractClassInstantiationError extends TypeMatcher { |
- const _AbstractClassInstantiationError() : |
- super("AbstractClassInstantiationError"); |
- bool matches(item, Map matchState) => item is AbstractClassInstantiationError; |
-} |
- |
/// A matcher for ArgumentErrors. |
const Matcher isArgumentError = const _ArgumentError(); |
@@ -76,20 +54,6 @@ class _Exception extends TypeMatcher { |
bool matches(item, Map matchState) => item is Exception; |
} |
-/// **DEPRECATED** |
-/// |
-/// Will be removed in the next major release. |
-// TODO(kevmoo): re-deprecate once 19173 is resolved |
-//@deprecated |
-const Matcher isFallThroughError = const _FallThroughError(); |
- |
-/// **DEPRECATED** |
-/// |
-/// Will be removed in the next major release. |
-// TODO(kevmoo): re-deprecate once 19173 is resolved |
-//@deprecated |
-const Matcher throwsFallThroughError = const Throws(isFallThroughError); |
- |
class _FallThroughError extends TypeMatcher { |
const _FallThroughError(): super("FallThroughError"); |
bool matches(item, Map matchState) => item is FallThroughError; |