gov.nasa.pds.report.rules
Class PDSTest.SingleTestRule

java.lang.Object
  extended by gov.nasa.pds.report.rules.PDSTest.SingleTestRule
All Implemented Interfaces:
org.junit.rules.MethodRule
Enclosing class:
PDSTest

public class PDSTest.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
PDSTest.SingleTestRule(String applyMethod)
           
 
Method Summary
 org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method, Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDSTest.SingleTestRule

public PDSTest.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 interface org.junit.rules.MethodRule


Copyright © 2010–2015 Planetary Data System. All rights reserved.