Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 682 for bundle (0.4 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

            verify(mockConfig).getDefaultUsername();
            verify(mockConfig).getDefaultPassword();
            verify(mockConfig).getDefaultDomain();
        }
    
        @Test
        @DisplayName("Constructor should handle credentials from configuration")
        void testConstructorWithCredentials() throws CIFSException {
            // Given
            Configuration configWithCreds = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Reconnect Create Context (DHnC)
     *
     * MS-SMB2 Section 2.2.13.2.5
     */
    public class DurableHandleReconnect implements CreateContextRequest {
    
        /**
         * Context name for durable handle reconnect
         */
        public static final String CONTEXT_NAME = "DHnC";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                // Lease completely broken - invalidate cache
                entry.invalidate();
            }
    
            if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) {
                // Lost handle cache - may need to close directory handle
                changeNotifier.stopWatching(directoryPath);
            }
    
            // Forward to base lease manager
            baseLeaseManager.handleLeaseBreak(leaseKey, newState);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

        private static final String ASCII_STRING = "ASCII Test";
    
        @Nested
        @DisplayName("Basic Encoding Methods")
        class BasicEncodingTests {
    
            @Test
            @DisplayName("getBytes should handle null string")
            void testGetBytesWithNull() {
                // When
                byte[] result = Strings.getBytes(null, StandardCharsets.UTF_8);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos());
                assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt());
            }
    
            @Test
            @DisplayName("Should handle empty arrays in decode")
            void testDecodeEmptyArrays() throws SMBProtocolDecodingException {
                // Arrange
                context = new PreauthIntegrityNegotiateContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcBind.java

        /**
         * Construct bind message
         *
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        /**
         * Constructs a new DcerpcBind message.
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertTrue(testHandler instanceof jcifs.http.Handler);
                assertEquals(443, testHandler.getDefaultPort());
            }
    
            @Test
            @DisplayName("Should handle multiple instances")
            void testMultipleInstances() {
                // When
                Handler handler1 = new Handler(null);
                Handler handler2 = new Handler(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

            @Test
            @DisplayName("Should handle empty or null ApplyToText")
            void shouldHandleEmptyApplyToText() {
                ACE ace1 = mock(ACE.class);
                ACE ace2 = mock(ACE.class);
                when(ace1.getApplyToText()).thenReturn("");
                when(ace2.getApplyToText()).thenReturn(null);
    
                assertEquals("", ace1.getApplyToText(), "Should handle empty apply text");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
                return;
            }
    
            // Should handle case sensitivity properly
            assertNotNull(functionBuilders);
            assertEquals(0, functionBuilders.size()); // No data loaded
        }
    
        public void test_load_emptyState() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top