Class 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 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:
        getDisplayName in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext
      • getAdditionalExtensions

        public List<org.junit.jupiter.api.extension.Extension> getAdditionalExtensions()
        Specified by:
        getAdditionalExtensions in interface org.junit.jupiter.api.extension.TestTemplateInvocationContext