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

Side by Side Diff: utils/testrunner/utils.dart

Issue 11228053: Get rid of more () in getter definitions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/compiler/dart2js/dart_backend_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of testrunner; 5 part of testrunner;
6 6
7 /** 7 /**
8 * Read the contents of a file [fileName] into a [List] of [String]s. 8 * Read the contents of a file [fileName] into a [List] of [String]s.
9 * If the file does not exist and [errorIfNoFile] is true, throw an 9 * If the file does not exist and [errorIfNoFile] is true, throw an
10 * exception, else return an empty list. 10 * exception, else return an empty list.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if (--dirCount == 0) { 93 if (--dirCount == 0) {
94 onComplete(files); 94 onComplete(files);
95 } 95 }
96 } 96 }
97 97
98 /** 98 /**
99 * Get the directory that testrunner lives in; we need it to import 99 * Get the directory that testrunner lives in; we need it to import
100 * support files into the generated scripts. 100 * support files into the generated scripts.
101 */ 101 */
102 102
103 String get runnerDirectory() { 103 String get runnerDirectory {
104 var libDirectory = makePathAbsolute(new Options().script); 104 var libDirectory = makePathAbsolute(new Options().script);
105 return libDirectory.substring(0, 105 return libDirectory.substring(0,
106 libDirectory.lastIndexOf(Platform.pathSeparator)); 106 libDirectory.lastIndexOf(Platform.pathSeparator));
107 } 107 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/dart_backend_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698