commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NET-563) MLSxEntryParser needs test cases; parsing is too lax
Date Wed, 10 Dec 2014 01:59:12 GMT

     [ https://issues.apache.org/jira/browse/NET-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved NET-563.
----------------------
       Resolution: Fixed
    Fix Version/s: 3.4

URL: http://svn.apache.org/r1644305
Log:
NET-563 MLSxEntryParser needs test cases; parsing is too lax

Added:
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/MLSxEntryParserTest.java
Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java


> MLSxEntryParser needs test cases; parsing is too lax
> ----------------------------------------------------
>
>                 Key: NET-563
>                 URL: https://issues.apache.org/jira/browse/NET-563
>             Project: Commons Net
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 3.4
>
>
> The MLSxEntryParser currently has no proper unit tests.
> Also the parsing is too lax, for example at least one fact is required unless the entry
starts with a space, but this is not detected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message