Package ubic.gemma.rest
Class OpenApiTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.rest.OpenApiTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
@ContextConfiguration public class OpenApiTest extends AbstractJUnit4SpringContextTests
-
-
Field Summary
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description OpenApiTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirection()
void
testEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaType()
void
testExamplesFromClasspath()
void
testExternalDocumentationUrlIsReplaced()
void
testFilterArgSchemas()
void
testGetDatasetsCategories()
void
testInfoMatchContentOfOpenApiConfiguration()
void
testLimitArgIs5000ForGetDatasetsAnnotations()
void
testSearchableProperties()
void
testSortArgSchemas()
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
testExternalDocumentationUrlIsReplaced
public void testExternalDocumentationUrlIsReplaced()
-
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()
-
testExamplesFromClasspath
public void testExamplesFromClasspath() throws IOException
- Throws:
IOException
-
-