Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTestExtendedConfigured.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTestExtendedConfigured.java14
1 files changed, 2 insertions, 12 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTestExtendedConfigured.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTestExtendedConfigured.java
index 198057e0d..5de86bea9 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTestExtendedConfigured.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/SimpleConfiguratorTestExtendedConfigured.java
@@ -13,10 +13,8 @@ package org.eclipse.equinox.p2.tests.simpleconfigurator;
import java.io.*;
import java.net.URISyntaxException;
import java.util.ArrayList;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.equinox.internal.simpleconfigurator.Activator;
import org.eclipse.equinox.internal.simpleconfigurator.utils.SimpleConfiguratorUtils;
-import org.eclipse.equinox.p2.tests.sharedinstall.AbstractSharedInstallTest;
public class SimpleConfiguratorTestExtendedConfigured extends SimpleConfiguratorTestExtended {
@@ -39,22 +37,14 @@ public class SimpleConfiguratorTestExtendedConfigured extends SimpleConfigurator
ext3Info = new File(ext3Parent, "ext3.info");
ext3Info.createNewFile();
ext1Info.setLastModified(System.currentTimeMillis() + 1000);
- if (Platform.getOS().equals(Platform.OS_WIN32)) {
- AbstractSharedInstallTest.reallyReadOnly(ext1Parent);
- } else {
- ext1Parent.setWritable(false);
- }
+ ext1Parent.setWritable(false);
ext3Info.setLastModified(System.currentTimeMillis() + 1000);
}
@Override
protected void tearDown() throws Exception {
Activator.EXTENSIONS = null;
- if (Platform.getOS().equals(Platform.OS_WIN32)) {
- AbstractSharedInstallTest.removeReallyReadOnly(ext1Parent);
- } else {
- ext1Parent.setWritable(true);
- }
+ ext1Parent.setWritable(true);
super.tearDown();
}

Back to the top