1   package de.fu_berlin.ties.extract.amend;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import de.fu_berlin.ties.TiesConfiguration;
6   import de.fu_berlin.ties.extract.ExtractionContainerTest;
7   import de.fu_berlin.ties.extract.amend.BeginEndReextractor;
8   import de.fu_berlin.ties.extract.reestimate.LengthFilter;
9   // JUnitDoclet end import
10  
11  /***
12  * Generated by JUnitDoclet, a tool provided by
13  * ObjectFab GmbH under LGPL.
14  * Please see www.junitdoclet.org, www.gnu.org
15  * and www.objectfab.de for informations about
16  * the tool, the licence and the authors.
17  */
18  
19  
20  public class BeginEndReextractorTest
21  // JUnitDoclet begin extends_implements
22  extends TestCase
23  // JUnitDoclet end extends_implements
24  {
25    // JUnitDoclet begin class
26    BeginEndReextractor beginendreextractor = null;
27    // JUnitDoclet end class
28    
29    public BeginEndReextractorTest(String name) {
30      // JUnitDoclet begin method BeginEndReextractorTest
31      super(name);
32      // JUnitDoclet end method BeginEndReextractorTest
33    }
34    
35    public de.fu_berlin.ties.extract.amend.BeginEndReextractor createInstance() throws Exception {
36      // JUnitDoclet begin method testcase.createInstance
37      return new BeginEndReextractor(ExtractionContainerTest.CLASSES,
38              TiesConfiguration.CONF,
39              new LengthFilter(null, TiesConfiguration.CONF));
40      // JUnitDoclet end method testcase.createInstance
41    }
42    
43    protected void setUp() throws Exception {
44      // JUnitDoclet begin method testcase.setUp
45      super.setUp();
46      beginendreextractor = createInstance();
47      // JUnitDoclet end method testcase.setUp
48    }
49    
50    protected void tearDown() throws Exception {
51      // JUnitDoclet begin method testcase.tearDown
52      beginendreextractor = null;
53      super.tearDown();
54      // JUnitDoclet end method testcase.tearDown
55    }
56    
57    public void testReextract() throws Exception {
58      // JUnitDoclet begin method reextract
59      // JUnitDoclet end method reextract
60    }
61    
62    public void testToString() throws Exception {
63      // JUnitDoclet begin method toString
64      // JUnitDoclet end method toString
65    }
66    
67    public void testTrain() throws Exception {
68      // JUnitDoclet begin method train
69      // JUnitDoclet end method train
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(BeginEndReextractorTest.class);
88      // JUnitDoclet end method testcase.main
89    }
90  }