Package ubic.gemma.rest
Class OpenApiTest
- java.lang.Object
- 
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
- 
- ubic.gemma.core.util.test.BaseTest
- 
- ubic.gemma.rest.OpenApiTest
 
 
 
- 
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
 
 @ContextConfiguration public class OpenApiTest extends BaseTest 
- 
- 
Constructor SummaryConstructors Constructor Description OpenApiTest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirection()voidtestEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaType()voidtestExamplesFromClasspath()voidtestExternalDocumentationUrlIsReplaced()voidtestFilterArgSchemas()voidtestGetDatasetsCategories()voidtestInfoMatchContentOfOpenApiConfiguration()voidtestLimitArgIs5000ForGetDatasetsAnnotations()voidtestSearchableProperties()voidtestSortArgSchemas()
 
- 
- 
- 
Method Detail- 
testExternalDocumentationUrlIsReplacedpublic void testExternalDocumentationUrlIsReplaced() 
 - 
testInfoMatchContentOfOpenApiConfigurationpublic void testInfoMatchContentOfOpenApiConfiguration() throws IOException- Throws:
- IOException
 
 - 
testEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirectionpublic void testEnsureThatAllEndpointHaveADefaultGetResponseOrIsARedirection() 
 - 
testEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaTypepublic void testEnsureThatAllErrorResponsesUseResponseErrorObjectWithJsonMediaType() 
 - 
testGetDatasetsCategoriespublic void testGetDatasetsCategories() 
 - 
testFilterArgSchemaspublic void testFilterArgSchemas() 
 - 
testSortArgSchemaspublic void testSortArgSchemas() 
 - 
testLimitArgIs5000ForGetDatasetsAnnotationspublic void testLimitArgIs5000ForGetDatasetsAnnotations() 
 - 
testSearchablePropertiespublic void testSearchableProperties() 
 - 
testExamplesFromClasspathpublic void testExamplesFromClasspath() throws IOException- Throws:
- IOException
 
 
- 
 
-