Package org.infinispan.commons.test.skip
Class SkipTestNG
java.lang.Object
org.infinispan.commons.test.skip.SkipTestNG
Allows to skip a test on certain Operation Systems.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidUse within a@Testmethod to run this test only on certain OSes.static voidskipBeforeJDK(int major) Use within a@Testmethod to skip that method on all versions of Java less than the one specified.static voidSkip the test if a condition is true.static voidUse within a@Testmethod to skip that method on some OSes.static voidskipSinceJDK(int major) Use within a@Testmethod to skip that method on all versions of Java equal or greater to the one specified.
-
Constructor Details
-
SkipTestNG
public SkipTestNG()
-
-
Method Details
-
skipIf
Skip the test if a condition is true. -
skipOnOS
Use within a@Testmethod to skip that method on some OSes. Use in a@BeforeClassmethod to skip all methods in a class on some OSes. -
onlyOnOS
Use within a@Testmethod to run this test only on certain OSes. Use in a@BeforeClassmethod to run all methods in a class only on some OSes. -
skipSinceJDK
public static void skipSinceJDK(int major) Use within a@Testmethod to skip that method on all versions of Java equal or greater to the one specified. Use in a@BeforeClassmethod to skip all methods in a class on some JDKs. -
skipBeforeJDK
public static void skipBeforeJDK(int major) Use within a@Testmethod to skip that method on all versions of Java less than the one specified. Use in a@BeforeClassmethod to skip all methods in a class on some JDKs.
-