Sunny Goyal
455ba62b5d
Migrating all model tests to Instrumentation tests
...
Bug: 196825541
Test: Presubmit
Change-Id: Iebd46eb41eb46c187d569197f4b97b4fddc0f6f7
2021-08-23 12:34:44 -07:00
Sunny Goyal
9ae9b60043
Updating Robolectric tests
...
> Adding multi-thread support
> Simulating actual loader loading flow
> Moving some android tests to robolectic
Change-Id: Ie17a448f20e8a4b1f18ecc33d22054bbf9e18729
2020-01-06 11:05:42 -08:00
Sunny Goyal
01615a69d2
Removing host deletion on startup and corresponding callbacks
...
> Launcher deletes the phantom widget ids in loader
Bug:141376165
Change-Id: Icf0542535f194f9abc67e7190f34cb60f69e9f66
2019-10-02 12:08:26 -07:00
Jon Miranda
2ca0aa7076
Fix testChangeDefaultColumnTest.
...
I split testMigrateProfileId into two tests: one testing the migration
and one testing changing the default column test.
Since testChangeDefaultColumnTest does not migrate any profile ids, the
correct answer is indeed 1 and not 6. Next time I will be sure to run the
tests first :).
Change-Id: I7557e198072ed134c8b42d6187afcb93d388c5a1
2019-03-08 10:58:52 -08:00
Jon Miranda
2bc6b934ac
Add launcher support for restoring work profile items onto workspace.
...
Bug: 111301511
Change-Id: I40decf4c763401c97afcc2bfa7954a1f3a03f536
2019-03-07 18:55:16 -08:00
Vadim Tryshev
0a9f3ab4a6
Converting tests to Androidx
...
Bug: 112610679
Change-Id: I712826e668f1fbeb4e47cc541d4f5296d8eb74c0
2018-08-21 15:04:48 -04:00
Sunny Goyal
8b0a647a11
Removing dependency on deprecated android.test.** package
...
Change-Id: Ib1065e26fff3c193d12531c8bca944693ea6137c
2017-11-06 21:10:09 -08:00
Rajeev Kumar
692aeec287
Close cursor after use in RestoreDbTaskTest.
...
Change-Id: I799fe29ecd602141cac61314c087e3154e12b102
2017-06-27 17:05:19 -07:00
Sunny Goyal
e8f7d5a67e
Executing the DB migration during startup instead of restore.
...
This allows proper execution of DB.onUpgrade task if the app updates
after the restore
Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
2016-06-08 16:14:59 -07:00