Class GenerateTest.SingleTestRule
- java.lang.Object
-
- gov.nasa.pds.imaging.generate.test.GenerateTest.SingleTestRule
-
- All Implemented Interfaces:
org.junit.rules.MethodRule
- Enclosing class:
- GenerateTest
public class GenerateTest.SingleTestRule extends Object implements org.junit.rules.MethodRule
Custom rule to allow for performing one unit test at a time. Helpful when a test is failing.- Author:
- jpadams
-
-
Constructor Summary
Constructors Constructor Description SingleTestRule(String applyMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method, Object target)
-
-
-
Constructor Detail
-
SingleTestRule
public SingleTestRule(String applyMethod)
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method, Object target)
- Specified by:
apply
in interfaceorg.junit.rules.MethodRule
-
-