- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 837 for certify (0.04 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
Thread.sleep(500); // to make sure queue is processed, cancellation applied Mockito.verify(delegate).transferInitiated(transferInitiatedEvent); Mockito.verify(delegate).transferStarted(transferStartedEvent); Mockito.verify(delegate).transferProgressed(transferProgressedEvent); Mockito.verify(delegate).transferSucceeded(transferSucceededEvent); } private static TransferEvent event(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Dec 01 19:41:22 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.REMOTE_READ), "Should have remote read access"); // Verify provider was called verify(mockProvider, atLeastOnce()).registerMemory(any(ByteBuffer.class), any()); } @Test public void testReleaseSendRegion() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one assertEquals(expectedUserName, actualUserName, "getRemoteUser should return the principal's name."); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
cmd/erasure-multipart-conditional_test.go
}) t.Run("if-match with wrong ETag and read quorum failure", func(t *testing.T) { // Test Case 2: if-match with WRONG ETag // This should fail even without quorum issues, but with quorum failure // we can't verify the ETag at all. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag-12345", }, HasIfMatch: true, CheckPrecondFn: func(oi ObjectInfo) bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
// Read the buffer int bytesRead = notification.readBytesWireFormat(buffer, 0); // Verify the bytes read assertEquals(24, bytesRead); // Verify the fields were set correctly using reflection Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
* * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock) */ @Override public boolean verify(final byte[] data, final int offset, final int length, final int extraPad, final CommonServerMessageBlock msg) { // Validate input parameters if (data == null) { log.error("Data buffer is null in verify"); return false; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
.thenReturn(UpgradeResult.empty()); applyGoal.execute(context); // Verify that the Apply-specific header is logged verify(context.logger).info("Maven Upgrade Tool - Apply"); } finally { // Clean up - delete all files in the directory first try {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 10:39:17 UTC 2025 - 4.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java
} }; File tempFile = ResponseDataUtil.createResponseBodyFile(responseData); assertNotNull(tempFile); assertTrue(tempFile.exists()); // Read and verify content try (FileInputStream fis = new FileInputStream(tempFile)) { byte[] buffer = new byte[1024]; int bytesRead = fis.read(buffer); String content = new String(buffer, 0, bytesRead);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.9K bytes - Viewed (0)