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

Unified Diff: tools/testing/dart/multitest.dart

Issue 10351011: Change Platform members to getters instead of methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding new test binaries Created 8 years, 8 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 | « tools/testing/bin/windows/dart.exe ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/multitest.dart
diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart
index b287794c2d478ba7b3e8dc8a19cf124bd1ac03eb..700287a6c0434d1c788fdacdf74031bff56678df 100644
--- a/tools/testing/dart/multitest.dart
+++ b/tools/testing/dart/multitest.dart
@@ -155,7 +155,7 @@ class _Annotation {
Set<String> _findAllRelativeImports(String topLibrary) {
Set<String> toSearch = new Set<String>.from([topLibrary]);
Set<String> foundImports = new HashSet<String>();
- String pathSep = Platform.pathSeparator();
+ String pathSep = Platform.pathSeparator;
int end = topLibrary.lastIndexOf(pathSep);
String libraryDir = topLibrary.substring(0, end);
@@ -209,7 +209,7 @@ void DoMultitest(String filename,
String directory = CreateMultitestDirectory(outputDir, testDir);
Expect.isNotNull(directory);
- String pathSep = Platform.pathSeparator();
+ String pathSep = Platform.pathSeparator;
int start = filename.lastIndexOf(pathSep) + 1;
int end = filename.indexOf('.dart', start);
String baseFilename = filename.substring(start, end);
« no previous file with comments | « tools/testing/bin/windows/dart.exe ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698