Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,747 for full (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle null path")
        void testNullPath() {
            // When creating with null path
            Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null);
    
            // Then - should not throw during construction
            assertNotNull(reqWithNull);
    
            // But should throw when trying to use the null path
            assertThrows(NullPointerException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTransportPoolTest.java

            @Test
            @DisplayName("Should handle null context")
            void testNullContext() {
                // Given
                when(transportPool.getSmbTransport(null, address, DEFAULT_PORT, false)).thenReturn(null);
    
                // When
                SmbTransport result = transportPool.getSmbTransport(null, address, DEFAULT_PORT, false);
    
                // Then
                assertEquals(null, result);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                boolean hasEnoughSpace = allocInfo.getFree() >= requiredSpace;
    
                // Then
                assertTrue(hasEnoughSpace);
            }
    
            @Test
            @DisplayName("Should support full disk detection pattern")
            void shouldSupportFullDiskDetectionPattern() {
                // Given
                TestAllocInfo fullDisk = new TestAllocInfo(1024L, 0L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        }
    
        /**
         * Test null password handling
         */
        @Test
        public void testNullPasswordHandling() {
            // Test with null String password
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", (String) null);
            assertNull(auth1.getPassword());
    
            // Test with null char[] password
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            @Override
            public boolean match(ResponseData responseData) {
                if (responseData == null) {
                    return false;
                }
    
                // Check URL condition
                String urlCondition = conditions.get("url");
                if (urlCondition != null && responseData.getUrl() != null) {
                    if (!responseData.getUrl().matches(urlCondition)) {
                        return false;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(1000L * sectorSize, fileFsSizeInfo.getCapacity());
                assertEquals(500L * sectorSize, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle full disk scenario")
            void shouldHandleFullDiskScenario() throws SMBProtocolDecodingException {
                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(24);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

            AuditEntry entry = auditEntryPool.poll();
            if (entry == null) {
                entry = new AuditEntry();
            } else {
                // Reset the entry
                entry.context = null;
                entry.message = null;
                entry.eventType = null;
                entry.severity = null;
                entry.timestamp = null;
            }
            return entry;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(1000L * sectorSize, fileFsFullSizeInfo.getCapacity());
                assertEquals(500L * sectorSize, fileFsFullSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle full disk scenario")
            void shouldHandleFullDiskScenario() throws SMBProtocolDecodingException {
                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(32);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        void testNullDecryptionKey() {
            // When/Then
            assertThrows(NullPointerException.class, () -> {
                new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, null);
            }, "Should throw NullPointerException for null decryption key");
        }
    
        @Test
        @DisplayName("Should accept null dialect during construction")
        void testNullDialect() {
            // When/Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

        private SmbComBlankResponse blank_resp = null;
        private DfsReferral dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        /**
         * DFS resolver instance
         */
        protected static Dfs dfs;
    
        NtlmPasswordAuthentication auth; // Cannot be null
        SmbTree tree = null; // Initially null
        String unc; // Initially null; set by getUncPath; never ends with '/'
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top