1   /*
2    * Created on Feb 5, 2005
3    *
4    * TODO To change the template for this generated file go to
5    * Window - Preferences - Java - Code Style - Code Templates
6    */
7   package net.sf.gumshoe.indexer;
8   
9   import java.util.List;
10  
11  import junit.framework.TestCase;
12  
13  /***
14   * @author Gabor
15   *
16   * TODO To change the template for this generated type comment go to
17   * Window - Preferences - Java - Code Style - Code Templates
18   */
19  public class FindClassesTest extends TestCase {
20  
21  	public static void main(String[] args) {
22  		junit.textui.TestRunner.run(FindClassesTest.class);
23  	}
24  
25  	/*
26  	 * Class under test for List findClassesThatExtend(Class)
27  	 */
28  	public void testFindClassesThatExtendClass() throws Exception {
29  		List subclasses=FindClasses.findClassesThatExtend(ContentReader.class);
30  		// this fails when running under Maven ...
31  		assertTrue("found at least one", subclasses.size()>0);
32  	}
33  }