Searched refs:takeScreenshot (Results 1 – 8 of 8) sorted by relevance
102 doReturn(mPngLogFile).when(listener).takeScreenshot(anyString()); in initListener()123 verify(mListener, times(i)).takeScreenshot(any()); in testSavePngAsFile()241 screenshotSaveVerifier.verify(mListener).takeScreenshot(matches("^.*[^1].png$")); in testSavesIterations()246 .takeScreenshot(endsWith(String.format("%d-screenshot-on-failure.png", i + 1))); in testSavesIterations()252 xmlSaveVerifier.verify(mListener).takeScreenshot(matches("^.*[^1]$")); in testSavesIterations()
123 File img = takeScreenshot(pngFileName); in onTestFail()139 public File takeScreenshot(String fileName) { in takeScreenshot() method in ScreenshotOnFailureCollector164 .takeScreenshot().compress(Bitmap.CompressFormat.PNG, mQuality, out); in screenshotToStream()
70 protected fun takeScreenshot( in <lambda>() method158 val bitmap = takeScreenshot(mode, viewProvider, checkView, subviewId) in <lambda>()
141 device.takeScreenshot(screenshot); in takeDebugScreenshot()
131 mUiDevice.takeScreenshot(f); in takeScreenshotToFile()
463 return mDevice.takeScreenshot(scrOut); in captureScreenshot()
504 return mDevice.takeScreenshot(scrOut); in captureScreenshot()
676 device.takeScreenshot(new File(fileName));