From 285ae803e2eb17ddde64653ec00cacb6a188fb9b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 9 Oct 2008 18:00:38 +0000 Subject: * minor: initialize udp server in unit test --- .../Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/Tests') diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs index 5d8c79d..c821ca2 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs @@ -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); } } } -- cgit v1.1