Searched refs:assertDirectoryContains (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 24 import static android.scopedstorage.cts.lib.TestUtils.assertDirectoryContains; 421 assertDirectoryContains(otherAppPdf.getParentFile(), otherAppPdf); in testManageExternalStorageReaddir() 422 assertDirectoryContains(otherAppImg.getParentFile(), otherAppImg); in testManageExternalStorageReaddir() 423 assertDirectoryContains(otherAppMusic.getParentFile(), otherAppMusic); in testManageExternalStorageReaddir() 425 assertDirectoryContains(getExternalStorageDir(), otherTopLevelFile); in testManageExternalStorageReaddir() 428 assertDirectoryContains(getExternalStorageDir(), getDefaultTopLevelDirs()); in testManageExternalStorageReaddir() 747 assertDirectoryContains(otherAppPdf.getParentFile(), otherAppPdf); in testNoIsolatedStorageStorageReaddir() 748 assertDirectoryContains(otherAppImg.getParentFile(), otherAppImg); in testNoIsolatedStorageStorageReaddir() 749 assertDirectoryContains(otherAppMusic.getParentFile(), otherAppMusic); in testNoIsolatedStorageStorageReaddir() 751 assertDirectoryContains(getExternalStorageDir(), otherTopLevelFile); in testNoIsolatedStorageStorageReaddir() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 27 import static android.scopedstorage.cts.lib.TestUtils.assertDirectoryContains; 543 assertDirectoryContains(videoFile.getParentFile(), videoFile); in testCanDeleteAllFiles_hasRW()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 34 import static android.scopedstorage.cts.lib.TestUtils.assertDirectoryContains; 805 assertDirectoryContains(nonmediaFile.getParentFile(), nonmediaFile); in testListFilesFromExternalFilesDirectory() 832 assertDirectoryContains(videoFile.getParentFile(), videoFile); in testListFilesFromExternalMediaDirectory() 1831 assertDirectoryContains(getDownloadDir(), hiddenImageFile); in testCanCreateHiddenFile() 1991 assertDirectoryContains(dcimDir, hiddenImageFile); in testListHiddenFile()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1145 public static void assertDirectoryContains(@NonNull File dir, File... expectedContent) { in assertDirectoryContains() method in TestUtils
|