FileDocCategorySizeDatePackage
MultiDexUpdateTest.javaAPI DocAndroid 5.1 API1368Thu Mar 12 22:22:12 GMT 2015com.android.framework.multidexlegacyversionedtestapp

MultiDexUpdateTest

public class MultiDexUpdateTest extends android.test.ActivityInstrumentationTestCase2
Run the tests with: adb shell am instrument -w com.android.framework.multidexlegacyversionedtestapp/android.test.InstrumentationTestRunner

Fields Summary
Constructors Summary
public MultiDexUpdateTest()

        super(MainActivity.class);
    
Methods Summary
public voidtestAllClassAvailable()
Tests that all classes of the application can be loaded. Verifies also that we load the correct version of {@link Version} ie the class is the secondary dex file.

        assertEquals(1, getActivity().getVersion());