IT. Expert System.

Android Reference

BluetoothRebootStressTest


android.bluetooth

Class BluetoothRebootStressTest



  • public class BluetoothRebootStressTest
    extends InstrumentationTestCase
    Instrumentation test case for stress test involving rebooting the device.

    This test case tests that bluetooth is enabled after a device reboot. Because the device will reboot, the instrumentation must be driven by a script on the host side.

    • Constructor Detail

      • BluetoothRebootStressTest

        public BluetoothRebootStressTest()
    • Method Detail

      • tearDown

        protected void tearDown()
                         throws Exception
        Description copied from class: InstrumentationTestCase
        Make sure all resources are cleaned up and garbage collected before moving on to the next test. Subclasses that override this method should make sure they call super.tearDown() at the end of the overriding method.
        Overrides:
        tearDown in class InstrumentationTestCase
        Throws:
        Exception
      • testStart

        public void testStart()
        Test method used to start the test by turning bluetooth on.
      • testMiddleNoToggle

        public void testMiddleNoToggle()
        Test method used in the middle iterations of the test to check if bluetooth is on. Does not toggle bluetooth after the check. Assumes that bluetooth has been turned on by #testStart()
      • testMiddleToggle

        public void testMiddleToggle()
        Test method used in the middle iterations of the test to check if bluetooth is on. Toggles bluetooth after the check. Assumes that bluetooth has been turned on by #testStart()
      • testStop

        public void testStop()
        Test method used in the stop the test by turning bluetooth off. Assumes that bluetooth has been turned on by #testStart()


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 134 / 158855468. Delta: 0.03817 с