diff options
author | Ryanne Cheng <ryannecheng@google.com> | 2020-05-21 19:15:32 +0800 |
---|---|---|
committer | Ryanne Cheng <ryannecheng@google.com> | 2020-05-21 19:16:51 +0800 |
commit | a869accebcec798c572423be0349bddead95fe4d (patch) | |
tree | 17a0adc3cd73b6bb420cc02e9b801163363ba46b | |
parent | f6659b17c23b8bc029a1d8e98ef52603ad267211 (diff) | |
download | platform_testing-a869accebcec798c572423be0349bddead95fe4d.tar.gz |
Add FlingPage method to Contacts interface
Bug: 132560600
Test: make PlatformScenarioTests; install; instrument
Change-Id: I31e49bfd8d692b08d0e34195490380c246279847
-rw-r--r-- | libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java b/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java index 7ef499caa..610409bb2 100644 --- a/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java +++ b/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java @@ -16,6 +16,8 @@ package android.platform.helpers; +import android.support.test.uiautomator.Direction; + public interface IContactsHelper extends IAppHelper { /** * Setup expectation: Contacts is open @@ -60,4 +62,15 @@ public interface IContactsHelper extends IAppHelper { public default void chooseContactByIndex(int index) { throw new UnsupportedOperationException("Not yet implemented."); } + + /** + * Setup expectations: Contacts is open. + * + * <p>Fling contacts page. + * + * @param direction The direction to fling the page. + */ + public default void flingPage(Direction direction) { + throw new UnsupportedOperationException("Not yet implemented."); + } } |