- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 878 for Verify (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
} @Test @DisplayName("Test constructor with Configuration") void testConstructor() { assertNotNull(response); // Verify configuration is set through parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test readParameterWordsWireFormat with zero setup count")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify the top of the stack trace is from this test class StackTraceElement topElement = stackTrace[0]; assertEquals(this.getClass().getName(), topElement.getClassName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
public void test_execute_queryBuilderCreation() { // Execute the job purgeDocJob.execute(); // Verify the query builder was created correctly assertNotNull(deleteQuery); assertTrue(deleteQuery instanceof RangeQueryBuilder); // Verify the range query parameters RangeQueryBuilder rangeQuery = (RangeQueryBuilder) deleteQuery;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
ns.encode(spy); // NdrShort passes its value (already masked to 0xFF) to enc_ndr_short verify(spy).enc_ndr_short(42); } /** * Verify that decode invokes NdrBuffer.dec_ndr_short. */ @Test void decodeWithSpiedBufferCallsDecMethod() throws NdrException { NdrShort ns = new NdrShort(0); // value will be overwritten
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.util.Arrays; import java.util.Optional; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for {@link DosError}. Since {@link DosError} only containsRegistered: 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/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify lease state assertEquals(leaseState, SMBUtil.readInt4(buffer, 40)); // Verify directory-specific data assertEquals(DirectoryCacheScope.RECURSIVE_TREE.ordinal(), SMBUtil.readInt4(buffer, 56)); // CacheScope assertEquals(45000L, SMBUtil.readInt8(buffer, 60)); // MaxCacheAge // Verify flags (RECURSIVE_TREE + NOTIFICATIONS)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
when(mockConfig.isRequireSecureNegotiate()).thenReturn(true); when(mockDigest.verify(buffer, 0, 100, 0, response)).thenReturn(false); boolean result = response.verifySignature(buffer, 0, 100); assertTrue(result); verify(mockDigest).verify(buffer, 0, 100, 0, response); } } @Nested @DisplayName("Expiration Tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
// Verify that the handle passed to the constructor is correctly set in the superclass assertEquals(mockHandle, lsarClose.handle, "The handle should be initialized correctly."); // Verify that the ptype is set to 0 assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
ServerMessageBlock response = new SmbComOpenAndXResponse(); // Execute send tree.send(request, response); // Verify session.send was called and tid was set verify(session).send(request, response); assertEquals(123, request.tid); } @Test void testSendWithDfs() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
private const val ALT_IPA_NAME = 7 override fun verify( host: String, session: SSLSession, ): Boolean = if (!host.isAscii()) { false } else { try { verify(host, session.peerCertificates[0] as X509Certificate) } catch (_: SSLException) { false } } fun verify( host: String, certificate: X509Certificate, ): Boolean =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0)