Package org.opennms.netmgt.dao
Class TestRegistry
- java.lang.Object
-
- org.opennms.netmgt.dao.TestRegistry
-
public class TestRegistry extends Object
-
-
Constructor Summary
Constructors Constructor Description TestRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.function.Consumer<T>
getTest(Class<T> type)
boolean
isIgnored(Class clazz)
boolean
isTested(Class clazz)
void
markAsRun(Class type)
TestRegistry
withIgnoredClass(Class<?>... classesToIgnore)
<T> TestRegistry
withTest(Class<T> clazz, java.util.function.Consumer<T> consumer)
-
-
-
Method Detail
-
withIgnoredClass
public TestRegistry withIgnoredClass(Class<?>... classesToIgnore)
-
withTest
public <T> TestRegistry withTest(Class<T> clazz, java.util.function.Consumer<T> consumer)
-
isTested
public boolean isTested(Class clazz)
-
isIgnored
public boolean isIgnored(Class clazz)
-
getTest
public <T> java.util.function.Consumer<T> getTest(Class<T> type)
-
markAsRun
public void markAsRun(Class type)
-
-