Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-11-13 17:53:35 +0000
committerslewis2009-11-13 17:53:35 +0000
commit5b71ac7d3330a87e59209f670ef8abe9c61fe8ea (patch)
tree84e9d1eeba387cdbc3f212a8aac758f263e9078c /tests/bundles/org.eclipse.ecf.tests
parent1cef2cd7668189c283bad3e97b03b2177a04389f (diff)
downloadorg.eclipse.ecf-5b71ac7d3330a87e59209f670ef8abe9c61fe8ea.tar.gz
org.eclipse.ecf-5b71ac7d3330a87e59209f670ef8abe9c61fe8ea.tar.xz
org.eclipse.ecf-5b71ac7d3330a87e59209f670ef8abe9c61fe8ea.zip
Added to ECFAbstractTestCase
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests/build.properties5
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/ECFAbstractTestCase.java15
2 files changed, 16 insertions, 4 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests/build.properties b/tests/bundles/org.eclipse.ecf.tests/build.properties
index 146cbd460..2b6399957 100755
--- a/tests/bundles/org.eclipse.ecf.tests/build.properties
+++ b/tests/bundles/org.eclipse.ecf.tests/build.properties
@@ -5,7 +5,4 @@ bin.includes = META-INF/,\
plugin.xml,\
about.html,\
plugin.properties
-src.includes = about.html,\
- META-INF/,\
- plugin.properties,\
- plugin.xml
+src.includes = about.html
diff --git a/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/ECFAbstractTestCase.java b/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/ECFAbstractTestCase.java
index 2d3eb56c9..d1766e6c2 100755
--- a/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/ECFAbstractTestCase.java
+++ b/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/ECFAbstractTestCase.java
@@ -12,6 +12,9 @@ package org.eclipse.ecf.tests;
import junit.framework.TestCase;
+import org.eclipse.ecf.core.IContainerFactory;
+import org.eclipse.ecf.core.IContainerManager;
+import org.eclipse.ecf.core.identity.IIDFactory;
import org.eclipse.ecf.core.util.Trace;
import org.eclipse.ecf.internal.tests.Activator;
@@ -43,4 +46,16 @@ public abstract class ECFAbstractTestCase extends TestCase {
protected void sleep(long sleepTime) {
sleep(sleepTime, null, null);
}
+
+ protected IContainerManager getContainerManager() {
+ return Activator.getDefault().getContainerManager();
+ }
+
+ protected IContainerFactory getContainerFactory() {
+ return Activator.getDefault().getContainerFactory();
+ }
+
+ protected IIDFactory getIDFactory() {
+ return Activator.getDefault().getIDFactory();
+ }
}

Back to the top