commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-417) FileNameUtils Invalid File Name
Date Thu, 12 Dec 2013 13:37:07 GMT

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

Sebb commented on IO-417:
-------------------------

What about filing systems other than Windows and Unix?

Also Unix allows any character apart from "/" in a file name, and that is of course allowed
in a path name.

I'm not sure this would serve any useful purpose.


> FileNameUtils Invalid File Name
> -------------------------------
>
>                 Key: IO-417
>                 URL: https://issues.apache.org/jira/browse/IO-417
>             Project: Commons IO
>          Issue Type: Wish
>          Components: Utilities
>            Reporter: BELUGA BEHR
>            Priority: Trivial
>
> Create a constant String (or file) that has an invalid file and/or directory.  The file
path used must be invalid on both Windows and *nix.
> Would be used for testing.  I have done something similar when I'm unit testing a method
that uses: FileUtils#forceMkDir().
> My unit tests expect the IOException.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message