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

Unified Diff: tests/standalone/vmservice/isolate_class_field_test.dart

Issue 264743010: Don't remap class/type names in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« runtime/vm/raw_object.h ('K') | « runtime/vm/service_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/vmservice/isolate_class_field_test.dart
diff --git a/tests/standalone/vmservice/isolate_class_field_test.dart b/tests/standalone/vmservice/isolate_class_field_test.dart
index be85613884fa63ecebf403432727e3d6f0fe4017..dd3f44e62a8eaeea2b49f4c0a15fdc117c144711 100644
--- a/tests/standalone/vmservice/isolate_class_field_test.dart
+++ b/tests/standalone/vmservice/isolate_class_field_test.dart
@@ -30,7 +30,7 @@ class BananaClassTest {
Expect.equals('Field', field['type']);
Expect.equals('final_fixed_length_list', field['user_name']);
Expect.equals('final_fixed_length_list', field['name']);
- Expect.equals('Float32List', field['guard_class']['user_name']);
+ Expect.equals('_Float32Array', field['guard_class']['user_name']);
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
@@ -44,7 +44,7 @@ class BananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('Float32List', field['guard_class']['user_name']);
+ Expect.equals('_Float32Array', field['guard_class']['user_name']);
Expect.equals('variable', field['guard_length']);
}
@@ -55,7 +55,7 @@ class BananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('String', field['guard_class']['user_name']);
+ Expect.equals('_OneByteString', field['guard_class']['user_name']);
Expect.equals(false, field['guard_nullable']);
Expect.equals('variable', field['guard_length']);
}
@@ -86,7 +86,7 @@ class BadBananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('double', field['guard_class']['user_name']);
+ Expect.equals('_Double', field['guard_class']['user_name']);
Expect.equals(true, field['guard_nullable']);
Expect.equals('variable', field['guard_length']);
}
@@ -98,7 +98,7 @@ class BadBananaClassTest {
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(true, field['final']);
- Expect.equals('int', field['guard_class']['user_name']);
+ Expect.equals('_Smi', field['guard_class']['user_name']);
Expect.equals(false, field['guard_nullable']);
Expect.equals('variable', field['guard_length']);
}
@@ -107,7 +107,7 @@ class BadBananaClassTest {
Expect.equals('Field', field['type']);
Expect.equals('final_fixed_length_list', field['user_name']);
Expect.equals('final_fixed_length_list', field['name']);
- Expect.equals('Float32List', field['guard_class']['user_name']);
+ Expect.equals('_Float32Array', field['guard_class']['user_name']);
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
@@ -118,7 +118,7 @@ class BadBananaClassTest {
Expect.equals('Field', field['type']);
Expect.equals('fixed_length_array', field['user_name']);
Expect.equals('fixed_length_array', field['name']);
- Expect.equals('List', field['guard_class']['user_name']);
+ Expect.equals('_List', field['guard_class']['user_name']);
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
« runtime/vm/raw_object.h ('K') | « runtime/vm/service_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698