Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCreateTime (0.29 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            int result = instance.getAttributes();
            assertEquals(expResult, result);
        }
    
        /**
         * Test of createTime method, of class SmbShareInfo.
         */
        @Test
        void testCreateTime() {
            SmbShareInfo instance = new SmbShareInfo();
            long expResult = 0L;
            long result = instance.createTime();
            assertEquals(expResult, result);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Verify
            assertEquals(expectedAttributes, fileBothDirectoryInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test createTime returns correct creation time")
        void testCreateTime() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            long expectedCreationTime = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top