IT. Expert System.

Android Reference

DownloadManagerStressTest


android.app

Class DownloadManagerStressTest



  • public class DownloadManagerStressTest
    extends DownloadManagerBaseTest
    Integration tests of the DownloadManager API.
    • Constructor Detail

      • DownloadManagerStressTest

        public DownloadManagerStressTest()
    • Method Detail

      • tearDown

        public void tearDown()
                      throws Exception
        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
      • testMultipleDownloads

        public void testMultipleDownloads()
                                   throws Exception
        Attempts to download several files simultaneously
        Throws:
        Exception
      • testDownloadLargeFile

        public void testDownloadLargeFile()
                                   throws Exception
        Tests trying to download a large file (50M bytes).
        Throws:
        Exception
      • testDownloadToCacheWithAlmostFullCache

        public void testDownloadToCacheWithAlmostFullCache()
                                                    throws Exception
        Tests downloading a file to system cache when there isn't enough space in the system cache to hold the entire file. DownloadManager deletes enough files to make space for the new download.
        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: 293 / 158766191. Delta: 0.03520 с