* minor: initialize udp server in unit test
parent
919d907a3d
commit
285ae803e2
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue