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:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@ContextConfiguration @TestExecutionListeners(WithSecurityContextTestExecutionListener.class) public class DatasetsWebServiceTest extends BaseJerseyTest
-
-
Constructor Summary
Constructors Constructor Description DatasetsWebServiceTest()
-
Method Summary
-
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() throws TimeoutException
- Throws:
TimeoutException
-
resetMocks
public void resetMocks()
-
testGetDatasets
public void testGetDatasets()
-
testGetDatasetsWithQuery
public void testGetDatasetsWithQuery() throws SearchException, TimeoutException
- Throws:
SearchException
TimeoutException
-
testGetDatasetsWithQueryAndSort
public void testGetDatasetsWithQueryAndSort() throws SearchException, TimeoutException
- Throws:
SearchException
TimeoutException
-
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() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsAnnotationsForUncategorizedTerms
public void testGetDatasetsAnnotationsForUncategorizedTerms() throws TimeoutException
- Throws:
TimeoutException
-
testGetDatasetsCategories
public void testGetDatasetsCategories()
-
testGetDatasetQuantitationTypes
public void testGetDatasetQuantitationTypes()
-
testGetDatasetProcessedExpression
public void testGetDatasetProcessedExpression() throws IOException
- Throws:
IOException
-
testGetDatasetProcessedExpressionWhenNoProcessedVectorsExist
public void testGetDatasetProcessedExpressionWhenNoProcessedVectorsExist()
-
testGetDatasetRawExpression
public void testGetDatasetRawExpression() throws IOException
- Throws:
IOException
-
testGetDatasetRawExpressionByQuantitationTypeWhenQtIsNotFromTheDataset
public void testGetDatasetRawExpressionByQuantitationTypeWhenQtIsNotFromTheDataset()
-
testGetDatasetRawExpressionByQuantitationType
public void testGetDatasetRawExpressionByQuantitationType() throws IOException
- Throws:
IOException
-
testGetBlacklistedDatasets
public void testGetBlacklistedDatasets()
-
testGetDatasetAnnotations
public void testGetDatasetAnnotations()
-
testGetDatasetsDifferentialAnalysisResultsExpressionForGene
public void testGetDatasetsDifferentialAnalysisResultsExpressionForGene()
-
testGetDatasetsDifferentialAnalysisResultsExpressionForGeneInTaxa
public void testGetDatasetsDifferentialAnalysisResultsExpressionForGeneInTaxa()
-
testRefreshDataset
@WithMockUser public void testRefreshDataset()
-
-