Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,844 for test2 (0.03 sec)

  1. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

      }
    
      @Test
      @Ignore("java.net.UnknownHostException: No results for localhost, in CI.")
      fun testRequest() {
        serverRule.server.enqueue(MockResponse())
    
        val call = client.newCall(Request(serverRule.server.url("/")))
    
        call.execute().use { response ->
          assertThat(response.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithFullyQualifiedNames.groovy

    package org.gradle.test
    
    class GroovyClassWithFullyQualifiedNames extends org.gradle.test.sub.SubGroovyClass implements org.gradle.test.sub.SubJavaInterface, java.lang.Runnable {
        org.gradle.test.sub.SubJavaInterface getProp() {
            this
        }
    
        void run() {
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 277 bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

        // Hanging.
        "okhttp3.WholeOperationTimeoutTest",
      )
    
    /**
     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    
    class HostnamesTest {
      @Test
      fun canonicalizeInetAddressNotMapped() {
        val addressA = decodeIpv6("::1")!!
        assertThat(canonicalizeInetAddress(addressA)).isEqualTo(addressA)
    
        val addressB = byteArrayOf(127, 0, 0, 1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 30 06:23:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/IntMathTest.java

        for (int p : NONZERO_INTEGER_CANDIDATES) {
          for (int q : NONZERO_INTEGER_CANDIDATES) {
            for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
              // Skip some tests that fail due to GWT's non-compliant int implementation.
              // TODO(cpovirk): does this test fail for only some rounding modes or for all?
              if (p == -2147483648 && q == -1 && intsCanGoOutOfRange()) {
                continue;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. container-tests/README.md

    OkHttp Container Tests
    ======================
    
    This module contains tests against other services
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 09:58:21 UTC 2024
    - 113 bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    import java.io.File;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Scanner;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-b-1.1.pom

      <groupId>maven-test</groupId>
      <artifactId>t08-b</artifactId>
      <packaging>jar</packaging>
      <version>1.1</version>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-c</artifactId>
          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-d</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 622 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import com.google.common.collect.ImmutableMap;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
      @GwtIncompatible // Class names are obfuscated in GWT
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top