Monkeyrunner Tests for Common Android Usage 12.05

Registered by Zach Pfeffer on 2012-03-28

All Android testing will be done using the Android Test Framework:

http://developer.android.com/guide/topics/testing/testing_android.html

Android specific tests will be organized under test/biglittle/apps and be included in

git://android.git.linaro.org/test/biglittle/apps.git

These tests will use monkeyrunner:

http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html

To run the following scenarios (all tests pass if the test completes) while a daemon auto switches the CPU between big and LITTLE states.

Switch back and forth between the default browser and maps
Switch back and forth between AngryBirds and the default browser
Switch back and forth between a 3-D game and the default browser
Suspend to SWFI
Wake from SWFI
Full suspend
Wake from full suspend
Play a local audio clip against software decode
Play a local audio clip against hardware decode
Play a local video against software decode
Play a local video against hardware decode
Play AngryBirds
Play a 3-D game
Make and complete a call
Check email
Do navigation
Do navigation and select a place to eat
Run 0xbench
Scroll a static webpage using the built-in browser
Scroll a page with included video using software decode using the built-in browser
Scroll a page with included video using hardware decode using the built-in browser
Play a software decoded YouTube clip
Play a hardware decode YouTube clip
Use Google Hangouts
Post a facebook update

The tests will be runnable on their own and be included in each build across all targets.

Blueprint information

Status:
Complete
Approver:
Zach Pfeffer
Priority:
High
Drafter:
vishal
Direction:
Approved
Assignee:
vishal
Definition:
Approved
Series goal:
Accepted for 2012q1
Implementation:
Implemented
Milestone target:
milestone icon 12.05
Started by
Zach Pfeffer on 2012-03-28
Completed by
Zach Pfeffer on 2012-05-29

Related branches

Sprints

Whiteboard

Notes:
[2012/3/27 pfefferz] Put notes here.
[2012/4/23 asac] please post updates as whiteboard comments more frequently. It's hard to understand where this blueprint stands from looking at it.
[2012/4/30] Moving to 12.05 and to Vishal who is driving this item.
[2012/4/30] Changing WI about using sw/hw codecs for media playback as it cannot be selected from userlevel api's . Currently these WI are blocked by the bug https://bugs.launchpad.net/linaro-android/+bug/979578
[2012/5/10 vishalbhoj] The above bug is now fixed and we are able to run the tests from http://android.git.linaro.org/git/test/linaro/android/system.git
[2012/5/22 vishalbhoj] The test for local audio and local video playback test are merged.

Meta:
Roadmap id: ANDROID2012-Q1-TEST
Headline: Common Android usage tests available for big.LITTLE fastmodel targets
Acceptance: A selection of tests form the description have been implemented.

(?)

Work Items

Work items:
Get the tests from http://android.git.linaro.org/git/test/linaro/android/system.git working on big.Little fastmodels: DONE
Play a local audio clip with monkeyrunner on big.Little fastmodels: DONE
Play a local video clip with monkeyrunner on big.Little fastmodels: DONE
Verify tests work: DONE
Write test documentation: DONE
Run in LAVA: DONE

This blueprint contains Public information 
Everyone can see this information.