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.java125 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId)); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
126 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
128 mHandler.openContainerDocument(TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
133 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
145 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
147 mHandler.openContainerDocument(TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
152 assertEquals(TestEnv.FOLDER_2, mEnv.state.stack.pop()); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
169 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
172 TestEnv.FOLDER_1, TestEnv.FOLDER_2, TestEnv.FILE_ARCHIVE); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
181 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()
742 mManager.updateState(mUpdateShadowView, TestProvidersAccess.HAMMY, TestEnv.FOLDER_2); in testDrop_Rejects_RootNotSupportCreate_DropOnDocument()
745 TestProvidersAccess.HAMMY, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Rejects_RootNotSupportCreate_DropOnDocument()
761 mManager.updateState(mUpdateShadowView, TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_2); in testDrop_Copies_DifferentRoot_DropOnDocument()
764 TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Copies_DifferentRoot_DropOnDocument()
783 mManager.updateState(mUpdateShadowView, TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_2); in testDrop_Moves_SameRoot_DropOnDocument()
786 TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testDrop_Moves_SameRoot_DropOnDocument()
805 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.java265 mEnv.state.stack.push(TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
269 mHandler.pickDocument(null, TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
281 assertContent(result, TestEnv.FOLDER_2.derivedUri); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
291 mEnv.state.stack.push(TestEnv.FOLDER_2); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
296 TestEnv.FOLDER_2.authority, TestEnv.FOLDER_2.documentId); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
310 TestProvidersAccess.HOME.authority, TestEnv.FOLDER_2.documentId)); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java48 public static DocumentInfo FOLDER_2; field in TestEnv
150 FOLDER_2 = model.createFolder("folder 2"); in reset()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java691 mEnv.state.stack.push(TestEnv.FOLDER_2); in testShowInspector_OverridesRootDocumentNameX()