mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Removing dependency of All Apps test from 1P apps" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
0896b68cb5
@@ -343,6 +343,24 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
<activity-alias android:name="AAAActivity"
|
||||
android:label="AAA"
|
||||
android:exported="true"
|
||||
android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
<activity-alias android:name="ZZZActivity"
|
||||
android:label="ZZZ"
|
||||
android:exported="true"
|
||||
android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
|
||||
<provider
|
||||
|
||||
@@ -181,10 +181,10 @@ public class TaplOpenCloseAllAppsTest extends AbstractLauncherUiTest {
|
||||
executeOnLauncher(launcher -> assertTrue("flingBackward() didn't scroll App Apps",
|
||||
flingBackwardY < flingForwardY));
|
||||
|
||||
// Test scrolling down to YouTube.
|
||||
assertNotNull("All apps: can't find YouTube", allApps.getAppIcon("YouTube"));
|
||||
// Test scrolling up to Camera.
|
||||
assertNotNull("All apps: can't find Camera", allApps.getAppIcon("Camera"));
|
||||
// Test scrolling down to the end of the app list.
|
||||
assertNotNull("All apps: can't find YouTube", allApps.getAppIcon("ZZZ"));
|
||||
// Test scrolling up to the beginning oof the app list.
|
||||
assertNotNull("All apps: can't find Camera", allApps.getAppIcon("AAA"));
|
||||
// Test failing to find a non-existing app.
|
||||
final AllApps allAppsFinal = allApps;
|
||||
expectFail("All apps: could find a non-existing app",
|
||||
|
||||
Reference in New Issue
Block a user