Package org.fcrepo.integration
Class FedoraHtmlResponsesIT
- java.lang.Object
-
- org.fcrepo.integration.AbstractResourceIT
-
- org.fcrepo.integration.FedoraHtmlResponsesIT
-
public class FedoraHtmlResponsesIT extends AbstractResourceIT
FedoraHtmlResponsesIT class.
- Author:
- cbeer
-
-
Field Summary
-
Fields inherited from class org.fcrepo.integration.AbstractResourceIT
client, FEDORA_ADMIN_CREDENTIALS, logger, serverAddress
-
-
Constructor Summary
Constructors Constructor Description FedoraHtmlResponsesIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanUp()voidsetUp()voidtestCreateNewBasicContainer()voidtestCreateNewDatastream()voidtestCreateNewDatastreamWithNoFileAttached()voidtestCreateNewDirectContainer()voidtestCreateNewIndirectContainer()voidtestCreateNewNodeWithGeneratedId()voidtestCreateNewNodeWithProvidedId()voidtestCreateNewObjectAndDeleteIt()voidtestCreateNewObjectAndSetProperties()voidtestDescribeHtml()voidtestSimpleSearch()voidtestVersionCreationAndNavigation()This test walks through the steps for creating an object, setting some metadata, creating a version, updating that metadata, viewing the version history to find that old version.voidtestVersionsListWorksWhenNoVersionsPresent()-
Methods inherited from class org.fcrepo.integration.AbstractResourceIT
setLogger
-
-
-
-
Constructor Detail
-
FedoraHtmlResponsesIT
public FedoraHtmlResponsesIT()
-
-
Method Detail
-
setUp
public void setUp()
-
cleanUp
public void cleanUp()
-
testDescribeHtml
public void testDescribeHtml() throws IOException
- Throws:
IOException
-
testCreateNewNodeWithProvidedId
public void testCreateNewNodeWithProvidedId() throws IOException
- Throws:
IOException
-
testCreateNewNodeWithGeneratedId
public void testCreateNewNodeWithGeneratedId() throws IOException
- Throws:
IOException
-
testCreateNewBasicContainer
public void testCreateNewBasicContainer() throws IOException
- Throws:
IOException
-
testCreateNewDirectContainer
public void testCreateNewDirectContainer() throws IOException
- Throws:
IOException
-
testCreateNewIndirectContainer
public void testCreateNewIndirectContainer() throws IOException
- Throws:
IOException
-
testCreateNewDatastream
public void testCreateNewDatastream() throws Exception
- Throws:
Exception
-
testCreateNewDatastreamWithNoFileAttached
public void testCreateNewDatastreamWithNoFileAttached() throws IOException
- Throws:
IOException
-
testCreateNewObjectAndDeleteIt
public void testCreateNewObjectAndDeleteIt() throws IOException
- Throws:
IOException
-
testVersionsListWorksWhenNoVersionsPresent
public void testVersionsListWorksWhenNoVersionsPresent() throws IOException
- Throws:
IOException
-
testVersionCreationAndNavigation
public void testVersionCreationAndNavigation() throws Exception
This test walks through the steps for creating an object, setting some metadata, creating a version, updating that metadata, viewing the version history to find that old version.- Throws:
IOException- exception thrown during this functionException
-
testCreateNewObjectAndSetProperties
public void testCreateNewObjectAndSetProperties() throws Exception
- Throws:
Exception
-
testSimpleSearch
public void testSimpleSearch() throws Exception
- Throws:
Exception
-
-