Class TestEngineAutoCloseUtils

java.lang.Object
org.antublue.test.engine.internal.TestEngineAutoCloseUtils

public class TestEngineAutoCloseUtils extends Object
Class to process @TestEngine.AutoClose annotations
  • Method Details

    • processAutoCloseAnnotatedFields

      public static void processAutoCloseAnnotatedFields(Object object, String lifecycle, Consumer<Throwable> throwableConsumer)
      Method to process @TestEngine.AutoClose annotated fields for a specific scope
      Parameters:
      object - object
      lifecycle - lifecycle
      throwableConsumer - throwableConsumer