ofono

Revision 19 as of 2014-06-03 12:22:43

Clear message

Description

This is a test plan for ofono as used by Ubuntu Touch. It does not cover scenarios and/or test cases for ofono installed on the desktop.

Dependants/Clients

  • connectivity-api
  • network-manager
  • powerd
  • telepathy-ofono
  • Dialer / Messaging Apps
  • network-indicator
  • urfkill

Test Plan

Test target device: Nexus 4 with active SIM card Secondary/backup device: TBD

Initial set up:

  • Install latest image on phone
  • Build package containing the code to be landed, push them to and install them on the device
  • Reboot the phone

Manual Tests

Most of the tests below use one or more scripts from the ofono-scripts packages. They're installed by default in the directory /usr/share/ofono/scripts.

Basic Tests

These tests should be run for every upload, as they cover the basic functionality that ofono provides.

  • Test that the device can make outgoing phone calls, and receive incoming phone calls
  • Test that the device can sent outgoing text messages, and receive incoming text messages
  • Test that incoming phone calls and text messages wake the device when the screen is off
  • Test that mobile data connection works by testing Internet connectivity ( launch the browser )

Dialer / Messaging Autopilot

The Dialer and Message Apps are dependent on ofono, although they use the phonesim driver vs. the usual rilmodem driver used on actual Touch devices. If a change is being made to the ofono core, plugins, or the upstart job ( packaged as ofono.override in lxc-android-config, then these autopilot tests should be run on the device. This can be done by running the following steps:

  • make the device writable
  • apt-get install dialer-app-autopilot messaging-app-autopilot
  • reboot the device
  • On the desktop run the following command to run the tests:
    • phablet-test-run dialer_app
    • phablet-test-run messaging_app

When finished, run apt-get purge ofono-phonesim-autostart.

Note - it's also a good idea to run these tests on one or more non-RIL devices such as manta or flow to ensure that core ofono changes have not caused any issues with the ofono-phonesim package.


The following is the list of function-specific test plans: