Class TestClassificationHasSupportedEntities
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
org.odpi.openmetadata.conformance.tests.repository.instances.TestClassificationHasSupportedEntities
Test that all defined classifications can be linked to at least one of the supported entities.
-
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
ConstructorDescriptionTestClassificationHasSupportedEntities
(RepositoryConformanceWorkPad workPad, Map<String, EntityDef> entityDefs, ClassificationDef classificationDef) Typical constructor sets up superclass and discovered information needed for tests -
Method Summary
Modifier and TypeMethodDescriptionReturn the list of supported entity types for this classification.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
-
TestClassificationHasSupportedEntities
public TestClassificationHasSupportedEntities(RepositoryConformanceWorkPad workPad, Map<String, EntityDef> entityDefs, ClassificationDef classificationDef) Typical constructor sets up superclass and discovered information needed for tests- Parameters:
workPad
- place for parameters and resultsentityDefs
- list of valid entitiesclassificationDef
- list of valid classifications
-
-
Method Details
-
run
Method implemented by the actual test case.- Specified by:
run
in classOpenMetadataTestCase
- Throws:
Exception
- something went wrong with the test.
-
getSupportedEntityDefsForClassification
Return the list of supported entity types for this classification.- Returns:
- list of entity defs
-