Commit Graph

22 Commits

Author SHA1 Message Date
Hyunyoung Song
da4fcfea63 Move tapl build rule to Android.bp
Bug: 113683301
Test: make Launcher3Tests

Change-Id: I9f279bb80f3f399a2271ed8ee94445afbebacb2e
2018-09-05 10:18:28 -07:00
Hyunyoung Song
b441a7e765 Create a distinction between prebuilt tapl and tapl built from source.
Bug: 113128349

Change-Id: Ib1e09f13ee677a903f607b89d6bbb6af419677c4
2018-08-28 14:55:19 -07:00
Vadim Tryshev
0a9f3ab4a6 Converting tests to Androidx
Bug: 112610679
Change-Id: I712826e668f1fbeb4e47cc541d4f5296d8eb74c0
2018-08-21 15:04:48 -04:00
Vadim Tryshev
b6398a1eb8 Sharing protocol constants between Launcher and TAPL
Bug: 110103162
Test: TaplTests
Change-Id: I5b2a2b8576a7a6ea4a156f00858711496d6b5bba
2018-08-14 19:53:43 -07:00
Sunny Goyal
d230307a95 Migrating to android-x
Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
2018-08-14 15:22:12 -07:00
Vadim Tryshev
dc755e718d Started converting Launcher to be gesture-stable
All tests keep passing.

WorkTabTest.workTabExists was made gesture-stable. There is no need to
use TAPL, as the point is not to check answering to gestures, but to
check presence of tabs, which is better to do using launcher internal
state. (It still fails if run as a part of all tests, presumably,
because after Launcher's start, changes in user configuration are not
recognized, so I've commented the failing part)

Bug: 110103162
Test: Run all tests
Change-Id: Ic30b8e8475d16cee3880332f12311a44ddfa26cb
2018-08-14 10:29:57 -07:00
Vadim Tryshev
309053fff9 Using SWIPE_UP_SETTING_NAME in TAPL
Bug: 110103162
Test: TaplTests suite
Change-Id: Ia62207773a156aca1e226307ccc462c252cc9227
2018-08-10 14:30:59 -07:00
Vadim Tryshev
b02bcd4c76 Removing code duplication for getting swipe-up setting
This is between Tapl and Launcher

Bug: 110103162
Test: TaplTests suite
Change-Id: I5b458438834204ca257f45c707577b4d2793fb4e
2018-08-07 18:01:12 -07:00
Vadim Tryshev
44780bad8f Adding AOSP into the tapl library name.
The idea is to prevent accidentally
adding non-AOSP code to it, which would make it wrong to
drop it to AOSP parts of the platform.

Bug: 110103162
Test: Building TaplTests suite
Change-Id: Ide68f469d59fefb72b5195c7916bd1515a9bbed2
2018-08-01 13:08:19 -07:00
Vadim Tryshev
a279b2ea3e Adding a build rule for Tapl static library
Bug: 110103162
Test: TaplTests suite
Change-Id: Ibff017b68b1a31728d3a8d0c1ede2da6ebfecbb1
2018-07-24 17:16:25 -07:00
Hyunyoung Song
c22dec25f7 Change target SDK for Launcher3Tests.apk to run on Sailfish device (API28)
Bug: 78589564

https://sponge.corp.google.com/target?tab=Details&run=1&sortBy=STATUS&show=ALL&id=453a6b41-ff25-4a20-927a-561abad0e730&target=launcher3_unittests_invocation&searchFor=

Change-Id: I7e97545329e684304c074c66bca409467e17b90b
2018-06-14 14:38:14 -07:00
Sunny Goyal
658058b960 Adding some widget addition flow tests
> Added two dummy widget providers: with config and without config
> Added tests for verify widget config flow

Change-Id: I4577f085abe8f8b82047b644c71cc9065358153a
2017-01-23 15:28:25 -08:00
Hyunyoung Song
b0d77fe35f Revert "Build empty test apk until junit dependency issue is sorted out."
This reverts commit 4c82c33a64.

Change-Id: I39c142e2b0e882245a6928264465578e4ddc12c9
2017-01-05 10:55:42 -08:00
Hyunyoung Song
4c82c33a64 Build empty test apk until junit dependency issue is sorted out.
Change-Id: Ib63a654139e43c433011d0f7b761905426aff24d
2016-12-08 14:58:44 -08:00
Sunny Goyal
f0ba8b7ca1 Moving various runnables in LauncherModel to individual tasks
> Adding tests for some of the runnable

Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a
2016-11-09 15:50:08 -08:00
Sunny Goyal
ec944ad7b0 Build fix: Updating SDK for tests
Change-Id: I1377dce808335f65eb0799b7053c84853f57980a
2016-08-01 10:08:27 -07:00
Sunny Goyal
7eab3cc374 Fixing broken instrumentation tests when run from command line
Change-Id: I923cdbaaaf18c9b765d1e70122b92cd2c1621e06
2016-03-18 17:48:53 -07:00
Sunny Goyal
ca846f8f54 Fixing Test builds
Change-Id: I8524ebc124270feb2e6e69e17ba0e0c6301bce18
2016-01-26 12:17:24 -08:00
Hyunyoung Song
170a9f3a1c [unit tests] Setup instrument target for the launcher3 unit test
b/19566571

Change-Id: I47da40aa13a3e7c5ec8531e7ef6a9e52f764c565
2015-03-02 11:55:42 -08:00
John Spurlock
2c38e70acd Fix launcher3 standalone build.
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04:00
Tsu Chiang Chuang
923aa62463 rectify build files.
Change-Id: I138ac7805cb045f960e32193bad95a73cd8b063e
2011-06-17 12:11:23 -07:00
Tsu Chiang Chuang
8c7a2b7d02 Adding stress test for launcher2 rotation.
Change-Id: I03b7dbdd025af39fc733a91f54633a548225e140
2011-05-25 15:32:00 -07:00