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

Unified Diff: utils/tests/string_encoding/dunit.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « utils/tests/string_encoding/benchmark_runner.dart ('k') | utils/tests/template/complex_datamodel.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/string_encoding/dunit.dart
diff --git a/utils/tests/string_encoding/dunit.dart b/utils/tests/string_encoding/dunit.dart
index 02586efed67b54afb48bebc4f328cc5ee6fdd672..5a86113d7bff675b1decb0443116ac7f49af48f6 100644
--- a/utils/tests/string_encoding/dunit.dart
+++ b/utils/tests/string_encoding/dunit.dart
@@ -57,12 +57,12 @@ class TestSuite {
}
interface TestResult {
- String get testDescription();
+ String get testDescription;
}
class PassedTest implements TestResult {
const PassedTest(String this._testDescription);
- String get testDescription() => _testDescription;
+ String get testDescription => _testDescription;
final String _testDescription;
String toString() => _testDescription;
}
@@ -70,10 +70,10 @@ class PassedTest implements TestResult {
class _ExceptionResult {
const _ExceptionResult(String this._testDescription, var this._exception);
- String get testDescription() => _testDescription;
+ String get testDescription => _testDescription;
final String _testDescription;
- Object get exception() => _exception;
+ Object get exception => _exception;
final _exception;
}
« no previous file with comments | « utils/tests/string_encoding/benchmark_runner.dart ('k') | utils/tests/template/complex_datamodel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698