Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testGetSize (0.42 sec)

  1. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            assertEquals(serverTimeZoneOffset, response.getLastWriteTime());
        }
    
        /**
         * Test of getSize method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetSize() {
            // Initially, fileSize should be 0.
            assertEquals(0, response.getSize());
        }
    
        /**
         * Test of writeParameterWordsWireFormat method, of class SmbComQueryInformationResponse.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. 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 =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top