diff options
author | Simon Kaegi | 2009-01-26 21:10:50 +0000 |
---|---|---|
committer | Simon Kaegi | 2009-01-26 21:10:50 +0000 |
commit | fae3aba462afd95796eb4fbcbd31421ff3ad0c08 (patch) | |
tree | aa6a0a2482b2a9f49e5b82d84065e4bc94727c03 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java | |
parent | e983dc03df6566f1618e42eaa5de8bb680acf848 (diff) | |
download | rt.equinox.p2-fae3aba462afd95796eb4fbcbd31421ff3ad0c08.tar.gz rt.equinox.p2-fae3aba462afd95796eb4fbcbd31421ff3ad0c08.tar.xz rt.equinox.p2-fae3aba462afd95796eb4fbcbd31421ff3ad0c08.zip |
Bug 258384 [shared] Need automated shared install tests
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java index ded7773ad..2d13dd3e5 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/SharedInstallTests.java @@ -14,6 +14,7 @@ import java.io.*; import java.util.Properties; import junit.framework.Test; import junit.framework.TestSuite; +import org.eclipse.core.runtime.Platform; import org.eclipse.equinox.internal.p2.updatesite.Activator; public class SharedInstallTests extends AbstractReconcilerTest { @@ -26,9 +27,8 @@ public class SharedInstallTests extends AbstractReconcilerTest { TestSuite suite = new ReconcilerTestSuite(); suite.setName(SharedInstallTests.class.getName()); suite.addTest(new SharedInstallTests("testBasicStartup")); - // disabled until we sort out mac - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=258935 - // suite.addTest(new SharedInstallTests("testReadOnlyDropinsStartup")); - // suite.addTest(new SharedInstallTests("testUserDropinsStartup")); + suite.addTest(new SharedInstallTests("testReadOnlyDropinsStartup")); + suite.addTest(new SharedInstallTests("testUserDropinsStartup")); return suite; } @@ -109,6 +109,9 @@ public class SharedInstallTests extends AbstractReconcilerTest { } public void testReadOnlyDropinsStartup() throws IOException { + if (Platform.getOS().equals(Platform.OS_MACOSX)) + return; + assertInitialized(); assertDoesNotExistInBundlesInfo("0.1", "myBundle"); File jar = getTestData("2.0", "testData/reconciler/plugins/myBundle_1.0.0.jar"); @@ -144,6 +147,9 @@ public class SharedInstallTests extends AbstractReconcilerTest { } public void testUserDropinsStartup() throws IOException { + if (Platform.getOS().equals(Platform.OS_MACOSX)) + return; + assertInitialized(); assertDoesNotExistInBundlesInfo("0.1", "myBundle"); File jar = getTestData("2.0", "testData/reconciler/plugins/myBundle_1.0.0.jar"); |