Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testKnownExtensions (0.08 sec)

  1. src/test/java/jcifs/smb1/util/MimeMapTest.java

        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
                assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
                assertEquals("application/msword", mimeMap.getMimeType("doc"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top