Class SkipExecutionDecorator

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

    public class SkipExecutionDecorator
    extends java.lang.Object
    implements org.junit.platform.engine.TestDescriptor
    • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      SkipExecutionDecorator​(org.junit.platform.engine.TestDescriptor wrapped, java.lang.String reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChild​(org.junit.platform.engine.TestDescriptor descriptor)  
      java.util.Optional<? extends org.junit.platform.engine.TestDescriptor> findByUniqueId​(org.junit.platform.engine.UniqueId uniqueId)  
      java.util.Set<? extends org.junit.platform.engine.TestDescriptor> getChildren()  
      java.lang.String getDisplayName()  
      java.util.Optional<org.junit.platform.engine.TestDescriptor> getParent()  
      java.lang.String getSkippingReason()  
      java.util.Optional<org.junit.platform.engine.TestSource> getSource()  
      java.util.Set<org.junit.platform.engine.TestTag> getTags()  
      org.junit.platform.engine.TestDescriptor.Type getType()  
      org.junit.platform.engine.UniqueId getUniqueId()  
      org.junit.platform.engine.TestDescriptor getWrapped()  
      void removeChild​(org.junit.platform.engine.TestDescriptor descriptor)  
      void removeFromHierarchy()  
      void setParent​(org.junit.platform.engine.TestDescriptor parent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.junit.platform.engine.TestDescriptor

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

      • SkipExecutionDecorator

        public SkipExecutionDecorator​(org.junit.platform.engine.TestDescriptor wrapped,
                                      java.lang.String reason)
    • Method Detail

      • getWrapped

        public org.junit.platform.engine.TestDescriptor getWrapped()
      • getUniqueId

        public org.junit.platform.engine.UniqueId getUniqueId()
        Specified by:
        getUniqueId in interface org.junit.platform.engine.TestDescriptor
      • getDisplayName

        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface org.junit.platform.engine.TestDescriptor
      • getTags

        public java.util.Set<org.junit.platform.engine.TestTag> getTags()
        Specified by:
        getTags in interface org.junit.platform.engine.TestDescriptor
      • getSource

        public java.util.Optional<org.junit.platform.engine.TestSource> getSource()
        Specified by:
        getSource in interface org.junit.platform.engine.TestDescriptor
      • getParent

        public java.util.Optional<org.junit.platform.engine.TestDescriptor> getParent()
        Specified by:
        getParent in interface org.junit.platform.engine.TestDescriptor
      • setParent

        public void setParent​(org.junit.platform.engine.TestDescriptor parent)
        Specified by:
        setParent in interface org.junit.platform.engine.TestDescriptor
      • getChildren

        public java.util.Set<? extends org.junit.platform.engine.TestDescriptor> getChildren()
        Specified by:
        getChildren in interface org.junit.platform.engine.TestDescriptor
      • addChild

        public void addChild​(org.junit.platform.engine.TestDescriptor descriptor)
        Specified by:
        addChild in interface org.junit.platform.engine.TestDescriptor
      • removeChild

        public void removeChild​(org.junit.platform.engine.TestDescriptor descriptor)
        Specified by:
        removeChild in interface org.junit.platform.engine.TestDescriptor
      • removeFromHierarchy

        public void removeFromHierarchy()
        Specified by:
        removeFromHierarchy in interface org.junit.platform.engine.TestDescriptor
      • getType

        public org.junit.platform.engine.TestDescriptor.Type getType()
        Specified by:
        getType in interface org.junit.platform.engine.TestDescriptor
      • findByUniqueId

        public java.util.Optional<? extends org.junit.platform.engine.TestDescriptor> findByUniqueId​(org.junit.platform.engine.UniqueId uniqueId)
        Specified by:
        findByUniqueId in interface org.junit.platform.engine.TestDescriptor
      • getSkippingReason

        public java.lang.String getSkippingReason()