@ContextConfiguration(value="/spring-test/test-container.xml") public abstract class BaseServiceProviderIT extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
HOSTNAME |
protected org.apache.http.client.HttpClient |
httpClient |
protected static int |
SERVER_PORT |
protected static String |
serverAddress |
protected static String |
SERVICE_NAME |
| Constructor and Description |
|---|
BaseServiceProviderIT() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.HttpResponse |
createWorkspaceNode(String title) |
void |
fedoraRepositoryIsResponding() |
protected org.apache.http.HttpResponse |
requestServiceDocument() |
protected org.apache.abdera.model.Service |
serviceDocumentFromStream(InputStream content) |
void |
setupHttpClient() |
protected static final int SERVER_PORT
protected static final String HOSTNAME
protected static final String SERVICE_NAME
protected static final String serverAddress
protected org.apache.http.client.HttpClient httpClient
public BaseServiceProviderIT()
protected org.apache.abdera.model.Service serviceDocumentFromStream(InputStream content)
public void setupHttpClient()
public void fedoraRepositoryIsResponding() throws IOException
IOExceptionprotected org.apache.http.HttpResponse requestServiceDocument() throws IOException
IOExceptionprotected org.apache.http.HttpResponse createWorkspaceNode(String title) throws IOException
IOExceptionCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.