| java.lang.Object |
| ↳ |
android.support.test.espresso.web.assertion.WebAssertion<E> |
Class Overview
Similar to a ViewAssertion - a WebAssertion allows users to check the results of an atom
evaluated against the provided webview.
Summary
| Protected Methods |
|
abstract
void
|
checkResult(WebView view, E result)
Extension point to validate a view and atom result on the main thread.
|
|
[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()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
WebAssertion
(Atom<E> atom)
Public Methods
public
final
Atom<E>
getAtom
()
public
final
ViewAssertion
toViewAssertion
(E result)
Protected Methods
protected
abstract
void
checkResult
(WebView view, E result)
Extension point to validate a view and atom result on the main thread.
Parameters
| view
| the WebView that the Atom was evaluated on. |
| result
| the result of atom evaluation.
|