Home
last modified time | relevance | path

Searched refs:assertCalled (Results 1 – 15 of 15) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java138 mActivity.restoreRootAndDirectory.assertCalled(); in testInitLocation_RestoresIfStackIsLoaded()
196 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToDocuments()
209 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_RestoresLastAccessedStack()
238 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testOpenContainerDocument()
255 mActivity.finishedHandler.assertCalled(); in testIncreasePickCountRecordCalled()
283 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
312 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
341 mActivity.finishedHandler.assertCalled(); in testSaveDocument_SetsCorrectResultAndFinishes()
391 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
418 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DDocumentLoaderTest.java107 consumer.assertCalled(1000, TimeUnit.MILLISECONDS); in testLoadsDocument()
128 consumer.assertCalled(1000, TimeUnit.MILLISECONDS); in testInvalidInput()
158 consumer.assertCalled(1000, TimeUnit.MILLISECONDS); in testDir_loadNumberOfChildren()
186 consumer.assertCalled(100, TimeUnit.MILLISECONDS); in testLoadMetadata()
203 consumer.assertCalled(100, TimeUnit.MILLISECONDS); in testLoadMetadata_Unsupported()
DHeaderTextSelectorTest.java61 mTestSelector.assertCalled(); in testSimpleFileName()
77 mTestSelector.assertCalled(); in testLotsOfPeriodsInFileName()
90 mTestSelector.assertCalled(); in testNoPeriodsInFileName()
134 public void assertCalled() { in assertCalled() method in HeaderTextSelectorTest.TestSelector
DInspectorControllerTest.java192 mHeaderTestDouble.assertCalled(); in testUpdateViewWithValidInput()
193 mDetailsTestDouble.assertCalled(); in testUpdateViewWithValidInput()
235 mErrCallback.assertCalled(); in testUpdateView_withNullValue()
344 public void assertCalled() { in assertCalled() method in InspectorControllerTest.TestHeader
372 public void assertCalled() { in assertCalled() method in InspectorControllerTest.TestDetails
443 void assertCalled() { in assertCalled() method in InspectorControllerTest.TestRunnable
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java191 mActivity.startService.assertCalled(); in testDeleteSelectedDocuments_RecentsRoot()
192 mActionModeAddons.finishOnConfirmed.assertCalled(); in testDeleteSelectedDocuments_RecentsRoot()
395 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToStackLocation()
404 mActivity.restoreRootAndDirectory.assertCalled(); in testInitLocation_RestoresIfStackIsLoaded()
504 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToDocuments()
605 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testOnActivityResult_onOK()
622 mActivity.startActivity.assertCalled(); in testShowInspector()
693 mActivity.rootPicked.assertCalled(); in assertRootPicked()
702 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in assertRecentPicked()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DCommandInterceptorTest.java52 mCommand0.assertCalled(); in testTriesAllCommands()
53 mCommand1.assertCalled(); in testTriesAllCommands()
60 mCommand0.assertCalled(); in testStopsAfterCommandHandled()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java218 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testLaunchToDocuments()
248 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
DDragAndDropManagerTests.java817 mShadowUpdateListener.assertCalled(); in assertStateUpdated()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestConfirmationCallback.java48 public void assertCalled() { in assertCalled() method in TestConfirmationCallback
DTestEventListener.java47 public void assertCalled() { in assertCalled() method in TestEventListener
DTestEventHandler.java48 public void assertCalled() { in assertCalled() method in TestEventHandler
DLatchedConsumer.java37 public void assertCalled(long timeout, TimeUnit unit) in assertCalled() method in LatchedConsumer
DTestPredicate.java54 public void assertCalled() { in assertCalled() method in TestPredicate
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragHostTest.java92 mDragAndDropManager.dropOnDocumentHandler.assertCalled(); in testHandleDrop_onValidView()
DDragStartListenerTest.java117 mManager.startDragHandler.assertCalled(); in testDragStarted_OnMouseMove()