use of org.eclipse.ecf.core.ContainerTypeDescription in project ecf by eclipse.
the class ContainerFactoryServiceCreateTest method testCreateContainer6.
public void testCreateContainer6() throws Exception {
final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(CONTAINER_TYPE_NAME);
assertNotNull(desc);
final IContainer container = getContainerFactoryService().createContainer(desc, IDFactory.getDefault().createGUID());
assertNotNull(container);
}
use of org.eclipse.ecf.core.ContainerTypeDescription in project ecf by eclipse.
the class ContainerFactoryServiceCreateTest method testCreateContainer8.
public void testCreateContainer8() throws Exception {
final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(CONTAINER_TYPE_NAME);
assertNotNull(desc);
final IContainer container = getContainerFactoryService().createContainer(desc, IDFactory.getDefault().createGUID(), new Object[] { "param" });
assertNotNull(container);
}
use of org.eclipse.ecf.core.ContainerTypeDescription in project ecf by eclipse.
the class ContainerFactoryServiceCreateTest method testCreateBaseContainer3.
public void testCreateBaseContainer3() throws Exception {
final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(BASE_CONTAINER_TYPE_NAME);
assertNotNull(desc);
final IContainer base = getContainerFactoryService().createContainer(desc, new Object[] { IDFactory.getDefault().createGUID().getName() });
assertNotNull(base);
}
use of org.eclipse.ecf.core.ContainerTypeDescription in project ecf by eclipse.
the class ContainerFactoryServiceDescriptionsTest method addDescription.
protected void addDescription() {
description = createContainerTypeDescription();
ContainerTypeDescription add = getFixture().addDescription(description);
assertNull(add);
}
use of org.eclipse.ecf.core.ContainerTypeDescription in project ecf by eclipse.
the class ContainerFactoryServiceDescriptionsTest method removeDescription.
protected void removeDescription() {
ContainerTypeDescription remove = getFixture().removeDescription(getDescription());
assertNotNull(remove);
}
Aggregations