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

Unified Diff: tests/standalone/io/platform_executable_test.dart

Issue 1152983002: fixing status files for Platform.executable test (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/platform_executable_test.dart
diff --git a/tests/standalone/io/platform_executable_test.dart b/tests/standalone/io/platform_executable_test.dart
index c9825060c896b14c5e97c56ca012bbbb1d88a67a..60dd47dad1013e4992d2137cf785e26d2f4e79fb 100644
--- a/tests/standalone/io/platform_executable_test.dart
+++ b/tests/standalone/io/platform_executable_test.dart
@@ -128,7 +128,7 @@ String get platformExeName {
return raw.pathSegments.last;
}
-String get scriptPath => Platform.script.toString();
+String get scriptPath => Platform.script.toFilePath();
void main() {
if (Platform.environment.containsKey('SCRIPT')) {
@@ -137,11 +137,11 @@ void main() {
}
testDartExecShouldNotBeInCurrentDir();
- testShouldFailOutsidePath();
testShouldSucceedWithSourcePlatformExecutable(); /// 00: ok
withTempDir(testExeSymLinked); /// 01: ok
withTempDir(testExeDirSymLinked); /// 02: ok
testPathToSDKDir(); /// 03: ok
withTempDir(testPathPointsToSymLinkedSDKPath); /// 04: ok
withTempDir(testPathToDirWithExeSymLinked); /// 05: ok
+ testShouldFailOutsidePath(); /// 06: ok
}
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698