Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 722 for WHEN (0.86 sec)

  1. src/test/java/jcifs/https/HandlerTest.java

            void testGetDefaultPort() {
                // When
                int port = handler.getDefaultPort();
    
                // Then
                assertEquals(443, port);
                assertEquals(Handler.DEFAULT_HTTPS_PORT, port);
            }
    
            @Test
            @DisplayName("Should override parent HTTP port")
            void testPortOverride() {
                // When
                int httpsPort = 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)
  2. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): throws CIFSException when underlying call fails")
        void ensureDFSResolved_throws() throws Exception {
            // Arrange: configure the mock to throw
            doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved();
    
            // Act + Assert: exception is propagated with message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

        }
    
        @Test
        void testSingleChannelSelection() {
            when(mockChannelManager.getHealthyChannels()).thenReturn(Collections.singletonList(channel1));
    
            ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
            assertEquals(channel1, selected);
        }
    
        @Test
        void testNoChannelsAvailable() {
            when(mockChannelManager.getHealthyChannels()).thenReturn(Collections.emptyList());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
            lenient().when(config.getListSize()).thenReturn(4096);
    
            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                mockConfig = mock(Configuration.class);
                when(mockConfig.getPid()).thenReturn(12345);
            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        void testConstructorWithNetbiosNames() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
            when(mockCalledName.getScope()).thenReturn(null);
    
            when(mockCallingName.getName()).thenReturn("CLIENT");
            when(mockCallingName.getNameType()).thenReturn(0x00);
            when(mockCallingName.getScope()).thenReturn(null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/PropertyConfigurationTest.java

        void testEmptyProperties() throws CIFSException {
            // Given
            Properties emptyProps = new Properties();
    
            // When
            PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps);
    
            // Then
            assertNotNull(emptyConfig);
            // Hostname may be null when not provided in properties
            // This is expected behavior
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        /**
         * Notify when a directory name changes
         */
        public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2;
        /**
         * Notify when file attributes change
         */
        public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x4;
        /**
         * Notify when file size changes
         */
        public static final int FILE_NOTIFY_CHANGE_SIZE = 0x8;
        /**
         * Notify when last write time changes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        public Integer crawlingThreadCount;
    
        /**
         * Enable or disable search query logging.
         * When enabled, user search queries are logged for analysis.
         */
        @Size(max = 10)
        public String searchLog;
    
        /**
         * Enable or disable user information tracking.
         * When enabled, user information is stored and tracked.
         */
        @Size(max = 10)
        public String userInfo;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

                // Arrange
                when(mockCtx.getSigningKey()).thenReturn(new byte[] { 7 });
                when(mockCtx.isEstablished()).thenReturn(true);
                when(mockCtx.initSecContext(any(byte[].class), anyInt(), anyInt())).thenReturn(new byte[] { 9 });
                when(mockCtx.getNetbiosName()).thenReturn("NB");
                when(mockCtx.isSupported(any())).thenReturn(true);
                when(mockCtx.isPreferredMech(any())).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top