libhybris
Test plan for component: libhybris
Ubuntu Package URL (LP): http://launchpad.net/ubuntu/+source/libhybris
Please contact the maintainer of this page or the hybris maintainers before editing this page is used by Landers and QA so is a critical document
Test Plan
This test plan is not supposed to be complete; use it to guide your manual testing so they dont miss big functional areas that are part in the component; also this should be used as guideline to inspire the exploratory testing which should be adapted smartly based on the real content of a MP
Libhybris is a core component that touches many different areas, and the behavior also depends a lot on the hardware used (and the binary drivers), so the best way to validate it is via exploratory testing (on many different areas).
Installing libhybris
- Install latest image on phone
- Install freshly build libhybris packages that are needed for landing and reboot
Tests
Note Only Run Cases That Apply To The Hardware Under Test
- Power Button:
- With the device off, Press the power button: The device powers on.
- With the device on, Press and hold to the power button: The device powers off after 10 seconds.
- With the device on, Press and hold the power button for a few seconds and release
- Tap the power off option
- Tap the restart option
- With the device on, tap the power button: The devices screen blank and suspends
- With the device on and suspended, tap the power button: Device wakes and is at the welcome screen
- Display
- The device is on and unlocked: The display of the default scope is as expected no graphical anomalies.
- The device is on, open the browser app: Rotate the device screen rotates as expected.
- The device is on, scroll from scope to scope, tap on apps to open them: Touch events are as expected
- The device is on and connected to a Monitor, Use the screen as track pad/keyboard. (1 finger move, 2 fingers scroll, 3 fingers right click)
- The device is on, tap the Volume up+down buttons: snapshot the display
- Audio:
- Device is on with music available on device:
- Play audio with music-app, make sure it works as expected
- Shut down the screen confirm playback continues
- Change the volume in the indicator
- Change the volume with the volume up and down buttons
- Make the volume different to the ringer volume and then pause the music and see if it changes over
- Device is on with music available on device:
- Camera:
- Device is on camera app is open and using the Rear camera:
- Take a picture
- Force flash
- Auto flash cover light sensor
- Enable gps take a photo
- Take a video
- Device is on camera app is open and using the Front camera:
- Take a picture
- Take a video
- Device is on camera app is open and using the Rear camera:
- Video:
- The device is on and there are videos in the formats listed on the device, open the video from the scope in media player:
- Play an mp4 video
- Seek back and forward
- Play/puase
- Play an h.264 video
- Seek back and forward
- Play/pause
- Play captured videos from front and rear cameras
- Play an mp4 video
- The device is on and there are videos in the formats listed on the device, open the video from the scope in media player:
- Voice calls (keeping this section not so much for ofono testing but because the dialler is the only app that uses all the other functions):
- Device is on and using the dialler app, Ring out: Use the Earpiece, proximity sensor blanks screen
- Device is on and suspended, Ring in using silent mode: ensure phone vibrates and activates the screen
- Switch between the three audio sources: Rings through on bt. Audio switches from bt to loud speaker to earpiece
- Bluetooth:
- Device is on has music available and setup with the hardware below, using dialler or music app confirm the following:
- [Speaker] A2DP while playing sound via music-app
- [Hands Free/Car] HfP while doing a call
- Car System switches from music to calls
- Car system plays music
- Car system transfers addressbook
- Mouse Connect and triggers windows mode
- Keyboard connects and prevents osk, (For supported hardware triggers windowed mode)
- Phone is discoverable
- Device is on has music available and setup with the hardware below, using dialler or music app confirm the following:
- Wifi:
- Trigger Flight mode ensure wifi is dropped, disable flight mode wifi is reenabled and can connect to the internet.
- Device is on and connected to an ap, Walk out of range and back into range: confirm disconnect and reconnect
- Location:
- Device is on, Location is active: (Using unav or here or google maps, depending on location)
- Check AGPS give an instant position within 50 Metres
- Check GPS kicks in after a while and track accurately for more than 3 minutes.
- Attach to a pc adb shell in and watch -f /var/log/syslog, put the phone to sleep ensure that GPS is now stopped
- Device is on, Location is active: (Using unav or here or google maps, depending on location)
- Screen Brightness control:
- Device is on and usig the power indicator:
- Check if the brightness control works as before
- Set the brightness to automatic and cover the light sensor screen should dim
- Device is on and usig the power indicator:
- External devices:
- Hdmi out works with monitor
- Athercast out (Turbo and Frieza)
- Mtp in and out
- ADB in and out
- Device charges
- SDCARD (where available)
- Insert a card
- Card is scanned and contents appear in scopes
- Card can be safely unmounted using sdcard app
- Card is removed and content is no longer available on scopes
- Card is formatted using sdcard app
Process/Merges/TestPlan/libhybris (last edited 2016-07-06 08:59:43 by localhost)