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
1aff018e17
Cleaning up fixed bug
...
Bug: 192010616
Test: Presubmit
Change-Id: I12d79726852a588cb0ee6b1aaf5ab8bccb9c3cfc
2021-09-07 12:04:44 -04: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
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
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
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
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
TreeHugger Robot
87cf3efe06
Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev
2021-08-13 18:42:22 +00:00
vadimt
303298de84
Restoring generating artifacts
...
Bug: 189874683
Test: presubmit
Change-Id: I82503900a8b7ce916a54437456007dec00016c47
2021-08-12 16:04:05 -07:00
Alex Chau
2a4c978371
Clean up ScreenRecord for AddWidgetTest
...
Bug: 195263971
Test: manual
Change-Id: I5880c9aa0294795d7a5827163f3f51466b67ad35
2021-08-11 10:06:05 +01:00
vadimt
a1e0b01a44
Removing some instrumentation for a workarounded bug
...
Bug: 187080582
Test: Local, presubmit
Change-Id: I2334072bebc9d4e40d632fe068943bf5560f02e4
2021-08-10 18:43:40 -07:00
TreeHugger Robot
0a39f6daec
Merge "Diagnose when lab device sends fake touch screen events to test" into sc-v2-dev
2021-08-09 11:00:45 +00:00
vadimt
6b534ee54f
Diagnose when lab device sends fake touch screen events to test
...
Bug: 189874683
Test: local
Change-Id: I8ac569ab049bafaa0a6263598f2b43a99386e6d9
2021-08-06 15:49:02 -07:00
Vadim Tryshev
ed53d1c21c
Revert "Revert "Removing workaround for battery defender""
...
This reverts commit f9ccf0175d .
Reason for revert: to see whether b/151613234 is fixed
Test: pre-, post- submit
Bug: 151613234
Change-Id: Ieda2907319d796a57494318920c22f3db4527dab
2021-08-05 20:52:58 +00:00
Alex Chau
2994df043a
Allow Sv2 in launcher build version
...
Bug: 195632795
Test: atest NexusLauncherTests:com.google.android.apps.nexuslauncher.wellbeing.WellbeingTests#testPauseAppFromOverview
Change-Id: If0c047bfc64e17de71e9861e27c3a1373577e398
2021-08-05 19:10:17 +01:00
TreeHugger Robot
1179930b74
Merge "Logging to figure out why first dump didn't result in assertion" into sc-v2-dev
2021-08-03 20:05:19 +00:00
vadimt
25f1cd94cc
Logging to figure out why first dump didn't result in assertion
...
Bug: 195319692
Test: presubmit
Change-Id: I4a80541a58eb8f630211de4b90836c435f6d41b2
2021-08-03 11:09:30 -07:00
Alex Chau
9016e17988
Add ScreenRecord for testDragCustomShortcut
...
- For investigation of a failing test
Bug: 195263971
Test: manual
Change-Id: If68e678a847f70c5b891c9dbcece77333fedf846
2021-08-02 10:49:42 +01:00
Alex Chau
27ee6447db
Clean up screen record for tests
...
- Add new record and remove obsolete ones
Bug: 193440212
Bug: 193125090
Bug: 192005114
Test: manual
Change-Id: I860c42961e710e1542d9d911338dd359896b6970
2021-07-29 11:01:09 +01:00
TreeHugger Robot
4a0cd5abff
Merge "Re-enabling getting stability flavor. Can parse Launcher version Tiramisu. Also removes patterns that were used in the unbundled branch." into sc-v2-dev
2021-07-26 20:45:19 +00:00
vadimt
e7f064eb85
Re-enabling getting stability flavor.
...
Can parse Launcher version Tiramisu.
Also removes patterns that were used in
the unbundled branch.
Test: presubmit
Bug: 194528425
Change-Id: I43cca43ed1735cf8ed8845a614768bc42b1403f6
2021-07-24 01:55:50 +00:00
Vadim Tryshev
192cbbbdd3
Merge "Initial workaround for changed platform codename breakage" into sc-v2-dev
2021-07-24 00:55:57 +00:00
vadimt
8ace5d204b
Initial workaround for changed platform codename breakage
...
Test: presubmit
Bug: 194528425
Change-Id: I703da06bbfe5cd28011f7693b16cc0cc263a23ee
2021-07-23 15:33:13 -07:00
TreeHugger Robot
8aac1952af
Merge "Dump accessibility hierarchy on test failure" into sc-v2-dev
2021-07-23 03:42:48 +00:00
vadimt
cf1c28ef73
Dump accessibility hierarchy on test failure
...
This will allow seeing exactly what the test sees.
Test: local runs
Bug: 187761685
Change-Id: Ibf4b97bd9b99d4b40def4eb3db9a2cd1b47defb1
2021-07-22 16:00:53 -07:00
Alex Chau
c2181c2be4
Re-enable leak detection on tablets
...
Bug: 191449914
Test: NexustLauncherTests
Change-Id: Ia2fe0826c933e646260c16d8890aaf2a47023e6d
2021-07-20 12:27:51 +01:00
Alex Chau
0686931b68
Use DeviceProfile.isTwoPanels for two panels expectation in tests
...
Fix: 193810767
Test: TaplTestsLauncher3.testWorkspace
Change-Id: Ifec5506415b79f3effa84fe0163eb1bb2bc7cc8d
2021-07-16 15:14:34 +00:00
Sunny Goyal
711c596c86
Binding Taskbar directly from Launcher model
...
This allows taskbar to be loaded even in case of 3P Launchers
and removes dependency on LauncherActivity lifecycle
Bug: 187353581
Bug: 188788621
Test: Manual
Change-Id: I5a0988e0697b41677d4c58f0213aef14ec0c0972
2021-07-15 12:43:11 -07:00
TreeHugger Robot
dc955de0ea
Merge "Remove press home command from AddConfigWidgetTest." into sc-dev am: 3ff0336f4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15188774
Change-Id: I33003e69aefe81ce6ec938376ceceb4c4ccd707b
2021-07-14 20:43:35 +00:00
TreeHugger Robot
3ff0336f4a
Merge "Remove press home command from AddConfigWidgetTest." into sc-dev
2021-07-14 20:25:09 +00:00
Yogisha Dixit
b9a1ac47b8
Remove press home command from AddConfigWidgetTest.
...
Context: b/192406323#comment4
Bug: 192406323
Test: AddConfigWidgetTest
Change-Id: I2741358de93f75ef7ed73ee97964020162542756
2021-07-14 10:38:31 +01:00
Vadim Tryshev
ef21ccb501
Merge "Deleting screen records for succeeded tests" into sc-dev am: 1d495b2480
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15193183
Change-Id: I9bdb02ea4e02976f78984c1b998f93b48cfa5386
2021-07-12 20:58:36 +00:00
vadimt
35c3c76d57
Deleting screen records for succeeded tests
...
Test: local runs
Bug: 187761685
Change-Id: I3b1a75b775d1d6677b331869a063fc6132217947
2021-07-03 00:46:46 +00:00
Alex Chau
fc27bd17af
Fix TaplTestsLauncher.testWorkspace's page expectation for 2 panel
...
- In tablet, workspace is scrollable only if page count > 2 instead of 1
Bug: 191344757
Test: TaplTestsLauncher.testWorkspace
Change-Id: I1db4e03bc1edd7976a75b2a5f6fedf69eea7b435
2021-07-02 19:55:25 +01:00
Vadim Tryshev
0c3a3125a5
Merge "Verifying success of setting default Launcher in tests" into sc-dev am: ba302e8a6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15158349
Change-Id: I45b7cdf29ea93351fb2a47a7ec207739de5e3745
2021-06-30 20:44:53 +00:00
Vadim Tryshev
ba302e8a6a
Merge "Verifying success of setting default Launcher in tests" into sc-dev
2021-06-30 20:43:36 +00:00
vadimt
a26516c575
Verifying success of setting default Launcher in tests
...
Test: local runs
Bug: 187080582
Change-Id: Iece234e58e2faa80996001f6de1943f065522400
2021-06-30 10:12:56 -07:00
Yogisha Dixit
ffd5acea77
Merge "Show resize frame when widget is added." into sc-dev am: 419ee4599e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956205
Change-Id: I318890ec7296fdd9f2176cf19e77898ed5acbf0e
2021-06-29 21:21:45 +00:00
Yogisha Dixit
037a5362d8
Show resize frame when widget is added.
...
I referenced the code in Workspace.java that updates the widget view's
layout params before showing the resize frame.
Test: manual, AddWidgetTest and AddConfigWidgetTest tapl tests
Bug: 183437963
Change-Id: I6655917878fa22d6084b4bf39fc0661e7278d6f9
2021-06-29 18:25:38 +01:00