Android CTS one function

android.media.cts.MediaPlayerTest          
-- testPlayMp3StreamNoLength fail junit.framework.AssertionFailedError at android.media.cts.MediaPlayerTest.streamTest(MediaPlayerTest.java:482)
-- testPlayOggStream                   fail java.io.IOException: setDataSource failed.: status=0x80000000 at android.media.MediaPlayer.setDataSource(Native Method)
-- testPlayOggStreamRedirect   fail java.io.IOException: setDataSource failed.: status=0x80000000 at android.media.MediaPlayer.setDataSource(Native Method)
-- testPlayOggStreamNoLength fail java.io.IOException: Prepare failed.: status=0x1 at android.media.MediaPlayer.prepare(Native Method)
 
adb -s 0123456789ABCDEF install -r CtsMediaTestCases.apk
adb -s 0123456789ABCDEF install -r CtsTestStubs.apk
adb shell am instrument -w -r -e class android.media.cts.MediaPlayerTest#testPlayMp3StreamNoLength com.android.cts.media/android.test.InstrumentationCtsTestRunner
 
adb -s 0123456789ABCDEF install -r CtsAppTestCases.apk
adb -s 0123456789ABCDEF install -r CtsTestStubs.apk
adb shell am instrument -w -r -e class android.app.cts.SystemFeaturesTest#testCameraFeatures com.android.cts.app/android.test.InstrumentationCtsTestRunner
 
adb devices list
adb -s 0123456789ABCDEF install -r CtsHardwareTestCases.apk
adb -s 0123456789ABCDEF install -r CtsTestStubs.apk
adb shell am instrument -w -r -e package android com.android.cts.hardware/android.test.InstrumentationTestRunner > cts_log.txt

./adb install -r CtsHardwareTestCases.apk
./adb install -r CtsTestStubs.apk
./adb shell am instrument -w -r -e class android.hardware.cts.CameraTest#testLockUnlock com.android.cts.hardware/android.test.InstrumentationTestRunner 

 

================

run cts -c android.hardware.cts.CameraTest

run cts -c android.media.cts.CamcorderProfileTest -m testGetWithId

posted on 2011-08-29 10:21  eustoma  阅读(2467)  评论(0编辑  收藏  举报

导航