static void |
TestGuardUtils.checkForHidden(TestContext context) |
|
static <T> T |
ReportingUtils.doProceedAndPostProcess(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> invocation,
TestContext context) |
|
static java.util.Optional<java.time.LocalDateTime> |
TestGuardUtils.extractActivationBefore(TestContext context) |
|
static java.time.LocalDateTime |
TestGuardUtils.extractDeadline(TestContext context) |
|
static <A extends java.lang.annotation.Annotation> java.util.Optional<A> |
TestContextUtils.findAnnotationIn(TestContext context,
java.lang.Class<A> annotation) |
Finds the first occurrence of A in the TestContext in the following
order:
test method, if applicable
the test class enclosing the method, if applicable (and superclasses, if
Inherited)
recursively: the classes enclosing the test class, if applicable (and
superclasses, if Inherited)
|
static <A extends java.lang.annotation.Annotation> java.util.stream.Stream<A> |
TestContextUtils.findRepeatableAnnotationsIn(TestContext context,
java.lang.Class<A> annotation) |
Finds all occurrences of A in the TestContext and returns them as
Stream in the following order:
test method, if applicable
the test class enclosing the method, if applicable (and superclasses, if
Inherited)
recursively: the classes enclosing the test class, if applicable (and
superclasses, if Inherited)
|
static java.util.Optional<java.time.Duration> |
TimeoutUtils.findTimeout(TestContext context) |
|
static java.util.Set<java.lang.String> |
ConfigurationUtils.generateClassWhiteList(TestContext context) |
|
static ArtemisSecurityConfiguration |
ConfigurationUtils.generateConfiguration(TestContext context) |
|
static java.util.Set<PackageRule> |
ConfigurationUtils.generatePackageBlackList(TestContext context) |
|
static java.util.Set<PackageRule> |
ConfigurationUtils.generatePackageWhiteList(TestContext context) |
|
static java.util.Set<PathRule> |
ConfigurationUtils.generatePathBlackList(TestContext context) |
|
static java.util.Set<PathRule> |
ConfigurationUtils.generatePathWhiteList(TestContext context) |
|
static java.util.OptionalInt |
ConfigurationUtils.getAllowedLocalPort(TestContext context) |
|
static java.util.OptionalInt |
ConfigurationUtils.getAllowedThreadCount(TestContext context) |
|
static java.util.stream.Stream<java.lang.reflect.AnnotatedElement> |
TestContextUtils.getAnnotatedElementsInnermostFirst(TestContext context) |
Returns a Stream of the test method (if applicable) and all classes
enclosing the test class of the TestContext, innermost first.
|
static java.util.stream.Stream<java.lang.Class<?>> |
TestContextUtils.getClassNestingInnermostFirst(TestContext context) |
Returns a Stream of all classes enclosing the test class of the
TestContext, innermost first.
|
static long |
ConfigurationUtils.getMaxStandardOutput(TestContext context) |
|
static java.util.Optional<java.lang.String> |
ConfigurationUtils.getNonprivilegedFailureMessage(TestContext context) |
|
static java.util.Set<java.lang.String> |
ConfigurationUtils.getWhitelistedClasses(TestContext context) |
|
static boolean |
TestGuardUtils.hasAnnotation(TestContext context,
java.lang.Class<? extends java.lang.annotation.Annotation> type) |
|
static boolean |
TestGuardUtils.hasAnnotationType(TestContext context,
TestType type) |
|
static <T> T |
TimeoutUtils.performTimeoutExecution(org.junit.jupiter.api.function.ThrowingSupplier<T> execution,
TestContext context) |
|
static java.lang.Throwable |
ReportingUtils.processThrowable(java.lang.Throwable t,
TestContext context) |
|
static boolean |
ConfigurationUtils.shouldMirrorOutput(TestContext context) |
|