Index: test/runtime/dart_logging_runtime_test.dart |
diff --git a/test/runtime/dart_logging_runtime_test.dart b/test/runtime/dart_logging_runtime_test.dart |
index 0310b96f3cbaf791f0b4169c7337fe3a6baecec0..8ec18bb853a5e0def1249f49c1cc7d7bf2956507 100644 |
--- a/test/runtime/dart_logging_runtime_test.dart |
+++ b/test/runtime/dart_logging_runtime_test.dart |
@@ -2,7 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-import 'package:dev_compiler/runtime/dart_logging_runtime.dart' as ddc; |
+import 'package:dev_compiler/runtime/dart_logging_runtime.dart' as devc; |
import 'package:unittest/unittest.dart'; |
class A<T> { |
@@ -19,7 +19,7 @@ void runTest() { |
var l = [new A<String>("hello"), new A("world"), new B(), 42]; |
for (var item in l) { |
try { |
- ddc.cast(item, astring); |
+ devc.cast(item, astring); |
} catch (e) { |
// Do nothing |
} |
@@ -37,19 +37,19 @@ Key dart_logging_runtime_test.dart 18:15 in runTest: |
void main() { |
test('summary', () { |
runTest(); |
- var output = ddc.summary(); |
+ var output = devc.summary(); |
expect(output, equals(expected)); |
}); |
test('handler', () { |
- int ddcFailures = 0; |
+ int devcFailures = 0; |
int dartFailures = 0; |
- ddc.castRecordHandler = (String key, ddc.CastRecord record) { |
- ddcFailures += (record.ddcSuccess) ? 0 : 1; |
- dartFailures += (record.dartSuccess) ? 0 : 1; |
+ devc.castRecordHandler = (String key, devc.CastRecord record) { |
+ devcFailures += record.soundCast ? 0 : 1; |
+ dartFailures += record.dartCast ? 0 : 1; |
}; |
runTest(); |
- expect(ddcFailures, equals(2)); |
+ expect(devcFailures, equals(2)); |
expect(dartFailures, equals(1)); |
}); |
} |