Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testRemove2 (1.54 sec)

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

         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("1"), is("test"));
            assertThat(map.size(), is(2));
            assertThat(map.remove("dummy"), is(nullValue()));
            assertThat(map.remove(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove2() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top