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

Unified Diff: runtime/observatory/tests/service/process_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
Index: runtime/observatory/tests/service/process_service_test.dart
diff --git a/runtime/observatory/tests/service/process_service_test.dart b/runtime/observatory/tests/service/process_service_test.dart
index 5a41d6a6c468e66e43c9874b0b8d2ca0ec953fce..956cc7755e8da108d5b5bc925e038983c5adf739 100644
--- a/runtime/observatory/tests/service/process_service_test.dart
+++ b/runtime/observatory/tests/service/process_service_test.dart
@@ -94,7 +94,7 @@ var processTests = [
expect(first['name'], io.Platform.executable);
expect(first['pid'], equals(setup['pids'][0]));
expect(first['arguments'].contains('foobar'), isFalse);
- expect(first['started_at'], greaterThan(0));
+ expect(first['startedAt'], greaterThan(0));
var second = await isolate.invokeRpcNoUpgrade(
'__getProcessById', { 'id' : all['data'][1]['id'] });
@@ -102,8 +102,8 @@ var processTests = [
expect(second['pid'], equals(setup['pids'][1]));
expect(second['arguments'].contains('foobar'), isTrue);
expect(second['pid'] != first['pid'], isTrue);
- expect(second['started_at'], greaterThan(0));
- expect(second['started_at'], greaterThanOrEqualTo(first['started_at']));
+ expect(second['startedAt'], greaterThan(0));
+ expect(second['startedAt'], greaterThanOrEqualTo(first['startedAt']));
var third = await isolate.invokeRpcNoUpgrade(
'__getProcessById', { 'id' : all['data'][2]['id'] });
@@ -111,7 +111,7 @@ var processTests = [
expect(third['pid'], equals(setup['pids'][2]));
expect(third['pid'] != first['pid'], isTrue);
expect(third['pid'] != second['pid'], isTrue);
- expect(third['started_at'], greaterThanOrEqualTo(second['started_at']));
+ expect(third['startedAt'], greaterThanOrEqualTo(second['startedAt']));
await isolate.invokeRpcNoUpgrade('__closeStdin', {});
all = await isolate.invokeRpcNoUpgrade('__getProcesses', {});

Powered by Google App Engine
This is Rietveld 408576698