commit | 9f09c11940baab528adf0640a5ff4e363ded03ee | [log] [tgz] |
---|---|---|
author | jszursze <jszursze> | Wed Oct 09 14:22:16 2002 +0000 |
committer | jszursze <jszursze> | Wed Oct 09 14:22:16 2002 +0000 |
tree | f2084100260938b87985c42ce37ffbb5b324f6a3 | |
parent | e14e47af0001c735e16583d238faf8d324c0e272 [diff] |
Add null check for orignal when copying launch config
diff --git a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/LaunchConfigurationTests.java b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/LaunchConfigurationTests.java index 785cfe1..10f7efd 100644 --- a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/LaunchConfigurationTests.java +++ b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/LaunchConfigurationTests.java
@@ -117,6 +117,7 @@ assertTrue("Configuration should exist in project index", existsIn(configs, handle)); ILaunchConfigurationWorkingCopy softCopy = handle.copy("CopyOf" + handle.getName()); + assertNull("Original in copy should be null", softCopy.getOriginal()); ILaunchConfiguration hardCopy = softCopy.doSave(); // retrieve attributes