1   package de.fu_berlin.ties.io;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import de.fu_berlin.ties.io.ExtensionFilter;
6   // JUnitDoclet end import
7   
8   /***
9   * Generated by JUnitDoclet, a tool provided by
10  * ObjectFab GmbH under LGPL.
11  * Please see www.junitdoclet.org, www.gnu.org
12  * and www.objectfab.de for informations about
13  * the tool, the licence and the authors.
14  */
15  
16  
17  public class ExtensionFilterTest
18  // JUnitDoclet begin extends_implements
19  extends TestCase
20  // JUnitDoclet end extends_implements
21  {
22    // JUnitDoclet begin class
23    ExtensionFilter extensionfilter = null;
24    // JUnitDoclet end class
25    
26    public ExtensionFilterTest(String name) {
27      // JUnitDoclet begin method ExtensionFilterTest
28      super(name);
29      // JUnitDoclet end method ExtensionFilterTest
30    }
31    
32    public de.fu_berlin.ties.io.ExtensionFilter createInstance() throws Exception {
33      // JUnitDoclet begin method testcase.createInstance
34      return new de.fu_berlin.ties.io.ExtensionFilter("txt", false);
35      // JUnitDoclet end method testcase.createInstance
36    }
37    
38    protected void setUp() throws Exception {
39      // JUnitDoclet begin method testcase.setUp
40      super.setUp();
41      extensionfilter = createInstance();
42      // JUnitDoclet end method testcase.setUp
43    }
44    
45    protected void tearDown() throws Exception {
46      // JUnitDoclet begin method testcase.tearDown
47      extensionfilter = null;
48      super.tearDown();
49      // JUnitDoclet end method testcase.tearDown
50    }
51    
52    public void testAccept() throws Exception {
53      // JUnitDoclet begin method accept
54      // JUnitDoclet end method accept
55    }
56    
57    public void testGetExtensions() throws Exception {
58      // JUnitDoclet begin method getExtensions
59      // JUnitDoclet end method getExtensions
60    }
61    
62    public void testIsCaseIgnored() throws Exception {
63      // JUnitDoclet begin method isCaseIgnored
64      // JUnitDoclet end method isCaseIgnored
65    }
66    
67    public void testToString() throws Exception {
68      // JUnitDoclet begin method toString
69      // JUnitDoclet end method toString
70    }
71    
72    
73    
74    /***
75    * JUnitDoclet moves marker to this method, if there is not match
76    * for them in the regenerated code and if the marker is not empty.
77    * This way, no test gets lost when regenerating after renaming.
78    * Method testVault is supposed to be empty.
79    */
80    public void testVault() throws Exception {
81      // JUnitDoclet begin method testcase.testVault
82      // JUnitDoclet end method testcase.testVault
83    }
84    
85    public static void main(String[] args) {
86      // JUnitDoclet begin method testcase.main
87      junit.textui.TestRunner.run(ExtensionFilterTest.class);
88      // JUnitDoclet end method testcase.main
89    }
90  }