Interface NotifiableTestStream
-
- All Known Implementing Classes:
AbstractCommandReader
,DefaultCommandReader
,TestLessInputStream
,TestProvidingInputStream
public interface NotifiableTestStream
Remote interface of forked JVM with command methods.
Implemented byTestProvidingInputStream
andTestLessInputStream
where the methodTestLessInputStream.provideNewTest()
purposefully does nothing. Some methods inTestLessInputStream.TestLessInputStreamBuilder
throwUnsupportedOperationException
.- Since:
- 2.19
- Author:
- Tibor Digana (tibor17)
- See Also:
TestProvidingInputStream
,TestLessInputStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acknowledgeByeEventReceived()
void
noop()
void
provideNewTest()
Forked jvm notifies master process to provide a new test.void
shutdown(org.apache.maven.surefire.api.booter.Shutdown shutdownType)
void
skipSinceNextTest()
Sends an event to a fork jvm in order to skip tests.
-
-
-
Method Detail
-
provideNewTest
void provideNewTest()
Forked jvm notifies master process to provide a new test.
NotifiesTestProvidingInputStream
in order to dispatch a new test back to the forked jvm (particular fork which hits this call); or do nothing inTestLessInputStream
.
-
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()
-
-