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.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
@ContextConfiguration
public class OpenApiTest
extends BaseTest
implements org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Constructor Details
-
OpenApiTest
public OpenApiTest()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
testExternalDocumentationUrlIsReplaced
public void testExternalDocumentationUrlIsReplaced() -
testInfoMatchContentOfOpenApiConfiguration
- 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
- Throws:
IOException
-