Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testWithMockConfiguration (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x00, setupBuffer[1]);
    
            // Verify parameter content
            assertEquals(0x0101, SMBUtil.readInt2(paramBuffer, 0));
        }
    
        @Test
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Verify parameter content (FS_SIZE_INFO -> 0x0103)
            assertEquals(0x0103, SMBUtil.readInt2(paramBuffer, 0));
        }
    
        @Test
        @DisplayName("Test with mock configuration")
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertNotNull(trans2SetFileInfo);
        }
    
        @Test
        @DisplayName("Test with mock configuration")
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top