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