| Package | Description |
|---|---|
| net.sf.expectit |
Classes for implementing expect-like functionality.
|
| net.sf.expectit.matcher |
Classes for different types of match operations.
|
| Modifier and Type | Method and Description |
|---|---|
MultiResult |
Expect.expect(long timeoutMs,
Matcher<?>... matcher)
Deprecated.
This method is deprecated and will be removed. Use
Expect.withTimeout(long, java.util.concurrent.TimeUnit) to change the timeout for the
expect operation. |
MultiResult |
Expect.expect(Matcher<?>... matchers)
Blocks until all the given matchers match against the first input stream using the default
timeout.
|
MultiResult |
Expect.expectIn(int input,
long timeoutMs,
Matcher<?>... matchers)
Deprecated.
This method is deprecated and will be removed. Use
Expect.withTimeout(long, java.util.concurrent.TimeUnit) to change the timeout for the
expect operation. |
| Modifier and Type | Method and Description |
|---|---|
static Matcher<MultiResult> |
Matchers.allOf(Matcher<?>... matchers)
Creates a matcher that matches if the examined input matches all of the specified
matchers.
|
static Matcher<MultiResult> |
Matchers.anyOf(Matcher<?>... matchers)
Creates a matcher that matches if the examined input matches any of the specified
matchers.
|
static Matcher<MultiResult> |
Matchers.sequence(Matcher<?>... matchers)
Matches the given matchers one by one.
|
static Matcher<MultiResult> |
Matchers.times(int number,
Matcher<?> matcher)
Creates a matcher that matches if the given
matcher matches the number of
times. |
Copyright © 2014–2018 Alexey Gavrilov and contributors. All rights reserved.