diff options
author | Darin Wright | 2009-01-20 16:39:07 +0000 |
---|---|---|
committer | Darin Wright | 2009-01-20 16:39:07 +0000 |
commit | c3856decbbd716540305ca60368bce58fd23a5ab (patch) | |
tree | 15d41d152eeebd8cfe609d66321abb00636aef39 | |
parent | 86ce947f8c404ef38ffa2e1ac02608961530acf7 (diff) | |
download | eclipse.jdt.debug-c3856decbbd716540305ca60368bce58fd23a5ab.tar.gz eclipse.jdt.debug-c3856decbbd716540305ca60368bce58fd23a5ab.tar.xz eclipse.jdt.debug-c3856decbbd716540305ca60368bce58fd23a5ab.zip |
Bug 261567 - [launching] ILaunchConfiguration's getLocation returns different values at different timesv20090124v20090123-1045
-rwxr-xr-x | org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/launching/LaunchConfigurationTests.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/launching/LaunchConfigurationTests.java b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/launching/LaunchConfigurationTests.java index 85d49fbd1..1edee9558 100755 --- a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/launching/LaunchConfigurationTests.java +++ b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/launching/LaunchConfigurationTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -1012,6 +1012,17 @@ public class LaunchConfigurationTests extends AbstractDebugTest implements ILaun } } + + /** + * Tests the location of a local working copy. + * + * @throws CoreException + */ + public void testWorkingCopyGetLocation() throws CoreException { + ILaunchConfigurationWorkingCopy workingCopy = newConfiguration(null, "test-get-location"); + IPath location = workingCopy.getLocation(); + assertEquals("Wrong path for local working copy", LaunchManager.LOCAL_LAUNCH_CONFIGURATION_CONTAINER_PATH.append("test-get-location.launch"), location); + } } |