IT. Expert System.

Android Reference

DatabasePerformanceTests.PerformanceBase


android.database

Class DatabasePerformanceTests.PerformanceBase

    • Constructor Detail

      • DatabasePerformanceTests.PerformanceBase

        public DatabasePerformanceTests.PerformanceBase()
    • Method Detail

      • setUp

        public void setUp(Context c)
        Description copied from interface: TestCase
        Called before run() is called.
        Specified by:
        setUp in interface TestCase
      • tearDown

        public void tearDown()
        Description copied from interface: TestCase
        Called after run() is called, even if run() threw an exception, but not if setUp() threw an execption.
        Specified by:
        tearDown in interface TestCase
      • isPerformanceOnly

        public boolean isPerformanceOnly()
        Description copied from interface: PerformanceTestCase
        This method is used to determine what modes this test case can run in.
        Specified by:
        isPerformanceOnly in interface PerformanceTestCase
        Returns:
        true if this test case can only be run in performance mode.
      • startPerformance

        public int startPerformance(PerformanceTestCase.Intermediates intermediates)
        Description copied from interface: PerformanceTestCase
        Set up to begin performance tests. The 'intermediates' is a communication channel to send back intermediate performance numbers -- if you use it, you will probably want to ensure your test is only executed once by returning 1. Otherwise, return 0 to allow the test harness to decide the number of iterations.

        If you return a non-zero iteration count, you should call intermediates.startTiming and intermediates.endTiming to report the duration of the test whose performance should actually be measured.

        Specified by:
        startPerformance in interface PerformanceTestCase
        Parameters:
        intermediates - Callback for sending intermediate results.
        Returns:
        int Maximum number of iterations to run, or 0 to let the caller decide.
      • run

        public void run()
        Description copied from interface: Runnable
        Starts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implements Runnable.
        Specified by:
        run in interface Runnable
      • numberName

        public String numberName(int number)


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: 1490 / 96489989. Delta: 0.05121 с