Interface NotifiableTestStream

All Known Implementing Classes:
AbstractCommandReader, DefaultCommandReader, TestLessInputStream, TestProvidingInputStream

public interface NotifiableTestStream
Remote interface of forked JVM with command methods.
Implemented by TestProvidingInputStream and TestLessInputStream where the method TestLessInputStream.provideNewTest() purposefully does nothing. Some methods in TestLessInputStream.TestLessInputStreamBuilder throw UnsupportedOperationException.
Since:
2.19
Author:
Tibor Digana (tibor17)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    Forked jvm notifies master process to provide a new test.
    void
    shutdown(org.apache.maven.surefire.api.booter.Shutdown shutdownType)
     
    void
    Sends an event to a fork jvm in order to skip tests.
  • Method Details

    • provideNewTest

      void provideNewTest()
      Forked jvm notifies master process to provide a new test.
      Notifies TestProvidingInputStream in order to dispatch a new test back to the forked jvm (particular fork which hits this call); or do nothing in TestLessInputStream.
    • skipSinceNextTest

      void skipSinceNextTest()
      Sends an event to a fork jvm in order to skip tests. Returns immediately without blocking.
    • shutdown

      void shutdown(org.apache.maven.surefire.api.booter.Shutdown shutdownType)
    • noop

      void noop()
    • acknowledgeByeEventReceived

      void acknowledgeByeEventReceived()