Class TestFindAttributeTypeDefsByCategory


public class TestFindAttributeTypeDefsByCategory extends RepositoryConformanceTestCase
Test that all attribute type definitions are retrieved by findAttributeTypeDefsByCategory.
  • Constructor Details

    • TestFindAttributeTypeDefsByCategory

      public TestFindAttributeTypeDefsByCategory(RepositoryConformanceWorkPad workPad, List<AttributeTypeDef> allAttributeTypeDefs)
      Typical constructor sets up superclass and discovered information needed for tests
      Parameters:
      workPad - place for parameters and results
      allAttributeTypeDefs - list of all type definitions returned by repository
  • Method Details

    • getPrimitiveDefs

      public Map<String,PrimitiveDef> getPrimitiveDefs()
      Return the list of primitive type definitions returned by the repository.
      Returns:
      map of PrimitiveDef name to PrimitiveDefs
    • getCollectionDefs

      public List<CollectionDef> getCollectionDefs()
      Return the list of collection type definitions returned by the repository.
      Returns:
      list of CollectionDefs
    • getEnumDefs

      public List<EnumDef> getEnumDefs()
      Return the list of enum type definitions returned by the repository.
      Returns:
      list of EnumDefs
    • 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.