- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testGetSize (0.07 seconds)
-
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
void testGetLastAccessTime() { assertEquals(0L, fileStandardInfo.getLastAccessTime()); } @Test @DisplayName("Test getSize returns endOfFile value") void testGetSize() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; long expectedAllocationSize = 1024L; long expectedEndOfFile = 512L;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel()); } @Test @DisplayName("Test getSize always returns 0") void testGetSize() { // Default instance assertEquals(0L, fileBasicInfo.getSize()); // Instance with values FileBasicInfo info =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
void testGetEndOfFile() { assertEquals(0, response.getEndOfFile()); } @Test @DisplayName("getSize should return same as getEndOfFile") void testGetSize() { assertEquals(response.getEndOfFile(), response.getSize()); } @Test @DisplayName("getFileAttributes should return initial value of 0") void testGetFileAttributes() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0)