org.apache.lucene.util
Class TestRuleAssertionsRequired

java.lang.Object
  extended by org.apache.lucene.util.TestRuleAssertionsRequired
All Implemented Interfaces:
com.carrotsearch.randomizedtesting.ClassValidator, org.junit.rules.TestRule

public class TestRuleAssertionsRequired
extends Object
implements org.junit.rules.TestRule, com.carrotsearch.randomizedtesting.ClassValidator

Require assertions for Lucene/Solr packages.


Constructor Summary
TestRuleAssertionsRequired()
           
 
Method Summary
 org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, Description description)
           
 void validate(Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRuleAssertionsRequired

public TestRuleAssertionsRequired()
Method Detail

apply

public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
                                               Description description)
Specified by:
apply in interface org.junit.rules.TestRule

validate

public void validate(Class<?> clazz)
              throws Throwable
Specified by:
validate in interface com.carrotsearch.randomizedtesting.ClassValidator
Throws:
Throwable


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.