Package org.fcrepo.integration.http.api
Class FedoraSearchIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.FedoraSearchIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class FedoraSearchIT extends AbstractResourceIT
- Since:
- 05/06/20
- Author:
- dbernstein
-
-
Field Summary
-
Fields inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
authPropsConfig, BASIC_CONTAINER_LINK_HEADER, client, containerWrapper, DCTITLE, DIRECT_CONTAINER_LINK_HEADER, logger, NON_RDF_SOURCE_LINK_HEADER, propsConfig, serverAddress
-
-
Constructor Summary
Constructors Constructor Description FedoraSearchIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestDescOrdering()voidtestDoNotIncludeTotalCount()voidtestFieldsReturnsContentSize()voidtestFieldsReturnsMimeType()voidtestFieldsReturnsRDFType()voidtestFieldsReturnsSpecifiedFields()voidtestIncludeTotalCount()voidtestMalformedCondition()voidtestMaxResultsAndOffset()voidtestModifiedGreaterAndLessThan()voidtestOrderByMimetypeDesc()voidtestOrderingISAscendingByDefaultIfOrderByIsDefined()voidtestSearchAllResources()voidtestSearchByContentSize()voidtestSearchByMimeType()voidtestSearchByRdfSourceExactMatch()voidtestSearchByRdfSourceWildcard()voidtestSearchByRdfSourceWildCards()voidtestSearchNoMatchingFedoraIds()voidtestTotalResults()voidtestTotalResultsMore()voidtestUnderScoreEscaping()voidtestUpdateSearchIndexOnResourceDelete()voidtestUpdateSearchIndexOnResourceUpdate()voidtestWildcardMatchingOnPartialFedoraId()-
Methods inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
addTxTo, assertConstrainedByPresent, assertDeleted, assertNoLinkHeader, assertNotDeleted, assertNotFound, checkForLinkHeader, confirmResponseBodyNTriplesAreEqual, createClient, createClient, createDatastream, createDatastream, createObject, createObject, createObjectAndClose, createObjectAndClose, createTransaction, decodeDigestHeader, deleteObjMethod, execute, executeAndClose, executeWithBasicAuth, getBean, getBean, getContentLocation, getContentType, getContentType, getDataset, getDataset, getDSDescMethod, getDSMethod, getEtag, getEtag, getEtag, getExternalContentLinkHeader, getHeader, getLinkHeaders, getLinkHeaders, getLocation, getLocation, getModel, getModel, getModel, getModel, getObjMethod, getOriginalResourceUri, getRandomUniqueId, getStatus, getStatus, getTTLThatUpdatesServerManagedTriples, headerValues, headObjMethod, patchObjMethod, postObjMethod, postObjMethod, preferLink, putDSMethod, putDSMethod, putObjMethod, putObjMethod, restartContainer, setDescriptionProperty, setLogger, setProperty, setProperty, streamModel
-
-
-
-
Constructor Detail
-
FedoraSearchIT
public FedoraSearchIT()
-
-
Method Detail
-
testSearchAllResources
public void testSearchAllResources() throws Exception
- Throws:
Exception
-
testWildcardMatchingOnPartialFedoraId
public void testWildcardMatchingOnPartialFedoraId() throws Exception
- Throws:
Exception
-
testUpdateSearchIndexOnResourceUpdate
public void testUpdateSearchIndexOnResourceUpdate() throws Exception
- Throws:
Exception
-
testUpdateSearchIndexOnResourceDelete
public void testUpdateSearchIndexOnResourceDelete() throws Exception
- Throws:
Exception
-
testModifiedGreaterAndLessThan
public void testModifiedGreaterAndLessThan() throws Exception
- Throws:
Exception
-
testFieldsReturnsSpecifiedFields
public void testFieldsReturnsSpecifiedFields() throws Exception
- Throws:
Exception
-
testFieldsReturnsMimeType
public void testFieldsReturnsMimeType() throws Exception
- Throws:
Exception
-
testFieldsReturnsContentSize
public void testFieldsReturnsContentSize() throws Exception
- Throws:
Exception
-
testFieldsReturnsRDFType
public void testFieldsReturnsRDFType() throws Exception
- Throws:
Exception
-
testMaxResultsAndOffset
public void testMaxResultsAndOffset() throws Exception
- Throws:
Exception
-
testDoNotIncludeTotalCount
public void testDoNotIncludeTotalCount() throws Exception
- Throws:
Exception
-
testIncludeTotalCount
public void testIncludeTotalCount() throws Exception
- Throws:
Exception
-
testSearchByContentSize
public void testSearchByContentSize() throws Exception
- Throws:
Exception
-
testSearchByMimeType
public void testSearchByMimeType() throws Exception
- Throws:
Exception
-
testSearchNoMatchingFedoraIds
public void testSearchNoMatchingFedoraIds() throws Exception
- Throws:
Exception
-
testMalformedCondition
public void testMalformedCondition() throws Exception
- Throws:
Exception
-
testOrderingISAscendingByDefaultIfOrderByIsDefined
public void testOrderingISAscendingByDefaultIfOrderByIsDefined() throws Exception
- Throws:
Exception
-
testDescOrdering
public void testDescOrdering() throws Exception
- Throws:
Exception
-
testOrderByMimetypeDesc
public void testOrderByMimetypeDesc() throws Exception
- Throws:
Exception
-
testSearchByRdfSourceWildCards
public void testSearchByRdfSourceWildCards() throws Exception
- Throws:
Exception
-
testSearchByRdfSourceWildcard
public void testSearchByRdfSourceWildcard() throws Exception
- Throws:
Exception
-
testSearchByRdfSourceExactMatch
public void testSearchByRdfSourceExactMatch() throws Exception
- Throws:
Exception
-
testTotalResults
public void testTotalResults() throws Exception
- Throws:
Exception
-
testTotalResultsMore
public void testTotalResultsMore() throws Exception
- Throws:
Exception
-
testUnderScoreEscaping
public void testUnderScoreEscaping() throws Exception
- Throws:
Exception
-
-