use of org.eclipse.ecf.remoteservice.rpc.client.RpcClientContainer in project ecf by eclipse.
the class RpcContainerTest method testCreateContainer3.
public void testCreateContainer3() throws Exception {
ContainerTypeDescription description = getContainerFactory().getDescriptionByName(RpcConstants.RPC_CONTAINER_TYPE);
IContainer container = getContainerFactory().createContainer(description, new Object[] { new URI(RpcConstants.TEST_ECHO_TARGET) });
assertNotNull(container);
assertTrue(container instanceof RpcClientContainer);
}
use of org.eclipse.ecf.remoteservice.rpc.client.RpcClientContainer in project ecf by eclipse.
the class RpcContainerTest method testCreateContainer.
public void testCreateContainer() throws Exception {
IContainer container = createRpcContainer(RpcConstants.TEST_ECHO_TARGET);
assertNotNull(container);
assertTrue(container instanceof RpcClientContainer);
}
use of org.eclipse.ecf.remoteservice.rpc.client.RpcClientContainer in project ecf by eclipse.
the class RpcContainerTest method testCreateContainer2.
public void testCreateContainer2() throws Exception {
ContainerTypeDescription description = getContainerFactory().getDescriptionByName(RpcConstants.RPC_CONTAINER_TYPE);
IContainer container = getContainerFactory().createContainer(description, new Object[] { new URL(RpcConstants.TEST_ECHO_TARGET) });
assertNotNull(container);
assertTrue(container instanceof RpcClientContainer);
}
use of org.eclipse.ecf.remoteservice.rpc.client.RpcClientContainer 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);
}
Aggregations