click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1034644 - /click/trunk/click/framework/test/org/apache/click/control/FileFieldTest.java
Date Sat, 13 Nov 2010 04:50:31 GMT
Author: sabob
Date: Sat Nov 13 04:50:30 2010
New Revision: 1034644

URL: http://svn.apache.org/viewvc?rev=1034644&view=rev
Log:
fix FileFieldTest on Linux

Modified:
    click/trunk/click/framework/test/org/apache/click/control/FileFieldTest.java

Modified: click/trunk/click/framework/test/org/apache/click/control/FileFieldTest.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/control/FileFieldTest.java?rev=1034644&r1=1034643&r2=1034644&view=diff
==============================================================================
--- click/trunk/click/framework/test/org/apache/click/control/FileFieldTest.java (original)
+++ click/trunk/click/framework/test/org/apache/click/control/FileFieldTest.java Sat Nov 13
04:50:30 2010
@@ -62,7 +62,7 @@ public class FileFieldTest extends TestC
           // Prepare a file for upload
         String fileName = "test.htm";
         String filePath = "/web/" + fileName;
-            URL resource = FileFieldTest.class.getResource(filePath);
+            URL resource = container.getClass().getResource(filePath);
             URI uri = new URI(resource.toString());
             File file = new File(uri);
 



Mime
View raw message