Class UniqueIdGenerator


  • public class UniqueIdGenerator
    extends Object
    Generator for UniqueIds for combinatorial test related TestDescriptors
    • Method Detail

      • appendIdFromClass

        public static org.junit.platform.engine.UniqueId appendIdFromClass​(org.junit.platform.engine.UniqueId uniqueId,
                                                                           Class<?> clazz)
      • appendIdFromMethod

        public static org.junit.platform.engine.UniqueId appendIdFromMethod​(org.junit.platform.engine.UniqueId uniqueId,
                                                                            Method method)
        Appends a method name to an existing UniqueId
        Parameters:
        uniqueId - the id which to append to
        method - the method for which a unique id is appended
        Returns:
        the newly concatenated id
      • appendIdFromCombination

        public static org.junit.platform.engine.UniqueId appendIdFromCombination​(org.junit.platform.engine.UniqueId uniqueId,
                                                                                 Combination combination)
        Appends a combination name to an existing UniqueId
        Parameters:
        uniqueId - the id which to append to
        combination - the combination for which a unique id is appended
        Returns:
        the newly concatenated id