[
https://issues.apache.org/jira/browse/KNOX-3443?focusedWorklogId=1041330&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1041330
]
ASF GitHub Bot logged work on KNOX-3443:
----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Sep/26 09:08
Start Date: 14/Sep/26 09:08
Worklog Time Spent: 10m
Work Description: hanicz closed pull request #1385: KNOX-3443: add unit
test coverage for MimeTypes
URL: https://github.com/apache/knox/pull/1385
Issue Time Tracking
-------------------
Worklog Id: (was: 1041330)
Time Spent: 20m (was: 10m)
> Add unit test coverage for MimeTypes
> ------------------------------------
>
> Key: KNOX-3443
> URL: https://issues.apache.org/jira/browse/KNOX-3443
> Project: Apache Knox
> Issue Type: Task
> Reporter: Raghav Maheshwari
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Add comprehensive unit tests for org.apache.knox.gateway.util.MimeTypes in
> the gateway-util-common module.
> The tests should cover:
> Creating MIME types from valid values
> Handling null MIME type input
> Adding and preserving charset parameters
> Preserving existing MIME type parameters
> Handling malformed MIME type values
> Getting explicit and default charsets
> Setting and replacing charset values
> Handling null, empty, unknown, and parameterized MIME types
> Case-insensitive and whitespace-tolerant default charset lookup
> All configured default MIME type mappings
--
This message was sent by Atlassian Jira
(v8.20.10#820010)