use of org.eclipse.ecf.remoteservice.rest.client.RestClientContainer in project ecf by eclipse.
the class RestContainerTest method testCreateContainer3.
public void testCreateContainer3() throws Exception {
ContainerTypeDescription description = getContainerFactory().getDescriptionByName(RestConstants.REST_CONTAINER_TYPE);
IContainer container = getContainerFactory().createContainer(description, new Object[] { new URI(RestConstants.TEST_DE_TARGET) });
assertNotNull(container);
assertTrue(container instanceof RestClientContainer);
}
use of org.eclipse.ecf.remoteservice.rest.client.RestClientContainer in project ecf by eclipse.
the class RestContainerTest method testCreateContainer2.
public void testCreateContainer2() throws Exception {
ContainerTypeDescription description = getContainerFactory().getDescriptionByName(RestConstants.REST_CONTAINER_TYPE);
IContainer container = getContainerFactory().createContainer(description, new Object[] { new URL(RestConstants.TEST_DE_TARGET) });
assertNotNull(container);
assertTrue(container instanceof RestClientContainer);
}
use of org.eclipse.ecf.remoteservice.rest.client.RestClientContainer 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.remoteservice.rest.client.RestClientContainer in project ecf by eclipse.
the class RestContainerTest method testCreateContainer.
public void testCreateContainer() throws Exception {
IContainer container = createRestContainer(RestConstants.TEST_DE_TARGET);
assertNotNull(container);
assertTrue(container instanceof RestClientContainer);
}
Aggregations