blob: 0e547f4a98d34cf776fd40aae9917fd6bd4a6fb1 (
plain)
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
|
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.slick.msghistory;
import java.util.*;
import junit.framework.*;
import net.java.sip.communicator.util.*;
import org.osgi.framework.*;
/**
*
* @author Damian Minkov
*/
public class MsgHistoryServiceLick extends TestSuite implements BundleActivator {
private static Logger logger = Logger.getLogger(MsgHistoryServiceLick.class);
protected static BundleContext bc = null;
/**
* Start the History Sevice Implementation Compatibility Kit.
*
* @param bundleContext
* BundleContext
* @throws Exception
*/
public void start(BundleContext bundleContext)
throws Exception
{
MsgHistoryServiceLick.bc = bundleContext;
setName("MsgHistoryServiceLick");
Hashtable<String, String> properties = new Hashtable<String, String>();
properties.put("service.pid", getName());
addTest(TestMsgHistoryService.suite());
addTest(TestMsgHistoryServiceMultiChat.suite());
bundleContext.registerService(getClass().getName(), this, properties);
logger.debug("Successfully registered " + getClass().getName());
}
/**
* stop
*
* @param bundlecontext BundleContext
* @throws Exception
*/
public void stop(BundleContext bundlecontext)
throws Exception
{
}
}
|