Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 155 for IsFull (0.03 seconds)

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/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)
  7. guava-tests/test/com/google/common/collect/QueuesTest.java

      }
    
      /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */
      private void assertDrained(BlockingQueue<Object> q) {
        assertThat(q.peek()).isNull();
        assertInterruptibleDrained(q);
        assertUninterruptibleDrained(q);
      }
    
      private void assertInterruptibleDrained(BlockingQueue<Object> q) {
        // nothing to drain, thus this should wait doing nothing
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(ms).containsExactly(null, null, null, "a", "b", "b").inOrder();
        assertEquals(3, ms.count(null));
    
        SortedSet<@Nullable String> elementSet = ms.elementSet();
        assertThat(elementSet.first()).isNull();
        assertThat(elementSet.last()).isEqualTo("b");
        assertEquals(comparator, elementSet.comparator());
      }
    
      private static final Comparator<String> DEGENERATE_COMPARATOR =
          new Comparator<String>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testStringConverter_nullConversions() {
        assertThat(Shorts.stringConverter().convert(null)).isNull();
        assertThat(Shorts.stringConverter().reverse().convert(null)).isNull();
      }
    
      public void testStringConverter_reverse() {
        Converter<String, Short> converter = Shorts.stringConverter();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(transpose(transpose)).isSameInstanceAs(directedGraph);
        AbstractGraphTest.validateGraph(transpose.asGraph());
    
        assertThat(transpose.edgeValueOrDefault(N1, N2, null)).isNull();
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
Back to Top