diff options
author | Justin Clarke Casey | 2008-10-09 18:00:38 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-09 18:00:38 +0000 |
commit | 285ae803e2eb17ddde64653ec00cacb6a188fb9b (patch) | |
tree | 8f7c38970c4d48731063a6b486b493949099210e /OpenSim/Region/ClientStack | |
parent | * Create project for LindenUDP ClientStack tests (diff) | |
download | opensim-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/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 10 |
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 | ||
28 | using System; | ||
28 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Region.ClientStack; | ||
31 | using OpenSim.Region.ClientStack.LindenUDP; | ||
29 | 32 | ||
30 | namespace OpenSim.Region.ClientStack.LindenUDP.Tests | 33 | namespace 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 | } |