[
https://issues.apache.org/jira/browse/KNOX-3443?focusedWorklogId=1040621&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1040621
]
ASF GitHub Bot logged work on KNOX-3443:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Sep/26 22:45
Start Date: 09/Sep/26 22:45
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on PR #1385:
URL: https://github.com/apache/knox/pull/1385#issuecomment-5609766189
## Test Results
4 files 4 suites 40s ⏱️
84 tests 84 ✅ 0 💤 0 ❌
102 runs 102 ✅ 0 💤 0 ❌
Results for commit 29f8e7bb.
[test-results]:data:application/gzip;base64,H4sIAJrhoWoC/12Myw6DIBQFf8Ww7gIp0Gt/xgBCclOVhseq6b8XjFra5cw5mRdxONtI7h2/dCRmTCdMOaiEfq1IC5cl1Q34AWPMxvyZBz6LOf+jUzj/CBuCD7sJea3FnrIdjmJrvsWNm+DGbc/4ZcFUgLDBgb1prUEp2cMAzFmASVEjuJJSsysHITgn7w9OMtKkAgEAAA==
Issue Time Tracking
-------------------
Worklog Id: (was: 1040621)
Remaining Estimate: 0h
Time Spent: 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: 10m
> 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)