Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 192 for srcEnd (0.34 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertEquals(domain, type1Message.getSuppliedDomain());
        }
    
        @Test
        void testInitSecContext_state2_type3Message() throws Exception {
            // Test the second step (processing Type 2 and creating Type 3 message)
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

                byte[] thirdEncoding = parsed2.toByteArray();
    
                assertArrayEquals(firstEncoding, secondEncoding, "First and second encoding should be identical");
                assertArrayEquals(secondEncoding, thirdEncoding, "Second and third encoding should be identical");
    
                // Verify content preservation
                assertArrayEquals(mechs, parsed2.getMechanisms());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Need successThreshold (2) consecutive successes to close the circuit
            // Second success should close the circuit (threshold is 2)
            result = circuitBreaker.executeWithCircuitBreaker(() -> "success 1");
            assertEquals("success 1", result, "Should execute second success");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                client.init();
            }
            assertTrue("Client should be initialized", client.isInit.get());
    
            // Second initialization attempt should be no-op
            boolean secondInit = client.isInit.compareAndSet(false, true);
            assertFalse("Second initialization should not occur", secondInit);
            assertTrue("Client should still be initialized", client.isInit.get());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            final InputStream in2 = new ByteArrayInputStream("data2".getBytes());
    
            // First call
            extractor.testValidateInputStream(in1);
    
            // Second call with different stream
            extractor.testValidateInputStream(in2);
    
            // Third call with null should still throw
            try {
                extractor.testValidateInputStream(null);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

                    .get()
                    .post()
                    .url("https://first.com")
                    .url("https://second.com")
                    .weight(1.0f)
                    .weight(2.0f)
                    .build();
    
            assertEquals(Method.POST, data.getMethod());
            assertEquals("https://second.com", data.getUrl());
            assertEquals(2.0f, data.getWeight(), 0.001f);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
    
            /**
             * Compares two times.
             *
             * @param h1 the first hour
             * @param m1 the first minute
             * @param h2 the second hour
             * @param m2 the second minute
             * @return positive if first time is earlier, 0 if equal, negative if later
             */
            protected int compareTime(final int h1, final int m1, final int h2, final int m2) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator2.hasNext(), "Second instance should have no elements");
                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

            // Test first host
            NbtAddress result = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result);
            assertEquals("TESTHOST", result.getHostName());
    
            // Test second host
            result = lmhosts.getByName("SERVER01", mockContext);
            assertNotNull(result);
            assertEquals("SERVER01", result.getHostName());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data1 = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            digest.update(data1, 0, data1.length);
            byte[] result1 = digest.digest();
            assertNotNull(result1);
    
            // Second cycle
            byte[] data2 = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            digest.update(data2, 0, data2.length);
            byte[] result2 = digest.digest();
            assertNotNull(result2);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top