summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-11-15 02:34:25 (EST)
committerGerrit Code Review @ Eclipse.org2013-11-18 02:21:46 (EST)
commite193ccd994def3fd574aee5335e8cf8a1c610ae4 (patch)
treedae9fa12ddc2f3e823c7cc4621fe6302d4f25af6
parent8416a6a1ddda58fb41169429fa85abf6c7275cfb (diff)
downloadrt.equinox.p2-e193ccd994def3fd574aee5335e8cf8a1c610ae4.zip
rt.equinox.p2-e193ccd994def3fd574aee5335e8cf8a1c610ae4.tar.gz
rt.equinox.p2-e193ccd994def3fd574aee5335e8cf8a1c610ae4.tar.bz2
bug 421704 - equinox.p2.tests and equinox.p2.tests.ui failed on Linuxrefs/changes/66/18366/4
Don't skip some tests when run on java 1.6. 1.7 is a required BREE. Change-Id: I966275f840f76b4979bdcb38e4c567e4f5c8e6dd Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java
index 2227a70..60e217a 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java
@@ -25,8 +25,6 @@ public class InitialSharedInstall extends AbstractSharedInstallTest {
public static Test suite() {
TestSuite suite = new ReconcilerTestSuite();
- if (isRunningJava16orPrevious())
- return suite;
suite.setName(InitialSharedInstall.class.getName());
suite.addTest(new InitialSharedInstall("setupRun"));
@@ -38,15 +36,6 @@ public class InitialSharedInstall extends AbstractSharedInstallTest {
return suite;
}
- public static boolean isRunningJava16orPrevious() {
- try {
- Class.forName("java.nio.file.attribute.AclEntry");
- } catch (ClassNotFoundException e) {
- return true;
- }
- return false;
- }
-
public InitialSharedInstall(String name) {
super(name);
}