mirror of https://github.com/sipwise/jitsi.git
parent
e2976c311a
commit
8eb57ac432
@ -0,0 +1,58 @@
|
||||
/*
|
||||
* SIP Communicator, 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.protocol.sip;
|
||||
|
||||
import org.osgi.framework.*;
|
||||
import junit.framework.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* SIP specific testing for a SIP Protocol Provider Service implementation.
|
||||
* The test suite registers two accounts for
|
||||
*
|
||||
* @author Emil Ivov
|
||||
*/
|
||||
public class SipProtocolProviderServiceLick
|
||||
extends TestSuite
|
||||
implements BundleActivator
|
||||
{
|
||||
/**
|
||||
* The prefix used for property names containing settings for our first
|
||||
* testing account.
|
||||
*/
|
||||
public static final String ACCOUNT_1_PREFIX
|
||||
= "accounts.sip.account1.";
|
||||
|
||||
/**
|
||||
* The prefix used for property names containing settings for our second
|
||||
* testing account.
|
||||
*/
|
||||
public static final String ACCOUNT_2_PREFIX
|
||||
= "accounts.sip.account2.";
|
||||
|
||||
/**
|
||||
* Initializes and registers all tests that we'll run as a part of this
|
||||
* slick.
|
||||
*
|
||||
* @param context a currently valid bundle context.
|
||||
*/
|
||||
public void start(BundleContext context)
|
||||
{
|
||||
setName("SIPProtocolProviderServiceLick");
|
||||
Hashtable properties = new Hashtable();
|
||||
properties.put("service.pid", getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the slick for shutdown.
|
||||
*
|
||||
* @param context a currently valid bundle context.
|
||||
*/
|
||||
public void stop(BundleContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue