Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for SMB_COM_QUERY_INFORMATION (0.12 seconds)

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

        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComQueryInformation.path);
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, smbComQueryInformation.command);
        }
    
        @Test
        public void testWriteParameterWordsWireFormat() {
            // This method is expected to do nothing and return 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, getCommand(response));
        }
    
        @Test
        void testConstructorWithNegativeTimezone() {
            // Test constructor with negative timezone offset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // The constructor sets the command and serverTimeZoneOffset.
            // We can't directly access serverTimeZoneOffset, but we can verify its effect.
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, response.command);
            assertEquals(serverTimeZoneOffset, response.getLastWriteTime());
        }
    
        /**
         * Test of getAttributes method, of class SmbComQueryInformationResponse.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
    
            /* normally we'd check the negotiatedCapabilities for CAP_NT_SMBS
             * however I can't seem to get a good last modified time from
             * SMB_COM_QUERY_INFORMATION so if NT_SMBs are requested
             * by the server than in this case that's what it will get
             * regardless of what jcifs.smb1.smb1.client.useNTSmbs is set
             * to(overrides negotiatedCapabilities).
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top