[ 
https://issues.apache.org/jira/browse/KNOX-3452?focusedWorklogId=1041273&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1041273
 ]

ASF GitHub Bot logged work on KNOX-3452:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Sep/26 06:53
            Start Date: 14/Sep/26 06:53
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on PR #1393:
URL: https://github.com/apache/knox/pull/1393#issuecomment-5660168802

   ## Test Results
     4 files    4 suites   42s ⏱️
    84 tests  84 ✅ 0 💤 0 ❌
   102 runs  102 ✅ 0 💤 0 ❌
   
   Results for commit b5822b7b.
   
   
[test-results]:data:application/gzip;base64,H4sIAPiZp2oC/13MyQ6DIBSF4VcxrLvgMqj0ZRoGSUhVGoaV6bsXjFra5fef5GzIunmK6N6xW4didumCyUEm59dKUlyWVLeRnXjErPVfebpXKfgKVrr5J0wh+HCUkNf6CJgcOB/b8n3c3Rzubv+0XxaXCpDiIyFqUFyAFKznlArGGeU91mAYtTCAAUExen8AhoUejAIBAAA=
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1041273)
    Time Spent: 0.5h  (was: 20m)

> Add comprehensive unit tests for MimeTypes
> ------------------------------------------
>
>                 Key: KNOX-3452
>                 URL: https://issues.apache.org/jira/browse/KNOX-3452
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Raghav Maheshwari
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Add comprehensive unit test coverage for 
> org.apache.knox.gateway.util.MimeTypes.
> The tests should cover MIME type creation, charset handling, invalid input, 
> charset fallback behavior, MIME parameter preservation, wildcard MIME types, 
> normalization, and default charset lookup.
> Test coverage:
> •Null MIME type creation
> •Valid MIME type creation
> •Custom charset insertion
> •UTF-8 charset insertion
> •Existing charset preservation
> •Quoted charset values
> •Case-insensitive charset parameter names
> •Preservation of additional MIME parameters
> •Wildcard MIME types
> •Malformed, empty, and whitespace-only MIME types
> •Charset lookup with explicit and fallback values
> •Charset lookup with null MIME types
> •Adding and replacing charset parameters
> •Preservation of parameters when setting charset
> •Default charset lookup for supported MIME types
> •Case and whitespace normalization
> •Unknown, empty, parameterized, and structured MIME types



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to