Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for consistency (1.94 sec)

  1. src/test/java/jcifs/BaseTest.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Base test class providing common test infrastructure and utilities.
     * All test classes should extend this to ensure consistent test setup.
     */
    @ExtendWith(MockitoExtension.class)
    public abstract class BaseTest {
    
        protected final Logger logger = LoggerFactory.getLogger(getClass());
    
        @BeforeEach
        void baseSetUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/QueryParseException.java

    package org.codelibs.fess.exception;
    
    import org.apache.lucene.queryparser.classic.ParseException;
    
    /**
     * Exception thrown when a query parsing error occurs.
     * This exception wraps Lucene's ParseException to provide consistent error handling
     * within the Fess search framework.
     *
     */
    public class QueryParseException extends FessSystemException {
    
        /** Serial version UID for serialization compatibility */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/StorageException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a storage-related error occurs.
     * It can be used to wrap underlying storage exceptions, providing a
     * consistent error handling mechanism for storage operations.
     */
    public class StorageException extends FessSystemException {
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals(13312L, SMBUtil.readInt8(buffer, offset + 8));
                assertEquals(16384, SMBUtil.readInt4(buffer, offset + 16));
            }
    
            @Test
            @DisplayName("Should encode consistently with size method")
            void testEncodeSizeConsistency() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
                Arrays.fill(sourceKey, (byte) 0x55);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(2 + (count * 2), encoded);
                // Note: size() returns 4 + count*2, but encode returns 2 + count*2
                // This is an implementation inconsistency in the original code
                assertNotEquals(context.size(), encoded);
                assertEquals(4 + (count * 2), context.size());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/AuthenticationProvider.java

     */
    
    package jcifs.smb;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    
    /**
     * Unified authentication provider interface for SMB authentication
     *
     * This interface provides a consistent authentication mechanism across
     * SMB1, SMB2, and SMB3 protocols, addressing the issue of multiple
     * scattered authentication implementations.
     */
    public interface AuthenticationProvider {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/exception/SsoProcessException.java

     *
     * This exception is used to indicate errors that occur during the execution
     * of SSO authentication and authorization processes. It extends FessSystemException
     * to provide consistent error handling within the Fess system for SSO-related
     * processing failures such as token validation errors, communication failures
     * with SSO providers, or configuration issues.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertEquals(443, httpsPort);
                assertNotEquals(jcifs.http.Handler.DEFAULT_HTTP_PORT, httpsPort);
            }
    
            @Test
            @DisplayName("Should return consistent port value")
            void testPortConsistency() {
                // When
                int port1 = handler.getDefaultPort();
                int port2 = handler.getDefaultPort();
                int port3 = handler.getDefaultPort();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbException.java

     */
    
    package jcifs;
    
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Base exception class for all SMB-related exceptions
     *
     * This class provides a consistent exception handling mechanism
     * with proper error context and recovery information.
     */
    public class SmbException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            loadBalancer.setStrategy(LoadBalancingStrategy.AFFINITY_BASED);
    
            Smb2ReadRequest readRequest = mock(Smb2ReadRequest.class);
            when(readRequest.getTreeId()).thenReturn(123); // Set consistent tree ID for affinity
    
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Multiple calls with same file ID should return same channel
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top