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
  • Constructor Details

    • OpenApiTest

      public OpenApiTest()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • 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