Home
last modified time | relevance | path

Searched refs:assertDirectoryContains (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java32 import static android.scopedstorage.cts.lib.TestUtils.assertDirectoryContains;
688 assertDirectoryContains(otherAppPdf.getParentFile(), otherAppPdf); in testManageExternalStorageReaddir()
689 assertDirectoryContains(otherAppImg.getParentFile(), otherAppImg); in testManageExternalStorageReaddir()
690 assertDirectoryContains(otherAppMusic.getParentFile(), otherAppMusic); in testManageExternalStorageReaddir()
692 assertDirectoryContains(getExternalStorageDir(), otherTopLevelFile); in testManageExternalStorageReaddir()
695 assertDirectoryContains(getExternalStorageDir(), getDefaultTopLevelDirs()); in testManageExternalStorageReaddir()
1030 assertDirectoryContains(otherAppPdf.getParentFile(), otherAppPdf); in testNoIsolatedStorageStorageReaddir()
1031 assertDirectoryContains(otherAppImg.getParentFile(), otherAppImg); in testNoIsolatedStorageStorageReaddir()
1032 assertDirectoryContains(otherAppMusic.getParentFile(), otherAppMusic); in testNoIsolatedStorageStorageReaddir()
1034 assertDirectoryContains(getExternalStorageDir(), otherTopLevelFile); in testNoIsolatedStorageStorageReaddir()
[all …]
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java29 import static android.scopedstorage.cts.lib.TestUtils.assertDirectoryContains;
570 assertDirectoryContains(videoFile.getParentFile(), videoFile); in testCanDeleteAllFiles_hasRW()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java36 import static android.scopedstorage.cts.lib.TestUtils.assertDirectoryContains;
826 assertDirectoryContains(nonmediaFile.getParentFile(), nonmediaFile); in testListFilesFromExternalFilesDirectory()
853 assertDirectoryContains(videoFile.getParentFile(), videoFile); in testListFilesFromExternalMediaDirectory()
1961 assertDirectoryContains(getDownloadDir(), hiddenImageFile); in testCanCreateHiddenFile()
2121 assertDirectoryContains(dcimDir, hiddenImageFile); in testListHiddenFile()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1621 public static void assertDirectoryContains(@NonNull File dir, File... expectedContent) { in assertDirectoryContains() method in TestUtils