Class UniqueIdPrefixTransformer

  • All Implemented Interfaces:
    java.util.function.Function<org.junit.platform.engine.UniqueId,​org.junit.platform.engine.UniqueId>, java.util.function.UnaryOperator<org.junit.platform.engine.UniqueId>

    class UniqueIdPrefixTransformer
    extends java.lang.Object
    implements java.util.function.UnaryOperator<org.junit.platform.engine.UniqueId>
    Since:
    5.13
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.junit.platform.engine.UniqueId newPrefix  
      private org.junit.platform.engine.UniqueId oldPrefix  
      private int oldPrefixLength  
    • Constructor Summary

      Constructors 
      Constructor Description
      UniqueIdPrefixTransformer​(org.junit.platform.engine.UniqueId oldPrefix, org.junit.platform.engine.UniqueId newPrefix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.platform.engine.UniqueId apply​(org.junit.platform.engine.UniqueId uniqueId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Field Detail

      • oldPrefix

        private final org.junit.platform.engine.UniqueId oldPrefix
      • newPrefix

        private final org.junit.platform.engine.UniqueId newPrefix
      • oldPrefixLength

        private final int oldPrefixLength
    • Constructor Detail

      • UniqueIdPrefixTransformer

        UniqueIdPrefixTransformer​(org.junit.platform.engine.UniqueId oldPrefix,
                                  org.junit.platform.engine.UniqueId newPrefix)
    • Method Detail

      • apply

        public org.junit.platform.engine.UniqueId apply​(org.junit.platform.engine.UniqueId uniqueId)
        Specified by:
        apply in interface java.util.function.Function<org.junit.platform.engine.UniqueId,​org.junit.platform.engine.UniqueId>