- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for testHeaders (0.04 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
Exception exception = new IOException("Test exception"); response.setContentException(exception); assertSame(exception, response.getContentException()); } @Test public void testHeaders() { CurlResponse response = new CurlResponse(); Map<String, List<String>> headers = new HashMap<>(); headers.put("Content-Type", Arrays.asList("application/json"));
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestReader.java
/** * @author Colin Decker */ @NullUnmarked public class TestReader extends FilterReader { private final TestInputStream in; public TestReader(TestOption... options) throws IOException { this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); } public TestReader(TestInputStream in) { super(new InputStreamReader(checkNotNull(in), UTF_8)); this.in = in;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestReader.java
/** * @author Colin Decker */ @NullUnmarked public class TestReader extends FilterReader { private final TestInputStream in; public TestReader(TestOption... options) throws IOException { this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); } public TestReader(TestInputStream in) { super(new InputStreamReader(checkNotNull(in), UTF_8)); this.in = in;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testWriteFromStream_doesNotCloseThatStream() throws IOException { TestReader in = new TestReader(); assertFalse(in.closed()); sink.writeFrom(in); assertFalse(in.closed()); } public void testWriteLines_withSpecificSeparator() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
public void test_inheritedMethods_areProperlyDelegated() { final String customPath = "/api/v1/test"; final String testHeader = "X-Test-Header"; final String testHeaderValue = "TestValue"; mockRequest.addHeader(testHeader, testHeaderValue); mockRequest.setMethod("POST"); mockRequest.setRequestURI("/test/uri");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
Closeables.closeQuietly(in); assertTrue(in.closed()); } public void testCloseQuietly_readerWithEatenException() throws IOException { TestReader in = new TestReader(TestOption.CLOSE_THROWS); Closeables.closeQuietly(in); assertTrue(in.closed()); } public void testCloseNull() throws IOException { Closeables.close(null, true);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0)