mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* minor: initialize udp server in unit test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user