Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for sinulla (0.74 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // Don't allow edits under any circumstances.
        assertThat(cache.edit("a")).isNull()
        assertThat(cache.edit("c")).isNull()
        cache["a"]!!.use {
          assertThat(it.edit()).isNull()
        }
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.isNull()
       */
    
      public void testIsNull_apply() {
        Predicate<@Nullable Integer> isNull = Predicates.isNull();
        assertTrue(isNull.apply(null));
        assertFalse(isNull.apply(1));
      }
    
      public void testIsNull_equality() {
        new EqualsTester()
            .addEqualityGroup(Predicates.isNull(), Predicates.isNull())
            .addEqualityGroup(Predicates.notNull())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/EquivalenceTest.java

        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1"))
            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1"))
            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.isNull()
       */
    
      public void testIsNull_apply() {
        Predicate<@Nullable Integer> isNull = Predicates.isNull();
        assertTrue(isNull.apply(null));
        assertFalse(isNull.apply(1));
      }
    
      public void testIsNull_equality() {
        new EqualsTester()
            .addEqualityGroup(Predicates.isNull(), Predicates.isNull())
            .addEqualityGroup(Predicates.notNull())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

     *
     */
    package okhttp3.android
    
    import android.util.Log
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.containsOnly
    import assertk.assertions.isNull
    import java.net.UnknownHostException
    import okhttp3.ConnectionSpec
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.logging.HttpLoggingInterceptor
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(connect.headers["Host"]).isEqualTo("[::1]:$port")
        assertThat(connect.headers[":authority"]).isNull()
        val get = server.takeRequest()
        assertThat(get.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(get.headers["Host"]).isEqualTo("[::1]:$port")
        assertThat(get.headers[":authority"]).isNull()
        assertThat(get.requestUrl).isEqualTo(url)
      }
    
      @Test
      fun ipv6HostHasSquareBracesHttp2() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

    import android.content.Context
    import androidx.test.core.app.ApplicationProvider
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Cache
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okio.Path.Companion.toPath
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top