- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 602 for correctos (0.04 sec)
-
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
cmd/erasure-multipart-conditional_test.go
t.Logf("But expected read quorum error, not object-not-found error") } }) t.Run("if-match with correct ETag and read quorum failure", func(t *testing.T) { // Test Case 3: if-match with CORRECT ETag but read quorum failure // Even with the correct ETag, we shouldn't proceed if we can't verify it. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: existingETag,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/en/docs/deployment/versions.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Then assertNotNull(response); assertTrue(response instanceof Smb2NegotiateResponse); } @Test @DisplayName("Should calculate size correctly without contexts") void testSizeWithoutContexts() { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302); request = new Smb2NegotiateRequest(mockConfig, 0); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
@Test @DisplayName("Should create correct response") void testCreateResponse() { // When Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @Test @DisplayName("Should calculate correct size") void testSize() { // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
return size; } } @Nested @DisplayName("Interface Contract Tests") class InterfaceContractTests { @Test @DisplayName("Interface should be correctly implemented by mock") void testInterfaceImplementation() { CreateContextRequest request = mock(CreateContextRequest.class); assertNotNull(request);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
@Test @DisplayName("happy: constructor sets command correctly") void testConstructorSetsCommand() { SmbComClose close = new SmbComClose(1, 12345L); assertEquals(SMB_COM_CLOSE, close.command, "command should be SMB_COM_CLOSE after construction"); } /** * Verify that writeParameterWordsWireFormat writes the file id and the * unsigned time correctly. The last write time is zero which should beRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
int newFlags = 0x12345678; leaseContext.setLeaseFlags(newFlags); assertEquals(newFlags, leaseContext.getLeaseFlags()); } @Test @DisplayName("Should encode context correctly") void testEncode() { byte[] buffer = new byte[leaseContext.size()]; int encoded = leaseContext.encode(buffer, 0); assertEquals(leaseContext.size(), encoded);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
assertEquals(2, pair.length, String.format("Error mapping at index %d should contain two integers", i)); } } @Test @DisplayName("Known DOS error is correctly mapped to NTSTATUS") void testKnownMapping() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; Optional<Integer> actual = findNtStatus(dosErr);
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/io/Smb2WriteRequestTest.java
@Test @DisplayName("Should calculate size correctly with no data") void testSizeWithNoData() { request.setData(new byte[0], 0, 0); int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8; assertEquals(expectedSize, request.size()); } @Test @DisplayName("Should calculate size correctly with data") void testSizeWithData() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0)