* minor: initialize udp server in unit test

0.6.0-stable
Justin Clarke Casey 2008-10-09 18:00:38 +00:00
parent 919d907a3d
commit 285ae803e2
3 changed files with 10 additions and 8 deletions

View File

@ -41,12 +41,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
protected readonly ILLClientStackNetworkHandler m_networkHandler;
protected IScene m_scene;
//private readonly ClientManager m_clientManager = new ClientManager();
//public ClientManager ClientManager
//{
// get { return m_clientManager; }
//}
/// <summary>
/// Tweakable user settings

View File

@ -25,7 +25,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
using System;
using NUnit.Framework;
using OpenSim.Region.ClientStack;
using OpenSim.Region.ClientStack.LindenUDP;
namespace OpenSim.Region.ClientStack.LindenUDP.Tests
{
@ -36,9 +39,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
public class BasicCircuitTests
{
[Test]
public void TestHello()
public void TestAddClient()
{
// Nowt here yet
IClientNetworkServer llUdpServer = new LLUDPServer();
uint port = 666;
llUdpServer.Initialise(null, ref port, -1, false, new ClientStackUserSettings(), null, null);
}
}
}

View File

@ -956,6 +956,8 @@
</Configuration>
<ReferencePath>../../../../../bin/</ReferencePath>
<Reference name="OpenSim.Region.ClientStack"/>
<Reference name="OpenSim.Region.ClientStack.LindenUDP"/>
<Reference name="nunit.framework.dll" />
<Files>