Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 148 for testLog (1.62 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

     * Test class for RuleManager interface.
     * Tests the contract and behavior of RuleManager implementations.
     */
    public class RuleManagerTest extends PlainTestCase {
    
        /**
         * Test implementation of RuleManager for testing purposes
         */
        public static class TestRuleManager implements RuleManager {
            private final List<Rule> rules = new ArrayList<>();
            private int getRuleCallCount = 0;
    
            @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NetworkExplorerTest.java

         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
            when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                return null;
            }
    
            @Override
            public String getName() {
                return name;
            }
        }
    
        /**
         * Transformer that throws exceptions for testing error handling
         */
        public static class ExceptionThrowingTransformer implements Transformer {
            private final String name;
            private boolean throwInTransform = false;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmSspTest.java

        // This is a valid Type 3 message with proper structure
        private final String type3MessageBase64 = createValidType3Message();
    
        /**
         * Creates a valid Type 3 NTLM message for testing
         */
        private static String createValidType3Message() {
            // Build a properly formatted Type 3 message
            byte[] message = new byte[200];
    
            // NTLMSSP signature
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        @Test
        @DisplayName("Should handle invalid protocol ID length")
        void testInvalidProtocolIdLength() {
            // Protocol ID is a constant in transform header, not settable
            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info
        }
    
        // Helper interface for testing
        private interface TestFileInformation extends FileInformation, Encodable {
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

     * <p>
     * The handler relies on environment variables for configuration:
     * </p>
     * <ul>
     *   <li>{@code GCS_PROJECT_ID}: The Google Cloud project ID.</li>
     *   <li>{@code GCS_ENDPOINT}: Custom endpoint URL (optional, for testing with fake-gcs-server).</li>
     *   <li>{@code GCS_CREDENTIALS_FILE}: Path to service account JSON file (optional).</li>
     * </ul>
     *
     * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            // Redistribute pending operations
            redistributePendingOperations(failedChannel);
    
            // Check if recovery is viable by testing if createTransport works
            // If createTransport returns null (no mock setup), remove immediately
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. README.md

    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/corelib.git
    cd corelib
    
    # Compile the project
    mvn clean compile
    
    # Run all tests
    mvn test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        protected boolean partialResults = false;
    
        /** The time taken to execute the search query in milliseconds. */
        protected long queryTime;
    
        /**
         * Constructor for testing purposes.
         * Creates a QueryResponseList with minimal pagination information.
         *
         * @param documentList the list of documents to wrap
         * @param start the starting position of the current page
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top