summaryrefslogtreecommitdiffstats
path: root/tests/src
Commit message (Collapse)AuthorAgeFilesLines
* fix custom shortcut testPinyao Ting2019-11-152-17/+18
| | | | | | Bug: 143725213 Change-Id: I296452faea67568b39a35968bb813dc4e51a51fc Merged-In: I296452faea67568b39a35968bb813dc4e51a51fc
* disable custom shortcut test in oopPinyao Ting2019-11-121-0/+1
| | | | | Bug: 142154748 Change-Id: I08ec8f665a3cc45610f8f2b27a60f7334a2b1b24
* Merge "Refactor SwipeDetector to track both axes" into ↵TreeHugger Robot2019-10-241-19/+25
|\ | | | | | | ub-launcher3-qt-future-dev
| * Refactor SwipeDetector to track both axesTony Wickham2019-10-241-19/+25
| | | | | | | | | | | | | | | | | | | | Existing clients now use the SingleAxisSwipeDetector subclass. A followup CL will add BothAxesSwipeDetector, whose first client will be the quick switch from home controller. Bug: 126596417 Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d Merged-In: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
* | Fix testQuickSwitchFromAppTony Wickham2019-10-231-6/+12
|/ | | | | | | | | | | | | | Instead of starting getAppPackageName() and relying on it being our Test Pin Item activity, instead launch our own test activities with the FLAG_ACTIVITY_MULTIPLE_TASK and FLAG_ACTIVITY_NEW_DOCUMENT flags. Test: - Locally run testQuickSwitchFromApp() from Android Studio - flake -oop -t com.android.quickstep.TaplTestsQuickstep#testQuickSwitchFromApp Bug: 140252765 Change-Id: Ie137261ce65bfd3dd39df78d57784854a026e967 Merged-In: Ie137261ce65bfd3dd39df78d57784854a026e967
* resolve merge conflicts of 08776ada1e37c4b424893306c058b1de9f85903f to ↵vadimt2019-10-032-4/+0
|\ | | | | | | | | | | | | | | | | ub-launcher3-qt-future-dev Bug: None Test: I solemnly swear I tested this conflict resolution. Change-Id: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082 Merged-in: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082
| * Merge "Waiting for Launcher model load in out-of-proc tests." into ↵TreeHugger Robot2019-10-012-4/+0
| |\ | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * Waiting for Launcher model load in out-of-proc tests.vadimt2019-10-012-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Not doing this seems to have caused flakes. Bug: 141770616 Change-Id: Ia9caf20e4a2d93298adf4249ca815ad79bced802 Merged-in: Ia9caf20e4a2d93298adf4249ca815ad79bced802
* | | correct naming and add comments for test case of custom shortcut.Pinyao Ting2019-10-032-3/+14
| | | | | | | | | | | | | | | Bug: 141934188 Change-Id: I69ce5f05214df10e2a376ff68c713efe8874df15
* | | include integration test for adding shortcut widgetPinyao Ting2019-10-032-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | this integration test help us catching app crashes when adding shortcut widgets to the workplace. see b/141568904 for more context. Bug: 141934188 Change-Id: I4d33d6127793efe2071d0d146aef24db6b676360
* | | Some cleanup for SwipeDetector.Andy Wickham2019-10-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is now organized as follows: - private constants - public constants - private final fields - private variable fields - constructors - public methods - private methods - public interface/abstract class This is intended to be a functional no-op. Bug: 141939911 Change-Id: Iad5a9b3b73b35641f8a4f1d52ada6adef3825c47 Tested: Built and sanity checked manually.
* | | Merge "Not unlocking phone on the test start" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-301-2/+0
|\| | | | | | | | | | | | | | | | | am: 872a380b59 Change-Id: I6e0831a2660459803eef6c755e4fcfc9f414c94f
| * | Not unlocking phone on the test startvadimt2019-09-301-2/+0
| |/ | | | | | | | | | | | | Somehow tests unlock the phone anyways. Bug: 141772190 Change-Id: I66de70ec10a7e9ae05ba942570bf9eff9d9e7a82
* | Merge "Deprecating LauncherInstrumentation constructor with parameter" into ↵Vadim Tryshev2019-09-271-2/+1
|\| | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: dd079691c1 Change-Id: I7419be6416f26274bf03abfd84eedef20fd6f084
| * Deprecating LauncherInstrumentation constructor with parametervadimt2019-09-271-2/+1
| | | | | | | | Change-Id: I779b4a8fde2db73cced8133f12d1356ad0b8729e
* | Merge "Removing magic constants from TAPL/Widgets" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-262-7/+4
|\| | | | | | | | | | | am: 77f045b607 Change-Id: I8ea519aca0ef3830f506c91c2086e1eb31b4b6f2
| * Removing magic constants from TAPL/Widgetsvadimt2019-09-262-7/+4
| | | | | | | | | | Bug: 123904290 Change-Id: I8abc6cde6be8a51b38782f5c94749fe0c33384c1
* | Continuing experiments with test stability attributevadimt2019-09-251-66/+49
|\| | | | | | | | | | | am: 7ad1026cad Change-Id: I0bb9774313856cd90cb23aea85779d4220d61271
| * Continuing experiments with test stability attributevadimt2019-09-251-66/+49
| | | | | | | | Change-Id: I7ada0a7f4f0e0e9ca90a3d44ae88fc00d54d74df
* | Merge "Not using dropbox entries before the test start for diagnostics" into ↵Vadim Tryshev2019-09-202-3/+5
|\| | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: dcb5412e1c Change-Id: I70b2434f162f6575a88bcc0b43bdf8cce1cbc359
| * Merge "Not using dropbox entries before the test start for diagnostics" into ↵Vadim Tryshev2019-09-212-3/+5
| |\ | | | | | | | | | ub-launcher3-qt-qpr1-dev
| | * Not using dropbox entries before the test start for diagnosticsvadimt2019-09-212-3/+5
| | | | | | | | | | | | | | | Change-Id: Ieb48d969d86a855c91109f4ace0d636fa01aafc7 Merged-in: Ia060b5d2b98ea9ea3b6e61ae11d610f1a888d7a0
* | | Merge "Adding recognition of R launcher builds for test stability rule" into ↵Vadim Tryshev2019-09-201-7/+6
|\| | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: f8a9a14aca Change-Id: I0eb777bd191da9708976431a944fc7441c1800ff
| * | Adding recognition of R launcher builds for test stability rulevadimt2019-09-201-7/+6
| |/ | | | | | | Change-Id: Icf1251c02d328e634bf4d5c951dd53f203905838
* | Merge "Experimenting with detecting whether a test runs in presubmit" into ↵Vadim Tryshev2019-09-183-2/+149
|\| | | | | | | | | | | | | | | ub-launcher3-qt-qpr1-dev am: 37cc797fd0 Change-Id: I0ab81659ea9aaf6b75cd1106bbbaf9c75c679a41
| * Experimenting with detecting whether a test runs in presubmitvadimt2019-09-193-2/+149
| | | | | | | | | | Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a Merged-in: I386c6ad29182170326c557252fe6e20a8d2af34a
* | Key by both package and user for list of active install sessions.Jon Miranda2019-09-171-3/+9
|\| | | | | | | | | | | am: c1322b6ac8 Change-Id: I112298649de8f9abd0898fdf4feda02395b7a31c
| * Key by both package and user for list of active install sessions.Jon Miranda2019-09-171-3/+9
| | | | | | | | | | | | | | | | This fixes the bug where items are left on the home screen for the wrong user. Bug: 139281702 Change-Id: I03c31bb308fc496b9fc633c2fde23ae4568f8c44
* | Fully qualifying @Ignorevadimt2019-09-132-3/+3
|\| | | | | | | | | | | am: b1ccbd9def Change-Id: Ia4aee260bf57fde304e1e54364b15c6880899c7c
| * Fully qualifying @Ignorevadimt2019-09-122-3/+3
| | | | | | | | | | | | | | Strangely, @Ignore-s won't be recognized in ub-launcher-master Bug: 140837771 Change-Id: Ie5e4911d4812d396826b50024943c14c6bfe3376
* | Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-132-0/+3
|\| | | | | | | | | | | am: 90f4536ae3 Change-Id: If045b86ee809fd4b727d82bd4926ccd40aa01e27
| * Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-132-0/+3
| |\
| | * Disable failing widget testsvadimt2019-09-122-0/+3
| | | | | | | | | | | | | | | Bug: 140837771 Change-Id: Ibba7769543e682315ea23640f68416defa85f365
* | | Adding testing for opening a widgetvadimt2019-09-121-0/+9
|\| | | | | | | | | | | | | | | | | am: 5e742772d0 Change-Id: I0109fa62c88714584ec84c4c03a85a7924d4c9d5
| * | Adding testing for opening a widgetvadimt2019-09-111-0/+9
| |/ | | | | | | | | Bug: 140252951 Change-Id: Ic1c867db602f1890b74e7b539b44b2a440267384
* | Reenabling some widget testsvadimt2019-09-122-3/+0
|\| | | | | | | | | | | am: 599b1fc4d3 Change-Id: I9d00e745ea026a796a0edd1c3c65d057349098ad
| * Reenabling some widget testsvadimt2019-09-102-3/+0
| | | | | | | | | | Bug: 140837771 Change-Id: I437f39b4a7f4b518551a157858c9b1a4812ee65d
* | Disable currently failing widget testsvadimt2019-09-122-0/+5
|\| | | | | | | | | | | am: d81f60f324 Change-Id: I496d02f2b9f23a7f91ae7627ea08f22576d8bf90
| * Disable currently failing widget testsvadimt2019-09-102-0/+5
| | | | | | | | Change-Id: I2009b9c6f11a698bcf12a0b5ba97f98262fcee54
* | [DO NOT MERGE] Merge commit '735d1fe124812fd11feabc644c9a4f8482039f57' into ↵Jon Miranda2019-09-091-0/+113
|\| | | | | | | | | | | | | | | | | manual_merge_735d1fe124812fd11feabc644c9a4f8482039f57 The ub-launcher3-qt-future-dev branch cut missed the CLs that went into ub-launcher3-master, so the merge failed Change-Id: I4f6f5ca8323350af3bc84c72d61d935b36f8064f
| * Merge "Add tests for play promise icons." into ub-launcher3-qt-qpr1-devJonathan Miranda2019-09-091-0/+113
| |\
| | * Add tests for play promise icons.Jon Miranda2019-09-061-0/+113
| | | | | | | | | | | | | | | | | | Bug: 139021165 Change-Id: Ie1a049b283b70f6bd22b43c09aef263282cb0f56 Merged-In: I45469b7523d8aea12c34d460c7b69c571a415675
* | | Add one null check to testsvadimt2019-09-091-2/+5
|\| | | | | | | | | | | | | | | | | am: f083b7741a Change-Id: Id2e678bfb216302ef93e593a210edefe5092772a
| * | Add one null check to testsvadimt2019-09-061-2/+5
| |/ | | | | | | Change-Id: Ib4b50ac06d44b1811e0388bc373fe420fa5570fd
* | Merge "Adding a test method to get a Launcher object when it becomes ↵Vadim Tryshev2019-09-091-0/+20
|\| | | | | | | | | | | | | | | non-null" into ub-launcher3-qt-qpr1-dev am: b34f951e7e Change-Id: Id63a1df1aef2f35b0f6cdb0f8ab851163c8140c9
| * Merge "Adding a test method to get a Launcher object when it becomes ↵Vadim Tryshev2019-09-051-1/+20
| |\ | | | | | | | | | non-null" into ub-launcher3-qt-qpr1-dev
| | * Adding a test method to get a Launcher object when it becomes non-nullvadimt2019-09-041-1/+20
| | | | | | | | | | | | Change-Id: I1c56777c87827b5edf1c7f55ad9639321e598311
* | | Enabling some tests in landscape modevadimt2019-09-094-49/+7
|\| | | | | | | | | | | | | | | | | am: 8c2efd0de0 Change-Id: If74fe6cec774787f73f43aae43863cd71887b81f
| * | Enabling some tests in landscape modevadimt2019-09-044-49/+7
| |/ | | | | | | | | Bug: 121280703 Change-Id: I285638d832594d5fed26ee812737a4356b110899
* | Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-devVadim Tryshev2019-09-042-6/+2
|\| | | | | | | | | | | am: 846656f138 Change-Id: Ie40cc1d55d40ffefe6c1b2d3588b03ff92d2cb38