Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for robust (0.03 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                    return false;
                };
            };
    
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/");
            responseData.addMetaData("X-Robots-Tag", "noindex,nofollow");
    
            try {
                transformer.processXRobotsTag(responseData, new ResultData());
                fail();
            } catch (ChildUrlsException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          useHttps(handshakeCertificates.sslSocketFactory(), false)
    
          enqueue(
            MockResponse()
              .setResponseCode(HTTP_MOVED_TEMP)
              .setHeader("Location", "https://www.google.com/robots.txt"),
          )
        }
    
      val clientCertificates =
        HandshakeCertificates
          .Builder()
          .addPlatformTrustedCertificates()
          .addInsecureHost(server.hostName)
          .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt

      }
    
      @Test
      fun testNewCall() {
        Platform.resetForTests()
    
        val client = OkHttpClient()
    
        applyStrictMode()
    
        // Safe on main
        client.newCall(Request("https://google.com/robots.txt".toHttpUrl()))
    
        assertThat(violations).isEmpty()
      }
    
      private fun applyStrictMode() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
            .Builder()
            .detectCustomSlowCalls()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

              .build(),
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

    import java.util.ListIterator;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code ForwardingListIterator}.
     *
     * @author Robert Konigsberg
     */
    @NullUnmarked
    public class ForwardingListIteratorTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt

        OkHttpDebugLogging.enable("org.bouncycastle.jsse")
        platform.assumeBouncyCastle()
      }
    
      @Test
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

        assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList())
      }
    
      @Test
      @Disabled
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingCollection}.
     *
     * @author Robert Konigsberg
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingCollectionTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.8K bytes
    - Viewed (1)
Back to top