Index: runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart |
similarity index 50% |
copy from runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart |
copy to runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart |
index 11d8dfae457d572fd8b55b5fcf372c8365a1b4ed..1d0f487b8b1eeb333d6c57806df25d78b3a9daa8 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart |
@@ -4,16 +4,16 @@ |
part of mocks; |
-typedef Future<M.Context> ContextRepositoryMockCallback(M.IsolateRef isolate, |
- String id); |
+typedef Future<M.Library> LibraryRepositoryMockCallback(M.IsolateRef isolate, |
+ String id); |
-class ContextRepositoryMock implements M.ContextRepository { |
- final ContextRepositoryMockCallback _get; |
+class LibraryRepositoryMock implements M.LibraryRepository { |
+ final LibraryRepositoryMockCallback _get; |
- ContextRepositoryMock({ContextRepositoryMockCallback getter}) |
+ LibraryRepositoryMock({LibraryRepositoryMockCallback getter}) |
: _get = getter; |
- Future<M.Context> get(M.IsolateRef isolate, String id){ |
+ Future<M.Library> get(M.IsolateRef isolate, String id){ |
if (_get != null) { |
return _get(isolate, id); |
} |