There were plans to use it from platform tests, but this turned to be
unnecessary.
Bug: 110103162
Test: compiling
Change-Id: I39bf3f4cff57018bec87dcb3e8dfee522121d85b
I was planning to use it from platform tests, but managed to avoid this.
Bug: 110103162
Test: TaplTests
Change-Id: Ic7bd6afe2097d64f8baca59b74d61e2ff7ff9c76
See atp for failed tests.
Widget container may return objects outside of screen, hence the test
failures.
Test: AddConfigWidgetTest.com.android.launcher3.ui.widget.AddConfigWidgetTest etc
Change-Id: Ia402dae0c9bc8f0585e57ac5f562a59e8ff4ed53
UiDevice, the old param, belongs to a support lib; as TAPL switched to
AndroidX, it became impossible to pass it from platform tests
that still use the old support lib.
Bug: 110103162
Test: TaplTests
Change-Id: I1f82099b432912fa40da96df0d6179579aab66a3
From ~245 to ~150 sec.
Done by removing testing behaviors that don't depend on QS from tests
marked with QuickstepOnOff attribute.
Also fixing a bug that went unnoticed: now restoring Launcher QS mode
after each test.
Bug: 110103162
Test: TaplTests suite
Change-Id: I715158b47ac1e370f578b8d4f13d9633283763fe
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
Hiding workspace from tests when in AllApps or Overview.
Also, we don’t need workspace_page_container.
Bug: 110103162
Test: Running TaplTests suite
Change-Id: I10875a1ce5d41a015c63034160676578f52d2e98
Done by scrolling only when scroll position is not zero. This way, the
scroll gesture can't close All Apps.
Bug: 110103162
Test: TaplTests suite
Change-Id: Icfe47d2bcc0210ae221df169d6c35cd1be10ff86
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
The public API of the library has finalized; flakiness has been removed;
code polished.
Bug: 110103162
Test: TaplTests suite
Change-Id: Ic156bbfeedb1cb9c4a48ef907f97e396e8e81936
Error prone complains when trying to merge launcher3 code to platform pi-dev.
"This looks like a test method but is not run; please add @Test and @Ignore,
or, if this is a helper method, reduce its visibility."
Output:
Executing tasks: [:assembleGoogleDebug, :assembleGoogleDebugAndroidTest]
Gradle build finished in 1s 631ms
Tests Ignored: 1 passed, 4 ignored
Bug: 78589564
Change-Id: Icde57fd8307e1ef409822d1417f629cd1aaa57ba
Error prone complains when trying to merge launcher3 code to platform pi-dev.
"This looks like a test method but is not run; please add @Test and @Ignore,
or, if this is a helper method, reduce its visibility."
Change-Id: I95f55b95d8f7752c9c941f0828ca22d6427528c6