Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testDefaultValues (2.57 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals(DialectVersion.SMB311, testConfig.getMaximumVersion());
        }
    
        @Test
        @DisplayName("Should provide default values for missing properties")
        void testDefaultValues() throws CIFSException {
            // Given
            Properties minimalProps = new Properties();
    
            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(minimalProps);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(0x800000, Smb2CreateRequest.FILE_OPEN_FOR_FREE_SPACE_QUERY);
        }
    
        @Test
        @DisplayName("Test default values after construction")
        void testDefaultValues() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Check default oplock level (NONE)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top