Google Compatibility Test Suite (CTS) User Manual Manuale Utente Pagina 7

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 21
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 6
14.For CTS versions 2.1 R2 through 4.2 R4, set up your device (or emulator) to run
the accessibility tests:
adbinstallr
androidcts/repository/testcases/CtsDelegatingAccessibilit
yService.apk
On the device, enable Settings > Accessibility > Accessibility > Delegating
Accessibility Service
15. For CTS 2.3 R4 and beyond on devices that require device administration, set up
your device to run the device administration tests:
adbinstallr
androidcts/repository/testcases/CtsDeviceAdmin.apk
On the device, enable the two
android.deviceadmin.cts.CtsDeviceAdminReceiver* device
administrators under Settings > Security > Select device administrators. Make
sure the
android.deviceadmin.cts.CtsDeviceAdminDeactivatedReceiver
stays disabled in the same menu.
Note: This test is not applicable for products that do not require device
administration, like TV or wearable devices.
16. For CTS 2.3 R12 and beyond, the CTS media files must be copied to the device's
external storage. (See section 3.4 for details.)
17. Press the home button to set the device to the home screen at the start of CTS.
18. While a device is running tests, it must not be used for any other tasks and must
be kept in a stationary position (to avoid triggering sensor activity).
19. Do not press any keys on the device while CTS is running. Pressing keys or
touching the screen of a test device will interfere with the running tests and
may lead to test failures.
20. Launch the browser and dismiss any startup/setup screen.
3.4. Copying media files to the device
Follow these instructions to copy the media files to a device:
1. Download the android-cts-media-X.Y.zip file from
http://source.android.com/compatibility/downloads.html and unzip it.
2. Connect the device to the computer and check that adb can connect to it.
3. Navigate (cd) to the unzipped folder.
4. Use ‘chmod’ to change the file permissions:
chmod544copy_media.sh
7
Vedere la pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 20 21

Commenti su questo manuale

Nessun commento