Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FILE_INTERNAL_INFO (0.73 sec)

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

            when(internalInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_INTERNAL_INFO);
    
            // Verify each has correct level
            assertEquals(FileInformation.FILE_BASIC_INFO, basicInfo.getFileInformationLevel());
            assertEquals(FileInformation.FILE_STANDARD_INFO, standardInfo.getFileInformationLevel());
            assertEquals(FileInformation.FILE_INTERNAL_INFO, internalInfo.getFileInformationLevel());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        @Test
        @DisplayName("Test constructor initializes with config and info type/class")
        void testConstructor() {
            byte infoType = Smb2Constants.SMB2_0_INFO_FILE;
            byte infoClass = FileInformation.FILE_INTERNAL_INFO;
    
            response = new Smb2QueryInfoResponse(mockConfig, infoType, infoClass);
    
            assertNotNull(response);
            assertNull(response.getInfo()); // Should be null before decoding
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor with FILE_INTERNAL_INFO level")
        void testConstructorWithFileInternalInfo() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_INTERNAL_INFO);
    
            assertNotNull(response);
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, response.getSubCommand());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileInformation.java

        /**
         * File standard information class constant.
         */
        byte FILE_STANDARD_INFO = 0x5;
    
        /**
         * File internal information class constant.
         */
        byte FILE_INTERNAL_INFO = 0x6;
    
        /**
         * File rename information class constant.
         */
        byte FILE_RENAME_INFO = 10;
    
        /**
         * Gets the file information level/class for this file information object.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
        @Override
        public byte getFileInformationLevel() {
            return FILE_INTERNAL_INFO;
        }
    
        /**
         * Gets the file index number.
         *
         * @return the index number assigned by the file system
         */
        public long getIndexNumber() {
            return this.indexNumber;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         */
        private static Decodable createFileInformation(final byte infoClass) throws SMBProtocolDecodingException {
            return switch (infoClass) {
            case FileInformation.FILE_INTERNAL_INFO -> new FileInternalInfo();
            default -> throw new SMBProtocolDecodingException("Unknown file info class " + infoClass);
            };
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @BeforeEach
        void setUp() {
            fileInternalInfo = new FileInternalInfo();
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns FILE_INTERNAL_INFO")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_INTERNAL_INFO, fileInternalInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test initial indexNumber value is 0")
        void testInitialIndexNumber() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

                inf = new FileBasicInfo();
                break;
            case FileInformation.FILE_STANDARD_INFO:
                inf = new FileStandardInfo();
                break;
            case FileInformation.FILE_INTERNAL_INFO:
                inf = new FileInternalInfo();
                break;
            default:
                return null;
            }
            return inf;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                if (th.isSMB2()) {
                    final Smb2QueryInfoRequest req = new Smb2QueryInfoRequest(th.getConfig());
                    req.setFileInfoClass(FileInformation.FILE_INTERNAL_INFO);
                    final Smb2QueryInfoResponse resp = withOpen(th, Smb2CreateRequest.FILE_OPEN, SmbConstants.FILE_READ_ATTRIBUTES,
                            SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE, req);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top