Android APIs
public class

RecyclerViewLayoutTest

extends BaseRecyclerViewInstrumentationTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ android.test.InstrumentationTestCase
         ↳ android.test.ActivityTestCase
           ↳ android.test.ActivityInstrumentationTestCase2<android.support.v7.widget.TestActivity>
             ↳ android.support.v7.widget.BaseRecyclerViewInstrumentationTest
               ↳ android.support.v7.widget.RecyclerViewLayoutTest

Summary

[Expand]
Inherited Fields
From class android.support.v7.widget.BaseRecyclerViewInstrumentationTest
Public Constructors
RecyclerViewLayoutTest()
Public Methods
void accessRecyclerOnOnMeasureTest(boolean enablePredictiveAnimations)
void adapterChangeDuringScrollTest(String msg, int orientation, Runnable onScrollRunnable)
void adapterChangeInMainThreadTest(String msg, Runnable onLayoutRunnable)
void addItemDecoration(RecyclerView recyclerView, RecyclerView.ItemDecoration itemDecoration)
void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, int stepCount)
void findViewByIdTest(boolean supportPredictive)
void incompatibleAdapterTest(boolean useCustomPool)
void invalidateDecorOffsets(RecyclerView recyclerView)
void recycleScrapTest(boolean useRecycler)
void removeItemDecoration(RecyclerView recyclerView, RecyclerView.ItemDecoration itemDecoration)
void smoothScrollTest(boolean removeItem)
void stableIdsMoveTest(boolean supportsPredictive)
void testAccessRecyclerOnOnMeasure()
void testAdapterChangeDuringLayout()
void testAdapterChangeDuringScroll()
void testFindIgnoredByPosition()
void testFindViewById()
void testInvalidateAllDecorOffsets()
void testInvalidateDecorOffsets()
void testMovingViaStableIds()
void testNotifyDataSetChangedWithStableIds()
void testRecycleIgnored()
void testRecycleOnDetach()
void testRecycleScrap()
void testScrollStateDrag()
void testScrollStateForFling()
void testScrollStateForFlingWithStop()
void testScrollStateForSmoothScroll()
void testScrollStateForSmoothScrollWithStop()
void testSetCompatibleAdapter()
void testSetIncompatibleAdapter()
void testSmoothScrollWithRemovedItems()
void testState()
void testTypeForCache()
void testTypeForExistingViews()
void testUpdatesAfterDetach()
void testUpdatesWhileDetached()
[Expand]
Inherited Methods
From class android.support.v7.widget.BaseRecyclerViewInstrumentationTest
From class android.test.ActivityInstrumentationTestCase2
From class android.test.ActivityTestCase
From class android.test.InstrumentationTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public RecyclerViewLayoutTest ()

Public Methods

public void accessRecyclerOnOnMeasureTest (boolean enablePredictiveAnimations)

Throws
Throwable

public void adapterChangeDuringScrollTest (String msg, int orientation, Runnable onScrollRunnable)

Throws
Throwable

public void adapterChangeInMainThreadTest (String msg, Runnable onLayoutRunnable)

Throws
Throwable

public void addItemDecoration (RecyclerView recyclerView, RecyclerView.ItemDecoration itemDecoration)

Throws
Throwable

public void drag (ViewGroup view, float fromX, float toX, float fromY, float toY, int stepCount)

Throws
Throwable

public void findViewByIdTest (boolean supportPredictive)

Throws
Throwable

public void incompatibleAdapterTest (boolean useCustomPool)

Throws
Throwable

public void invalidateDecorOffsets (RecyclerView recyclerView)

Throws
Throwable

public void recycleScrapTest (boolean useRecycler)

Throws
Throwable

public void removeItemDecoration (RecyclerView recyclerView, RecyclerView.ItemDecoration itemDecoration)

Throws
Throwable

public void smoothScrollTest (boolean removeItem)

Throws
Throwable

public void stableIdsMoveTest (boolean supportsPredictive)

Throws
Throwable

public void testAccessRecyclerOnOnMeasure ()

Throws
Throwable

public void testAdapterChangeDuringLayout ()

Throws
Throwable

public void testAdapterChangeDuringScroll ()

Throws
Throwable

public void testFindIgnoredByPosition ()

Throws
Throwable

public void testFindViewById ()

Throws
Throwable

public void testInvalidateAllDecorOffsets ()

Throws
Throwable

public void testInvalidateDecorOffsets ()

Throws
Throwable

public void testMovingViaStableIds ()

Throws
Throwable

public void testNotifyDataSetChangedWithStableIds ()

Throws
Throwable

public void testRecycleIgnored ()

Throws
Throwable

public void testRecycleOnDetach ()

Throws
Throwable

public void testRecycleScrap ()

Throws
Throwable

public void testScrollStateDrag ()

Throws
Throwable

public void testScrollStateForFling ()

Throws
Throwable

public void testScrollStateForFlingWithStop ()

Throws
Throwable

public void testScrollStateForSmoothScroll ()

Throws
Throwable

public void testScrollStateForSmoothScrollWithStop ()

Throws
Throwable

public void testSetCompatibleAdapter ()

Throws
Throwable

public void testSetIncompatibleAdapter ()

Throws
Throwable

public void testSmoothScrollWithRemovedItems ()

Throws
Throwable

public void testState ()

Throws
Throwable

public void testTypeForCache ()

Throws
Throwable

public void testTypeForExistingViews ()

Throws
Throwable

public void testUpdatesAfterDetach ()

Throws
Throwable

public void testUpdatesWhileDetached ()

Throws
Throwable