Index: runtime/observatory/lib/src/mocks/repositories/dump.dart |
diff --git a/runtime/observatory/lib/src/mocks/repositories/dump.dart b/runtime/observatory/lib/src/mocks/repositories/dump.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2e3f48bc986185010b9db3d3c615f2755c16949d |
--- /dev/null |
+++ b/runtime/observatory/lib/src/mocks/repositories/dump.dart |
@@ -0,0 +1,15 @@ |
+// 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 DumpRepositoryMockCallback(Map); |
+ |
+class DumpRepositoryMock implements M.DumpRepository { |
+ final DumpRepositoryMockCallback wrapped; |
+ |
+ void load(Map dump) => wrapped(dump); |
+ |
+ DumpRepositoryMock(this.wrapped); |
+} |