1
2
3
4
5
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
27
28 public void testFindClassesThatExtendClass() throws Exception {
29 List subclasses=FindClasses.findClassesThatExtend(ContentReader.class);
30
31 assertTrue("found at least one", subclasses.size()>0);
32 }
33 }