Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20151103FC for ; Tue, 10 Dec 2013 00:44:08 +0000 (UTC) Received: (qmail 60657 invoked by uid 500); 10 Dec 2013 00:44:07 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 60531 invoked by uid 500); 10 Dec 2013 00:44:07 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 60433 invoked by uid 99); 10 Dec 2013 00:44:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 00:44:07 +0000 Date: Tue, 10 Dec 2013 00:44:07 +0000 (UTC) From: "BELUGA BEHR (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IO-417) FileNameUtils Invalid File Name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 BELUGA BEHR created IO-417: ------------------------------ Summary: 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)