Package io.github.artsok.internal
Class RepeatedIfExceptionsInvocationContext
- java.lang.Object
-
- io.github.artsok.internal.RepeatedIfExceptionsInvocationContext
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.TestTemplateInvocationContext
public class RepeatedIfExceptionsInvocationContext extends Object implements org.junit.jupiter.api.extension.TestTemplateInvocationContext
Context for extension point @RepeatedIfExceptions- Author:
- Artem Sokovets
-
-
Constructor Summary
Constructors Constructor Description RepeatedIfExceptionsInvocationContext(int currentRepetition, int totalRepetitions, int successfulTestRepetitionsCount, int minSuccess, boolean repeatableExceptionAppeared, RepeatedIfExceptionsDisplayNameFormatter formatter)
-
Method Summary
Modifier and Type Method Description List<org.junit.jupiter.api.extension.Extension>getAdditionalExtensions()StringgetDisplayName(int invocationIndex)
-
-
-
Constructor Detail
-
RepeatedIfExceptionsInvocationContext
public RepeatedIfExceptionsInvocationContext(int currentRepetition, int totalRepetitions, int successfulTestRepetitionsCount, int minSuccess, boolean repeatableExceptionAppeared, RepeatedIfExceptionsDisplayNameFormatter formatter)
-
-
Method Detail
-
getDisplayName
public String getDisplayName(int invocationIndex)
- Specified by:
getDisplayNamein interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContext
-
getAdditionalExtensions
public List<org.junit.jupiter.api.extension.Extension> getAdditionalExtensions()
- Specified by:
getAdditionalExtensionsin interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContext
-
-