Class TestSupportedReferenceCopyClassificationLifecycle
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
org.odpi.openmetadata.conformance.tests.repository.instances.TestSupportedReferenceCopyClassificationLifecycle
public class TestSupportedReferenceCopyClassificationLifecycle
extends RepositoryConformanceTestCase
Test that all defined classifications can be created, retrieved, updated and deleted.
This test is similar to the TestSupportedClassificationLifecycle test except it operates on entity reference copies.
-
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, successMessage, testCaseDescriptionURL, unsuccessfulAssertions, workPad
-
Constructor Summary
ConstructorDescriptionTestSupportedReferenceCopyClassificationLifecycle
(RepositoryConformanceWorkPad workPad, EntityDef testEntityDef, ClassificationDef classificationDef) Typical constructor sets up superclass and discovered information needed for tests -
Method Summary
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, endAsynchronousTest, executeTest, executeTest, getResult, getSummary, getTestCaseDescriptionURL, getTestCaseId, getTestCaseName, isTestPassed, isTestRan, run, setSuccessMessage, startAsynchronousTest, toString, updateTestId, verifyCondition, verifyCondition, verifyObjectsAreEqual
-
Constructor Details
-
TestSupportedReferenceCopyClassificationLifecycle
public TestSupportedReferenceCopyClassificationLifecycle(RepositoryConformanceWorkPad workPad, EntityDef testEntityDef, ClassificationDef classificationDef) Typical constructor sets up superclass and discovered information needed for tests- Parameters:
workPad
- place for parameters and resultstestEntityDef
- type of entity to attach classification toclassificationDef
- 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.
-
cleanup
Method to clean any instance created by the test case that has not already been cleaned by the running of the test.- Overrides:
cleanup
in classOpenMetadataTestCase
- Throws:
Exception
- something went wrong but there is no particular action to take.
-