Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testRemove4 (0.06 sec)

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

        }
    
        /**
         * Test remove method delegates to underlying iterator.
         */
        @Test
        void testRemove() {
            // Given
            when(mockDelegate.hasNext()).thenReturn(true, false);
            when(mockDelegate.next()).thenReturn(mockFileEntry1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertNull(result, "Should return null for empty list");
        }
    
        /**
         * Test remove method
         */
        @Test
        @DisplayName("Remove should delete all occurrences of type")
        void testRemove() {
            List<AvPair> pairs = new LinkedList<>();
            AvFlags flags1 = new AvFlags(0x11111111);
            AvFlags flags2 = new AvFlags(0x22222222);
            AvTimestamp timestamp = new AvTimestamp(new byte[8]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.putAll(mapToPut));
        }
        assertEquals(initialSize, map.size());
        assertInvariants(map);
      }
    
      public void testRemove() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        K keyToRemove = map.keySet().iterator().next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top