Class TestLessInputStream

    • Method Detail

      • provideNewTest

        public void provideNewTest()
        Description copied from interface: NotifiableTestStream
        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

        public void skipSinceNextTest()
        Description copied from interface: NotifiableTestStream
        Sends an event to a fork jvm in order to skip tests. Returns immediately without blocking.
      • shutdown

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

        public void noop()
      • acknowledgeByeEventReceived

        public void acknowledgeByeEventReceived()
      • isClosed

        public boolean isClosed()
      • beforeNextCommand

        protected void beforeNextCommand()
                                  throws java.io.IOException
        Description copied from class: DefaultCommandReader
        Possibly waiting for next command (see DefaultCommandReader.nextCommand()) unless the stream is atomically closed (see CommandReader.isClosed() returns true) before this method has returned.
        Overrides:
        beforeNextCommand in class DefaultCommandReader
        Throws:
        java.io.IOException - stream error while waiting for notification regarding next test required by forked jvm
      • close

        public void close()