Class CombinationDescriptor

  • All Implemented Interfaces:
    org.junit.platform.engine.TestDescriptor

    public class CombinationDescriptor
    extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
    JUnit description of a combination during execution
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor

        org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor
    • Field Summary

      • Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        children
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.platform.engine.TestDescriptor.Type getType()  
      • Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor

        addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toString
      • Methods inherited from interface org.junit.platform.engine.TestDescriptor

        accept, getDescendants, getLegacyReportingName, isContainer, isRoot, isTest, mayRegisterTests, prune
    • Constructor Detail

      • CombinationDescriptor

        public CombinationDescriptor​(org.junit.platform.engine.UniqueId id,
                                     String displayName,
                                     Method testMethod)
        Creates a new CombinationDescriptor with the supplied parent, Combination, and display name
        Parameters:
        id - the unique id for the combination
        displayName - the display name to set
        testMethod - the method which is responsible for executing the combination. This is done to enable the "Jump to Source" feature in many common IDEs
    • Method Detail

      • getType

        public org.junit.platform.engine.TestDescriptor.Type getType()