Searched refs:takeScreenshot (Results 1 – 5 of 5) 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()
90 device.takeScreenshot(sceenshot); in onError()
267 return mDevice.takeScreenshot(scrOut); in captureScreenshot()
676 device.takeScreenshot(new File(fileName));