Index: runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart |
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart |
index b798fca31d104a5dcf1cc8f16efd70dbb50b8b40..debb14c229a4818363eaff55e814ae9c7544994f 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart |
@@ -5,27 +5,26 @@ |
part of mocks; |
typedef Future<M.Class> ClassRepositoryMockObjectCallback(M.Isolate isolate); |
-typedef Future<M.Class> ClassRepositoryMockGetterCallback( |
- M.Isolate isolate, String id); |
+typedef Future<M.Class> |
+ ClassRepositoryMockGetterCallback(M.Isolate isolate, String id); |
class ClassRepositoryMock implements M.ClassRepository { |
final ClassRepositoryMockObjectCallback _object; |
final ClassRepositoryMockGetterCallback _get; |
- ClassRepositoryMock( |
- {ClassRepositoryMockObjectCallback object, |
- ClassRepositoryMockGetterCallback getter}) |
- : _object = object, |
- _get = getter; |
+ ClassRepositoryMock({ClassRepositoryMockObjectCallback object, |
+ ClassRepositoryMockGetterCallback getter}) |
+ : _object = object, |
+ _get = getter; |
- Future<M.Class> getObject(M.IsolateRef i) { |
+ Future<M.Class> getObject(M.IsolateRef i){ |
if (_object != null) { |
return _object(i); |
} |
return new Future.value(null); |
} |
- Future<M.Class> get(M.IsolateRef i, String id) { |
+ Future<M.Class> get(M.IsolateRef i, String id){ |
if (_get != null) { |
return _get(i, id); |
} |