Class VintageTestEngine

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

    @API(status=INTERNAL,
         since="4.12")
    public final class VintageTestEngine
    extends java.lang.Object
    implements org.junit.platform.engine.TestEngine
    The JUnit Vintage TestEngine.
    Since:
    4.12
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.platform.engine.TestDescriptor discover​(org.junit.platform.engine.EngineDiscoveryRequest discoveryRequest, org.junit.platform.engine.UniqueId uniqueId)  
      void execute​(org.junit.platform.engine.ExecutionRequest request)  
      java.util.Optional<java.lang.String> getArtifactId()
      Returns junit-vintage-engine as the artifact ID.
      java.util.Optional<java.lang.String> getGroupId()
      Returns org.junit.vintage as the group ID.
      java.lang.String getId()  
      • 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.TestEngine

        getVersion
    • Constructor Detail

      • VintageTestEngine

        public VintageTestEngine()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface org.junit.platform.engine.TestEngine
      • getGroupId

        public java.util.Optional<java.lang.String> getGroupId()
        Returns org.junit.vintage as the group ID.
        Specified by:
        getGroupId in interface org.junit.platform.engine.TestEngine
      • getArtifactId

        public java.util.Optional<java.lang.String> getArtifactId()
        Returns junit-vintage-engine as the artifact ID.
        Specified by:
        getArtifactId in interface org.junit.platform.engine.TestEngine
      • discover

        public org.junit.platform.engine.TestDescriptor discover​(org.junit.platform.engine.EngineDiscoveryRequest discoveryRequest,
                                                                 org.junit.platform.engine.UniqueId uniqueId)
        Specified by:
        discover in interface org.junit.platform.engine.TestEngine
      • execute

        public void execute​(org.junit.platform.engine.ExecutionRequest request)
        Specified by:
        execute in interface org.junit.platform.engine.TestEngine