Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for Scenarios (1.12 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            assertTrue(directive.allows("/admin/public/page.html"));
            assertFalse(directive.allows("/admin/secret.html"));
        }
    
        public void test_complexScenario() {
            // Test complex robots.txt scenario
            RobotsTxt robotsTxt = new RobotsTxt();
    
            // Add directive for all bots
            Directive allBotsDirective = new Directive("*");
            allBotsDirective.addDisallow("/admin/");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle mixed lock operations")
            void testMixedLockOperations() {
                // Simulate a complex scenario with mixed lock operations
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 512L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                echoResponse.received();
                assertTrue(echoResponse.isReceived());
                assertFalse(echoResponse.isError());
            }
    
            @Test
            @DisplayName("Should handle error scenario")
            void testErrorScenario() {
                byte[] buffer = new byte[1024];
                int bufferIndex = 64;
    
                // Write invalid structure size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                } catch (SmbException e) {
                                    // Account locked out - this is expected behavior in concurrent scenario
                                    blockedAttempts.incrementAndGet();
                                    break; // Stop trying if account is locked
                                }
    
                                if (!allowed) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            Handler handler = new Handler();
            Handler.StorageURLConnection conn = (Handler.StorageURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when endpoint is blank
            try {
                conn.connect();
                fail("Should throw IOException when endpoint is not set");
            } catch (IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
            // Setup readAndXWireFormat scenario
            testBlock.headerStart = 0;
            buffer[0] = 4; // wordCount at position 0
            buffer[1] = (byte) 0x42; // andxCommand
            SMBUtil.writeInt2(0, buffer, 3); // andxOffset = 0 (triggers Snap workaround)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top