public static final class TestLessInputStream.TestLessInputStreamBuilder extends Object
streams, registers cachable commands
and provides accessible API to dispatch immediate commands to all atomically
alive streams.| Constructor and Description |
|---|
TestLessInputStreamBuilder() |
| Modifier and Type | Method and Description |
|---|---|
TestLessInputStream |
build() |
NotifiableTestStream |
getCachableCommands()
Cached commands are sent to all alive or future alive forks.
|
NotifiableTestStream |
getImmediateCommands()
Only
NotifiableTestStream.noop() and NotifiableTestStream.shutdown(Shutdown) are supported. |
void |
removeStream(TestLessInputStream is) |
public TestLessInputStream build()
public void removeStream(TestLessInputStream is)
public NotifiableTestStream getImmediateCommands()
NotifiableTestStream.noop() and NotifiableTestStream.shutdown(Shutdown) are supported.
Another methods throw UnsupportedOperationException.public NotifiableTestStream getCachableCommands()
NotifiableTestStream.shutdown(Shutdown) and
NotifiableTestStream.skipSinceNextTest() are supported.
Another methods throw UnsupportedOperationException.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.