Index: runtime/observatory/tests/observatory_ui/mocks/repositories/field.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/field.dart |
similarity index 50% |
copy from runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart |
copy to runtime/observatory/tests/observatory_ui/mocks/repositories/field.dart |
index cb6d2eb71a38c8b063ff55c4dbc4af4fbfdc031f..2ddd4f996e8b9497c83c513e96ea31ce486c7ff1 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/field.dart |
@@ -4,16 +4,16 @@ |
part of mocks; |
-typedef Future<M.Script> |
- ScriptRepositoryMockCallback(M.IsolateRef isolate, String id); |
+typedef Future<M.Field> FieldRepositoryMockCallback(M.IsolateRef isolate, |
+ String id); |
-class ScriptRepositoryMock implements M.ScriptRepository { |
- final ScriptRepositoryMockCallback _get; |
+class FieldRepositoryMock implements M.FieldRepository { |
+ final FieldRepositoryMockCallback _get; |
- ScriptRepositoryMock({ScriptRepositoryMockCallback getter}) |
+ FieldRepositoryMock({FieldRepositoryMockCallback getter}) |
: _get = getter; |
- Future<M.Script> get(M.IsolateRef isolate, String id){ |
+ Future<M.Field> get(M.IsolateRef isolate, String id){ |
if (_get != null) { |
return _get(isolate, id); |
} |