- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 324 for Correct (0.03 sec)
-
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
handle.close(); // Verify close was called verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @Test void testClose_AlreadyClosed() throws IOException { // Test case: close() when already closed, should do nothing String server = "testServer";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
return super.toString(); } private static final long serialVersionUID = 0; } /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
@Test void testWitnessEventTypes() { assertEquals(7, WitnessEventType.values().length); WitnessEventType[] events = WitnessEventType.values(); // Verify all expected event types with correct values assertEquals(1, WitnessEventType.RESOURCE_CHANGE.getValue()); assertEquals(2, WitnessEventType.CLIENT_MOVE.getValue()); assertEquals(3, WitnessEventType.SHARE_MOVE.getValue());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
} public void test_temp_file_creation() { // Test that temp file uses correct prefix "S3Client" not "StorageClient" S3Client client = new S3Client() { @Override protected java.io.File createTempFile(String prefix, String suffix, java.io.File directory) { // Verify the prefix is correct assertEquals("crawler-S3Client-", prefix);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
@ExtendWith(MockitoExtension.class) public class SmbCopyUtilTest { // --- Tests for openCopyTargetFile --- @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("openCopyTargetFile sets correct access flags depending on alsoRead") void openCopyTargetFile_accessMask_respectsAlsoRead(boolean alsoRead) throws Exception { // Arrange SmbFile dest = mock(SmbFile.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport).ensureConnected(); } // Happy path: getDfsReferrals returns referral, verify arguments captured @Test @DisplayName("getDfsReferrals returns data and receives correct args") void getDfsReferrals_happy() throws Exception { when(transport.getDfsReferrals(any(), any(), any(), any(), anyInt())).thenReturn(referral);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
*/ public void setHeartbeatInterval(long heartbeatInterval) { this.heartbeatInterval = heartbeatInterval; } /** * Validates that the heartbeat response is correct. * The response sequence number should match the request sequence number. * * @return true if the response is valid */ public boolean isValidResponse() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
decoded.decode(buf); assertEquals(expected, decoded.value, "decoded value should match original after masking"); } /** * Verify that encode writes the correct little-endian sequence * to the buffer and that alignment is respected. */ @Test void encodeWritesCorrectBytesAndAlignment() throws NdrException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length); // Then assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position"); } @Test @DisplayName("findUNITermination should throw exception when termination not found") void testFindUNITerminationNotFound() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)