1 package de.fu_berlin.ties.eval;
2
3 import junit.framework.TestCase;
4
5 import java.util.SortedSet;
6 import java.util.TreeSet;
7
8 import de.fu_berlin.ties.eval.Mistake;
9 import de.fu_berlin.ties.eval.Mistake.MistakeTypes;
10 import de.fu_berlin.ties.extract.Extraction;
11
12
13 /***
14 * Generated by JUnitDoclet, a tool provided by
15 * ObjectFab GmbH under LGPL.
16 * Please see www.junitdoclet.org, www.gnu.org
17 * and www.objectfab.de for informations about
18 * the tool, the licence and the authors.
19 */
20
21
22 public class MistakeTest
23
24 extends TestCase
25
26 {
27
28 Mistake mistake = null;
29
30
31 public MistakeTest(String name) {
32
33 super(name);
34
35 }
36
37 public de.fu_berlin.ties.eval.Mistake createInstance() throws Exception {
38
39 final SortedSet<MistakeTypes> mistakeSet = new TreeSet<MistakeTypes>();
40 mistakeSet.add(MistakeTypes.CompletelyMissing);
41 return new Mistake(new Extraction("speaker", "Dr. No"), null, mistakeSet,
42 "bond-007");
43
44 }
45
46 protected void setUp() throws Exception {
47
48 super.setUp();
49 mistake = createInstance();
50
51 }
52
53 protected void tearDown() throws Exception {
54
55 mistake = null;
56 super.tearDown();
57
58 }
59
60 public void testFlatten() throws Exception {
61
62
63 }
64
65 public void testConfusionType() throws Exception {
66
67
68 }
69
70 public void testGetAnswerKey() throws Exception {
71
72
73 }
74
75 public void testGetMistakes() throws Exception {
76
77
78 }
79
80 public void testGetPrediction() throws Exception {
81
82
83 }
84
85 public void testGetSource() throws Exception {
86
87
88 }
89
90 public void testToString() throws Exception {
91
92
93 }
94
95
96
97 /***
98 * JUnitDoclet moves marker to this method, if there is not match
99 * for them in the regenerated code and if the marker is not empty.
100 * This way, no test gets lost when regenerating after renaming.
101 * Method testVault is supposed to be empty.
102 */
103 public void testVault() throws Exception {
104
105
106 }
107
108 public static void main(String[] args) {
109
110 junit.textui.TestRunner.run(MistakeTest.class);
111
112 }
113 }