Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testGetAttributes (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            assertEquals(BasicFileInformation.FILE_STANDARD_INFO, fileStandardInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getAttributes returns 0")
        void testGetAttributes() {
            assertEquals(0, fileStandardInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test getCreateTime returns 0")
        void testGetCreateTime() {
    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)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(0, response.getFileAttributes());
            }
    
            @Test
            @DisplayName("getAttributes should return same as getFileAttributes")
            void testGetAttributes() {
                assertEquals(response.getFileAttributes(), response.getAttributes());
            }
    
            @Test
            @DisplayName("getFileId should return the file ID passed in constructor")
    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)
  3. src/test/java/jcifs/SmbResourceTest.java

                assertFalse(canWrite, "Should not be writable");
            }
    
            @Test
            @DisplayName("getAttributes should return file attributes")
            void testGetAttributes() throws CIFSException {
                // Given
                int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
                when(mockResource.getAttributes()).thenReturn(expectedAttributes);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
Back to Top