Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorslewis2007-02-02 19:46:21 +0000
committerslewis2007-02-02 19:46:21 +0000
commitaf54595883db17056ffe2a32f1095a6ddf09c24a (patch)
tree3592b53a0856609f1540248a27fc15657714d172 /tests
parentf3639476302ff86b27946257b3e7b915d1450244 (diff)
downloadorg.eclipse.ecf-af54595883db17056ffe2a32f1095a6ddf09c24a.tar.gz
org.eclipse.ecf-af54595883db17056ffe2a32f1095a6ddf09c24a.tar.xz
org.eclipse.ecf-af54595883db17056ffe2a32f1095a6ddf09c24a.zip
Added BaseContainer implementation class. Also added ContainerFactory.createContainer() method that creates/returns a BaseContainer instance when called. Added test code also. Added BaseContainerInstantiator in org.eclipse.ecf.provider to support creation of IContainerInstantiators
Diffstat (limited to 'tests')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/core/ContainerFactoryCreateTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/core/ContainerFactoryCreateTest.java b/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/core/ContainerFactoryCreateTest.java
index c037c7dee..fef5a1c03 100755
--- a/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/core/ContainerFactoryCreateTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/core/ContainerFactoryCreateTest.java
@@ -91,6 +91,11 @@ public class ContainerFactoryCreateTest extends ContainerFactoryAbstractTestCase
}, DESCRIPTION, defaultParameters, defaultProperties);
}
+ public void testCreateContainer0() throws Exception {
+ IContainer container = ContainerFactory.getDefault().createContainer();
+ assertNotNull(container);
+ }
+
public void testCreateContainer1() throws Exception {
IContainer container = ContainerFactory.getDefault().createContainer(CONTAINER_TYPE_NAME);
assertNotNull(container);

Back to the top