Android APIs
public class

GridLayoutManagerTest

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.GridLayoutManagerTest

Summary

[Expand]
Inherited Fields
From class android.support.v7.widget.BaseRecyclerViewInstrumentationTest
Public Constructors
GridLayoutManagerTest()
Public Methods
void accessibilitySpanIndicesTest(int orientation)
void customSizeInScrollDirectionTest(GridLayoutManagerTest.Config config)
GridLayoutManager.LayoutParams ensureGridLp(View view)
void layoutParamsTest(int orientation)
void scrollBackAndPreservePositionsTest(GridLayoutManagerTest.Config config)
RecyclerView setupBasic(GridLayoutManagerTest.Config config)
RecyclerView setupBasic(GridLayoutManagerTest.Config config, GridLayoutManagerTest.GridTestAdapter testAdapter)
void spanLookupTest(boolean enableCache)
void testAnchorUpdate()
void testCacheSpanIndices()
void testCustomHeightInVertical()
void testCustomWidthInHorizontal()
void testHorizontalAccessibilitySpanIndices()
void testLayoutParams()
void testNotifyDataSetChange()
void testScrollBackAndPreservePositions()
void testSpanGroupIndex()
void testSpanLookup()
void testSpanLookupCache()
void testSpanLookupWithCache()
void testUnevenHeights()
void testUnevenWidths()
void testVerticalAccessibilitySpanIndices()
void waitForFirstLayout(RecyclerView recyclerView)
Protected Methods
void setUp()
Sets up the fixture, for example, open a network connection.
[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 GridLayoutManagerTest ()

Public Methods

public void accessibilitySpanIndicesTest (int orientation)

Throws
Throwable

public void customSizeInScrollDirectionTest (GridLayoutManagerTest.Config config)

Throws
Throwable

public GridLayoutManager.LayoutParams ensureGridLp (View view)

public void layoutParamsTest (int orientation)

Throws
Throwable

public void scrollBackAndPreservePositionsTest (GridLayoutManagerTest.Config config)

Throws
Throwable

public RecyclerView setupBasic (GridLayoutManagerTest.Config config)

Throws
Throwable

public RecyclerView setupBasic (GridLayoutManagerTest.Config config, GridLayoutManagerTest.GridTestAdapter testAdapter)

Throws
Throwable

public void spanLookupTest (boolean enableCache)

public void testAnchorUpdate ()

public void testCacheSpanIndices ()

Throws
Throwable

public void testCustomHeightInVertical ()

Throws
Throwable

public void testCustomWidthInHorizontal ()

Throws
Throwable

public void testHorizontalAccessibilitySpanIndices ()

Throws
Throwable

public void testLayoutParams ()

Throws
Throwable

public void testNotifyDataSetChange ()

Throws
Throwable

public void testScrollBackAndPreservePositions ()

Throws
Throwable

public void testSpanGroupIndex ()

public void testSpanLookup ()

public void testSpanLookupCache ()

public void testSpanLookupWithCache ()

public void testUnevenHeights ()

Throws
Throwable

public void testUnevenWidths ()

Throws
Throwable

public void testVerticalAccessibilitySpanIndices ()

Throws
Throwable

public void waitForFirstLayout (RecyclerView recyclerView)

Throws
Throwable

Protected Methods

protected void setUp ()

Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Throws
Exception