org.fest.assertions.api.android.widget
Class AbstractAdapterViewAssert<S extends AbstractAdapterViewAssert<S,A>,A extends android.widget.AdapterView>

java.lang.Object
  extended by org.fest.assertions.api.AbstractAssert<S,A>
      extended by org.fest.assertions.api.android.view.AbstractViewAssert<S,A>
          extended by org.fest.assertions.api.android.view.AbstractViewGroupAssert<S,A>
              extended by org.fest.assertions.api.android.widget.AbstractAdapterViewAssert<S,A>
All Implemented Interfaces:
org.fest.assertions.core.Assert<S,A>, org.fest.assertions.core.Descriptable<S>, org.fest.assertions.core.ExtensionPoints<S,A>
Direct Known Subclasses:
AbstractAbsListViewAssert, AbstractAbsSpinnerAssert, AdapterViewAssert

public abstract class AbstractAdapterViewAssert<S extends AbstractAdapterViewAssert<S,A>,A extends android.widget.AdapterView>
extends AbstractViewGroupAssert<S,A>


Field Summary
 
Fields inherited from class org.fest.assertions.api.AbstractAssert
actual, myself
 
Constructor Summary
protected AbstractAdapterViewAssert(A actual, Class<S> selfType)
           
 
Method Summary
 S hasAdapter(android.widget.Adapter adapter)
           
 S hasCount(int count)
           
 S hasFirstVisiblePosition(int position)
           
 S hasItemAtPosition(int position, Object item)
           
 S hasItemIdAtPosition(int position, long id)
           
 S hasLastVisiblePosition(int position)
           
 S hasPositionForView(android.view.View view, int position)
           
 S hasSelectedItem(Object item)
           
 S hasSelectedItemId(long id)
           
 S hasSelectedItemPosition(int position)
           
 S hasSelectedView(android.view.View view)
           
 
Methods inherited from class org.fest.assertions.api.android.view.AbstractViewGroupAssert
hasAnimationCacheDisabled, hasAnimationCacheEnabled, hasChildCount, hasDescendantFocusability, hasFocusedChild, hasMotionEventSplittingDisabled, hasMotionEventSplittingEnabled, hasPersistentDrawingCache, isAddingStatesFromChildren, isAlwaysDrawnWithCache, isNotAddingStatesFromChildren, isNotAlwaysDrawnWithCache
 
Methods inherited from class org.fest.assertions.api.android.view.AbstractViewAssert
hasAlpha, 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, isVisible
 
Methods inherited from class org.fest.assertions.api.AbstractAssert
as, 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, usingDefaultComparator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAdapterViewAssert

protected AbstractAdapterViewAssert(A actual,
                                    Class<S> selfType)
Method Detail

hasAdapter

public S hasAdapter(android.widget.Adapter adapter)

hasCount

public S hasCount(int count)

hasFirstVisiblePosition

public S hasFirstVisiblePosition(int position)

hasItemAtPosition

public S hasItemAtPosition(int position,
                           Object item)

hasItemIdAtPosition

public S hasItemIdAtPosition(int position,
                             long id)

hasLastVisiblePosition

public S hasLastVisiblePosition(int position)

hasPositionForView

public S hasPositionForView(android.view.View view,
                            int position)

hasSelectedItem

public S hasSelectedItem(Object item)

hasSelectedItemId

public S hasSelectedItemId(long id)

hasSelectedItemPosition

public S hasSelectedItemPosition(int position)

hasSelectedView

public S hasSelectedView(android.view.View view)


Copyright © 2013 Square, Inc.. All Rights Reserved.