public class SwitchAssert extends AbstractCompoundButtonAssert<SwitchAssert,android.widget.Switch>
| Constructor and Description |
|---|
SwitchAssert(android.widget.Switch actual) |
| Modifier and Type | Method and Description |
|---|---|
SwitchAssert |
hasOffText(CharSequence text) |
SwitchAssert |
hasOffText(int resId) |
SwitchAssert |
hasOnText(CharSequence text) |
SwitchAssert |
hasOnText(int resId) |
SwitchAssert |
hasSwitchMinWidth(int width) |
SwitchAssert |
hasSwitchPadding(int padding) |
SwitchAssert |
hasThumbDrawable(android.graphics.drawable.Drawable drawable) |
SwitchAssert |
hasThumbTextPadding(int padding) |
SwitchAssert |
hasTrackDrawable(android.graphics.drawable.Drawable drawable) |
isChecked, isNotCheckedcontainsText, containsText, doesNotContainText, doesNotContainText, doesNotEndWithText, doesNotEndWithText, doesNotMatch, doesNotStartWithText, doesNotStartWithText, endsWithText, endsWithText, hasAutoLinkMask, hasCompoundDrawablePadding, hasCompoundPaddingBottom, hasCompoundPaddingLeft, hasCompoundPaddingRight, hasCompoundPaddingTop, hasCurrentHintTextColor, hasCurrentTextColor, hasEllipsize, hasError, hasError, hasError, hasExtendedPaddingBottom, hasExtendedPaddingTop, hasFreezesText, hasGravity, hasHighlightColor, hasHint, hasHint, hasImeActionId, hasImeActionLabel, hasImeActionLabel, hasImeOptions, hasInputType, hasLength, hasLineCount, hasLineHeight, hasLineSpacingExtra, hasLineSpacingMultiplier, hasMarqueeRepeatLimit, hasMaxEms, hasMaxHeight, hasMaxLines, hasMaxWidth, hasMinEms, hasMinHeight, hasMinLines, hasMinWidth, hasNoError, hasPaintFlags, hasSelectableText, hasSelectionEnd, hasSelectionStart, hasShadowColor, hasShadowDx, hasShadowDy, hasShadowRadius, hasText, hasText, hasTextScaleX, hasTextSize, hasTextString, hasTextString, hasTotalPaddingBottom, hasTotalPaddingLeft, hasTotalPaddingRight, hasTotalPaddingTop, hasTypeface, hasUnselectableText, isCursorNotVisible, isCursorVisible, isEmpty, isIncludingFontPadding, isInputMethodTarget, isNotEmpty, isNotIncludingFontPadding, isNotInputMethodTarget, matches, startsWithText, startsWithTexthasAlpha, hasAnimation, hasBackground, hasBaseline, hasBottom, hasContentDescription, hasContentDescription, hasDrawingCacheBackgroundColor, hasDrawingCacheQuality, hasFocus, hasFocusable, hasHapticFeedbackDisabled, hasHapticFeedbackEnabled, hasHeight, hasHorizontalFadingEdgeLength, hasHorizontalFadingEdgesDisabled, hasHorizontalFadingEdgesEnabled, hasHorizontalScrollbarDisabled, hasHorizontalScrollbarEnabled, hasId, hasLayerType, hasLayoutRequested, hasLeft, hasMeasuredHeight, hasMeasuredHeightAndState, hasMeasuredState, hasMeasuredWidth, hasMeasuredWidthAndState, hasMinimumHeight, hasMinimumWidth, hasNextFocusDownId, hasNextFocusForwardId, hasNextFocusLeftId, hasNextFocusRightId, hasNextFocusUpId, hasNoFocus, hasNoLayoutRequested, hasOverScrollMode, hasPaddingBottom, hasPaddingLeft, hasPaddingRight, hasPaddingTop, hasParent, hasParentForAccessibility, hasPivotX, hasPivotY, hasRight, hasRootView, hasRotation, hasRotationX, hasRotationY, hasSaveDisabled, hasSaveEnabled, hasSaveFromParentDisabled, hasSaveFromParentEnabled, hasScaleX, hasScaleY, hasScrollBarDefaultDelayBeforeFade, hasScrollBarFadeDuration, hasScrollbarFadingDisabled, hasScrollbarFadingEnabled, hasScrollBarSize, hasScrollBarStyle, hasScrollX, hasScrollY, hasSolidColor, hasSoundEffectsDisabled, hasSoundEffectsEnabled, hasSystemUiVisibility, hasTag, hasTag, hasTop, hasTranslationX, hasTranslationY, hasVerticalFadingEdgeDisabled, hasVerticalFadingEdgeEnabled, hasVerticalFadingEdgeLength, hasVerticalScrollBarDisabled, hasVerticalScrollBarEnabled, hasVerticalScrollbarPosition, hasVerticalScrollbarWidth, hasVisibility, hasWidth, hasWindowVisibility, hasX, hasY, isActivated, isClickable, isDirty, isDisabled, isDuplicatingParentState, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isGone, isHardwareAccelerated, isHovered, isInEditMode, isInFocusedWindow, isInTouchMode, isInvisible, isKeepingScreenOn, isLongClickable, isNotActivated, isNotClickable, isNotDirty, isNotDuplicatingParentState, isNotFocusable, isNotFocusableInTouchMode, isNotFocused, isNotGone, isNotHardwareAccelerated, isNotHovered, isNotInEditMode, isNotInFocusedWindow, isNotInTouchMode, isNotInvisible, isNotKeepingScreenOn, isNotLongClickable, isNotOpaque, isNotPressed, isNotScrollContainer, isNotSelected, isNotShown, isNotUsingDrawingCache, isNotVisible, isOpaque, isPressed, isScrollContainer, isSelected, isShown, isUsingDrawingCache, isVisibleas, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorpublic SwitchAssert hasSwitchMinWidth(int width)
public SwitchAssert hasSwitchPadding(int padding)
public SwitchAssert hasOnText(CharSequence text)
public SwitchAssert hasOnText(int resId)
public SwitchAssert hasOffText(CharSequence text)
public SwitchAssert hasOffText(int resId)
public SwitchAssert hasThumbDrawable(android.graphics.drawable.Drawable drawable)
public SwitchAssert hasThumbTextPadding(int padding)
public SwitchAssert hasTrackDrawable(android.graphics.drawable.Drawable drawable)
Copyright © 2013 Square, Inc.. All Rights Reserved.