use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class RpcContainerTest method testCreateContainer1.
public void testCreateContainer1() throws Exception {
IContainer container = createRpcContainer(RpcConstants.TEST_ECHO_TARGET);
assertNotNull(container);
assertTrue(container instanceof RpcClientContainer);
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class RestContainerTest method testDispose.
public void testDispose() throws Exception {
IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
container.dispose();
assertNull(container.getConnectedID());
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class RestContainerTest method testGetContainerFromManager.
public void testGetContainerFromManager() throws Exception {
IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
ID id = container.getID();
IContainer container2 = getContainerManager().getContainer(id);
assertNotNull(container2);
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class RestContainerTest method testCreateContainer1.
public void testCreateContainer1() throws Exception {
IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
assertNotNull(container);
assertTrue(container instanceof RestClientContainer);
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class RestContainerTest method testCreateContainer4.
public void testCreateContainer4() throws Exception {
ID restID = createRestID(RestConstants.TEST_TWITTER_TARGET);
IContainer container = createRestContainer(restID);
assertNotNull(container);
}
Aggregations