Class TestGetTypeDefGallery


public class TestGetTypeDefGallery extends RepositoryConformanceTestCase
Discover the types supported by the system under test.
  • Constructor Details

    • TestGetTypeDefGallery

      public TestGetTypeDefGallery(RepositoryConformanceWorkPad workPad)
      Typical constructor sets up superclass
      Parameters:
      workPad - place for parameters and results
  • Method Details

    • run

      protected void run() throws Exception
      Method implemented by the actual test case.
      Specified by:
      run in class OpenMetadataTestCase
      Throws:
      Exception - something went wrong with the test.
    • getAttributeTypeDefs

      public List<AttributeTypeDef> getAttributeTypeDefs()
      Return the list of retrieved attribute type definitions.
      Returns:
      list of AttributeTypeDefs
    • getAllTypeDefs

      public List<TypeDef> getAllTypeDefs()
      Return the list of retrieved type definitions used to guide the testing of types.
      Returns:
      list of TypeDefs
    • getInstanceTestTypeDefs

      public List<TypeDef> getInstanceTestTypeDefs()
      Return the list of retrieved type definitions used to guide the testing of instances.
      Returns:
      list of TypeDefs
    • getEntityDefs

      public Map<String,EntityDef> getEntityDefs()
      Return the list of entity definitions returned by the repository.
      Returns:
      map of EntityDef name to EntityDefs
    • getRelationshipDefs

      public List<RelationshipDef> getRelationshipDefs()
      Return the list of relationship definitions returned by the repository.
      Returns:
      list of RelationshipDefs
    • getClassificationDefs

      public List<ClassificationDef> getClassificationDefs()
      Return the list of classification definitions returned by the repository.
      Returns:
      list of classifications