- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 706 for verifyCn (0.04 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
// Then assertTrue(async); assertEquals(100, size); assertEquals(3000, timeout); assertTrue(canChain); verify(request).isResponseAsync(); verify(request).size(); verify(request).getOverrideTimeout(); verify(request).allowChain(nextRequest); } @Test @DisplayName("Test chaining scenario with multiple requests") void testChainingScenario() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
indexUpdateCallback.commit(); // Verify documents were sent assertEquals(1, indexingHelper.sendDocumentsCalled); assertEquals(0, indexUpdateCallback.docList.size()); } public void test_commit_withEmptyCache() { // Execute commit with no documents indexUpdateCallback.commit(); // Verify no indexing happened
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(Integer.MAX_VALUE, request3.getContextType()); } @Test @DisplayName("Should verify interface is Encodable") void testEncodableInterface() { NegotiateContextRequest request = new TestNegotiateContextRequest(1); // Verify the interface extends Encodable assertNotNull(request); assertTrue(request instanceof jcifs.Encodable); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
// Create exception with default constructor TransportException exception = new TransportException(); // Verify the exception is created and has no message assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); // Verify it's an instance of CIFSException assertTrue(exception instanceof CIFSException); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called } @Test void testClose() throws Exception { // Act smbTransport.close(); // Assert verify(smbTransport).close(); // Verify that the close method was called } @Test void testGetRemoteAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
mockedNtlmAuthenticator.verify(NtlmAuthenticator::getDefault); mockedNtlmAuthenticator.verify( () -> NtlmAuthenticator.requestNtlmPasswordAuthentication(eq(mockNtlmAuthenticator), eq("locationHint"), eq(null))); verify(mockRenewableCredentials, never()).renew(); // Ensure renewable path was not taken } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
public void test_constructor() { // Verify suffix is set correctly assertEquals(PagerCreator.SUFFIX, "Pager"); // Verify name suffix is set assertEquals("Pager", pagerCreator.getNameSuffix()); // Verify instance def is SESSION assertEquals(InstanceDefFactory.SESSION, pagerCreator.getInstanceDef()); // Verify auto binding def is NONE
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Verify the decision consulted the configuration // getConfig() is called twice: once in Kerb5Authenticator and once in NtlmPasswordAuthenticator verify(tc, times(2)).getConfig(); verify(config, times(1)).isAllowNTLMFallback(); verify(config, times(1)).isUseRawNTLM(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
/** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible @NullUnmarked public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); } public void testVerify_simpleMessage_success() { verify(true, "message"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle); // Verify that sendrecv was called with MsrpcSamrConnect4 verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class)); verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class)); } } @Test void testConstructor_NullServer() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)