Commit Graph

4240 Commits

Author SHA1 Message Date
TreeHugger Robot d213914214 Merge "Fixing leak in model tests" into sc-v2-dev 2021-09-07 21:31:34 +00:00
Sunny Goyal b45aef3f1c Fixing leak in model tests
> InstallSessionTracker is not released immediately causing large memory objects
  being held by tests

Bug: 198719724
Test: Presubmit
Change-Id: I1d19a2a498a9f255077818dc7d78422367ec1749
2021-09-07 15:34:48 -04:00
Sunny Goyal ece0504e35 Cleaning up fixed bug am: 1aff018e17 am: 580d9735f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15778079

Change-Id: I91bbc6068af6e5e3f540072aece0dbebe81bf358
2021-09-07 18:01:41 +00:00
Sunny Goyal 1aff018e17 Cleaning up fixed bug
Bug: 192010616
Test: Presubmit
Change-Id: I12d79726852a588cb0ee6b1aaf5ab8bccb9c3cfc
2021-09-07 12:04:44 -04:00
Winson Chung 2638a542ce Merge "Use max of corners when deciding gestures and add logs for corners" into sc-v2-dev am: 725ad3c031 am: 90fbb14627
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15758695

Change-Id: I68a794f1426f9be42f7ffc0fe2436c056c222e67
2021-09-04 16:43:41 +00:00
Winson Chung b42265861b Use max of corners when deciding gestures and add logs for corners
Bug: 197326121
Test: Pre/postsubmit
Change-Id: I1c083dc9234354f66cf1537f0cfe8c21f1e1be3b
2021-09-04 02:23:53 +00:00
TreeHugger Robot d935937d8d Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev am: 667bda8448 am: b855314c6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15696989

Change-Id: Ie64db49d16eca1da431f30f538901de592380796
2021-08-31 11:16:26 +00:00
TreeHugger Robot 667bda8448 Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev 2021-08-31 10:52:02 +00:00
Sunny Goyal 777d49062f Revert "Revert "Migrating all model tests to Instrumentation tests""
This reverts commit 7a4a30d86d.

Test: Presubmit
Reason for revert: Fixing original bug

Bug: 196825541
Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-31 10:51:52 +00:00
Alan Viverette 512b3b75f5 Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" 2021-08-31 01:14:39 +00:00
TreeHugger Robot d9b7c828de Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev am: 3c79aa579b am: a90d8b6e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15697537

Change-Id: I911779a0ccb501159bb49965bc492235bf48d155
2021-08-30 19:31:15 +00:00
TreeHugger Robot 3c79aa579b Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev 2021-08-30 18:45:42 +00:00
Vadim Tryshev 8b4a6ee65b Revert "Temporarily disable Launcher3 tests affected by fling changes"
This reverts commit bc4dc49c6c.

Reason for revert: RecyclerView bug is fixed

Change-Id: Ia2a677f3a3987751349bad951ff136b2d55f439f
Test: presubmit
Bug: 197802324
2021-08-30 17:58:17 +00:00
vadimt 6c416c699d Adding a test artifact for logcat with only interesting tags
This is based on the brainstorm "diagnostic scripts running on ATP".

Please propose additional (to "TestRunner") tags.

Also adding class name to all artifact filenames
because sometimes different classes have failing tests
with the same name.

Bug: 197991109
Test: local runs
Change-Id: Ic2022ca526d833fe99450e90fcfd8fb7be1f79d5
2021-08-27 15:07:11 -07:00
Android Build Prod User b8b1e17a33 Merge "Not using stale object to diagnose stale object" into sc-v2-dev am: 435e6a0443 am: 3477f134b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15663382

Change-Id: I64c6c7a8a618c64acad54960377892e1e316361e
2021-08-27 03:13:00 +00:00
Android Build Prod User 435e6a0443 Merge "Not using stale object to diagnose stale object" into sc-v2-dev 2021-08-27 02:48:56 +00:00
Alan Viverette ca34b4d571 Temporarily disable Launcher3 tests affected by fling changes
Bug: 197802324
Test: TaplTestsLauncher3
Change-Id: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
Merged-In: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
(cherry picked from commit bc4dc49c6c)
2021-08-26 12:38:10 -07:00
Alan Viverette 58dd935348 Disable eager initialization of Jetpack libraries
Bug: 197780098
Test: Launcher3 tests
Change-Id: I8f921ae26e873822ac2340ad78449cf1040af4cf
Merged-In: I8f921ae26e873822ac2340ad78449cf1040af4cf
(cherry picked from commit a88802ee92)
2021-08-26 12:38:09 -07:00
Alan Viverette bc4dc49c6c Temporarily disable Launcher3 tests affected by fling changes
Bug: 197802324
Test: TaplTestsLauncher3
Change-Id: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
2021-08-26 14:27:11 +00:00
Alan Viverette a88802ee92 Disable eager initialization of Jetpack libraries
Bug: 197780098
Test: Launcher3 tests
Change-Id: I8f921ae26e873822ac2340ad78449cf1040af4cf
2021-08-26 03:12:07 +00:00
Android Build Prod User 50f928c388 Merge "Waiting for Launcher to settle after enabling test provider" into sc-v2-dev 2021-08-25 09:29:39 +00:00
vadimt 67a11ff6a5 Waiting for Launcher to settle after enabling test provider
I suspect that something happens in Launcher after enabling the provider
that causes "mismatched event sequence" errors.

This CL is to verify that.

Bug: 195031154
Test: presubmit
Change-Id: Ic22df5fa631b287b580f0aaf00c84cd408cb60b0
2021-08-25 01:30:45 +00:00
Android Build Prod User 497a6ad826 Merge "Improving diags for containers disappearing while getting children" into sc-v2-dev 2021-08-24 21:28:23 +00:00
TreeHugger Robot 907c22ca14 Merge "Not checking for some anomalies when switching nav modes" into sc-v2-dev 2021-08-24 19:49:41 +00:00
Alex Chau 204e749f06 Merge "Revert "Migrating all model tests to Instrumentation tests"" into sc-v2-dev 2021-08-24 17:29:06 +00:00
Alex Chau 7a4a30d86d Revert "Migrating all model tests to Instrumentation tests"
This reverts commit 455ba62b5d.

Reason for revert: Breaks tests on all targets

Bug: 196825541
Bug: 197570389
Change-Id: Ida6792a09c54dee46105b6b914a0dd1545bdf48d
2021-08-24 17:27:52 +00:00
vadimt 51ae38304b Not checking for some anomalies when switching nav modes
Test: presubmit
Bug: 196820244
Change-Id: I3e9554d3deb453625cde5003ccf132f21253f58a
2021-08-24 17:23:12 +00:00
vadimt 767f02b809 Not using stale object to diagnose stale object
Test: presubmit
Bug: 187761685
Change-Id: Ifbe7f48515f575bfe08373592891e745112ac2a6
2021-08-23 17:49:59 -07:00
TreeHugger Robot c817d2a633 Merge "Migrating all model tests to Instrumentation tests" into sc-v2-dev 2021-08-23 21:08:51 +00:00
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
TreeHugger Robot a7929aff08 Merge "Logging for artifacts not being created" into sc-v2-dev 2021-08-19 10:39:57 +00:00
vadimt b29f63af3c Logging for artifacts not being created
Bug: 196820244
Test: presubmit
Change-Id: I8bcaa0a87d54adc122a71755746912112c4b83e1
2021-08-18 19:10:13 -07:00
Sunny Goyal 494bbb0b6c Merge "Moving all widget picker tests to instrumentation tests" into sc-v2-dev 2021-08-19 01:41:40 +00:00
Sunny Goyal 177785eccf Moving all widget picker tests to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: I946f29baedb2e6b29044f8df1bc73b74e9999efe
2021-08-18 15:06:53 -07:00
Sunny Goyal 11854ba48b Moving some utility tests to instrumentation tests
> Also removing some UI tests which are already covered by instrumentation

Bug: 196825541
Test: Presubmit
Change-Id: Ib39a81589d0bf55278623a596d444b752ca696e6
2021-08-18 15:00:45 -07:00
Sunny Goyal 741107cc53 Merge "Updating test build rules" into sc-v2-dev 2021-08-18 19:23:33 +00:00
Vadim Tryshev 543f73a09d Merge "Waiting for Launcher to restart after enabling test provider" into sc-v2-dev 2021-08-18 18:48:52 +00:00
Sunny Goyal 4af8cf9269 Updating test build rules
> Moving definition to bp files
> Adding mokito-inline to allow mocking final classes
> Moving src_common to src to avoid unnecessary code split

Bug: 196825541
Test: Presubmit
Change-Id: Ib6879cda6aee74f5b9050a16eb6ca94ed3b7e28c
2021-08-18 10:22:52 -07:00
vadimt 272d622bc4 Improving diags for containers disappearing while getting children
Bug: 184609576
Test: presubmit
Change-Id: I7f527a9991a58fd148b17783078b5ac80979a5b3
2021-08-17 18:47:12 -07:00
vadimt fa56d3ed27 Waiting for Launcher to restart after enabling test provider
Bug: 188806432
Test: presubmit
Change-Id: Ie821c7641c351e0926fff1b7218c4ed745d2dd8f
2021-08-16 18:37:28 -07:00
Tracy Zhou 180a7d97d7 Merge "Update LauncherInstrumentation to consider tablet w/o nav bar" into sc-v2-dev 2021-08-17 01:01:49 +00:00
TreeHugger Robot 32e573162d Merge "Removing unnecessary logging" into sc-v2-dev 2021-08-16 10:22:34 +00:00
TreeHugger Robot a4937b2270 Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev 2021-08-13 23:27:18 +00:00
Vadim Tryshev 169c4e88cd Revert "Not using shell command to enable test provider"
This reverts commit 5f80e92bda.

Reason for revert: We need to see if this has caused b/196586808

Bug: 196586808
Test: presubmit
Change-Id: I078f0d4e83f5f1db19e9e0a5afec4f3058156745
2021-08-13 21:56:07 +00:00
TreeHugger Robot 87cf3efe06 Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev 2021-08-13 18:42:22 +00:00
Tracy Zhou 2bb92ba49d Update LauncherInstrumentation to consider tablet w/o nav bar
Bug: 191660313
Test: TaplTestsLauncher3
Change-Id: I7bbcc2f9c3eb7b62dc2abd94b63df22b7168bf15
2021-08-13 08:54:35 -07:00
TreeHugger Robot 73ad3abc29 Merge "Restoring generating artifacts" into sc-v2-dev 2021-08-13 00:44:57 +00:00
vadimt 303298de84 Restoring generating artifacts
Bug: 189874683
Test: presubmit
Change-Id: I82503900a8b7ce916a54437456007dec00016c47
2021-08-12 16:04:05 -07:00
vadimt 5f80e92bda Not using shell command to enable test provider
Shell command can kill app

Test: presubmit
Bug: 188806432
Change-Id: Id512eb16d26cc4b324574a2a6a15f4805e426b9f
2021-08-12 10:28:45 -07:00
vadimt 4381c3a343 Removing unnecessary logging
Test: presubmit
Bug: 190748682
Change-Id: I3a280b4f351098cf256d276baced6e13eb771eb3
2021-08-11 14:24:06 -07:00