IT. Expert System.

Android Reference

SearchRecentSuggestionsProviderTest


android.provider

Class SearchRecentSuggestionsProviderTest



  • public class SearchRecentSuggestionsProviderTest
    extends ProviderTestCase2<TestProvider>
    ProviderTestCase that performs unit tests of SearchRecentSuggestionsProvider. You can run this test in isolation via the commands: $ (cd tests/FrameworkTests/ && mm) && adb sync $ adb shell am instrument -w \ -e class android.provider.SearchRecentSuggestionsProviderTest com.android.frameworktest.tests/android.test.InstrumentationTestRunner
    • Constructor Detail

      • SearchRecentSuggestionsProviderTest

        public SearchRecentSuggestionsProviderTest()
    • Method Detail

      • testSetup

        public void testSetup()
        Simple test to see if we can instantiate the whole mess.
      • testOneQuery

        public void testOneQuery()
        Simple test to see if we can write and read back a single query
      • testMixedQueries

        public void testMixedQueries()
        Simple test to see if we can write and read back a diverse set of queries
      • testReordering

        public void testReordering()
        Test that the reordering code works properly. The most recently injected queries should replace existing queries and be sorted to the top of the list.
      • testPruning

        public void testPruning()
        Test that the pruning code works properly, The database should not go beyond 250 entries, and the oldest entries should always be discarded first. TODO: This is a slow test, do we have annotation for that?
      • testClear

        public void testClear()
        Test that the clear history code works properly.


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: 76 / 158860680. Delta: 0.04628 с