Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/CheckTrustActionTest.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/CheckTrustActionTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/CheckTrustActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/CheckTrustActionTest.java
index 93c9abed9..f4ecf95f5 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/CheckTrustActionTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/CheckTrustActionTest.java
@@ -40,10 +40,10 @@ public class CheckTrustActionTest extends AbstractProvisioningTest {
}
public void testExecuteUndo() throws Exception {
- 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);

Back to the top