/
ActivatorTest.java
109 lines (95 loc) · 2.15 KB
/
ActivatorTest.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package net.certware.argument.arm.navigator;
import static org.junit.Assert.assertEquals;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.osgi.framework.BundleContext;
/**
* The class <code>ActivatorTest</code> contains tests for the class <code>{@link CertWareUIPlugin}</code>.
*
* @generatedBy CodePro at 9/17/10 12:24 PM
* @author mrb
* @version $Revision: 1.0 $
*/
public class ActivatorTest {
/**
* Run the BundleContext getContext() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/17/10 12:24 PM
*/
@Test
public void testGetContext_1()
throws Exception {
BundleContext result = Activator.getContext();
// add additional test code here
assertEquals(null, result);
}
/**
* Run the void start(BundleContext) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/17/10 12:24 PM
*/
@Test
public void testStart_1()
throws Exception {
Activator fixture = new Activator();
BundleContext bundleContext = null;
fixture.start(bundleContext);
// add additional test code here
}
/**
* Run the void stop(BundleContext) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/17/10 12:24 PM
*/
@Test
public void testStop_1()
throws Exception {
Activator fixture = new Activator();
BundleContext bundleContext = null;
fixture.stop(bundleContext);
// add additional test code here
}
/**
* Perform pre-test initialization.
*
* @throws Exception
* if the initialization fails for some reason
*
* @generatedBy CodePro at 9/17/10 12:24 PM
*/
@Before
public void setUp()
throws Exception {
// add additional set up code here
}
/**
* Perform post-test clean-up.
*
* @throws Exception
* if the clean-up fails for some reason
*
* @generatedBy CodePro at 9/17/10 12:24 PM
*/
@After
public void tearDown()
throws Exception {
// Add additional tear down code here
}
/**
* Launch the test.
*
* @param args the command line arguments
*
* @generatedBy CodePro at 9/17/10 12:24 PM
*/
public static void main(String[] args) {
new org.junit.runner.JUnitCore().run(ActivatorTest.class);
}
}