IT. Expert System.

Android Reference

ComponentTest


android.content.pm

Class ComponentTest



  • public class ComponentTest
    extends AndroidTestCase
    Tests for disabling and enabling application components. Note: These tests are on the slow side. This is probably because most of the tests trigger the package settings file to get written out by the PackageManagerService. Better, more unit-y test would fix this.
    • Constructor Detail

      • ComponentTest

        public ComponentTest()
    • Method Detail

      • testResolveDisabledActivity

        public void testResolveDisabledActivity()
                                         throws Exception
        Throws:
        Exception
      • testResolveEnabledActivity

        public void testResolveEnabledActivity()
                                        throws Exception
        Throws:
        Exception
      • testQueryDisabledActivity

        public void testQueryDisabledActivity()
                                       throws Exception
        Throws:
        Exception
      • testQueryEnabledActivity

        public void testQueryEnabledActivity()
                                      throws Exception
        Throws:
        Exception
      • testGetDisabledActivityInfo

        public void testGetDisabledActivityInfo()
                                         throws Exception
        Throws:
        Exception
      • testGetEnabledActivityInfo

        public void testGetEnabledActivityInfo()
                                        throws Exception
        Throws:
        Exception
      • testDisableActivity

        public void testDisableActivity()
                                 throws Exception
        Throws:
        Exception
      • testResolveDisabledService

        public void testResolveDisabledService()
                                        throws Exception
        Throws:
        Exception
      • testResolveEnabledService

        public void testResolveEnabledService()
                                       throws Exception
        Throws:
        Exception
      • testQueryDisabledService

        public void testQueryDisabledService()
                                      throws Exception
        Throws:
        Exception
      • testQueryEnabledService

        public void testQueryEnabledService()
                                     throws Exception
        Throws:
        Exception
      • testGetDisabledServiceInfo

        public void testGetDisabledServiceInfo()
                                        throws Exception
        Throws:
        Exception
      • testGetEnabledServiceInfo

        public void testGetEnabledServiceInfo()
                                       throws Exception
        Throws:
        Exception
      • testQueryDisabledReceiver

        public void testQueryDisabledReceiver()
                                       throws Exception
        Throws:
        Exception
      • testQueryEnabledReceiver

        public void testQueryEnabledReceiver()
                                      throws Exception
        Throws:
        Exception
      • testGetDisabledReceiverInfo

        public void testGetDisabledReceiverInfo()
                                         throws Exception
        Throws:
        Exception
      • testGetEnabledReceiverInfo

        public void testGetEnabledReceiverInfo()
                                        throws Exception
        Throws:
        Exception
      • testDisableReceiver

        public void testDisableReceiver()
                                 throws Exception
        Throws:
        Exception
      • testResolveEnabledProvider

        public void testResolveEnabledProvider()
                                        throws Exception
        Throws:
        Exception
      • testResolveDisabledProvider

        public void testResolveDisabledProvider()
                                         throws Exception
        Throws:
        Exception
      • testDisableProvider

        public void testDisableProvider()
                                 throws Exception
        Throws:
        Exception
      • testQueryEnabledProvider

        public void testQueryEnabledProvider()
                                      throws Exception
        Throws:
        Exception
      • testQueryDisabledProvider

        public void testQueryDisabledProvider()
                                       throws Exception
        Throws:
        Exception
      • DISABLED_testResolveEnabledActivityInDisabledApp

        public void DISABLED_testResolveEnabledActivityInDisabledApp()
                                                              throws Exception
        Throws:
        Exception
      • DISABLED_testEnableApplication

        public void DISABLED_testEnableApplication()
                                            throws Exception
        Throws:
        Exception
      • DISABLED_testDisableApplication

        public void DISABLED_testDisableApplication()
                                             throws Exception
        Throws:
        Exception
      • testNonExplicitResolveAfterEnabling

        public void testNonExplicitResolveAfterEnabling()
                                                 throws Exception
        Throws:
        Exception


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: 1376 / . Delta: 0.03445 с