Search in sources :

Example 6 with RaceConditionReproducer

use of com.android.launcher3.util.RaceConditionReproducer in project android_packages_apps_404Launcher by P-404.

the class StartLauncherViaGestureTests method runTest.

private void runTest(String... eventSequence) {
    final RaceConditionReproducer eventProcessor = new RaceConditionReproducer(eventSequence);
    // Destroy Launcher activity.
    closeLauncherActivity();
    // The test action.
    eventProcessor.startIteration();
    mLauncher.pressHome();
    eventProcessor.finishIteration();
}
Also used : RaceConditionReproducer(com.android.launcher3.util.RaceConditionReproducer)

Example 7 with RaceConditionReproducer

use of com.android.launcher3.util.RaceConditionReproducer in project android_packages_apps_Trebuchet by LineageOS.

the class StartLauncherViaGestureTests method runTest.

private void runTest(String... eventSequence) {
    final RaceConditionReproducer eventProcessor = new RaceConditionReproducer(eventSequence);
    // Destroy Launcher activity.
    closeLauncherActivity();
    // The test action.
    eventProcessor.startIteration();
    mLauncher.pressHome();
    eventProcessor.finishIteration();
}
Also used : RaceConditionReproducer(com.android.launcher3.util.RaceConditionReproducer)

Aggregations

RaceConditionReproducer (com.android.launcher3.util.RaceConditionReproducer)7