Index: runtime/observatory/lib/src/mocks/repositories/crash_dump.dart |
diff --git a/runtime/observatory/lib/src/mocks/repositories/crash_dump.dart b/runtime/observatory/lib/src/mocks/repositories/crash_dump.dart |
deleted file mode 100644 |
index 68488e9682b3de56142be23bae800c1070f14fad..0000000000000000000000000000000000000000 |
--- a/runtime/observatory/lib/src/mocks/repositories/crash_dump.dart |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file |
- |
-part of mocks; |
- |
-typedef void CrashDumpRepositoryMockCallback(Map); |
- |
-class CrashDumpRepositoryMock implements M.CrashDumpRepository { |
- final CrashDumpRepositoryMockCallback _load; |
- |
- bool loadInvoked = false; |
- |
- void load(Map dump) { |
- loadInvoked = true; |
- if (_load != null) { |
- _load(dump); |
- } |
- } |
- |
- CrashDumpRepositoryMock({CrashDumpRepositoryMockCallback load}) |
- : _load = load; |
-} |