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

Unified Diff: runtime/observatory/tests/service/dev_fs_spawn_test.dart

Issue 2259573002: Restore missing properties (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/dev_fs_spawn_test.dart
diff --git a/runtime/observatory/tests/service/dev_fs_spawn_test.dart b/runtime/observatory/tests/service/dev_fs_spawn_test.dart
index 6537d54ee55b65aa7eadf1b9fd6f0e90f3ed028a..ae8f48294bb2ecd30f181b13b78d19684bafba31 100644
--- a/runtime/observatory/tests/service/dev_fs_spawn_test.dart
+++ b/runtime/observatory/tests/service/dev_fs_spawn_test.dart
@@ -5,6 +5,7 @@
import 'dart:async';
import 'dart:convert';
+import 'package:observatory/models.dart' as M;
import 'package:observatory/service_io.dart';
import 'package:unittest/unittest.dart';
import 'service_test_common.dart';
@@ -142,7 +143,7 @@ main(args, msg) {
// Make sure that we are running code from the spawned isolate.
result = await spawnedIsolate.rootLibrary.evaluate('proofOfLife()');
expect(result.type, equals('Instance'));
- expect(result.kind, equals('String'));
+ expect(result.kind, equals(M.InstanceKind.string));
expect(result.valueAsString, equals('I live!'));
// Spawn the script with arguments.
@@ -173,7 +174,7 @@ main(args, msg) {
// Make sure that we are running code from the spawned isolate.
result = await spawnedIsolate.rootLibrary.evaluate('proofOfLife()');
expect(result.type, equals('Instance'));
- expect(result.kind, equals('String'));
+ expect(result.kind, equals(M.InstanceKind.string));
expect(result.valueAsString, equals('I live, [one, two, three]!'));
// Spawn the script with arguments and message
@@ -205,7 +206,7 @@ main(args, msg) {
// Make sure that we are running code from the spawned isolate.
result = await spawnedIsolate.rootLibrary.evaluate('proofOfLife()');
expect(result.type, equals('Instance'));
- expect(result.kind, equals('String'));
+ expect(result.kind, equals(M.InstanceKind.string));
expect(result.valueAsString, equals('I live, [A, B, C], test!'));
// Delete the fs.
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698