summaryrefslogtreecommitdiffstats
path: root/robolectric_tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for adding promise icons for new install sessions by user.Jon Miranda2019-08-221-1/+2
| | | | | | | | | | | | | | - Added flag PROMISE_APPS_NEW_INSTALLS - Promise icons only added if flag (above) is on, as well as the setting for "Add icon to Home screen" - Maintains a list of session ids of promise icons that have been added to the home screen, so that if the user manually removes the icon, we do not add it back to the home screen when the install is completed. - Queues all applications as promise icons, and replaces with actual app info when its being added to the workspace. Bug: 135633159 Change-Id: I411db59f9bd1b346d98b9bb73f5376a5983b8de5
* Merge "Make TogglableFlag backed by DeviceConfig for e2e testing" into ↵Hyunyoung Song2019-08-151-3/+5
|\ | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: 96eba3aea6 Change-Id: I738256f1623119a61197c03008e098b066161542
| * Make TogglableFlag backed by DeviceConfig for e2e testingHyunyoung Song2019-08-151-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 138964490 TL;DR;; need this to be part of QQ1 or QD1 to verify if DeviceConfig can be supported for launcher toggleableFlags. Not handled in this CL: - When flag is locally modified, that will override the flag value How that scenario is handled should be discussed separately and is not within scope of this CL. Change-Id: I2e6694a40bee9202ed0b0d559e3b5607634071bf
* | Separating apps list callback from model callback and simplifying various eventsSunny Goyal2019-07-251-2/+1
| | | | | | | | | | Bug: 137568159 Change-Id: I4d8bb5c01cabe642731ebd3f57fe15bdc5a569b7
* | Moving some utilities methods to separate classSunny Goyal2019-07-172-1/+38
|/ | | | Change-Id: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
* Add overlayable test resource for launcher3Amin Shaikh2019-05-062-0/+38
| | | | | Test: make RunLauncherRoboTests Change-Id: I36b4869d44e8896ef59dce6c554ef94a1fe4d9ec
* Annotating ignored tests with requests to enable themvadimt2019-04-221-3/+3
| | | | | Bug: 117106893 Change-Id: Ib8e578913ceebee44a507b5e333e7da07c6120d0
* Removing ShortcutInfoCompat and directly using ShortcutInfoSunny Goyal2019-04-223-4/+154
| | | | Change-Id: I2842689e192a206c0d31558c8126eae1c7904598
* ShortcutInfo renamed to WorkspaceItemInfoSunny Goyal2019-04-165-18/+13
| | | | | | Will get rid of ShortcutInfoCompat in a follow up cl Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
* Remove FeatureFlags.STYLE_WALLPAPERSHyunyoung Song2019-04-091-1/+0
| | | | | Bug: 129874298 Change-Id: I2785f1e49a4ff60143cc763c3dac0c1bb33b41c8
* Only stabilize tasks during quick switch sessionTony2019-02-191-1/+0
| | | | | | | | | | | | - A stabilization session starts when going to a new task via a quick switch - A stabilization session ends after 5 seconds on the same task or when completing a gesture to go to home or overview - We track the system task order and copy it for the duration of the stabilization session - After the session ends, we switch back to the system task order - Remove ENABLE_TASK_STABILIZATION flag (and also QUICK_SWITCH) Bug: 111926330 Change-Id: I2c18dff2d20ad02b73a4935ac534e9fc9f5f49c0
* Add a flag to turn on theme picker in wallpaper pickerHyunyoung Song2019-02-071-0/+1
| | | | | Bug: 122524192 Change-Id: I79bd8bde359a56185c1dd0c10964695263d0f6d5
* Fixing Robolectic testsSunny Goyal2019-01-301-3/+2
| | | | | Bug: 123652178 Change-Id: Ie8b0a23fb8bd0d46ac59c26d75c81a68e6152beb
* Adding support for backing up favorites tableSunny Goyal2019-01-034-113/+255
| | | | | | | | | | | Favorites table is copied as a separate table name during the first grid migration. On subsequent migrations this backup table is used if it exists, otherwise new backup is created. The backup table is also removed if there is any insert or delete operation on the db (outside of the migration operation itself). Bug: 111850268 Bug: 121048571 Change-Id: I6f02f4a355c369ee99d89430971be258f7516f6e
* Bye bye workspace screens tableSunny Goyal2018-12-104-38/+235
| | | | | | | | | | | | | Removing a separate table for workspace screens. List of screens are automatically parsed using the items in the favorites DB. Order of the screen based on the screen id and rearranging screens is no longer supported. In case the screens need to be rearranged, all the items in the favorites db will need to be updated with new screen ids. This makes backing up the DB (in the same database) easier as only one table needs to be duplicates. Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
* Get Robolectric tests passingRyan Lothian2018-11-153-1/+6
| | | | | | | | | | | | + Default SDK 28 -> 26, as >26 isn't available for unbundled make builds. + @Ignore 3 test methods that currently fail with resource-related errors. Test: RunLauncherRoboTests succeeds locally Bug: 119567714 Change-Id: Id6ea42cef050119d892b5af2b1ba1afc4c4f0b28
* Moving come tests to RoboelectricSunny Goyal2018-11-1211-2/+1143
| | | | | | > Fixing resource loading in robo tests Change-Id: Id5b8a0e4916a2a200da7a41b03f19846834beb1f
* Allow overriding flags in Robolectric testsRyan Lothian2018-11-082-0/+154
| | | | | Bug: 117235618 Change-Id: Ibc01a4fe1de6a38d9fc620e4601fdb2282bf03e1
* Merge "Make FileLogTest use robolectric" into ub-launcher3-masterTreeHugger Robot2018-11-051-0/+91
|\
| * Make FileLogTest use robolectricRyan Lothian2018-11-051-0/+91
| | | | | | | | | | | | | | This allows it to run fast locally on the JVM without an emulator or physical device. Change-Id: Idb9c94e6f3fce94a86978ea0709eadd72280432c
* | Migrate GridOccupancyTest to RobolectricRyan Lothian2018-11-051-0/+67
|/ | | | | | | This allows it to run fast locally on the JVM without an emulator or physical device. Change-Id: I416877d7c335a7b9c8dc7a216ecfeb1013f66891
* Add robolectric tests for launcherRyan Lothian2018-10-312-0/+134
Bug: 117235618 Change-Id: Ia0441133a77069493b0a29a7a2d513a818dc7fe2