Class IsTestClassWithTests
- java.lang.Object
-
- org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.Class<?>>
@API(status=INTERNAL, since="5.1") public class IsTestClassWithTests extends java.lang.Object implements java.util.function.Predicate<java.lang.Class<?>>
Test if a class is a JUnit Jupiter test class containing executable tests, test factories, test templates, or nested tests.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description IsTestClassWithTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(java.lang.Class<?> candidate)
-