<No Comment Entered>

cusax-fix
Damian Minkov 19 years ago
parent 64fb9e0e60
commit 7621edb915

@ -61,6 +61,7 @@ net.kano.level = INFO
net.sf.cindy.impl.level = INFO
# But we want everything coming from the sip-comm
net.java.sip.communicator.impl.level = INFO
net.java.sip.communicator.impl.contactlist.level = FINEST
net.java.sip.communicator.slick.level = FINEST
net.java.sip.communicator.impl.level = FINEST

@ -2,20 +2,23 @@
# environment when running automated testing.
# A list of all tests that should be run by the test target of the project.
net.java.sip.communicator.slick.runner.TEST_LIST=ConfigurationServiceLick \
MetaContactListServiceLick \
SipProtocolProviderServiceLick \
NetworkAddressManagerServiceLick \
FileAccessServiceLick \
HistoryServiceLick \
SlicklessTests \
MsgHistoryServiceLick \
CallHistoryServiceLick \
JabberProtocolProviderSlick \
IcqProtocolProviderSlick
#net.java.sip.communicator.slick.runner.TEST_LIST=ConfigurationServiceLick \
# MetaContactListServiceLick \
# SipProtocolProviderServiceLick \
# NetworkAddressManagerServiceLick \
# FileAccessServiceLick \
# HistoryServiceLick \
# SlicklessTests \
# MsgHistoryServiceLick \
# CallHistoryServiceLick \
# JabberProtocolProviderSlick \
# IcqProtocolProviderSlick
# MediaServiceLick \
net.java.sip.communicator.slick.runner.TEST_LIST=MsgHistoryServiceLick
# Set the name of the meta contact list file to use during testing so that
# we do not meddle with the file we're using while running the application
# in client mode.

@ -17,6 +17,10 @@
import net.java.sip.communicator.service.netaddr.*;
import net.java.sip.communicator.service.protocol.*;
import net.java.sip.communicator.util.*;
import com.sun.media.util.Registry;
import javax.media.PlugInManager;
import javax.media.Format;
import javax.media.Codec;
/**
* The service is meant to be a wrapper of media libraries such as JMF,
@ -260,6 +264,17 @@ public static void main(String[] args)
{
MediaServiceImpl msimpl = new MediaServiceImpl();
msimpl.start();
String className = "classname";
Class pic = Class.forName(className);
Object instance = pic.newInstance();
PlugInManager.addPlugIn(
className,
((Codec)instance).getSupportedInputFormats(),
((Codec)instance).getSupportedOutputFormats(null),
PlugInManager.CODEC);
System.out.println("done");
}
}

@ -143,7 +143,7 @@ public void start(BundleContext bundleContext) throws Exception
addTest(TestOperationSetTypingNotifications.suite());
addTest(TestOperationSetServerStoredInfo.suite());
// addTest(TestOperationSetServerStoredInfo.suite());
}
//This must remain after all other tests using the accounts

Loading…
Cancel
Save