aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-09 18:00:38 +0000
committerJustin Clarke Casey2008-10-09 18:00:38 +0000
commit285ae803e2eb17ddde64653ec00cacb6a188fb9b (patch)
tree8f7c38970c4d48731063a6b486b493949099210e /OpenSim
parent* Create project for LindenUDP ClientStack tests (diff)
downloadopensim-SC-285ae803e2eb17ddde64653ec00cacb6a188fb9b.zip
opensim-SC-285ae803e2eb17ddde64653ec00cacb6a188fb9b.tar.gz
opensim-SC-285ae803e2eb17ddde64653ec00cacb6a188fb9b.tar.bz2
opensim-SC-285ae803e2eb17ddde64653ec00cacb6a188fb9b.tar.xz
* minor: initialize udp server in unit test
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs6
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs10
2 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs
index 691afb3..5d3dba0 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs
@@ -41,12 +41,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
41 41
42 protected readonly ILLClientStackNetworkHandler m_networkHandler; 42 protected readonly ILLClientStackNetworkHandler m_networkHandler;
43 protected IScene m_scene; 43 protected IScene m_scene;
44
45 //private readonly ClientManager m_clientManager = new ClientManager();
46 //public ClientManager ClientManager
47 //{
48 // get { return m_clientManager; }
49 //}
50 44
51 /// <summary> 45 /// <summary>
52 /// Tweakable user settings 46 /// Tweakable user settings
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 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
28using NUnit.Framework; 29using NUnit.Framework;
30using OpenSim.Region.ClientStack;
31using OpenSim.Region.ClientStack.LindenUDP;
29 32
30namespace OpenSim.Region.ClientStack.LindenUDP.Tests 33namespace OpenSim.Region.ClientStack.LindenUDP.Tests
31{ 34{
@@ -36,9 +39,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
36 public class BasicCircuitTests 39 public class BasicCircuitTests
37 { 40 {
38 [Test] 41 [Test]
39 public void TestHello() 42 public void TestAddClient()
40 { 43 {
41 // Nowt here yet 44 IClientNetworkServer llUdpServer = new LLUDPServer();
45
46 uint port = 666;
47 llUdpServer.Initialise(null, ref port, -1, false, new ClientStackUserSettings(), null, null);
42 } 48 }
43 } 49 }
44} 50}