WebAssertion
This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings .
public
abstract
class
WebAssertion
extends Object
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.
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 constructors
WebAssertion
WebAssertion (Atom <E> atom)
Public methods
getAtom
Atom <E> getAtom ()
Protected methods
checkResult
void checkResult (WebView view,
E result)
Extension point to validate a view and atom result on the main thread.
Parameters
view
WebView
: the WebView that the Atom was evaluated on.
result
E
: the result of atom evaluation.