Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for violation (1.77 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            logger.logSecurityViolation("Test violation with stack trace", context);
    
            logger.setIncludeStackTrace(false);
            logger.logSecurityViolation("Test violation without stack trace", context);
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(2), stats.get(EventType.SECURITY_VIOLATION), "Should have 2 security violation events");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbExceptionTest.java

            assertTrue(exception.getMessage().toLowerCase().contains("access") && exception.getMessage().toLowerCase().contains("denied"));
        }
    
        @Test
        @DisplayName("Should format error message for sharing violation")
        void testSharingViolationError() {
            // Given
            int ntStatus = NtStatus.NT_STATUS_SHARING_VIOLATION;
    
            // When
            SmbException exception = new SmbException(ntStatus, false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtStatusTest.java

            // Should be an error status (0xC prefix)
            assertTrue((status & (int) 0xC0000000L) == (int) 0xC0000000L);
        }
    
        @Test
        @DisplayName("Should handle sharing violation status")
        void testSharingViolationStatus() {
            // Given
            int status = NtStatus.NT_STATUS_SHARING_VIOLATION;
    
            // When/Then
            assertEquals((int) 0xC0000043L, status);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

    import jcifs.CIFSException;
    
    /**
     * Exception thrown when errors occur during SMB protocol message decoding.
     * Indicates that an SMB message could not be properly parsed or decoded due to
     * malformed data, protocol violations, or unsupported message formats.
     *
     * @author mbechler
     */
    public class SMBProtocolDecodingException extends CIFSException {
    
        /**
         *
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    ### 4. Error Messages
    - ✅ Encoding information in TextExtractor errors
    - ✅ File type context in MS Office errors
    - ✅ Archive type in archive extractor errors
    
    ## Testing Best Practices
    
    1. **Isolation**: Each test is independent and doesn't affect others
    2. **Clarity**: Test names clearly describe what is being tested
    3. **Coverage**: Both success and failure paths are tested
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * and DI container integration.
     *
     * <p>Thread Safety: This class is thread-safe. Each evaluate() call creates
     * a new GroovyShell instance to ensure thread isolation.</p>
     *
     * <p>Resource Management: GroovyClassLoader instances are properly managed
     * and cleaned up after script evaluation to prevent memory leaks.</p>
     */
    public class GroovyEngine extends AbstractScriptEngine {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top