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

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

Issue 488233003: More service api cleanup. camelCasePropertyNames (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js, etc. Created 6 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/vm/service_test.cc ('k') | tests/standalone/vmservice/isolate_function_test.dart » ('j') | 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 911ab795ae765ea36d907529f3de7e50d6603286..3ea4466354c809966fc886ac30a7848c96cb0394 100644
--- a/tests/standalone/vmservice/isolate_class_field_test.dart
+++ b/tests/standalone/vmservice/isolate_class_field_test.dart
@@ -20,19 +20,19 @@ class BananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('dynamic', field['guard_class']);
- Expect.equals(true, field['guard_nullable']);
- Expect.equals('variable', field['guard_length']);
+ Expect.equals('dynamic', field['guardClass']);
+ Expect.equals(true, field['guardNullable']);
+ Expect.equals('variable', field['guardLength']);
}
_testFieldFinalFixedLengthList(Map field) {
Expect.equals('Field', field['type']);
Expect.equals('final_fixed_length_list', field['name']);
- Expect.equals('_Float32Array', field['guard_class']['name']);
+ Expect.equals('_Float32Array', field['guardClass']['name']);
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals(4, field['guard_length']);
+ Expect.equals(4, field['guardLength']);
}
_testFieldFixedLengthList(Map field) {
@@ -41,8 +41,8 @@ class BananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('_Float32Array', field['guard_class']['name']);
- Expect.equals('variable', field['guard_length']);
+ Expect.equals('_Float32Array', field['guardClass']['name']);
+ Expect.equals('variable', field['guardLength']);
}
_testFieldName(Map field) {
@@ -51,9 +51,9 @@ class BananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('_OneByteString', field['guard_class']['name']);
- Expect.equals(false, field['guard_nullable']);
- Expect.equals('variable', field['guard_length']);
+ Expect.equals('_OneByteString', field['guardClass']['name']);
+ Expect.equals(false, field['guardNullable']);
+ Expect.equals('variable', field['guardLength']);
}
Future makeRequest() {
@@ -81,9 +81,9 @@ class BadBananaClassTest {
Expect.equals(false, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('_Double', field['guard_class']['name']);
- Expect.equals(true, field['guard_nullable']);
- Expect.equals('variable', field['guard_length']);
+ Expect.equals('_Double', field['guardClass']['name']);
+ Expect.equals(true, field['guardNullable']);
+ Expect.equals('variable', field['guardLength']);
}
_testFieldC(Map field) {
@@ -92,29 +92,29 @@ class BadBananaClassTest {
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(true, field['final']);
- Expect.equals('_Smi', field['guard_class']['name']);
- Expect.equals(false, field['guard_nullable']);
- Expect.equals('variable', field['guard_length']);
+ Expect.equals('_Smi', field['guardClass']['name']);
+ Expect.equals(false, field['guardNullable']);
+ Expect.equals('variable', field['guardLength']);
}
_testFieldFinalFixedLengthList(Map field) {
Expect.equals('Field', field['type']);
Expect.equals('final_fixed_length_list', field['name']);
- Expect.equals('_Float32Array', field['guard_class']['name']);
+ Expect.equals('_Float32Array', field['guardClass']['name']);
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals('variable', field['guard_length']);
+ Expect.equals('variable', field['guardLength']);
}
_testFieldFixedLengthArray(Map field) {
Expect.equals('Field', field['type']);
Expect.equals('fixed_length_array', field['name']);
- Expect.equals('_List', field['guard_class']['name']);
+ Expect.equals('_List', field['guardClass']['name']);
Expect.equals(true, field['final']);
Expect.equals(false, field['static']);
Expect.equals(false, field['const']);
- Expect.equals(3, field['guard_length']);
+ Expect.equals(3, field['guardLength']);
}
Future makeRequest() {
« no previous file with comments | « runtime/vm/service_test.cc ('k') | tests/standalone/vmservice/isolate_function_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698