Class UniqueIdGenerator
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.UniqueIdGenerator
-
public class UniqueIdGenerator extends Object
Generator forUniqueIds for combinatorial test relatedTestDescriptors
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEGMENT_TYPE_CLASSstatic StringSEGMENT_TYPE_COMBINATIONstatic StringSEGMENT_TYPE_METHOD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.junit.platform.engine.UniqueIdappendIdFromClass(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz)static org.junit.platform.engine.UniqueIdappendIdFromCombination(org.junit.platform.engine.UniqueId uniqueId, Combination combination)Appends a combination name to an existingUniqueIdstatic org.junit.platform.engine.UniqueIdappendIdFromMethod(org.junit.platform.engine.UniqueId uniqueId, Method method)Appends a method name to an existingUniqueId
-
-
-
Field Detail
-
SEGMENT_TYPE_CLASS
public static final String SEGMENT_TYPE_CLASS
- See Also:
- Constant Field Values
-
SEGMENT_TYPE_METHOD
public static final String SEGMENT_TYPE_METHOD
- See Also:
- Constant Field Values
-
SEGMENT_TYPE_COMBINATION
public static final String SEGMENT_TYPE_COMBINATION
- See Also:
- Constant Field Values
-
-
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 existingUniqueId- Parameters:
uniqueId- the id which to append tomethod- 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 existingUniqueId- Parameters:
uniqueId- the id which to append tocombination- the combination for which a unique id is appended- Returns:
- the newly concatenated id
-
-