Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 228 for behaviors (1.76 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            assertNotNull(emptyConfig);
            // Hostname may be null when not provided in properties
            // This is expected behavior
        }
    
        @Test
        @DisplayName("Should parse integer properties correctly")
        void testIntegerProperties() throws CIFSException {
            // Given
            Properties props = new Properties();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

        /**
         * Default constructor.
         */
        public FailureUrlService() {
            // Default constructor
        }
    
        /** Behavior class for FailureUrl entity operations */
        @Resource
        protected FailureUrlBhv failureUrlBhv;
    
        /** Configuration settings for Fess */
        @Resource
        protected FessConfig fessConfig;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * Tests for Smb2SessionSetupResponse decoding and behavior.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2SessionSetupResponse Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2SessionSetupResponseTest extends BaseTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
        }
    
        @Test
        @DisplayName("Test getBatchLimit with custom implementation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Final name should be from one of the threads
            assertNotNull(testTransformer.getName());
            assertTrue(testTransformer.getName().startsWith("thread"));
        }
    
        /**
         * Test inheritance behavior
         */
        public void test_inheritanceBehavior() {
            // Test that subclasses inherit name management
            TestTransformer transformer1 = new TestTransformer();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

            mockOutputStream = mock(OutputStream.class);
    
            // Create a mock implementation of the SmbPipeHandle interface
            smbPipeHandle = mock(SmbPipeHandle.class);
    
            // Define behavior for the mock handle
            when(smbPipeHandle.getPipe()).thenReturn(mockPipeResource);
            when(smbPipeHandle.getInput()).thenReturn(mockInputStream);
            when(smbPipeHandle.getOutput()).thenReturn(mockOutputStream);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

    import jcifs.smb1.Config;
    
    /**
     * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we
     * create a lightweight concrete subclass only to exercise the inherited
     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
     * values are verified to ensure proper exception handling and byte
     * conversion.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.context.SingletonContext;
    
    /**
     * Tests for NetServerFileEntryAdapterIterator.
     *
     * Intent: Validate iteration behavior, filtering, invalid inputs handling,
     * and delegation to the underlying iterator.
     */
    @ExtendWith(MockitoExtension.class)
    class NetServerFileEntryAdapterIteratorTest {
    
        @Mock
        NetServerEnumIterator delegate;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTreeHandleInternal interface using Mockito to verify
     * interactions and observable behavior of collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTreeHandleInternalTest {
    
        @Mock
        private SmbTreeHandleInternal handle;
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

     * Provides functionality to create, read, update, and delete job log entries,
     * as well as manage job status and perform cleanup operations.
     */
    public class JobLogService {
    
        /**
         * Behavior class for job log database operations.
         */
        @Resource
        protected JobLogBhv jobLogBhv;
    
        /**
         * Default constructor.
         */
        public JobLogService() {
            // Default constructor
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top