Searched refs:remoteFile (Results 1 – 8 of 8) sorted by relevance
116 for (IFileEntry remoteFile : screenshotDir.getChildren(false)) { in postScreenshotOnFailure()117 if (remoteFile.isDirectory()) { in postScreenshotOnFailure()120 if (!remoteFile.getName().contains(test.getTestName())) { in postScreenshotOnFailure()122 + "test (%s)", remoteFile.getName(), test.getTestName()); in postScreenshotOnFailure()125 File screenshot = new File(tmpDir, remoteFile.getName()); in postScreenshotOnFailure()126 if (!getDevice().pullFile(remoteFile.getFullPath(), screenshot)) { in postScreenshotOnFailure()127 CLog.w("Could not pull screenshot: %s", remoteFile.getFullPath()); in postScreenshotOnFailure()
84 public File remoteFile = null; field in DynamicRemoteFileResolverTest.RemoteFileOption99 public File remoteFile = null; field in DynamicRemoteFileResolverTest.RemoteFileOptionWithOptionClass125 assertEquals("gs:/fake/path", object.remoteFile.getPath()); in testResolve()137 assertThat(object.remoteFile.getAbsolutePath()).isEqualTo(fake.getAbsolutePath()); in testResolve()152 assertEquals("gs:/fake/path?key=value", object.remoteFile.getPath()); in testResolveWithQuery()167 assertEquals(downloaded.getAbsolutePath(), object.remoteFile.getAbsolutePath()); in testResolveWithQuery()179 assertEquals("gs:/fake/path?key=value", object.remoteFile.getPath()); in testResolveWithQuery_overrides()195 assertEquals(downloaded.getAbsolutePath(), object.remoteFile.getAbsolutePath()); in testResolveWithQuery_overrides()206 assertEquals("gs:/fake/path?optional=true", object.remoteFile.getPath()); in testResolveOptional()444 assertEquals("gs:/fake/path", object.remoteFile.getPath()); in testResolve_withNoGlobalNameSpace()[all …]
89 String remoteFile, in getScpCommand() argument108 cmd.add(String.format("%s@%s:%s", user, hostName, remoteFile)); in getScpCommand()112 cmd.add(String.format("%s@%s:%s", user, hostName, remoteFile)); in getScpCommand()
557 File remoteFile = in logNestedRemoteFile() local560 if (remoteFile != null) { in logNestedRemoteFile()562 logFile(remoteFile, baseName, logger, type); in logNestedRemoteFile()567 File remoteFile, String baseName, ITestLogger logger, LogDataType type) { in logFile() argument568 if (remoteFile.isDirectory()) { in logFile()569 for (File f : remoteFile.listFiles()) { in logFile()573 try (InputStreamSource remoteFileStream = new FileInputStreamSource(remoteFile, true)) { in logFile()576 name = remoteFile.getName(); in logFile()
133 private boolean isFileFresh(File localFile, StorageObject remoteFile) throws IOException { in isFileFresh() argument134 if (localFile == null && remoteFile == null) { in isFileFresh()137 if (localFile == null || remoteFile == null) { in isFileFresh()143 return remoteFile.getMd5Hash().equals(FileUtil.calculateBase64Md5(localFile)); in isFileFresh()
1379 IFileEntry remoteFile = EasyMock.createMock(IFileEntry.class); in testIsNewer() local1380 EasyMock.expect(remoteFile.getDate()).andReturn("2016-08-11"); in testIsNewer()1381 EasyMock.expect(remoteFile.getTime()).andReturn("18:00"); in testIsNewer()1382 EasyMock.replay(remoteFile); in testIsNewer()1383 assertTrue(testDevice.isNewer(localFile, remoteFile)); in testIsNewer()1384 EasyMock.verify(remoteFile); in testIsNewer()1411 IFileEntry remoteFile = EasyMock.createMock(IFileEntry.class); in testIsNewer_timeOffset() local1412 EasyMock.expect(remoteFile.getDate()).andReturn("2016-08-11"); in testIsNewer_timeOffset()1413 EasyMock.expect(remoteFile.getTime()).andReturn("18:15"); in testIsNewer_timeOffset()1414 EasyMock.replay(remoteFile); in testIsNewer_timeOffset()[all …]
473 for (File remoteFile : mBuildInfo.getRemoteFiles()) { in stageTestArtifacts()476 getTestsDir(), remoteFile.toString(), includeFilters, excludeFilters); in stageTestArtifacts()481 remoteFile, String.join(", ", modules))); in stageTestArtifacts()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...