Searched refs:file2 (Results 1 – 10 of 10) sorted by relevance
93 File file2 = mHostResourceManager.getFile("key2"); in testSetUpHostResources() local95 Assert.assertEquals(HOST_RESOURCE2, FileUtil.readStringFromFile(file2)); in testSetUpHostResources()98 Assert.assertFalse(file2.exists()); in testSetUpHostResources()
6 - files: ["file1.txt", "file2.txt"]
306 final File file2 = new File(cacheRoot, "anotherpath"); in testConstructor_cacheExceeded() local307 FileUtil.writeToFile(filecontents, file2); in testConstructor_cacheExceeded()312 return file2.length() + 1; in testConstructor_cacheExceeded()318 assertTrue(file2.exists()); in testConstructor_cacheExceeded()
559 val file2 = File(top, "file2").apply { createNewFile() } in Test for --strict-input-files-exempt() constant571 assertFalse(FileReadSandbox.isAccessAllowed(file2)) // Access *not* allowed in Test for --strict-input-files-exempt()
133 File file2 = new File(tmpParentDir, "bar.txt"); in testCreateAndExtractZip_fromFiles() local135 FileUtil.writeToFile("contents2", file2); in testCreateAndExtractZip_fromFiles()136 zipFile = ZipUtil.createZip(Arrays.asList(file1, file2)); in testCreateAndExtractZip_fromFiles()141 File extractedFile2 = new File(extractedDir, file2.getName()); in testCreateAndExtractZip_fromFiles()145 assertTrue(FileUtil.compareFileContents(file2, extractedFile2)); in testCreateAndExtractZip_fromFiles()
325 StoredEntry file2 = zf.get("file2");326 assertNotNull(file2);327 assertEquals(3, file2.getCentralDirectoryHeader().getUncompressedSize());329 assertArrayEquals(new byte[] { 6, 7, 8 }, file2.read());336 file2 = zf.get("file2");337 assertNotNull(file2);338 assertArrayEquals(new byte[] { 11, 12 }, file2.read());342 StoredEntry file2 = zf2.get("file2");343 assertNotNull(file2);344 assertArrayEquals(new byte[] { 11, 12 }, file2.read());
130 With a commit that changes `path1/file1` and `path2/file2`, then this will run132 * ['ls', 'path1/file1', 'path2/file2']133 * ['check', '--file=path1/file1', '--file=path2/file2']134 * ['check', '--file', 'path1/file1', '--file', 'path2/file2']
363 private boolean compareFiles(File file1, File file2) throws IOException { in compareFiles() argument369 stream2 = new BufferedInputStream(new FileInputStream(file2)); in compareFiles()
749 public static boolean compareFileContents(File file1, File file2) throws IOException { in compareFileContents() argument756 stream2 = new BufferedInputStream(new FileInputStream(file2)); in compareFileContents()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...