Android CTS one function

Source: Internet
Author: User

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 0123456789 abcdef install-r ctsmediatestcases.apk
ADB-s 0123456789 abcdef 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 0123456789 abcdef install-r ctsapptestcases.apk
ADB-s 0123456789 abcdef 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 0123456789 abcdef install-r ctshardwaretestcases.apk
ADB-s 0123456789 abcdef 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.