mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Add taskbar TAPL tests
- Added TAPL objects to support TAPL tests for taskbar features - Added tests for major taskbar features: hiding/showing the taskbar, opening all apps, lauching apps and app deep shortcuts from the taskbar/all apps page, launching apps and app deep shortcuts in splitscreen - These tests should only run for large devices Design: go/taskbar-tapl-tests Test: ran tests locally with invalid configurations and remotely Bug: 215218813 Change-Id: I3c28c339707467414aa47fa633f87fa0c1fdee57
This commit is contained in:
@@ -567,6 +567,7 @@ public abstract class AbstractLauncherUiTest {
|
||||
ordinal == TestProtocol.OVERVIEW_STATE_ORDINAL);
|
||||
break;
|
||||
}
|
||||
case TASKBAR_ALL_APPS:
|
||||
case LAUNCHED_APP: {
|
||||
assertTrue("Launcher is resumed in state: " + expectedContainerType,
|
||||
!isResumed);
|
||||
@@ -580,9 +581,10 @@ public abstract class AbstractLauncherUiTest {
|
||||
}
|
||||
} else {
|
||||
assertTrue(
|
||||
"Container type is not LAUNCHED_APP or FALLBACK_OVERVIEW: "
|
||||
+ expectedContainerType,
|
||||
"Container type is not LAUNCHED_APP, TASKBAR_ALL_APPS "
|
||||
+ "or FALLBACK_OVERVIEW: " + expectedContainerType,
|
||||
expectedContainerType == ContainerType.LAUNCHED_APP
|
||||
|| expectedContainerType == ContainerType.TASKBAR_ALL_APPS
|
||||
|| expectedContainerType == ContainerType.FALLBACK_OVERVIEW);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user