Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java171 TestEnv.FILE_GIF.documentId)); in testLaunchToDocuments()
173 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments()
176 assertTrue(mHandler.launchToDocument(TestEnv.FILE_GIF.derivedUri)); in testLaunchToDocuments()
197 TestEnv.FILE_GIF.documentId)); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
199 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
204 treeBaseUri, TestEnv.FILE_GIF.documentId); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
211 mEnv.docs.lastUri.assertLastArgument(TestEnv.FILE_GIF.derivedUri); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
224 .setNextChildDocumentsReturns(TestEnv.FILE_APK, TestEnv.FILE_GIF); in testLoadChildrenDocuments()
232 assertEquals(TestEnv.FILE_GIF, mEnv.model.getDocument(modelIds[1])); in testLoadChildrenDocuments()
240 .setNextChildDocumentsReturns(TestEnv.FILE_APK, TestEnv.FILE_GIF); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java143 TestEnv.FILE_GIF.documentId)); in testInitLocation_LaunchToDocuments()
145 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testInitLocation_LaunchToDocuments()
150 intent.putExtra(DocumentsContract.EXTRA_INITIAL_URI, TestEnv.FILE_GIF.derivedUri); in testInitLocation_LaunchToDocuments()
343 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
355 assertContent(result, TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
395 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection()
407 assertContent(result, TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java50 public static DocumentInfo FILE_GIF; field in TestEnv
137 FILE_GIF = model.createFile("glibby.gif"); in reset()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java98 mEnv.selectDocument(TestEnv.FILE_GIF); in setUp()
285 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_DefaultsToView()
314 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_PreviewsWhenResourceSet()