jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1551056 - /jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/util/XmlUtilTest.java
Date Sun, 15 Dec 2013 21:03:17 GMT
Author: juanpablo
Date: Sun Dec 15 21:03:16 2013
New Revision: 1551056

URL: http://svn.apache.org/r1551056
Log:
test for ClassUtils#MAPPINGS beginning with "ini/classmappings.xml", instead of "/ini/classmappings.xml"

Modified:
    jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/util/XmlUtilTest.java

Modified: jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/util/XmlUtilTest.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/util/XmlUtilTest.java?rev=1551056&r1=1551055&r2=1551056&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/util/XmlUtilTest.java (original)
+++ jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/util/XmlUtilTest.java Sun Dec
15 21:03:16 2013
@@ -59,6 +59,9 @@ public class XmlUtilTest extends TestCas
      	
      	elements = XmlUtil.parse( ModuleManager.PLUGIN_RESOURCE_LOCATION, null );
      	assertEquals( 0, elements.size() );
+     	
+     	elements = XmlUtil.parse( ClassUtil.MAPPINGS, "/classmappings/mapping" );
+     	assertEquals( 19, elements.size() );
     }
     
     public void testParseFromStream() throws FileNotFoundException {



Mime
View raw message