1
2
3
4 package org.melati.test;
5
6 import org.melati.PoemContext;
7
8 import junit.framework.TestCase;
9
10
11
12
13
14
15 public class PoemContextTest extends TestCase {
16
17
18
19
20
21 public PoemContextTest(String name) {
22 super(name);
23 }
24
25
26
27
28 protected void setUp()
29 throws Exception {
30 super.setUp();
31 }
32
33
34
35
36 protected void tearDown()
37 throws Exception {
38 super.tearDown();
39 }
40
41
42
43
44 public void testPoemContext() {
45
46 }
47
48
49
50
51
52 public void testPoemContextStringStringIntegerString() {
53 PoemContext pc = new PoemContext("ldb", "table",new Integer(0),"method");
54 assertEquals("ldb", pc.getLogicalDatabase());
55 assertEquals("table", pc.getTable());
56 assertEquals(new Integer(0), pc.getTroid());
57 assertEquals("method", pc.getMethod());
58
59 }
60
61
62
63
64 public void testToString() {
65
66 }
67
68
69
70
71
72
73 public void testClone() throws Exception {
74 PoemContext pc = new PoemContext();
75 pc.setLogicalDatabase("test");
76 PoemContext pc2 = (PoemContext)pc.clone();
77 assertEquals("test",pc2.getLogicalDatabase());
78 }
79
80
81
82
83 public void testGetLogicalDatabase() {
84
85 }
86
87
88
89
90 public void testGetTable() {
91
92 }
93
94
95
96
97 public void testGetTroid() {
98
99 }
100
101
102
103
104 public void testGetMethod() {
105
106 }
107
108
109
110
111 public void testSetLogicalDatabase() {
112
113 }
114
115
116
117
118 public void testSetMethod() {
119
120 }
121
122
123
124
125 public void testSetTable() {
126
127 }
128
129
130
131
132 public void testSetTroid() {
133
134 }
135
136 }