Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/field.dart

Issue 2289953003: Converted Observatory library-view element (Closed)
Patch Set: Fixed inspect page pattern matching Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698