Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 174 for dashes (3.99 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

     * {@link SmbException#getStatusByCode(int)}.
     */
    @DisplayName("SmbAuthException Tests")
    class SmbAuthExceptionTest {
    
        /**
         * Provides a set of error codes covering normal, edge and unknown cases.
         */
        static Stream<Arguments> errorCodes() {
            return Stream.of(
                    // Known NT status code - NT_STATUS_UNSUCCESSFUL
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertFalse(auth.isAnonymous());
            assertFalse(auth.isGuest());
        }
    
        @ParameterizedTest
        @EnumSource(SubjectVariant.class)
        @DisplayName("getSubject: caches results and refresh resets cache")
        void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception {
            JAASAuthenticator auth = buildAuthenticator(variant);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

     *
     */
    public class DocumentHelper {
        private static final Logger logger = LogManager.getLogger(DocumentHelper.class);
    
        /** Prefix used for encoded similar document hashes */
        protected static final String SIMILAR_DOC_HASH_PREFIX = "$";
    
        /**
         * Default constructor for DocumentHelper.
         * Creates a new document helper instance.
         */
        public DocumentHelper() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

    import org.codelibs.fess.crawler.exception.ExtractException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Enhanced test class for TextExtractor covering improved error messages and edge cases.
     */
    public class TextExtractorEnhancedTest extends PlainTestCase {
    
        private TextExtractor textExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            assertEquals(0x123456, target.getPipeType());
            assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath());
        }
    
        @Test
        @DisplayName("ensureTreeConnected caches tree and acquires on each call")
        void testEnsureTreeConnectedCaching() throws CIFSException {
            // Arrange: first ensureTreeConnected comes from pipe
            when(pipe.ensureTreeConnected()).thenReturn(tree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

            verify(mockAllocInfo, times(1)).getCapacity();
            verify(mockAllocInfo, times(1)).getFree();
        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    Sitemap: not-a-valid-url
    
    # Case 12: Malformed lines that should be completely ignored
    This line is completely invalid
    :NoKey
    NoValue:
    :::
       :
    
    # Case 13: Numeric crawl-delay edge cases
    User-agent: NumericBot
    Crawl-delay: 0
    Crawl-delay: 999999999
    Crawl-delay: 1.23e10
    
    # Case 14: Tab characters instead of spaces
    User-agent:	TabBot
    Disallow:	/tab1/
    Allow:	/tab2/
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("send(request, response, varargs) forwards directly")
        void sendRequestResponseVarargsDelegates() throws Exception {
            // Confirms varargs overload passes through to the underlying connection
            CommonServerMessageBlockRequest request = mock(CommonServerMessageBlockRequest.class);
            CommonServerMessageBlockResponse response = mock(CommonServerMessageBlockResponse.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top