Follow storage API polishing.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 37325923, 35812899, 35806020
Change-Id: I4965b7391018354157f0683a643a14c5e9cd338d
This commit is contained in:
Jeff Sharkey
2017-04-17 09:31:33 -06:00
parent 339d117b46
commit b80f1ddaf0
7 changed files with 32 additions and 11 deletions

View File

@@ -81,7 +81,7 @@ public class MusicViewHolderControllerTest {
}
@Test
public void storageShouldRepresentStorageStatsQuery() {
public void storageShouldRepresentStorageStatsQuery() throws Exception {
when(mSource.getExternalStorageStats(any(String.class), any(UserHandle.class))).thenReturn(
new StorageStatsSource.ExternalStorageStats(1, 1, 0, 0));