Summary
| Nested Classes |
|
interface |
WebViewAssertions.ResultDescriber<E> |
Converts a result to a String. |
| Public Methods |
|
static
WebAssertion<Document>
|
webContent(Matcher<Document> domMatcher)
A WebAssertion which asserts that the document is matched by the provided matcher.
|
|
static
<E>
WebAssertion<E>
|
webMatches(Atom<E> atom, Matcher<E> resultMatcher, ResultDescriber<? super E> resultDescriber)
A WebAssertion which asserts that the given Atom's result is accepted by the provided matcher.
|
|
static
<E>
WebAssertion<E>
|
webMatches(Atom<E> atom, Matcher<E> resultMatcher)
A WebAssertion which asserts that the given Atom's result is accepted by the provided matcher.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Methods
A WebAssertion which asserts that the document is matched by the provided matcher.
| Parameters |
domMatcher |
Matcher |
public
static
WebAssertion<E>
webMatches
(Atom<E> atom, Matcher<E> resultMatcher, ResultDescriber<? super E> resultDescriber)
A WebAssertion which asserts that the given Atom's result is accepted by the provided matcher.
| Parameters |
atom |
Atom: an atom to evaluate on the webview |
resultMatcher |
Matcher: a matcher to apply to the result of the atom. |
resultDescriber |
ResultDescriber: a describer that converts the result to a string.
|
public
static
WebAssertion<E>
webMatches
(Atom<E> atom, Matcher<E> resultMatcher)
A WebAssertion which asserts that the given Atom's result is accepted by the provided matcher.
| Parameters |
atom |
Atom: an atom to evaluate on the webview |
resultMatcher |
Matcher: a matcher to apply to the result of the atom.
|