Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-03-08 17:27:45 +0000
committerDarin Wright2010-03-08 17:27:45 +0000
commit40fa55c48eedd10a943197ad3f0944fbfc6ea6e2 (patch)
tree0a2d8cadc68be94aaa09ce127799371ff32d4855 /org.eclipse.debug.tests/src
parent966be35bc01112886863f27b7c4eceeea1e10fc1 (diff)
downloadeclipse.platform.debug-40fa55c48eedd10a943197ad3f0944fbfc6ea6e2.tar.gz
eclipse.platform.debug-40fa55c48eedd10a943197ad3f0944fbfc6ea6e2.tar.xz
eclipse.platform.debug-40fa55c48eedd10a943197ad3f0944fbfc6ea6e2.zip
fix test for linux
Diffstat (limited to 'org.eclipse.debug.tests/src')
-rw-r--r--org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java b/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java
index 427ed581f..6219f340b 100644
--- a/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java
@@ -1315,7 +1315,7 @@ public class LaunchConfigurationTests extends AbstractLaunchTest implements ILau
*/
public void testIllegalFileSepCharName() {
try {
- newConfiguration(null, "some\\nested\\config");
+ newConfiguration(null, new Path("some").append("nested").append("config").toOSString());
} catch (CoreException e) {
// i.e. expected code path
return;
@@ -1332,7 +1332,7 @@ public class LaunchConfigurationTests extends AbstractLaunchTest implements ILau
*/
public void testLegalFileSepCharName() {
try {
- newConfiguration(getProject(), "some\\nested\\config");
+ newConfiguration(getProject(), new Path("some").append("nested").append("config").toOSString());
} catch (CoreException e) {
assertTrue("Should *not* be an illegal argument - can nest shared cofigurations", false);
}

Back to the top