- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testGetInfo (0.25 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO); assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel()); } @Test void testGetInfo() { // Test getInfo method when info is null response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); assertNull(response.getInfo()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
assertNotNull(response); assertNull(response.getInfo()); // Should be null before decoding } @Test @DisplayName("Test getInfo returns decoded information") void testGetInfo() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); // Use reflection to set the info field var infoField = Smb2QueryInfoResponse.class.getDeclaredField("info");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertEquals(mockFileInfo, actualInfo); } catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test setInfo method") void testSetInfo() { request = new Smb2SetInfoRequest(mockConfig); Encodable mockInfo = mock(Encodable.class); request.setInfo(mockInfo); // Verify info object was set
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)