summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTaesu Lee <taesu82.lee@samsung.com>2020-03-04 09:33:19 +0900
committerLuca Stefani <luca.stefani.ge1@gmail.com>2020-03-16 16:29:45 +0100
commit5ca1c4339d38ea0091bd627db6b45cc1dec3b17c (patch)
treef17c73f4a6ee8ce260973ce48e398348d775bb47 /tests
parent4af66f74a2ff649844e01c8f7623955e744fa8bc (diff)
downloadandroid_packages_apps_Messaging-5ca1c4339d38ea0091bd627db6b45cc1dec3b17c.tar.gz
android_packages_apps_Messaging-5ca1c4339d38ea0091bd627db6b45cc1dec3b17c.tar.bz2
android_packages_apps_Messaging-5ca1c4339d38ea0091bd627db6b45cc1dec3b17c.zip
New interface to pick a contact as attachment
New ContactMediaChooser allows the user to pick a contact from contacts apps as attachment. Test: Manual Change-Id: Idb00cd8a3164a3cac859947affd5cbcc7e41b8c2 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java b/tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java
index eaf9338..4e7c2d2 100644
--- a/tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java
+++ b/tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java
@@ -103,7 +103,7 @@ public class MediaPickerTest extends FragmentTestCase<MediaPicker> {
final View view = mediaPicker.getView();
assertNotNull(view);
final ViewGroup tabStrip = (ViewGroup) view.findViewById(R.id.mediapicker_tabstrip);
- assertEquals(tabStrip.getChildCount(), 3);
+ assertEquals(tabStrip.getChildCount(), 4);
for (int i = 0; i < tabStrip.getChildCount(); i++) {
final ImageButton tabButton = (ImageButton) tabStrip.getChildAt(i);
assertEquals(View.VISIBLE, tabButton.getVisibility());
@@ -120,7 +120,7 @@ public class MediaPickerTest extends FragmentTestCase<MediaPicker> {
final View view = mediaPicker.getView();
assertNotNull(view);
final ViewGroup tabStrip = (ViewGroup) view.findViewById(R.id.mediapicker_tabstrip);
- assertEquals(tabStrip.getChildCount(), 3);
+ assertEquals(tabStrip.getChildCount(), 4);
for (int i = 0; i < tabStrip.getChildCount(); i++) {
final ImageButton tabButton = (ImageButton) tabStrip.getChildAt(i);
assertEquals(i == 0, tabButton.isSelected());