* 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

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

View File

@ -25,7 +25,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
using System;
using NUnit.Framework; using NUnit.Framework;
using OpenSim.Region.ClientStack;
using OpenSim.Region.ClientStack.LindenUDP;
namespace OpenSim.Region.ClientStack.LindenUDP.Tests namespace OpenSim.Region.ClientStack.LindenUDP.Tests
{ {
@ -36,9 +39,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
public class BasicCircuitTests public class BasicCircuitTests
{ {
[Test] [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> </Configuration>
<ReferencePath>../../../../../bin/</ReferencePath> <ReferencePath>../../../../../bin/</ReferencePath>
<Reference name="OpenSim.Region.ClientStack"/>
<Reference name="OpenSim.Region.ClientStack.LindenUDP"/>
<Reference name="nunit.framework.dll" /> <Reference name="nunit.framework.dll" />
<Files> <Files>