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.java214 TestEnv.FILE_GIF.documentId)); in testLaunchToDocuments()
216 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments()
219 assertTrue(mHandler.launchToDocument(TestEnv.FILE_GIF.derivedUri)); in testLaunchToDocuments()
240 TestEnv.FILE_GIF.documentId)); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
242 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
247 treeBaseUri, TestEnv.FILE_GIF.documentId); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
254 mEnv.docs.lastUri.assertLastArgument(TestEnv.FILE_GIF.derivedUri); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
267 .setNextChildDocumentsReturns(TestEnv.FILE_APK, TestEnv.FILE_GIF); in testLoadChildrenDocuments()
278 assertEquals(TestEnv.FILE_GIF, mEnv.model.getDocument(modelIds[1])); in testLoadChildrenDocuments()
425 .setNextChildDocumentsReturns(TestEnv.FILE_APK, TestEnv.FILE_GIF); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java182 TestEnv.FILE_GIF.documentId)); in testInitLocation_LaunchToDocuments()
184 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testInitLocation_LaunchToDocuments()
189 intent.putExtra(DocumentsContract.EXTRA_INITIAL_URI, TestEnv.FILE_GIF.derivedUri); in testInitLocation_LaunchToDocuments()
431 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
443 assertContent(result, TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
483 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection()
495 assertContent(result, TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection()
602 mHandler.onDocumentOpened(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem()
638 mHandler.onDocumentOpened(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_noQuickViewer()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java113 mEnv.selectDocument(TestEnv.FILE_GIF); in setUp()
303 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_DefaultsToView()
332 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_PreviewsWhenResourceSet()
616 mHandler.showInspector(TestEnv.FILE_GIF); in testShowInspector()
621 assertHasData(intent, TestEnv.FILE_GIF.derivedUri); in testShowInspector()
631 mHandler.showInspector(TestEnv.FILE_GIF); in testShowInspector_DebugDisabled()
643 mHandler.showInspector(TestEnv.FILE_GIF); in testShowInspector_DebugEnabled()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java54 public static DocumentInfo FILE_GIF; field in TestEnv
166 FILE_GIF = model.createFile("glibby.gif"); in reset()