org.testng.internal.reflect.InjectableParameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
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);
}
}