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.java132 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId)); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
133 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
135 mHandler.openContainerDocument(TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
140 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
152 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
154 mHandler.openContainerDocument(TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
159 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
176 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
179 TestEnv.FOLDER_1, TestEnv.FOLDER_2, TestEnv.FILE_ARCHIVE); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
188 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.java292 mEnv.state.stack.push(TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
296 mHandler.pickDocument(null, TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
308 assertContent(result, TestEnv.FOLDER_2.derivedUri); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
318 mEnv.state.stack.push(TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
323 TestEnv.FOLDER_2.authority, TestEnv.FOLDER_2.documentId); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
337 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
162 FOLDER_2 = model.createFolder("folder 2"); in reset()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java674 mEnv.state.stack.push(TestEnv.FOLDER_2); in testShowInspector_OverridesRootDocumentNameX()