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

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

Issue 1343033002: Use cammelCase for all service extension variables (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | runtime/observatory/tests/service/process_service_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/file_service_test.dart
diff --git a/runtime/observatory/tests/service/file_service_test.dart b/runtime/observatory/tests/service/file_service_test.dart
index 47611b1841e5bf5380d7ead1d80e6ae99b84e2c2..22b58272b9d59657863c190105f4e8c00914ec05 100644
--- a/runtime/observatory/tests/service/file_service_test.dart
+++ b/runtime/observatory/tests/service/file_service_test.dart
@@ -79,22 +79,22 @@ var fileTests = [
var writing = await isolate.invokeRpcNoUpgrade(
'__getFileByID', { 'id' : result['data'][0]['id'] });
- expect(writing['total_read'], equals(0));
- expect(writing['read_count'], equals(0));
- expect(writing['write_count'], equals(3));
- expect(writing['total_written'], equals(3));
- expect(writing['last_write'], greaterThan(0));
- expect(writing['last_read'], equals(0));
+ expect(writing['totalRead'], equals(0));
+ expect(writing['readCount'], equals(0));
+ expect(writing['writeCount'], equals(3));
+ expect(writing['totalWritten'], equals(3));
+ expect(writing['lastWrite'], greaterThan(0));
+ expect(writing['lastRead'], equals(0));
var reading = await isolate.invokeRpcNoUpgrade(
'__getFileByID', { 'id' : result['data'][1]['id'] });
- expect(reading['total_read'], equals(5));
- expect(reading['read_count'], equals(5));
- expect(reading['write_count'], equals(0));
- expect(reading['total_written'], equals(0));
- expect(reading['last_write'], equals(0));
- expect(reading['last_read'], greaterThan(0));
+ expect(reading['totalRead'], equals(5));
+ expect(reading['readCount'], equals(5));
+ expect(reading['writeCount'], equals(0));
+ expect(reading['totalWritten'], equals(0));
+ expect(reading['lastWrite'], equals(0));
+ expect(reading['lastRead'], greaterThan(0));
} finally {
await isolate.invokeRpcNoUpgrade('__cleanup', {});
« no previous file with comments | « no previous file | runtime/observatory/tests/service/process_service_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698