Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testEmptyIterator (0.17 sec)

  1. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

        public ExpectedException exception = ExpectedException.none();
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.EmptyIterator#EmptyIterator()}.
         */
        @Test
        public void testEmptyIterator() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator, is(notNullValue()));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            verify(mockFilter, times(2)).accept(any(SmbResource.class));
        }
    
        /**
         * Test iterator with empty delegate.
         */
        @Test
        void testEmptyIterator() {
            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
    
            DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        suite.addTest(testsForRemoveAllAndRetainAll());
        suite.addTestSuite(IteratorsTest.class);
        return suite;
      }
    
      @SuppressWarnings("DoNotCall")
      public void testEmptyIterator() {
        Iterator<String> iterator = emptyIterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        suite.addTest(testsForRemoveAllAndRetainAll());
        suite.addTestSuite(IteratorsTest.class);
        return suite;
      }
    
      @SuppressWarnings("DoNotCall")
      public void testEmptyIterator() {
        Iterator<String> iterator = emptyIterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top