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 3B137960A for ; Tue, 20 Dec 2011 11:09:55 +0000 (UTC) Received: (qmail 1332 invoked by uid 500); 20 Dec 2011 11:09:54 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 1254 invoked by uid 500); 20 Dec 2011 11:09:54 -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 1246 invoked by uid 99); 20 Dec 2011 11:09:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2011 11:09:54 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2011 11:09:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E1BBA11D34F for ; Tue, 20 Dec 2011 11:09:30 +0000 (UTC) Date: Tue, 20 Dec 2011 11:09:30 +0000 (UTC) From: "Emmanuel Bourg (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <2145781242.30308.1324379370926.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SANSELAN-36) Sanselan tests fail on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANSELAN-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg updated SANSELAN-36: ----------------------------------- Fix Version/s: 1.0 > Sanselan tests fail on Windows > ------------------------------ > > Key: SANSELAN-36 > URL: https://issues.apache.org/jira/browse/SANSELAN-36 > Project: Commons Sanselan > Issue Type: Test > Reporter: Niall Pemberton > Priority: Minor > Fix For: 1.0 > > > A number of the Sanselan tests fail on windows - all related to the use of the following code with file paths: > {code} > "...".replaceAll("\\\\", System.getProperty("file.separator") > {code} > The problem is on windows the file separator is a "back slash" character which needs to be escaped in regular expressions. > This affects: > * SanselanTestConstants (causes ExceptionIntializedError because the static PHIL_HARVEY_TEST_IMAGE_FOLDER fails when its being initialized with a StringIndexOutOfBoundsException) > * SanselanGuessFormatTest fails in testGuess_all() and testGuess_unknown() throwing StringIndexOutOfBoundsException > * PngMultipleRoundtripTest fails in test() throwing StringIndexOutOfBoundsException -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira