Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 234 for isFull (0.04 seconds)

  1. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.removeEdge(1, 2)).isEqualTo("valueA");
        assertThat(graph.removeEdge(1, 2)).isNull();
        assertThat(graph.removeEdge(2, 1)).isEqualTo("valueB");
        assertThat(graph.removeEdge(2, 1)).isNull();
        assertThat(graph.removeEdge(2, 3)).isEqualTo("valueC");
        assertThat(graph.removeEdge(2, 3)).isNull();
      }
    
      @Test
      public void removeEdge_undirected() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (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())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.tryParse("")).isNull();
        assertThat(Longs.tryParse("-")).isNull();
        assertThat(Longs.tryParse("+1")).isNull();
        assertThat(Longs.tryParse("999999999999999999999999")).isNull();
        assertThat(Longs.tryParse(" ")).isNull();
        assertThat(Longs.tryParse("1 ")).isNull();
        assertThat(Longs.tryParse(" 1")).isNull();
        assertWithMessage("Max long + 1")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  4. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

     */
    package okhttp3.zstd
    
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import com.squareup.zstd.okio.zstdCompress
    import java.io.IOException
    import kotlin.test.assertFailsWith
    import okhttp3.CompressionInterceptor
    import okhttp3.Gzip
    import okhttp3.MediaType.Companion.toMediaType
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull()
        // Missing seconds treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
        // Extra spaces treated as bad.
        assertThat("Thu,  01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
        // Missing leading zero treated as bad.
        assertThat("Thu, 1 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
    
        // RFC 850, obsoleted by RFC 1036 with any TZ.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(WithGenericConstant.class)).isNull();
      }
    
      public void testGet_nullConstant() {
        assertThat(ArbitraryInstances.get(WithNullConstant.class)).isNull();
      }
    
      public void testGet_constantTypeDoesNotMatch() {
        assertThat(ArbitraryInstances.get(ParentClassHasConstant.class)).isNull();
      }
    
      public void testGet_nonPublicConstantNotUsed() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

      fun assertNoNetworkResponse() =
        apply {
          assertThat(response!!.networkResponse).isNull()
        }
    
      /** Asserts that the current response didn't use the cache.  */
      fun assertNoCacheResponse() =
        apply {
          assertThat(response!!.cacheResponse).isNull()
        }
    
      /**
       * Asserts that the current response used the cache and returns the cache response.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            // Arrange
            when(tree.send(isNull())).thenThrow(new CIFSException("null request"));
    
            // Act
            CIFSException ex = assertThrows(CIFSException.class, () -> tree.send(null));
    
            // Assert
            assertEquals("null request", ex.getMessage());
            verify(tree).send((Request<CommonServerMessageBlockResponse>) isNull());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

     */
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLSocket
    import okhttp3.ConnectionSpec
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top