public class TestRegistry extends Object
Constructor and Description |
---|
TestRegistry() |
Modifier and Type | Method and 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) |
public TestRegistry withIgnoredClass(Class<?>... classesToIgnore)
public <T> TestRegistry withTest(Class<T> clazz, java.util.function.Consumer<T> consumer)
public boolean isTested(Class clazz)
public boolean isIgnored(Class clazz)
public <T> java.util.function.Consumer<T> getTest(Class<T> type)
public void markAsRun(Class type)
Copyright © 2021. All rights reserved.