Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 142 for testLink (0.99 sec)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            for (int i = 0; i < tokens1.size(); i++) {
                assertEquals(tokens1.get(i).getTerm(), tokens2.get(i).getTerm());
            }
        }
    
        /**
         * Test implementation of SuggestAnalyzer for testing purposes
         */
        private static class TestSuggestAnalyzer implements SuggestAnalyzer {
    
            private boolean japaneseMode = false;
    
            public void setJapaneseMode(boolean japaneseMode) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

        private DfsReferralDataInternal concreteImplementation;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Using concrete implementation for integration testing
            // Note: DfsReferralDataImpl default constructor creates an object with null server/share/path
            // Some methods like fixupHost/fixupDomain require these to be set via combine() or fromReferral()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            request.setFileInfoClass((byte) 0x04);
            request.setAdditionalInformation(0x12345678);
            request.setQueryFlags(0xABCDEF00);
    
            try {
                // Set outputBufferLength for testing
                Field outputBufferLengthField = Smb2QueryInfoRequest.class.getDeclaredField("outputBufferLength");
                outputBufferLengthField.setAccessible(true);
                outputBufferLengthField.set(request, 0x8000);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

     *
     * <p>This client requires the following initialization parameters:
     * <ul>
     *   <li>projectId - The Google Cloud project ID</li>
     *   <li>endpoint - Custom endpoint URL (optional, for testing with fake-gcs-server)</li>
     *   <li>credentialsFile - Path to service account JSON file (optional)</li>
     *   <li>connectTimeout - Connection timeout in milliseconds (default: 10000)</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test with matching bad word
            String[] badWords2 = { "test", "bad" };
            assertTrue(item.isBadWord(badWords2));
    
            // Test with partial match
            item.setText("testing something");
            String[] badWords3 = { "test" };
            assertTrue(item.isBadWord(badWords3));
        }
    
        @Test
        public void testToEmptyMap() {
            // Test toEmptyMap method
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

    /**
     * Test class for Rule interface.
     * Tests the contract and behavior of Rule implementations.
     */
    public class RuleTest extends PlainTestCase {
    
        /**
         * Test implementation of Rule interface for testing purposes
         */
        public static class TestRule implements Rule {
            private static final long serialVersionUID = 1L;
    
            private final String ruleId;
            private final ResponseProcessor responseProcessor;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

        }
        
        public int getLeaseVersion() {
            return getIntProperty(LEASE_VERSION, 2);  // Default to V2 if supported
        }
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class LeaseTest {
        
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    testEncryptionKey, testEncryptionKey); // Use same key for test
    
            byte[] plaintext = "Testing AES-CCM encryption".getBytes();
            long sessionId = 0xABCDEF0123456789L;
    
            // When
            byte[] encrypted = ccmContext.encryptMessage(plaintext, sessionId);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

    }
    
    public String getHandleStateDirectory() {
        return getProperty(HANDLE_STATE_DIR, 
            System.getProperty("user.home") + "/.jcifs/handles");
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class PersistentHandleTest {
        
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top