Class TestSupportedRelationshipReferenceCopyLifecycle

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

public class TestSupportedRelationshipReferenceCopyLifecycle extends RepositoryConformanceTestCase
Test that all defined relaitonships can be created, retrieved, updated and deleted.
  • Constructor Details

    • TestSupportedRelationshipReferenceCopyLifecycle

      public TestSupportedRelationshipReferenceCopyLifecycle(RepositoryConformanceWorkPad workPad, Map<String,EntityDef> entityDefs, RelationshipDef relationshipDef)
      Typical constructor sets up superclass and discovered information needed for tests
      Parameters:
      workPad - place for parameters and results
      entityDefs - entities to test
      relationshipDef - type of valid relationships
  • 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.