Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 731 for platform (0.1 sec)

  1. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
        TesterRequirements requirements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

    import javax.net.ssl.SSLSession
    import javax.security.auth.x500.X500Principal
    import okhttp3.FakeSSLSession
    import okhttp3.OkHttpClient
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. okhttp-bom/build.gradle.kts

    plugins {
      id("com.vanniktech.maven.publish.base")
      id("java-platform")
    }
    
    dependencies {
      constraints {
        project.rootProject.subprojects.forEach { subproject ->
          if (subproject.name != "okhttp-bom") {
            api(subproject)
          }
        }
      }
    }
    
    publishing {
      publications.create<MavenPublication>("maven") {
        from(project.components["javaPlatform"])
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 27 12:31:27 UTC 2021
    - 373 bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JavaHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @Test fun get(server: MockWebServer) {
        // Not available
        platform.expectFailureOnJdkVersion(8)
    
        val httpClient =
          HttpClient.newBuilder()
            .followRedirects(NORMAL)
            .build()
    
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    
    @Testcontainers
    @Isolated
    class BasicLoomTest {
      @JvmField
      @RegisterExtension
      val platform = PlatformRule()
    
      // Use mock server so we are strictly testing OkHttp client only in this test.
      // We should test MockWebServer later.
      @Container
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        this.connectionType = mode.second
    
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

    @Timeout(30)
    @Tag("Slowish")
    class ServerTruncatesRequestTest {
      @RegisterExtension
      @JvmField
      val platform = PlatformRule()
    
      @RegisterExtension
      @JvmField
      var clientTestRule = OkHttpClientTestRule()
    
      private val listener = RecordingEventListener()
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      private var client =
        clientTestRule.newClientBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental_test.cc

    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/resource_loader.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    namespace tensorflow {
    namespace {
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HeldCertificateTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test
      fun defaultCertificate() {
        val now = System.currentTimeMillis()
        val heldCertificate = HeldCertificate.Builder().build()
        val certificate = heldCertificate.certificate
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top