- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 780 for netted (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
} } // Helper method to create a mock SmbFile for more advanced tests if needed private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection).
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test TID property") void testTidProperty() { assertEquals(0xFFFF, testBlock.getTid()); testBlock.setTid(0x1234); assertEquals(0x1234, testBlock.getTid()); } @Test @DisplayName("Test PID property") void testPidProperty() { testBlock.setPid(0x5678);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@DisplayName("Should initialize totalBytesWritten to zero") void testInitialTotalBytesWrittenValue() { assertEquals(0, response.getTotalBytesWritten()); } } @Nested @DisplayName("Getter Tests") class GetterTests { @Test @DisplayName("Should get chunksWritten value") void testGetChunksWritten() { // Initial value should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.smb.SmbPipeHandleInternal; /** * Unit tests for a class that implements the {@link SmbPipeHandle} interface. * This test class uses a mock implementation to ensure any class adhering to the * SmbPipeHandle contract is tested for correctness. */ public class SmbPipeHandleTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java
* <li>Performance monitoring of nested operations</li> * </ul> * * @param context The context identifier for this request trace, helping to identify the scope or purpose * of the request. May be null if no specific context is needed. * @param parent The parent request trace that led to this request, establishing the chain of nested * operations. May be null for top-level requests.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
} @ParameterizedTest(name = "Int getter {2} returns {1}") @MethodSource("intGetterProvider") void intGetters_edgeCases(IntGetter getter, int value, String label) { // Arrange FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value); // Act int actual = getter.apply(e); // Assert assertEquals(value, actual, label); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertTrue(bytesRead > 0); assertEquals(numReferrals, response.getDfsResponse().getNumReferrals()); } } @Nested @DisplayName("DfsResponse Getter Tests") class DfsResponseGetterTests { @Test @DisplayName("Should return same DfsResponse instance") void testGetDfsResponseReturnsSameInstance() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testGetTid() { // Given when(mockResponse.getTid()).thenReturn(12345); // When int tid = mockResponse.getTid(); // Then assertEquals(12345, tid, "Should return the configured tree ID"); verify(mockResponse).getTid(); } @Test @DisplayName("Should return service type")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
"Should throw DcerpcException for missing endpoint"); } } @Nested @DisplayName("Getter Method Tests") class GetterTests { @Test @DisplayName("Should return correct transport context") void testGetTransportContext() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
import java.util.Arrays; import java.util.Objects; import java.util.stream.Stream; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0)