Package ubic.gemma.rest
Class SearchWebServiceTest
java.lang.Object
org.glassfish.jersey.test.JerseyTest
ubic.gemma.rest.util.BaseJerseyTest
ubic.gemma.rest.SearchWebServiceTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class ubic.gemma.rest.util.BaseJerseyTest
configure, configureClient, getTestContainerFactory, setApplicationContext, setUp, tearDownMethods 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
-
Constructor Details
-
SearchWebServiceTest
public SearchWebServiceTest()
-
-
Method Details
-
setUpMocks
public void setUpMocks() -
resetMocks
public void resetMocks() -
testSearchEverything
- Throws:
SearchException
-
testSearchByTaxon
- Throws:
SearchException
-
testSearchByArrayDesign
- Throws:
SearchException
-
testSearchWhenQueryIsMissing
public void testSearchWhenQueryIsMissing() -
testSearchWhenQueryIsEmpty
public void testSearchWhenQueryIsEmpty() -
testSearchWhenUnknownTaxonIsProvided
public void testSearchWhenUnknownTaxonIsProvided() -
testSearchWhenUnknownPlatformIsProvided
public void testSearchWhenUnknownPlatformIsProvided() -
testSearchWhenUnsupportedResultTypeIsProvided
public void testSearchWhenUnsupportedResultTypeIsProvided() -
testSearchWithInvalidQuery
- Throws:
SearchException
-