Bug 545935 - Disabled testGetBundle & testGetBundles
Tests are depending on specific target platform state and must be
refactored to be independent from that.
Change-Id: I157b884cf525c0ea95a4832527e287409d6c36cf
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
diff --git a/tests/org.eclipse.core.tests.runtime/src/org/eclipse/core/tests/runtime/PlatformTest.java b/tests/org.eclipse.core.tests.runtime/src/org/eclipse/core/tests/runtime/PlatformTest.java
index f0fccfd..57adc01 100644
--- a/tests/org.eclipse.core.tests.runtime/src/org/eclipse/core/tests/runtime/PlatformTest.java
+++ b/tests/org.eclipse.core.tests.runtime/src/org/eclipse/core/tests/runtime/PlatformTest.java
@@ -167,7 +167,8 @@
}
}
- public void testGetBundle() throws BundleException {
+ // temporarily disabled - bug#545935
+ public void XXXtestGetBundle() throws BundleException {
Bundle bundle = Platform.getBundle(PI_JDT_ANNOTATION);
assertNotNull("org.eclipse.jdt.annotation bundle not available", bundle);
assertEquals(2, bundle.getVersion().getMajor()); // new 2.x version
@@ -177,7 +178,8 @@
assertNull(PI_JDT_ANNOTATION + " bundle => expect null result", bundle);
}
- public void testGetBundles() {
+ // temporarily disabled - bug#545935
+ public void XXXtestGetBundles() {
Bundle[] bundles = Platform.getBundles(PI_JDT_ANNOTATION, null);
assertNotNull(PI_JDT_ANNOTATION + " bundle not available", bundles);
// there may be only one version available, and then it will be the new version