- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SmbComQueryInformationResponse (0.1 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
private SmbComQueryInformationResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); } @Test void testConstructor() { // Test constructor with positive timezone offset long serverTimeZoneOffset = 3600000L; // 1 hour in milliseconds response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
// Arrange when(mockTreeHandle.isSMB2()).thenReturn(false); SmbComQueryInformationResponse response = mock(SmbComQueryInformationResponse.class); when(response.getAttributes()).thenReturn(SmbConstants.ATTR_NORMAL); when(mockTreeHandle.send(any(), any(SmbComQueryInformationResponse.class))).thenReturn(response); // Act & Assert assertTrue(smbFile.exists());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0)