Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 234 for isPull (0.07 seconds)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.ArgumentMatchers.isNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(bimap1, bimap2);
        bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC);
        assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC));
        assertThat(bimap1.get(Currency.FRANC)).isNull();
        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
        EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.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
    - 9.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testGetOnlyElement_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertThat(Iterators.<@Nullable String>getOnlyElement(iterator, null)).isNull();
      }
    
      public void testGetOnlyElement_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
        IllegalArgumentException expected =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  7. 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)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
        assertWithMessage("exceptions should not be propagated to uncaught exception handlers")
            .that(thrownByExecutionThread)
            .isNull();
      }
    
      public void testServiceStartStop() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
        assertFalse(service.startUpCalled);
    
        service.startAsync().awaitRunning();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testGetOnlyElement_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertThat(Iterators.<@Nullable String>getOnlyElement(iterator, null)).isNull();
      }
    
      public void testGetOnlyElement_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
        IllegalArgumentException expected =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  10. 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
    - 25.8K bytes
    - Click Count (0)
Back to Top