Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setInfo (1.45 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test setInfo method")
        void testSetInfo() {
            request = new Smb2SetInfoRequest(mockConfig);
            Encodable mockInfo = mock(Encodable.class);
    
            request.setInfo(mockInfo);
    
            // Verify info object was set
            Field infoField;
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @Test
        void testGetInfo() {
            // Test getInfo method when info is null
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            assertNull(response.getInfo());
        }
    
        @Test
        void testGetInfoWithClass_Compatible() throws CIFSException {
            // Test getInfo with compatible class
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Should return at least to the end of the data
            assertTrue(result >= 158); // (50 + 300 + 8) - 200
            assertNotNull(response.getInfo());
            assertTrue(response.getInfo() instanceof FileInternalInfo);
        }
    
        @Test
        @DisplayName("Test multiple calls to getInfo return same instance")
        void testMultipleGetInfoCalls() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getInfo when info is null")
        void testGetInfoWhenNull() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            assertNull(response.getInfo());
        }
    
        @Test
        @DisplayName("Test getInfo with type when info is null")
        void testGetInfoWithTypeWhenNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top