Class TestSupportedEntityProxyLifecycle


public class TestSupportedEntityProxyLifecycle extends RepositoryConformanceTestCase
Test that all defined entities can be stored and retrieved as proxies, that the proxies support all (and only) valid operations, and that they can be deleted/purged.
  • Constructor Details

    • TestSupportedEntityProxyLifecycle

      public TestSupportedEntityProxyLifecycle(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 - types of valid entities
      relationshipDef - type of relationship to test
  • 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.