summaryrefslogtreecommitdiffstats
path: root/core/tests/coretests/src/android/app/DownloadManagerIntegrationTest.java
Commit message (Collapse)AuthorAgeFilesLines
* fix downloadmanager tests. add few more. fix some. isolate flaky onesVasu Nori2010-12-161-590/+0
| | | | | | | | | | | | | | | | | | | | the following work frameworks/base/core/tests/coretests/src/android/app/DownloadManagerFunctionalTest.java ideally, most of the tests in this should be moved to cts testsuite. will require reformatting of comments and probably removal of one or two tests using hidden public API. packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/DownloadManagerFunctionalTest.java packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/PublicApiFunctionalTest.java packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ThreadingTest.java packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/PublicApiAccessTest.java packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/DownloadProviderPermissionsTest.java the following need work frameworks/base/core/tests/coretests/src/android/app/DownloadManagerStressTest.java some of these tests fail in a flaky way. they need work Change-Id: Ib64645005a8f5faa32e0b9a4c5cacfe6e6ae3063
* A little tweaking of DL Manager tests and adding better debugging output.Neal Nguyen2010-10-291-5/+7
| | | | | | | | | | | | Adding more detail to the output logging to help track down issues, fixing some download completed notification counter flakiness and making reboot test more robust, and reducing the number of concurrent downloads in testMultipleDownloads() to 10. After talking with Vasu, this is probably more appropriate as it is closer to typical usage scenarios, and as a side effect should trim some time from the test runs. Large numbers of downloads will be left for stress testing. Change-Id: Ie337cfe9b8d27299d70553e39c60e241ff3afe66
* Fixing some flakiness of some DL Manager tests.Neal Nguyen2010-10-041-3/+2
| | | | Change-Id: Ie9ad4d20b8f980480ce730c7c95876d0954db8b2
* Have download manager give more details when downloads are pausedSteve Howard2010-09-291-4/+4
| | | | | | | | | | | | | | | | | This change introduces more detailed reporting of why downloads are paused in the download manager. First, it adds new, more detailed status constants in android.provider.Downloads for when a download is paused, in place of the old catch-all STATUS_RUNNING_PAUSED. I've eliminated some dead code there as well to ease the change. Second, in the public API, it changes COLUMN_ERROR_CODE to COLUMN_REASON, which now reports useful info for STATUS_PAUSED in addition to STATUS_FAILED. It adds some new PAUSED_* constants for reason values when a download is paused, and adds code to generate these values appropriately. Change-Id: Ie617d1c2c59357375e19466086923ace5e2fb122
* Move DownloadManager to android.app (DO NOT MERGE)Steve Howard2010-09-271-0/+589
Changing package at hackbod's request. I'll merge this manually, as there's some additional master-only code that will be to be simultaneously changed. Change-Id: Ibb629ec1c31807fbee31e0193c6a941d04be0117