- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 878 for Verify (0.04 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle); // Then - Use reflection to verify protected field Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype"); ptypeField.setAccessible(true); int ptypeValue = (int) ptypeField.get(msrpcSamrConnect2);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/UrlEscapersTest.java
*/ @GwtCompatible @NullUnmarked public class UrlEscapersTest extends TestCase { public void testUrlFormParameterEscaper() { UnicodeEscaper e = (UnicodeEscaper) urlFormParameterEscaper(); // Verify that these are the same escaper (as documented) assertSame(e, urlFormParameterEscaper()); assertBasicUrlEscaper(e); /*Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
@Test @DisplayName("Test security flags setter") void testSetSecurityFlags() { request = new Smb2CreateRequest(mockConfig, "test.txt"); request.setSecurityFlags((byte) 0x01); // Verify through writeBytesWireFormat byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); assertEquals((byte) 0x01, buffer[2]); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
assertTrue(connection instanceof NtlmHttpURLConnection, "Connection must be wrapped in NtlmHttpURLConnection."); // Verify that our custom factory was indeed used. verify(mockFactory).createURLStreamHandler("http"); } @Test void testOpenConnection_WithSystemPropertyHandler_SkipsJcifsPackage() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
errorResponse.status(Status.BAD_REQUEST); ApiResult result = errorResponse.result(); assertNotNull(result); // Cannot directly access protected fields, just verify the result is not null } // Test configuration for JSON response public void test_configurationSettings() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// // Then we read the signature and payload data. We compute the SHA256 checksum // of the payload and verify that it matches the expected signature value. // // The last chunk is *always* 0-sized. So, we must only return io.EOF if we have encountered // a chunk with a chunk size = 0. However, this chunk still has a signature and we must // verify it. const maxChunkSize = 16 << 20 // 16 MiB
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Security-focused test cases for NtlmPasswordAuthenticator to verify timing attack resistance. */ public class NtlmPasswordAuthenticatorTimingAttackTest { private static final int TIMING_ITERATIONS = 1000;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
*/ @DisplayName("NtStatus Tests") class NtStatusTest { @Test @DisplayName("Should define well-known NT status constants") void testWellKnownStatusConstants() { // Verify important NT status constants are defined assertEquals(0x00000000, NtStatus.NT_STATUS_SUCCESS); assertEquals((int) 0xC0000022L, NtStatus.NT_STATUS_ACCESS_DENIED);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)