Update of /cvsroot/xdoclet/xdoclet2/src/test/java/xdoclet
In directory sc8-pr-cvs1:/tmp/cvs-serv5707/src/test/java/xdoclet
Modified Files:
ClasspathManagerTest.java
Log Message:
Added icon support for BeanInfo and added some ugly icons for jelly and velocity.
Index: ClasspathManagerTest.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet2/src/test/java/xdoclet/ClasspathManagerTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ClasspathManagerTest.java 16 Mar 2003 17:06:59 -0000 1.5
--- ClasspathManagerTest.java 16 Mar 2003 20:38:55 -0000 1.6
***************
*** 7,18 ****
import junit.framework.TestCase;
- import org.apache.commons.collections.CollectionUtils;
- import xdoclet.util.ClasspathManager;
import xdoclet.util.FileUtils;
import java.io.File;
import java.io.FileFilter;
- import java.util.Collection;
- import java.util.Iterator;
/**
--- 7,14 ----
***************
*** 51,74 ****
public void testGetJars() {
assertEquals(1, XDoclet.getClasspathManager().getJars().size());
- }
-
- public void testGetMetaData() {
- // the metadata for XDoclet - the "root" element.
- // ConfigMeta xdocletMeta = XDoclet.getConfigMeta();
-
- // Find out how many different doclet classes we have.
- // Collection tasks = xdocletMeta.getChildren();
- // assertEquals( 3, tasks.size() );
- }
-
- public void testGetClassesFromClasspath() {
- Collection classes = XDoclet.getClasspathManager().getClassesFromClasspath();
- Collection pluginClasses = CollectionUtils.select(classes, new
ClasspathManager.AssignableFromPredicate(Plugin.class));
- for (Iterator i = pluginClasses.iterator(); i.hasNext();) {
- Class clazz = (Class) i.next();
- // System.out.println("Plugin class: " + clazz.getName());
- }
- // The test plugin is the only one.
- assertEquals(1, pluginClasses.size());
}
}
--- 47,50 ----
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel