All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.internal.reflect.InjectableParameter Maven / Gradle / Ivy

There is a newer version: 7.10.2
Show newest version
package org.testng.internal.reflect;

import java.util.EnumSet;
import java.util.Set;

/**
 * Enumeration of injectables.
 *
 * @author Nitin Verma
 */
public enum InjectableParameter {
  CURRENT_TEST_METHOD,
  ITEST_CONTEXT,
  ITEST_RESULT,
  XML_TEST;

  /** convenience means to add and remove injectables. */
  public static class Assistant {
    public static final Set NONE = EnumSet.noneOf(InjectableParameter.class);
    public static final Set ALL_INJECTS =
        EnumSet.allOf(InjectableParameter.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy