1   package de.fu_berlin.ties.filter;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import de.fu_berlin.ties.TiesConfiguration;
6   import de.fu_berlin.ties.filter.PredictionRewriter;
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 PredictionRewriterTest
19  // JUnitDoclet begin extends_implements
20  extends TestCase
21  // JUnitDoclet end extends_implements
22  {
23    // JUnitDoclet begin class
24    PredictionRewriter predictionfilter = null;
25    // JUnitDoclet end class
26    
27    public PredictionRewriterTest(String name) {
28      // JUnitDoclet begin method PredictionRewriterTest
29      super(name);
30      // JUnitDoclet end method PredictionRewriterTest
31    }
32    
33    public de.fu_berlin.ties.filter.PredictionRewriter createInstance() throws Exception {
34      // JUnitDoclet begin method testcase.createInstance
35      return new PredictionRewriter(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      predictionfilter = createInstance();
43      // JUnitDoclet end method testcase.setUp
44    }
45    
46    protected void tearDown() throws Exception {
47      // JUnitDoclet begin method testcase.tearDown
48      predictionfilter = null;
49      super.tearDown();
50      // JUnitDoclet end method testcase.tearDown
51    }
52    
53    public void testProcessToken() throws Exception {
54      // JUnitDoclet begin method processToken
55      // JUnitDoclet end method processToken
56    }
57    
58    public void testRewrite() throws Exception {
59      // JUnitDoclet begin method rewrite
60      // JUnitDoclet end method rewrite
61    }
62    
63    public void testToString() throws Exception {
64      // JUnitDoclet begin method toString
65      // JUnitDoclet end method toString
66    }
67    
68    
69    
70    /***
71    * JUnitDoclet moves marker to this method, if there is not match
72    * for them in the regenerated code and if the marker is not empty.
73    * This way, no test gets lost when regenerating after renaming.
74    * Method testVault is supposed to be empty.
75    */
76    public void testVault() throws Exception {
77      // JUnitDoclet begin method testcase.testVault
78      // JUnitDoclet end method testcase.testVault
79    }
80    
81    public static void main(String[] args) {
82      // JUnitDoclet begin method testcase.main
83      junit.textui.TestRunner.run(PredictionRewriterTest.class);
84      // JUnitDoclet end method testcase.main
85    }
86  }