Class TestSupportedClassificationLifecycle

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

    • TestSupportedClassificationLifecycle

      public TestSupportedClassificationLifecycle(RepositoryConformanceWorkPad workPad, EntityDef testEntityDef, ClassificationDef classificationDef)
      Typical constructor sets up superclass and discovered information needed for tests
      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
      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.
      cleanup in class OpenMetadataTestCase
      Exception - something went wrong but there is no particular action to take.