diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-14 15:41:24 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-05-14 17:11:55 -0700 |
commit | c2289b3d15b93397bde2c9e6a35a995dea191fdb (patch) | |
tree | 5d275c3a3924bb772285a83b0d0a2d0cdfd0af16 /tests/src | |
parent | a812d28bfdac171e726d6b865e7ea5cfda24d924 (diff) |
Change VM playback fragment layout.
- Remove increase/decrease playback rate functionality.
- Flip button controls below the scrubber.
- Delete TextController.
Bug: 20433758
Change-Id: Id628bac0c9f8baed014079f2a89ce912fd2bb549
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/com/android/dialer/CallDetailActivityTest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/src/com/android/dialer/CallDetailActivityTest.java b/tests/src/com/android/dialer/CallDetailActivityTest.java index f9f0a5846..15e90fcf6 100644 --- a/tests/src/com/android/dialer/CallDetailActivityTest.java +++ b/tests/src/com/android/dialer/CallDetailActivityTest.java @@ -155,7 +155,6 @@ public class CallDetailActivityTest extends ActivityInstrumentationTestCase2<Cal setActivityIntentForTestVoicemailEntry(); startActivityUnderTest(); mTestUtils.clickButton(mActivityUnderTest, R.id.playback_start_stop); - mTestUtils.clickButton(mActivityUnderTest, R.id.rate_increase_button); } /** Test for bug where missing Extras on intent used to start Activity causes NPE. */ @@ -188,30 +187,6 @@ public class CallDetailActivityTest extends ActivityInstrumentationTestCase2<Cal assertTrue(menu.findItem(R.id.menu_remove_from_call_log).isVisible()); } - /** - * Test to show that we are correctly displaying playback rate on the ui. - * <p> - * See bug http://b/5044075. - */ - @Suppress - public void testVoicemailPlaybackRateDisplayedOnUi() throws Throwable { - setActivityIntentForTestVoicemailEntry(); - startActivityUnderTest(); - // Find the TextView containing the duration. It should be initially displaying "00:00". - List<TextView> views = mTestUtils.getTextViewsWithString(mActivityUnderTest, "00:00"); - assertEquals(1, views.size()); - TextView timeDisplay = views.get(0); - // Hit the plus button. At this point we should be displaying "fast speed". - mTestUtils.clickButton(mActivityUnderTest, R.id.rate_increase_button); - assertEquals("fast speed", mTestUtils.getText(timeDisplay)); - // Hit the minus button. We should be back to "normal" speed. - mTestUtils.clickButton(mActivityUnderTest, R.id.rate_decrease_button); - assertEquals("normal speed", mTestUtils.getText(timeDisplay)); - // Wait for one and a half seconds. The timer will be back. - Thread.sleep(1500); - assertEquals("00:00", mTestUtils.getText(timeDisplay)); - } - @Suppress public void testClickingCallStopsPlayback() throws Throwable { setActivityIntentForRealFileVoicemailEntry(); |