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