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

Unified Diff: runtime/observatory/test/code_test.dart

Issue 897593003: Small refactor of pages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
« no previous file with comments | « runtime/observatory/observatory.gypi ('k') | runtime/observatory/web/index_devtools.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/test/code_test.dart
diff --git a/runtime/observatory/test/code_test.dart b/runtime/observatory/test/code_test.dart
index 920c68042733632ea5f572c71a445c9d788f7e04..8b7609e26b6bba2e23117f8a89ec62ca6228246a 100644
--- a/runtime/observatory/test/code_test.dart
+++ b/runtime/observatory/test/code_test.dart
@@ -66,13 +66,13 @@ var tests = [
List tests = [];
// Load code from frame 0.
- tests.add(isolate.get(codeId0)..then((ServiceObject code) {
+ tests.add(isolate.get(codeId0)..then((Code code) {
expect(code.type, equals('Code'));
expect(code.function.name, equals('funcB'));
expect(code.hasDisassembly, equals(true));
}));
// Load code from frame 0.
- tests.add(isolate.get(codeId1)..then((ServiceObject code) {
+ tests.add(isolate.get(codeId1)..then((Code code) {
expect(code.type, equals('Code'));
expect(code.function.name, equals('funcA'));
expect(code.hasDisassembly, equals(true));
« no previous file with comments | « runtime/observatory/observatory.gypi ('k') | runtime/observatory/web/index_devtools.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698