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.
  • 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 results
      testEntityDef - type of entity to attach classification to
      classificationDef - list of valid classifications
  • Method Details

    • 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.
    • cleanup

      public void cleanup() throws Exception
      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 class OpenMetadataTestCase
      Throws:
      Exception - something went wrong but there is no particular action to take.