Android APIs
public class

AdapterHelperTest

extends AndroidTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ android.test.AndroidTestCase
         ↳ android.support.v7.widget.AdapterHelperTest

Summary

[Expand]
Inherited Fields
From class android.test.AndroidTestCase
Public Constructors
AdapterHelperTest()
Public Methods
void assertOps(List<AdapterHelper.UpdateOp> actual, UpdateOp... expected)
void randomTest(Random random, int opCount)
void run(TestResult result)
Runs the test case and collects the results in TestResult.
void testAddCount()
void testAddProcess()
void testAddRemoveSeparate()
void testChangeAll()
void testDeleteCount()
void testDeleteInvisible()
void testDeleteVisible()
void testDivideDelete()
void testFindPositionOffsetInPreLayout()
void testMoveAdded()
void testRandom()
void testScenario1()
void testScenario10()
void testScenario11()
void testScenario12()
void testScenario13()
void testScenario14()
void testScenario15()
void testScenario16()
void testScenario17()
void testScenario18()
void testScenario19()
void testScenario2()
void testScenario20()
void testScenario21()
void testScenario22()
void testScenario23()
void testScenario24()
void testScenario25()
void testScenario25a()
void testScenario26()
void testScenario27()
void testScenario3()
void testScenario4()
void testScenario5()
void testScenario6()
void testScenario8()
void testScenario9()
void testScenerio28()
void testScenerio29()
void testScenerio30()
void testScenerio31()
void testScenerio32()
void testScenerio33()
void testScenerio34()
void testScenerio35()
void testScenerio36()
void testScenerio37()
void testScenerio38()
void testScenerio39()
void testScenerio40()
void testScenerio41()
void testScenerio42()
void testScenerio43()
void testScenerio44()
void testScenerio45()
void testScenerio46()
void testSinglePass()
Protected Methods
void setUp()
Sets up the fixture, for example, open a network connection.
[Expand]
Inherited Methods
From class android.test.AndroidTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public AdapterHelperTest ()

Public Methods

public void assertOps (List<AdapterHelper.UpdateOp> actual, UpdateOp... expected)

public void randomTest (Random random, int opCount)

public void run (TestResult result)

Runs the test case and collects the results in TestResult.

public void testAddCount ()

public void testAddProcess ()

public void testAddRemoveSeparate ()

public void testChangeAll ()

Throws
Exception

public void testDeleteCount ()

public void testDeleteInvisible ()

public void testDeleteVisible ()

public void testDivideDelete ()

public void testFindPositionOffsetInPreLayout ()

public void testMoveAdded ()

public void testRandom ()

Throws
Throwable

public void testScenario1 ()

public void testScenario10 ()

public void testScenario11 ()

public void testScenario12 ()

public void testScenario13 ()

public void testScenario14 ()

public void testScenario15 ()

public void testScenario16 ()

public void testScenario17 ()

public void testScenario18 ()

public void testScenario19 ()

public void testScenario2 ()

public void testScenario20 ()

public void testScenario21 ()

public void testScenario22 ()

public void testScenario23 ()

public void testScenario24 ()

public void testScenario25 ()

public void testScenario25a ()

public void testScenario26 ()

public void testScenario27 ()

public void testScenario3 ()

public void testScenario4 ()

public void testScenario5 ()

public void testScenario6 ()

public void testScenario8 ()

public void testScenario9 ()

public void testScenerio28 ()

public void testScenerio29 ()

public void testScenerio30 ()

public void testScenerio31 ()

public void testScenerio32 ()

public void testScenerio33 ()

Throws
Throwable

public void testScenerio34 ()

public void testScenerio35 ()

public void testScenerio36 ()

public void testScenerio37 ()

Throws
Throwable

public void testScenerio38 ()

public void testScenerio39 ()

public void testScenerio40 ()

public void testScenerio41 ()

public void testScenerio42 ()

public void testScenerio43 ()

public void testScenerio44 ()

public void testScenerio45 ()

public void testScenerio46 ()

public void testSinglePass ()

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