Android.Test.ViewAsserts: Method Members

The methods of Android.Test.ViewAsserts are listed below. For a list of all members, see the ViewAsserts Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
AssertBaselineAligned(Android.Views.View, Android.Views.View)
Assert that two views are aligned on their baseline, that is that their baselines are on the same y location.
static
AssertBottomAligned(Android.Views.View, Android.Views.View)
Assert that two views are bottom aligned, that is that their bottom edges are on the same y location.
static
AssertBottomAligned(Android.Views.View, Android.Views.View, int)
Assert that two views are bottom aligned, that is that their bottom edges are on the same y location, with respect to the specified margin.
static
AssertGroupContains(Android.Views.ViewGroup, Android.Views.View)
Assert that the specified group contains a specific child once and only once.
static
AssertGroupIntegrity(Android.Views.ViewGroup)
Assert the specified group's integrity.
static
AssertGroupNotContains(Android.Views.ViewGroup, Android.Views.View)
Assert that the specified group does not contain a specific child.
static
AssertHasScreenCoordinates(Android.Views.View, Android.Views.View, int, int)
Assert that a view has a particular x and y position on the visible screen.
static
AssertHorizontalCenterAligned(Android.Views.View, Android.Views.View)
Assert that the test view is horizontally center aligned with respect to the reference view.
static
AssertLeftAligned(Android.Views.View, Android.Views.View)
Assert that two views are left aligned, that is that their left edges are on the same x location.
static
AssertLeftAligned(Android.Views.View, Android.Views.View, int)
Assert that two views are left aligned, that is that their left edges are on the same x location, with respect to the specified margin.
static
AssertOffScreenAbove(Android.Views.View, Android.Views.View)
Assert that view is above the visible screen.
static
AssertOffScreenBelow(Android.Views.View, Android.Views.View)
Assert that view is below the visible screen.
static
AssertOnScreen(Android.Views.View, Android.Views.View)
Assert that view is on the screen.
static
AssertRightAligned(Android.Views.View, Android.Views.View)
Assert that two views are right aligned, that is that their right edges are on the same x location.
static
AssertRightAligned(Android.Views.View, Android.Views.View, int)
Assert that two views are right aligned, that is that their right edges are on the same x location, with respect to the specified margin.
static
AssertTopAligned(Android.Views.View, Android.Views.View)
Assert that two views are top aligned, that is that their top edges are on the same y location.
static
AssertTopAligned(Android.Views.View, Android.Views.View, int)
Assert that two views are top aligned, that is that their top edges are on the same y location, with respect to the specified margin.
static
AssertVerticalCenterAligned(Android.Views.View, Android.Views.View)
Assert that the test view is vertically center aligned with respect to the reference view.