Searched refs:fileContents (Results 1 – 2 of 2) sorted by relevance
89 byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8); in testInputUrl()90 addFileEntry(FILE_PATH, fileContents); in testInputUrl()93 assertContents(fileContents, connection.getInputStream()); in testInputUrl()124 byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8); in testOutputUrl()125 addFileEntry("test/output-url/existing file.txt", fileContents); in testOutputUrl()140 byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8); in testConnectOverProxy_noProxy()141 URL fileUrl = addFileEntry(FILE_PATH, fileContents); in testConnectOverProxy_noProxy()143 assertContents(fileContents, connection.getInputStream()); in testConnectOverProxy_noProxy()176 byte[] fileContents = "abcdef 1234567890".getBytes(UTF_8); in testConnectOverProxy_explicit_http_uses_direct_connection()177 URL fileUrl = addFileEntry(FILE_PATH, fileContents); in testConnectOverProxy_explicit_http_uses_direct_connection()[all …]
151 String fileContents = new String(IoUtils.readFileAsByteArray( in testRedirectFile_output() local153 assertEquals(processInput, fileContents); in testRedirectFile_output()165 String fileContents = new String(IoUtils.readFileAsByteArray(file.getAbsolutePath())); in testRedirectFile_error() local168 assertTrue("Unexpected output: " + fileContents, in testRedirectFile_error()169 fileContents.contains(missingFilePath) && !fileContents.equals(missingFilePath)); in testRedirectFile_error()