Class TestFindAttributeTypeDefsByCategory
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
org.odpi.openmetadata.conformance.tests.repository.types.TestFindAttributeTypeDefsByCategory
Test that all attribute type definitions are retrieved by findAttributeTypeDefsByCategory.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
OpenMetadataTestCase.TestPhase
-
Field Summary
Fields inherited from class org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
cohortRepositoryConnector, repositoryConformanceWorkPad
Fields inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
defaultProfileId, defaultRequirementId, discoveredProperties, exceptionBean, notSupportedAssertions, successfulAssertions, testCaseDescriptionURL, unsuccessfulAssertions, workPad
-
Constructor Summary
ConstructorDescriptionTestFindAttributeTypeDefsByCategory
(RepositoryConformanceWorkPad workPad, List<AttributeTypeDef> allAttributeTypeDefs) Typical constructor sets up superclass and discovered information needed for tests -
Method Summary
Modifier and TypeMethodDescriptionReturn the list of collection type definitions returned by the repository.Return the list of enum type definitions returned by the repository.Return the list of primitive type definitions returned by the repository.protected void
run()
Method implemented by the actual test case.Methods inherited from class org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
addEntityProxyToRepository, addEntityToRepository, buildExceptionMessage, generatePropertiesForInstance, getAllPropertiesForInstance, getAllUniquePropertiesForInstance, getEntityDef, getMaxSearchResults, getMetadataCollection, getMinPropertiesForInstance, getPropertiesForInstance, getPropertiesForTypeDef, getRepositoryConnector, incrementSuccessfulCount, incrementUnsuccessfulCount, logTestEnd, logTestStart, updateTestIdByType
Methods inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
addDiscoveredProperty, addNotSupportedAssertion, assertCondition, assertCondition, assertObjectsAreEqual, cleanTest, cleanup, endAsynchronousTest, executeTest, executeTest, getResult, getSummary, getTestCaseDescriptionURL, getTestCaseId, getTestCaseName, isTestPassed, isTestRan, run, setSuccessMessage, startAsynchronousTest, toString, updateTestId, verifyCondition, verifyCondition, verifyObjectsAreEqual
-
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 resultsallAttributeTypeDefs
- list of all type definitions returned by repository
-
-
Method Details
-
getPrimitiveDefs
Return the list of primitive type definitions returned by the repository.- Returns:
- map of PrimitiveDef name to PrimitiveDefs
-
getCollectionDefs
Return the list of collection type definitions returned by the repository.- Returns:
- list of CollectionDefs
-
getEnumDefs
Return the list of enum type definitions returned by the repository.- Returns:
- list of EnumDefs
-
run
Method implemented by the actual test case.- Specified by:
run
in classOpenMetadataTestCase
- Throws:
Exception
- something went wrong with the test.
-