Home
last modified time | relevance | path

Searched refs:FOLDER_2 (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java157 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId)); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
158 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
160 mHandler.openContainerDocument(TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
165 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
177 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
179 mHandler.openContainerDocument(TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
184 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
201 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
204 TestEnv.FOLDER_1, TestEnv.FOLDER_2, TestEnv.FILE_ARCHIVE); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
213 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
DDragAndDropManagerTests.java222 assertFalse(mManager.canSpringOpen(TestProvidersAccess.HAMMY, TestEnv.FOLDER_2)); in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate()
267 assertTrue(mManager.canSpringOpen(TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_2)); in testCanSpringOpen()
315 mUpdateShadowView, TestProvidersAccess.HAMMY, TestEnv.FOLDER_2); in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate()
780 mManager.updateState(mUpdateShadowView, TestProvidersAccess.HAMMY, TestEnv.FOLDER_2); in testDrop_Rejects_RootNotSupportCreate_DropOnDocument()
783 TestProvidersAccess.HAMMY, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Rejects_RootNotSupportCreate_DropOnDocument()
799 mManager.updateState(mUpdateShadowView, TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_2); in testDrop_Copies_DifferentRoot_DropOnDocument()
802 TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Copies_DifferentRoot_DropOnDocument()
821 mManager.updateState(mUpdateShadowView, TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_2); in testDrop_Moves_SameRoot_DropOnDocument()
824 TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Moves_SameRoot_DropOnDocument()
843 mManager.updateState(mUpdateShadowView, TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_2); in testDrop_Copies_SameRoot_ReadOnlyFile_DropOnDocument()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java320 mEnv.state.stack.push(TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
324 mHandler.pickDocument(null, TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
336 assertContent(result, TestEnv.FOLDER_2.derivedUri); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
346 mEnv.state.stack.push(TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
351 TestEnv.FOLDER_2.authority, TestEnv.FOLDER_2.documentId); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
365 TestProvidersAccess.HOME.authority, TestEnv.FOLDER_2.documentId)); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java50 public static DocumentInfo FOLDER_2; field in TestEnv
163 FOLDER_2 = model.createFolder("folder 2"); in reset()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java719 mEnv.state.stack.push(TestEnv.FOLDER_2); in testShowInspector_OverridesRootDocumentNameX()