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

Unified Diff: runtime/observatory/tests/observatory_ui/class_tree/element_test.dart

Issue 2287793002: Converted Observatory field-view element (Closed)
Patch Set: Fixed tests 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/class_tree/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/class_tree/element_test.dart b/runtime/observatory/tests/observatory_ui/class_tree/element_test.dart
index 5d20331316e2deb4d02ebc438cc999b7e6a04e53..f8c97858ce26eb2e41a00d82e0ccdfd1ea22eea2 100644
--- a/runtime/observatory/tests/observatory_ui/class_tree/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/class_tree/element_test.dart
@@ -39,11 +39,13 @@ main() {
bool rendered = false;
final e = new ClassTreeElement(vm, isolate, events, notifications,
new ClassRepositoryMock(
- object: expectAsync(() async {
+ object: expectAsync((i) async {
+ expect(i, equals(isolate));
expect(rendered, isFalse);
return object;
}, count: 1),
- getter: expectAsync((id) async {
+ getter: expectAsync((i, id) async {
+ expect(i, equals(isolate));
expect(ids.contains(id), isTrue);
switch (id) {
case child1_id: return child1;
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698