Package ubic.gemma.rest
Class DatasetsWebServiceTest
- java.lang.Object
-
- org.glassfish.jersey.test.JerseyTest
-
- ubic.gemma.rest.util.BaseJerseyTest
-
- ubic.gemma.rest.DatasetsWebServiceTest
-
- All Implemented Interfaces:
InitializingBean
@ContextConfiguration public class DatasetsWebServiceTest extends BaseJerseyTest
-
-
Constructor Summary
Constructors Constructor Description DatasetsWebServiceTest()
-
Method Summary
-
Methods inherited from class ubic.gemma.rest.util.BaseJerseyTest
afterPropertiesSet, configure, configureClient, getTestContainerFactory, setUp
-
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() throws TimeoutException
- Throws:
TimeoutException
-
tearDown
public void tearDown() throws Exception
- Overrides:
tearDown
in classBaseJerseyTest
- Throws:
Exception
-
testGetDatasets
public void testGetDatasets()
-
testGetDatasetsWithQuery
public void testGetDatasetsWithQuery() throws SearchException
- Throws:
SearchException
-
testGetDatasetsWithEmptyQuery
public void testGetDatasetsWithEmptyQuery()
-
testGetDatasetsWhenSliceHasNoLimit
public void testGetDatasetsWhenSliceHasNoLimit()
-
testGetDatasetsOrderedByGeeqScore
public void testGetDatasetsOrderedByGeeqScore()
-
testGetDatasetsWhenInferenceTimeoutThenProduce503ServiceUnavailable
public void testGetDatasetsWhenInferenceTimeoutThenProduce503ServiceUnavailable() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsPlatformsUsageStatistics
public void testGetDatasetsPlatformsUsageStatistics() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsAnnotationsWithRetainMentionedTerms
public void testGetDatasetsAnnotationsWithRetainMentionedTerms() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsAnnotations
public void testGetDatasetsAnnotations() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsAnnotationWhenLimitExceedHardCap
public void testGetDatasetsAnnotationWhenLimitExceedHardCap()
-
testGetDatasetsAnnotationsWhenMaxFrequencyIsSuppliedLimitMustUseMaximum
public void testGetDatasetsAnnotationsWhenMaxFrequencyIsSuppliedLimitMustUseMaximum() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsAnnotationsWithLimitIsSupplied
public void testGetDatasetsAnnotationsWithLimitIsSupplied()
-
testGetDatasetsAnnotationsForUncategorizedTerms
public void testGetDatasetsAnnotationsForUncategorizedTerms()
-
testGetDatasetsCategories
public void testGetDatasetsCategories() throws SearchException
- Throws:
SearchException
-
testGetDatasetQuantitationTypes
public void testGetDatasetQuantitationTypes()
-
testGetDatasetProcessedExpression
public void testGetDatasetProcessedExpression() throws IOException
- Throws:
IOException
-
testGetDatasetProcessedExpressionWhenNoProcessedVectorsExist
public void testGetDatasetProcessedExpressionWhenNoProcessedVectorsExist() throws IOException
- Throws:
IOException
-
testGetDatasetRawExpression
public void testGetDatasetRawExpression() throws IOException
- Throws:
IOException
-
testGetDatasetRawExpressionByQuantitationTypeWhenQtIsNotFromTheDataset
public void testGetDatasetRawExpressionByQuantitationTypeWhenQtIsNotFromTheDataset() throws IOException
- Throws:
IOException
-
testGetDatasetRawExpressionByQuantitationType
public void testGetDatasetRawExpressionByQuantitationType() throws IOException
- Throws:
IOException
-
testGetBlacklistedDatasets
public void testGetBlacklistedDatasets()
-
testGetDatasetAnnotations
public void testGetDatasetAnnotations()
-
-