summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-11-11 00:03:17 -0800
committerJames Dong <jdong@google.com>2010-11-11 00:03:59 -0800
commitc5d4730ed1d7598a6c4f2b92efbafa2989b56670 (patch)
tree8083b29863bd491539a4b40782d07482ef0cb16b /media
parenta6689ddbba5d7d5e9ad7a07ae84a187497f18121 (diff)
downloadframeworks_base-c5d4730ed1d7598a6c4f2b92efbafa2989b56670.zip
frameworks_base-c5d4730ed1d7598a6c4f2b92efbafa2989b56670.tar.gz
frameworks_base-c5d4730ed1d7598a6c4f2b92efbafa2989b56670.tar.bz2
Fix testWAVSeekToEnd() testcase
The testcase does not depend on the availability of WMV decoder Change-Id: I983f6d5954242a28fb9818fa03447b4afe7ad3d1
Diffstat (limited to 'media')
-rw-r--r--media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
index 23bbb87..64ffa4e 100644
--- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
+++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
@@ -344,10 +344,8 @@ public class MediaPlayerApiTest extends ActivityInstrumentationTestCase<MediaFra
@LargeTest
public void testWAVSeekToEnd() throws Exception {
- if (isWMVEnable) {
- boolean isEnd = CodecTest.seekToEnd(MediaNames.WAV);
- assertTrue("WAV seekToEnd", isEnd);
- }
+ boolean isEnd = CodecTest.seekToEnd(MediaNames.WAV);
+ assertTrue("WAV seekToEnd", isEnd);
}
@MediumTest