IT. Expert System.

Android Reference

DatabaseCursorTest


android.database

Class DatabaseCursorTest

    • Constructor Detail

      • DatabaseCursorTest

        public DatabaseCursorTest()
    • Method Detail

      • 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.
      • testManyRowsTxtLong

        public void testManyRowsTxtLong()
                                 throws Exception
        Throws:
        Exception
      • testRequeryWithSelection

        public void testRequeryWithSelection()
                                      throws Exception
        Throws:
        Exception
      • testRequeryWithSelectionArgs

        public void testRequeryWithSelectionArgs()
                                          throws Exception
        Throws:
        Exception
      • testRequeryWithAlteredSelectionArgs

        public void testRequeryWithAlteredSelectionArgs()
                                                 throws Exception
        Throws:
        Exception
      • testCursorWindowFailureWhenTooManyCursorWindowsLeftOpen

        public void testCursorWindowFailureWhenTooManyCursorWindowsLeftOpen()
        sometimes CursorWindow creation fails due to non-availability of memory create another CursorWindow object. One of the scenarios of its occurrence is when there are too many CursorWindow objects already opened by the process. This test is for that scenario.


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: 430 / 158859478. Delta: 0.05143 с