Class TestSupportedEntityReferenceCopyLifecycle

java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.repository.RepositoryConformanceTestCase
org.odpi.openmetadata.conformance.tests.repository.instances.TestSupportedEntityReferenceCopyLifecycle

public class TestSupportedEntityReferenceCopyLifecycle extends RepositoryConformanceTestCase
Test that all defined entities can be saved as reference copies, that the copies support all (and only) valid operations, and that the copies can be purged.
  • Constructor Details

    • TestSupportedEntityReferenceCopyLifecycle

      public TestSupportedEntityReferenceCopyLifecycle(RepositoryConformanceWorkPad workPad, EntityDef entityDef)
      Typical constructor sets up superclass and discovered information needed for tests
      Parameters:
      workPad - place for parameters and results
      entityDef - type of valid entities
  • 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.