public interface Expect4j
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
expect(Match match) |
int |
expect(Match[] matches) |
Reader |
getReader() |
Writer |
getWriter() |
void |
send(String str) |
void |
setTimeout(TimeoutMatch timeoutMatch) |
void send(String str) throws IOException
IOExceptionint expect(Match match) throws TimeoutException
match - what we expect to matchTimeoutException - will be thrown if the no match is found in the
given timeout and not timeout match closure is foundint expect(Match[] matches) throws TimeoutException
matches - what we expect to matchTimeoutException - will be thrown if the no match is found in the
given timeout and not timeout match closure is foundvoid setTimeout(TimeoutMatch timeoutMatch)
void close()
throws IOException
IOExceptionReader getReader()
Writer getWriter()
Copyright © 2019 iTransformers Labs. All rights reserved.