Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2016-09-19 14:35:45 -0400
committerRoland Grunberg2016-09-19 14:55:10 -0400
commita7b241bbc77416c8f40d8767a78e0cb0ef3bc357 (patch)
tree4e5bba74828082a8662ec5bc7826b0584a47d6bd
parentc14eec0caf5ce84e5d9bd461c20f95cc1ffb6367 (diff)
downloadrt.equinox.p2-a7b241bbc77416c8f40d8767a78e0cb0ef3bc357.tar.gz
rt.equinox.p2-a7b241bbc77416c8f40d8767a78e0cb0ef3bc357.tar.xz
rt.equinox.p2-a7b241bbc77416c8f40d8767a78e0cb0ef3bc357.zip
Bug 499623: Do not run testLoadConfigurationExtended on Windows.Y20160929-1000Y20160922-1000I20160927-0800I20160920-0800
Currently, test utility methods do not guarantee a folder can be made read-only and asserted using java.io.File.canWrite(). As a result extended configuration tests will not work correctly on Windows. Change-Id: I2e4f320587aea45c22a4b95b57f6817c3e8a09ff Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorTests.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorTests.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorTests.java
index 4534acd77..1e22b03f5 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorTests.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorTests.java
@@ -24,6 +24,7 @@ import org.eclipse.equinox.internal.simpleconfigurator.utils.URIUtil;
import org.eclipse.equinox.p2.tests.AbstractProvisioningTest;
import org.eclipse.equinox.p2.tests.TestActivator;
import org.eclipse.equinox.p2.tests.reconciler.dropins.SharedInstallTests;
+import org.eclipse.equinox.p2.tests.sharedinstall.AbstractSharedInstallTest;
import org.eclipse.equinox.simpleconfigurator.manipulator.SimpleConfiguratorManipulator;
public class SimpleConfiguratorManipulatorTests extends AbstractProvisioningTest {
@@ -87,6 +88,11 @@ public class SimpleConfiguratorManipulatorTests extends AbstractProvisioningTest
}
public void testLoadConfigurationExtended() throws Exception {
+ // See org.eclipse.equinox.p2.tests.simpleconfigurator.SimpleConfiguratorTests
+ if (AbstractSharedInstallTest.WINDOWS) {
+ return;
+ }
+
// installation info
URI installArea = EquinoxUtils.getInstallLocationURI(TestActivator.getContext());

Back to the top