1 package de.fu_berlin.ties.demo;
2
3 import junit.framework.TestCase;
4
5 import de.fu_berlin.ties.TiesConfiguration;
6 import de.fu_berlin.ties.demo.SpamFilterDemo;
7
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 SpamFilterDemoTest
19
20 extends TestCase
21
22 {
23
24 final SpamFilterDemo spamfilterdemo;
25
26
27 public SpamFilterDemoTest(String name) {
28
29 super(name);
30
31 TiesConfiguration.CONF.setProperty("classifier.winnow.features", 600000);
32
33
34 spamfilterdemo = null;
35
36 }
37
38 public de.fu_berlin.ties.demo.SpamFilterDemo createInstance() throws Exception {
39
40 return null;
41
42 }
43
44 protected void setUp() throws Exception {
45
46 super.setUp();
47
48
49 }
50
51 protected void tearDown() throws Exception {
52
53
54 super.tearDown();
55
56 }
57
58 public void testMain() throws Exception {
59
60
61 }
62
63 public void testClassify() throws Exception {
64
65
66 }
67
68 public void testClearModel() throws Exception {
69
70
71 }
72
73 public void testGetTestSet() throws Exception {
74
75
76 }
77
78 public void testGetTrainingSet() throws Exception {
79
80
81 }
82
83 public void testReloadModel() throws Exception {
84
85
86 }
87
88 public void testToString() throws Exception {
89
90
91 }
92
93 public void testTrainNonspam() throws Exception {
94
95
96 }
97
98 public void testTrainSpam() throws Exception {
99
100
101 }
102
103
104
105 /***
106 * JUnitDoclet moves marker to this method, if there is not match
107 * for them in the regenerated code and if the marker is not empty.
108 * This way, no test gets lost when regenerating after renaming.
109 * Method testVault is supposed to be empty.
110 */
111 public void testVault() throws Exception {
112
113
114 }
115
116 public static void main(String[] args) {
117
118 junit.textui.TestRunner.run(SpamFilterDemoTest.class);
119
120 }
121 }