Class TestGetTypeDefGallery
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
org.odpi.openmetadata.conformance.tests.repository.types.TestGetTypeDefGallery
Discover the types supported by the system under test.
-
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
Fields inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
defaultProfileId, defaultRequirementId, discoveredProperties, exceptionBean, notSupportedAssertions, successfulAssertions, successMessage, testCaseDescriptionURL, unsuccessfulAssertions, workPad
-
Constructor Summary
ConstructorDescriptionTypical constructor sets up superclass -
Method Summary
Modifier and TypeMethodDescriptionReturn the list of retrieved type definitions used to guide the testing of types.Return the list of retrieved attribute type definitions.Return the list of classification definitions returned by the repository.Return the list of entity definitions returned by the repository.Return the list of retrieved type definitions used to guide the testing of instances.Return the list of relationship 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
-
TestGetTypeDefGallery
Typical constructor sets up superclass- Parameters:
workPad
- place for parameters and results
-
-
Method Details
-
run
Method implemented by the actual test case.- Specified by:
run
in classOpenMetadataTestCase
- Throws:
Exception
- something went wrong with the test.
-
getAttributeTypeDefs
Return the list of retrieved attribute type definitions.- Returns:
- list of AttributeTypeDefs
-
getAllTypeDefs
Return the list of retrieved type definitions used to guide the testing of types.- Returns:
- list of TypeDefs
-
getInstanceTestTypeDefs
Return the list of retrieved type definitions used to guide the testing of instances.- Returns:
- list of TypeDefs
-
getEntityDefs
Return the list of entity definitions returned by the repository.- Returns:
- map of EntityDef name to EntityDefs
-
getRelationshipDefs
Return the list of relationship definitions returned by the repository.- Returns:
- list of RelationshipDefs
-
getClassificationDefs
Return the list of classification definitions returned by the repository.- Returns:
- list of classifications
-