| Package | Description |
|---|---|
| net.sf.expectit |
Classes for implementing expect-like functionality.
|
| Modifier and Type | Method and Description |
|---|---|
Expect |
ExpectBuilder.build()
Creates a ready to use
Expect instance. |
Expect |
Expect.send(String string)
Sends the string to the output stream and flushes the output.
|
Expect |
Expect.sendBytes(byte[] bytes)
Sends the given byte array and flushes the output.
|
Expect |
Expect.sendLine()
Sends a new line to the output.
|
Expect |
Expect.sendLine(String string)
Appends the line separator character to the string and calls
send(String) method. |
Expect |
Expect.withInfiniteTimeout()
Deprecated.
use
withTimeout(long, TimeUnit) with Long.MAX_VALUE, TimeUnit.DAYS
instead. |
Expect |
Expect.withTimeout(long duration,
TimeUnit unit)
Sets the default timeout in the given unit for the expect operations for the returned
instance.
|
Copyright © 2014–2018 Alexey Gavrilov and contributors. All rights reserved.