Class AnnotationsRestTest
java.lang.Object
org.glassfish.jersey.test.JerseyTest
ubic.gemma.rest.util.BaseJerseyTest5
ubic.gemma.rest.util.BaseJerseyIntegrationTest5
ubic.gemma.rest.AnnotationsRestTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
End-to-end checks for
AnnotationsWebService.
Counts depend on the loaded ontologies and indexed characteristics, so these tests assert wiring (response shape,
presence of the usageCount field) rather than exact numbers. Numeric correctness is covered by
AnnotationsWebServiceTest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidMethods inherited from class BaseJerseyIntegrationTest5
setUpAuthentication, tearDownSecurityContextMethods inherited from class BaseJerseyTest5
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, getSslContext, getSslParameters, isEnabled, set, set, setClient, target, target
-
Constructor Details
-
AnnotationsRestTest
public AnnotationsRestTest()
-
-
Method Details
-
testSearchAnnotationsReturnsUsageCountField
@Test public void testSearchAnnotationsReturnsUsageCountField() -
testSearchAnnotationsRejectsEmptyQuery
@Test public void testSearchAnnotationsRejectsEmptyQuery() -
testGetAnnotationTermWithUnknownUriIs404
@Test public void testGetAnnotationTermWithUnknownUriIs404() -
testGetAnnotationTermWithBlankUriIs400
@Test public void testGetAnnotationTermWithBlankUriIs400() -
testGetAnnotationTermWithMissingUriIs400
@Test public void testGetAnnotationTermWithMissingUriIs400() -
testGetAnnotationCategoriesReturnsList
@Test public void testGetAnnotationCategoriesReturnsList() -
testGetAnnotationPredicatesReturnsList
@Test public void testGetAnnotationPredicatesReturnsList()
-