Package ubic.gemma.rest
Class OpenApiTest
- java.lang.Object
-
- org.glassfish.jersey.test.JerseyTest
-
- ubic.gemma.rest.util.BaseJerseyTest
-
- ubic.gemma.rest.OpenApiTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
@ContextConfiguration public class OpenApiTest extends BaseJerseyTest
-
-
Constructor Summary
Constructors Constructor Description OpenApiTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUpSpec()
void
testEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirection()
void
testEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaType()
void
testFilterArgSchemas()
void
testGetDatasetsCategories()
void
testInfoMatchContentOfOpenApiConfiguration()
void
testLimitArgIs5000ForGetDatasetsAnnotations()
void
testSearchableProperties()
void
testSortArgSchemas()
-
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
-
setUpSpec
public void setUpSpec() throws IOException
- Throws:
IOException
-
testInfoMatchContentOfOpenApiConfiguration
public void testInfoMatchContentOfOpenApiConfiguration() throws IOException
- Throws:
IOException
-
testEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirection
public void testEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirection()
-
testEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaType
public void testEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaType()
-
testGetDatasetsCategories
public void testGetDatasetsCategories()
-
testFilterArgSchemas
public void testFilterArgSchemas()
-
testSortArgSchemas
public void testSortArgSchemas()
-
testLimitArgIs5000ForGetDatasetsAnnotations
public void testLimitArgIs5000ForGetDatasetsAnnotations()
-
testSearchableProperties
public void testSearchableProperties()
-
-