Class RepeatedTestDisplayNameFormatter


  • class RepeatedTestDisplayNameFormatter
    extends java.lang.Object
    Display name formatter for a @RepeatedTest.
    Since:
    5.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String displayName  
      private java.lang.String pattern  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.String format​(int currentRepetition, int totalRepetitions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pattern

        private final java.lang.String pattern
      • displayName

        private final java.lang.String displayName
    • Constructor Detail

      • RepeatedTestDisplayNameFormatter

        RepeatedTestDisplayNameFormatter​(java.lang.String pattern,
                                         java.lang.String displayName)
    • Method Detail

      • format

        java.lang.String format​(int currentRepetition,
                                int totalRepetitions)