Searched refs:createAndEmptyDirectory (Results 1 – 12 of 12) sorted by relevance
86 doReturn(mLogDir).when(listener).createAndEmptyDirectory(anyString()); in initListener()100 verify(mListener).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestRunCollector()136 verify(mListener).createAndEmptyDirectory("unique/bs/dir"); in testTestRunSaveToSpecifiedDirCollector()148 verify(mListener, times(0)).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestRunToBytesCollector()194 verify(mListener).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestCaseCollector()
101 doReturn(mLogDir).when(listener).createAndEmptyDirectory(anyString()); in initListener()114 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSavePngAsFile()156 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSaveUixAsFile()194 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testNoUixWithoutOption()230 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSavesIterations()
92 doReturn(mLogDir).when(listener).createAndEmptyDirectory(anyString()); in initListener()110 verify(mListener).createAndEmptyDirectory(ScreenRecordCollector.OUTPUT_DIR); in testScreenRecord()
113 doReturn(null).when(mListener).createAndEmptyDirectory(anyString()); in testFailCollectIfNoDestinationDirectory()
89 Mockito.doReturn(mLogDir).when(listener).createAndEmptyDirectory(Mockito.anyString()); in initListener()
58 File result = createAndEmptyDirectory(DIRECTORY_NAME); in onTestRunStart()
74 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart()
59 mDestDir = createAndEmptyDirectory(OUTPUT_DIR); in onTestRunStart()
99 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
97 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
97 File destDir = createAndEmptyDirectory(destination.getParent().toString()); in TimeSeriesCsvWriter()
299 public File createAndEmptyDirectory(String dir) { in createAndEmptyDirectory() method in BaseMetricListener