Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 121 for ello (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

    import okio.GzipSource
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    
    class RequestTest {
      @Test
      fun constructor() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java

     */
    public class AppTest {
      private final MockWebServer mockWebServer = new MockWebServer();
    
      @Test
      public void testApp() throws IOException {
        mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!"));
        mockWebServer.start();
    
        new SampleHttpClient().makeCall(mockWebServer.url("/"));
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/cors/DefaultCorsHandlerTest.java

        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/service/FessUrlQueueServiceTest.java

        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/util/FessCrawlerConfigTest.java

        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/DictionaryFileTest.java

        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(headersToList(response)).containsExactly("Cookie: a=android")
      }
    
      @Test
      fun regularResponse() {
        server.enqueue(MockResponse().setBody("hello world"))
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setRequestProperty("Accept-Language", "en-US")
        val inputStream = connection.inputStream
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testEncodingSpecialCharacters() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Test encoding of special characters
            request.param("query", "hello world & more");
            request.param("special", "ñ€±");
    
            // Should not throw exception
            assertNotNull(request);
        }
    
        @Test
        public void testUnsupportedEncodingThrowsException() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

        public void test_execute_withPhraseQuery() {
            // Test executing BoostQuery with a PhraseQuery inside
            PhraseQuery.Builder builder = new PhraseQuery.Builder();
            builder.add(new Term("field", "hello"));
            builder.add(new Term("field", "world"));
            PhraseQuery phraseQuery = builder.build();
            BoostQuery boostQuery = new BoostQuery(phraseQuery, 1.5f);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top