Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 144 for isPull (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testGetOnlyElement_withDefault_empty_null() {
        Iterable<String> iterable = emptyList();
        assertThat(Iterables.<@Nullable String>getOnlyElement(iterable, null)).isNull();
      }
    
      public void testGetOnlyElement_withDefault_multiple() {
        Iterable<String> iterable = asList("foo", "bar");
        assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterable, "x"));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        underlying.put("a", 1);
        Map<String, String> map = transformValues(underlying, Functions.toStringFunction());
        assertThat(map.remove("a")).isEqualTo("1");
        assertThat(map.remove("b")).isNull();
      }
    
      public void testTransformEqualityOfMapsWithNullValues() {
        Map<String, @Nullable String> underlying = new HashMap<>();
        underlying.put("a", null);
        underlying.put("b", "");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

      }
    
      public void testStandardLastEntry() {
        NavigableMap<String, Integer> forwarding =
            new StandardLastEntryForwardingNavigableMap<>(new SafeTreeMap<String, Integer>());
        assertThat(forwarding.lastEntry()).isNull();
        forwarding.put("b", 2);
        assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
        forwarding.put("c", 3);
        assertEquals(immutableEntry("c", 3), forwarding.lastEntry());
        forwarding.put("a", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/TypesTest.java

            .inOrder();
        assertEquals(
            Arrays.asList(String.class, Types.newArrayType(Types.newArrayType(int.class))),
            Arrays.asList(ourType.getActualTypeArguments()));
        assertThat(ourType.getOwnerType()).isNull();
      }
    
      public void testNewParameterizedType_nonStaticLocalClass() {
        class LocalClass<T> {}
        Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        BiMap<Integer, Integer> bimap = HashBiMap.create(N);
        BiMap<Integer, Integer> inverse = bimap.inverse();
    
        for (int i = 0; i < N; i++) {
          assertThat(bimap.put(2 * i, 2 * i + 1)).isNull();
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * i + 1, (int) bimap.get(2 * i));
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * i, (int) inverse.get(2 * i + 1));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.math.BigInteger
    import java.security.KeyFactory
    import java.security.spec.PKCS8EncodedKeySpec
    import java.security.spec.X509EncodedKeySpec
    import java.text.SimpleDateFormat
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        rangeSet.add(Range.closed(3, 10));
        assertEquals(Range.closed(3, 10), rangeSet.rangeContaining(5));
        assertTrue(rangeSet.contains(5));
        assertThat(rangeSet.rangeContaining(1)).isNull();
        assertFalse(rangeSet.contains(1));
      }
    
      public void testRangeContaining2() {
        RangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(3, 10));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            ImmutableSortedSet.copyOf(new String[] {"e", "e", "f", "b", "i", "d", "c", "k"});
        assertThat(set.floor("a")).isNull();
      }
    
      public void testCeiling_emptySet() {
        ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(new String[] {});
        assertThat(set.ceiling("f")).isNull();
      }
    
      public void testCeiling_elementPresent() {
        ImmutableSortedSet<String> set =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/CloserTest.java

          }
        } catch (Throwable caught) {
          assertThat(caught).isInstanceOf(IOException.class);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertThat(c3).isNull();
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
        Closer closer = new Closer(suppressor);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top