- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 580 for correctos (0.08 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(mockConfig, responseConfig); // Verify response has correct fileId assertEquals(testFileId, response.getFileId()); // Verify response has correct fileName assertEquals(testFileName, response.getFileName()); } @Test @DisplayName("size should return correct message size") void testSize() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@Test @DisplayName("Should correctly implement SmbBasicFileInfo interface") void testSmbBasicFileInfoInterface() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // Use proper millisecond times that will be converted correctly long creationTimeMs = System.currentTimeMillis();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size"); // Note: We don't check if content is cleared as that's not a security requirement // The important part is that the buffer is valid and has correct size } /** * Test getBuffers method for transaction buffers. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java
assertEquals("5", KerberosConstants.KERBEROS_VERSION, "KERBEROS_VERSION should have the correct value."); assertEquals(23, KerberosConstants.RC4_ENC_TYPE, "RC4_ENC_TYPE should have the correct value."); assertEquals("HmacMD5", KerberosConstants.HMAC_ALGORITHM, "HMAC_ALGORITHM should have the correct value."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should parse correctly assertNotNull(binding); assertEquals(expectedProto, binding.getProto()); assertEquals(expectedServer, binding.getServer()); assertEquals(expectedEndpoint, binding.getEndpoint()); } @ParameterizedTest @DisplayName("Should handle IPv6 addresses correctly")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
pools: pools, name: "Correct", expectedErr: false, expectedUpdate: false, }, { meta: meta, pools: newPools, name: "Correct-Update", expectedErr: false, expectedUpdate: true, }, { meta: meta, pools: reducedPools, name: "Correct-Update", expectedErr: false,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
} } @Nested @DisplayName("Encode Tests") class EncodeTests { @Test @DisplayName("Should encode simple path correctly") void testEncodeSimplePath() { String path = "\\\\server\\share"; int maxReferralLevel = 3; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
@Test void testMessageConstructor() { String errorMessage = "This is a test error message."; PACDecodingException e = new PACDecodingException(errorMessage); // Expect the message to be set correctly and cause to be null assertEquals(errorMessage, e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a cause. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
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"); oplockLevelField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
class GetterTests { @Test @DisplayName("getPtype should return correct packet type") void testGetPtype() { message.ptype = DcerpcConstants.RPC_PT_REQUEST; assertEquals(DcerpcConstants.RPC_PT_REQUEST, message.getPtype()); } @Test @DisplayName("getFlags should return correct flags") void testGetFlags() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0)