Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scenarios (0.04 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                fail("ProcessDestroyer inner class should exist");
            }
        }
    
        // Test exception handling scenarios
        public void test_exception_handling_scenarios() throws Exception {
            // Test various exception scenarios without triggering component dependencies
    
            // Test with null command list
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                    long minTime = timings.stream().mapToLong(Long::longValue).min().orElse(0L);
    
                    double variance = (maxTime - minTime) / avgTime;
                    // JVM timing in concurrent scenarios is inherently variable
                    // We verify implementation correctness rather than precise timing
                    assertTrue(variance < 50.0,
                            String.format(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         *
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
         * resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should handle concurrent encryption operations safely")
        void testConcurrentEncryption() throws Exception {
            // Given - Test a simpler concurrent scenario first
            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
                    testEncryptionKey, testEncryptionKey);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top