Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93C60DE3C for ; Wed, 14 Nov 2012 02:37:48 +0000 (UTC) Received: (qmail 50495 invoked by uid 500); 14 Nov 2012 02:37:47 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 50162 invoked by uid 500); 14 Nov 2012 02:37:46 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 50128 invoked by uid 99); 14 Nov 2012 02:37:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 02:37:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 02:37:44 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A919023888CD for ; Wed, 14 Nov 2012 02:37:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1409063 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java Date: Wed, 14 Nov 2012 02:37:24 -0000 To: commits@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121114023724.A919023888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ggregory Date: Wed Nov 14 02:37:23 2012 New Revision: 1409063 URL: http://svn.apache.org/viewvc?rev=1409063&view=rev Log: Sort members. Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java?rev=1409063&r1=1409062&r2=1409063&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java (original) +++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/local/test/UrlTests.java Wed Nov 14 02:37:23 2012 @@ -32,16 +32,6 @@ public class UrlTests extends AbstractProviderTestCase { /** - * Tests resolution of an absolute file name. - */ - public void testHashURL() throws Exception - { - final FileObject file = getReadFolder().resolveFile("test-hash-#test.txt"); - - assertEquals(file.toString(), UriParser.decode(file.getURL().toString())); - } - - /** * Tests FindFiles with a filename that has a hash sign in it. */ public void testHashFindFiles() throws Exception @@ -66,4 +56,14 @@ public class UrlTests fail("Test hash file containing 'test-hash' not found"); } } + + /** + * Tests resolution of an absolute file name. + */ + public void testHashURL() throws Exception + { + final FileObject file = getReadFolder().resolveFile("test-hash-#test.txt"); + + assertEquals(file.toString(), UriParser.decode(file.getURL().toString())); + } }