Index: test/mock_sdk.dart |
diff --git a/lib/src/sdk.dart b/test/mock_sdk.dart |
similarity index 95% |
rename from lib/src/sdk.dart |
rename to test/mock_sdk.dart |
index 2904637b292376c2aa8f61dfe7fcbb53aecd3a40..398109ff559fcf6005cadcba142504e5780fc77c 100644 |
--- a/lib/src/sdk.dart |
+++ b/test/mock_sdk.dart |
@@ -346,27 +346,7 @@ class _MockSdkLibrary implements SdkLibrary { |
[this.parts = const <_MockSdkFile>[]]); |
@override |
- String get category => throw unimplemented; |
- |
- @override |
- bool get isDart2JsLibrary => throw unimplemented; |
- |
- @override |
- bool get isDocumented => throw unimplemented; |
- |
- @override |
- bool get isImplementation => throw unimplemented; |
- |
- @override |
- bool get isInternal => throw unimplemented; |
- |
- @override |
- bool get isShared => throw unimplemented; |
- |
- @override |
- bool get isVmLibrary => throw unimplemented; |
- |
- UnimplementedError get unimplemented => new UnimplementedError(); |
+ noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |
/// An [AnalysisContextImpl] that only contains sources for a Dart SDK. |