cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r390867 - /cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapTestCase.java
Date Sun, 02 Apr 2006 17:26:00 GMT
Author: cziegeler
Date: Sun Apr  2 10:26:00 2006
New Revision: 390867

URL: http://svn.apache.org/viewcvs?rev=390867&view=rev
Log:
Correct configuration url for sitemap based test cases

Modified:
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapTestCase.java

Modified: cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapTestCase.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapTestCase.java?rev=390867&r1=390866&r2=390867&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapTestCase.java (original)
+++ cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapTestCase.java Sun
Apr  2 10:26:00 2006
@@ -104,8 +104,8 @@
     
     protected String getConfiguration() {
         String className = this.getClass().getName();
-        String dir = className.replace('.', '/');
-        return dir + ".xconf";
+        String dir = this.classDir;
+        return dir + className.substring(className.lastIndexOf('.') + 1) + ".xconf";
     }
     
     /**



Mime
View raw message