gov.nasa.pds.imaging.generate.test
Class GenerateTest.SingleTestRule

java.lang.Object
  extended by 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
GenerateTest.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

GenerateTest.SingleTestRule

public GenerateTest.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–2014 Planetary Data System. All rights reserved.