diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/InstallFeatureActionTest.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/InstallFeatureActionTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/InstallFeatureActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/InstallFeatureActionTest.java index 9e43280ea..51666d2ef 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/InstallFeatureActionTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/InstallFeatureActionTest.java @@ -41,10 +41,10 @@ public class InstallFeatureActionTest extends AbstractProvisioningTest { } public void testExecuteUndo() { - Properties profileProperties = new Properties(); + Map<String, String> profileProperties = new HashMap<>(); File installFolder = getTempFolder(); - profileProperties.setProperty(IProfile.PROP_INSTALL_FOLDER, installFolder.toString()); - profileProperties.setProperty(IProfile.PROP_CACHE, installFolder.toString()); + profileProperties.put(IProfile.PROP_INSTALL_FOLDER, installFolder.toString()); + profileProperties.put(IProfile.PROP_CACHE, installFolder.toString()); IProfile profile = createProfile("test", profileProperties); IFileArtifactRepository bundlePool = Util.getBundlePoolRepository(getAgent(), profile); @@ -94,10 +94,10 @@ public class InstallFeatureActionTest extends AbstractProvisioningTest { } public void testInstallFolderWithSpaces() { - Properties profileProperties = new Properties(); + Map<String, String> profileProperties = new HashMap<>(); File installFolder = new File(getTempFolder(), "with space"); - profileProperties.setProperty(IProfile.PROP_INSTALL_FOLDER, installFolder.toString()); - profileProperties.setProperty(IProfile.PROP_CACHE, installFolder.toString()); + profileProperties.put(IProfile.PROP_INSTALL_FOLDER, installFolder.toString()); + profileProperties.put(IProfile.PROP_CACHE, installFolder.toString()); IProfile profile = createProfile("test", profileProperties); IFileArtifactRepository bundlePool = Util.getBundlePoolRepository(getAgent(), profile); |