Package org.apache.lucene.tests.util
Class TestRuleStoreClassName
- java.lang.Object
-
- org.apache.lucene.tests.util.TestRuleStoreClassName
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class TestRuleStoreClassName extends Object implements org.junit.rules.TestRule
Stores the suite name so you can retrieve it fromgetTestClass()
-
-
Constructor Summary
Constructors Constructor Description TestRuleStoreClassName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement s, Description d)
Class<?>
getTestClass()
Returns the test class currently executing in this rule.
-
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement s, Description d)
- Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
getTestClass
public Class<?> getTestClass()
Returns the test class currently executing in this rule.
-
-