android.media.cts.StreamingMediaPlayer Test#testHTTP_H264Base_AAC_V...
时间:10-02
整理:3721RD
点击:
mt6735 [CTS Fail]android.media.cts.Streaming Media Player Test#testHTTP_H264Base_AAC_Video
[DESCRIPTION]
Testcase: android.media.cts.StreamingMediaPlayerTest#
testHTTP_H264Base_AAC_Video1&testHTTP_H264Base_AAC_Video2
Reproduce: always fail
With CTS test tool: run cts -c android.media.cts.StreamingMediaPlayerTest
Error message:
junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError: expected:<480> but was:<640>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at junit.framework.Assert.assertEquals(Assert.java:205)
at android.media.cts.MediaPlayerTestBase$2.onVideoSizeChanged(MediaPlayerTest Base.java:232)
at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2129)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5165)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteI
Test logic Analysis:
The Above test case play a specified URL. And it specifies the video size
must be 480*270. If the player did not notify correct video size, the case fails.
We download the files through the URL when the case is NG. And we found it was 640*360 video file, not 480*270 file.
We compared the files downloaded at pass time and NG time. The video content is the same, just video size is different.
So we believe sometimes the server may changed the files.
We have tested Galaxy nexus for these cases. It also fails.
[SOLUTION]
already get feedback fROM Google, two fail case are google issue, can waive.
[DESCRIPTION]
Testcase: android.media.cts.StreamingMediaPlayerTest#
testHTTP_H264Base_AAC_Video1&testHTTP_H264Base_AAC_Video2
Reproduce: always fail
With CTS test tool: run cts -c android.media.cts.StreamingMediaPlayerTest
Error message:
junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError: expected:<480> but was:<640>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at junit.framework.Assert.assertEquals(Assert.java:205)
at android.media.cts.MediaPlayerTestBase$2.onVideoSizeChanged(MediaPlayerTest Base.java:232)
at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2129)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5165)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteI
Test logic Analysis:
The Above test case play a specified URL. And it specifies the video size
must be 480*270. If the player did not notify correct video size, the case fails.
We download the files through the URL when the case is NG. And we found it was 640*360 video file, not 480*270 file.
We compared the files downloaded at pass time and NG time. The video content is the same, just video size is different.
So we believe sometimes the server may changed the files.
We have tested Galaxy nexus for these cases. It also fails.
[SOLUTION]
already get feedback fROM Google, two fail case are google issue, can waive.
