Package ubic.gemma.rest
Class AnalysisResultSetsWebServiceTest
- java.lang.Object
-
- org.glassfish.jersey.test.JerseyTest
-
- ubic.gemma.rest.util.BaseJerseyTest
-
- ubic.gemma.rest.util.BaseJerseyIntegrationTest
-
- ubic.gemma.rest.AnalysisResultSetsWebServiceTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
public class AnalysisResultSetsWebServiceTest extends BaseJerseyIntegrationTest
-
-
Constructor Summary
Constructors Constructor Description AnalysisResultSetsWebServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeFixtures()
void
setupMocks()
void
testFindAllWhenDatabaseEntryDoesNotExistThenRaise404NotFound()
void
testFindAllWhenDatasetDoesNotExistThenRaise404NotFound()
void
testFindAllWhenNoDatasetsAreProvidedThenReturnLatestAnalysisResults()
void
testFindAllWithDatabaseEntriesThenReturnLatestAnalysisResults()
void
testFindAllWithDatasetIdsThenReturnLatestAnalysisResults()
void
testFindAllWithFilters()
void
testFindAllWithFiltersAndCollections()
void
testFindAllWithInvalidFilters()
void
testFindByIdThenReturn200Success()
void
testFindByIdToTsv()
void
testFindByIdWhenExcludeResultsThenReturn200Success()
void
testFindByIdWhenInvalidIdentifierThenThrowMalformedArgException()
void
testFindByIdWhenResultSetDoesNotExistsThenReturn404NotFoundError()
-
Methods inherited from class ubic.gemma.rest.util.BaseJerseyIntegrationTest
setUpAuthentication, tearDownSecurityContext
-
Methods inherited from class ubic.gemma.rest.util.BaseJerseyTest
configure, configureClient, getTestContainerFactory, setApplicationContext, setUp, tearDown
-
Methods inherited from class org.glassfish.jersey.test.JerseyTest
client, close, closeIfNotNull, configureDeployment, disable, enable, forceDisable, forceEnable, forceSet, getAsyncTimeoutMultiplier, getBaseUri, getClient, getLastLoggedRecord, getLoggedRecords, getPort, isEnabled, set, set, setClient, target, target
-
-
-
-
Method Detail
-
setupMocks
public void setupMocks()
-
removeFixtures
public void removeFixtures()
-
testFindAllWhenNoDatasetsAreProvidedThenReturnLatestAnalysisResults
public void testFindAllWhenNoDatasetsAreProvidedThenReturnLatestAnalysisResults()
-
testFindAllWithFilters
public void testFindAllWithFilters()
-
testFindAllWithFiltersAndCollections
public void testFindAllWithFiltersAndCollections()
-
testFindAllWithInvalidFilters
public void testFindAllWithInvalidFilters()
-
testFindAllWithDatasetIdsThenReturnLatestAnalysisResults
public void testFindAllWithDatasetIdsThenReturnLatestAnalysisResults()
-
testFindAllWhenDatasetDoesNotExistThenRaise404NotFound
public void testFindAllWhenDatasetDoesNotExistThenRaise404NotFound()
-
testFindAllWithDatabaseEntriesThenReturnLatestAnalysisResults
public void testFindAllWithDatabaseEntriesThenReturnLatestAnalysisResults()
-
testFindAllWhenDatabaseEntryDoesNotExistThenRaise404NotFound
public void testFindAllWhenDatabaseEntryDoesNotExistThenRaise404NotFound()
-
testFindByIdThenReturn200Success
public void testFindByIdThenReturn200Success()
-
testFindByIdWhenExcludeResultsThenReturn200Success
public void testFindByIdWhenExcludeResultsThenReturn200Success()
-
testFindByIdWhenInvalidIdentifierThenThrowMalformedArgException
public void testFindByIdWhenInvalidIdentifierThenThrowMalformedArgException()
-
testFindByIdWhenResultSetDoesNotExistsThenReturn404NotFoundError
public void testFindByIdWhenResultSetDoesNotExistsThenReturn404NotFoundError()
-
testFindByIdToTsv
public void testFindByIdToTsv()
-
-