Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stub out the system clock in the download manager, add tests | Steve Howard | 2010-07-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Introduce SystemFacade, an interface that allows us to stub out the system clock for testing the download manager. This allows us to test retrying a failed download without having the test wait 60 seconds. This interface can include other dependencies in the future as well. I've also used this to add tests for 503 (retry-after) and 301 (redirect), and I've added a test for download to the cache partition. Other changes: * made MockWebServer capable of checking + rethrowing exceptions from child threads * refactoring + cleanup of DownloadManagerFunctionalTest | ||||
* | Don't inadvertantly include tests in the build. | Steve Howard | 2010-06-21 | 1 | -1/+2 |
| | | | | Change-Id: Ic57f0b66dd81da1b6acc7132f792b024e974f74c | ||||
* | Adjust DownloadProvider's makefile so its tests get built. | Brett Chabot | 2010-04-05 | 1 | -0/+3 |
| | | | | | | Bug 2562721 Change-Id: I7dfd73d4e30fcc5dc80c9ed024432c0b833a011a | ||||
* | explicit set an "optional" tag | Jean-Baptiste Queru | 2010-01-05 | 1 | -0/+2 |
| | |||||
* | auto import from //branches/cupcake/...@137197 | The Android Open Source Project | 2009-03-09 | 1 | -2/+0 |
| | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 1 | -0/+11 |
| | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 1 | -11/+0 |
| | |||||
* | Initial Contribution | The Android Open Source Project | 2008-10-21 | 1 | -0/+11 |