Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 173 for isFull (0.03 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.isNull;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Method;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

                    .thenReturn(resp);
    
            CommonServerMessageBlockResponse out = handle.send(req, RequestParam.NO_RETRY);
            assertSame(resp, out);
    
            verify(treeConnection, times(1)).send(eq(resourceLoc), eq((CommonServerMessageBlockRequest) req), isNull(),
                    any(RequestParam[].class));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        Collections.addAll(strings, "one", "two", "three");
        SortedMap<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertThat(map.comparator()).isNull();
        assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5), map);
        assertThat(map.get("four")).isNull();
        strings.add("four");
        assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5, "four", 4), map);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertThat(map.putIfAbsent("bar", 3)).isNull();
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertThat(recordedRequest.method).isEqualTo("GET")
        assertThat(recordedRequest.headers["User-Agent"]).isEqualTo("SyncApiTest")
        assertThat(recordedRequest.body).isNull()
        assertThat(recordedRequest.headers["Content-Length"]).isNull()
      }
    
      @Test
      fun buildRequestUsingHttpUrl() {
        server.enqueue(MockResponse())
        executeSynchronously("/").assertSuccessful()
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        sendRequest(methodName, arguments);
        Thread.sleep(DUE_DILIGENCE_MILLIS);
        assertEquals(true, invokeMethod("hasQueuedThread", this));
        assertThat(responseQueue.poll()).isNull();
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread thereby waits on the
       * given condition-like object. The lock-like object must have a method equivalent to {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. android/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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = root();
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

        assertThat(Stream.of(1).collect(onlyElement())).isEqualTo(1);
      }
    
      public void testOnlyElementNull() {
        assertThat(Stream.<@Nullable Object>of((Object) null).collect(onlyElement())).isNull();
      }
    
      public void testOnlyElementMultiple() {
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> Stream.of(1, 2).collect(onlyElement()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FunctionsTest.java

    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
        Function<@Nullable String, @Nullable String> identity = Functions.identity();
        assertThat(identity.apply(null)).isNull();
        assertSame("foo", identity.apply("foo"));
      }
    
      public void testIdentity_notSame() {
        Function<Long, Long> identity = Functions.identity();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top