maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Walton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6535) Add unit tests for org.apache.maven.model.path.DefaultUrlNormalizer
Date Mon, 20 May 2019 12:24:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843919#comment-16843919
] 

Joseph Walton commented on MNG-6535:
------------------------------------

Although the PR's been declined, one of the tests improves the code coverage of {{DefaultUrlNormalizer}}.
To minimise it, and add a clearer statement of what it's testing:

{code}
    public void testNormalizeInputWithNoParentDirectoriesToAscendTo()
    {
        assertEquals("a/../", normalize("a/../"));
    }
{code}


> Add unit tests for org.apache.maven.model.path.DefaultUrlNormalizer
> -------------------------------------------------------------------
>
>                 Key: MNG-6535
>                 URL: https://issues.apache.org/jira/browse/MNG-6535
>             Project: Maven
>          Issue Type: Test
>            Reporter: Louis Mills
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> These tests were written by Diffblue Cover.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message