summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-03-27 07:49:42 (EDT)
committerStefan Liebig2008-03-27 07:49:42 (EDT)
commit335cf053474f3daf9a1a36e196c83363d614724f (patch)
treee076cd13654be685723dd49aa27a8477933839a4
parent3c2aff3d5e14d8a434699dfae124f8eac5eacfc2 (diff)
downloadorg.eclipse.riena-335cf053474f3daf9a1a36e196c83363d614724f.zip
org.eclipse.riena-335cf053474f3daf9a1a36e196c83363d614724f.tar.gz
org.eclipse.riena-335cf053474f3daf9a1a36e196c83363d614724f.tar.bz2
clean up extension registry, so that other tests do not fail
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/ExtensionUtilTest.java4
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/plugin.xml2
2 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/ExtensionUtilTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/ExtensionUtilTest.java
index 8167172..ba07111 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/ExtensionUtilTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/ExtensionUtilTest.java
@@ -43,6 +43,8 @@ public class ExtensionUtilTest extends RienaTestCase {
}
}
}
+ removeExtension("core.test.extpoint.id1");
+ removeExtension("core.test.extpoint.id2");
removeExtensionPoint("core.test.extpoint");
}
@@ -53,6 +55,8 @@ public class ExtensionUtilTest extends RienaTestCase {
assertFalse(tests == null);
assertTrue(tests instanceof ITest[]);
assertTrue(tests.length == 0);
+ removeExtension("core.test.extpoint.id1");
+ removeExtension("core.test.extpoint.id2");
removeExtensionPoint("core.test.extpoint");
}
}
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/plugin.xml b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/plugin.xml
index 4f44b9c..235f7d6 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/plugin.xml
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/util/plugin.xml
@@ -4,6 +4,7 @@
<extension-point id="core.test.extpoint" name="core test extensionpoint" schema="extpoint.exsd"/>
<extension-point id="core.test.extpoint2" name="core test extensionpoint" schema="extpoint.exsd"/>
<extension
+ id="core.test.extpoint.id1"
point="core.test.extpoint">
<test
boolean="true"
@@ -17,6 +18,7 @@
</test>
</extension>
<extension
+ id="core.test.extpoint.id2"
point="core.test.extpoint">
<test
boolean="true"