Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 578 for acceptX (0.04 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            // Wildcard shouldn't affect accept logic.
            DosFileFilter customFilter = new DosFileFilter("*.txt", SmbFile.ATTR_DIRECTORY);
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_DIRECTORY);
            assertTrue(customFilter.accept(file), "Wildcard should be ignored in accept");
        }
    
        @Test
        public void testAcceptHandlesNullFile() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            when(filter.accept(resource)).thenReturn(false, true);
    
            TestIterator iterator = new TestIterator(filter);
    
            // Verify iteration
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            // Both resources should be closed
            verify(filter, times(2)).accept(resource);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
            ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class);
            verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/PatternFilenameFilter.java

    import com.google.common.base.Preconditions;
    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.Pattern;
    import java.util.regex.PatternSyntaxException;
    
    /**
     * File name filter that only accepts files matching a regular expression. This class is thread-safe
     * and immutable.
     *
     * @author Apple Chow
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (1)
  6. guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>This deliberately avoids all nameservice lookups (e.g. no DNS).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    Contributing
    ============
    
    Keeping the project small and stable limits our ability to accept new contributors. We are not
    seeking new committers at this time, but some small contributions are welcome.
    
    If you've found a security problem, please follow our [bug bounty][security] program.
    
    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. docs/contribute/contributing.md

    Contributing
    ============
    
    Keeping the project small and stable limits our ability to accept new contributors. We are not
    seeking new committers at this time, but some small contributions are welcome.
    
    If you've found a security problem, please follow our [bug bounty][security] program.
    
    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When
            request.setFileId(emptyFileId);
    
            // Then - should accept empty file ID
            assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle unspecified file ID constant")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

        }
    
        /**
         * Creates an instance of {@link XPath} using the provided {@link Consumer} to configure the {@link XPathFactory}.
         *
         * @param builder a {@link Consumer} that accepts an {@link XPathFactory} and configures it.
         * @return a configured instance of {@link XPath}.
         * @throws CrawlerSystemException if an error occurs while creating the {@link XPath} instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top