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

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

Issue 288703003: Revert revisions 36163 and 36162 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/dart/multitest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
===================================================================
--- tools/testing/dart/test_suite.dart (revision 36164)
+++ tools/testing/dart/test_suite.dart (working copy)
@@ -1917,23 +1917,6 @@
.pipe(new File(dest.toNativePath()).openWrite());
}
- static Future isContentEqual(Path source, Path dest) {
- return new File(source.toNativePath()).readAsString()
- .then((srcString) {
- return new File(dest.toNativePath()).readAsString()
- .then((destString) => srcString == destString);
- })
- .catchError((error) {
- return false;
- });
- }
-
- static Future copyIfDifferent(Path source, Path dest) {
- return isContentEqual(source, dest).then((equal) {
- return equal ? null : TestUtils.copyFile(source, dest);
- });
- }
-
static Future copyDirectory(String source, String dest) {
source = new Path(source).toNativePath();
dest = new Path(dest).toNativePath();
@@ -2164,11 +2147,6 @@
}
return path;
}
-
- static String cachedOutputFile(String outputFile) {
- return "$outputFile.cached_output";
- }
-
}
class SummaryReport {
« no previous file with comments | « tools/testing/dart/multitest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698