diff options
author | Sean Dague | 2009-05-07 19:07:08 +0000 |
---|---|---|
committer | Sean Dague | 2009-05-07 19:07:08 +0000 |
commit | ce0a84cbc0e277dd5be08a20febf13364a985a3a (patch) | |
tree | d5fc2dda5eaf3674c67d82198efd04323f1ba7a5 /OpenSim/Region/ClientStack/LindenUDP/Tests | |
parent | RemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1 (diff) | |
download | opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.zip opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.gz opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.bz2 opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.xz |
instrument most of the tests with a new InMethod function that may help us figure
out where that pesky deadlock is during test runs.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/Tests')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs index 80fbba2..02f78c7 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | |||
@@ -150,6 +150,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
150 | [Test, LongRunning] | 150 | [Test, LongRunning] |
151 | public void TestAddClient() | 151 | public void TestAddClient() |
152 | { | 152 | { |
153 | TestHelper.InMethod(); | ||
154 | |||
153 | uint myCircuitCode = 123456; | 155 | uint myCircuitCode = 123456; |
154 | UUID myAgentUuid = UUID.Parse("00000000-0000-0000-0000-000000000001"); | 156 | UUID myAgentUuid = UUID.Parse("00000000-0000-0000-0000-000000000001"); |
155 | UUID mySessionUuid = UUID.Parse("00000000-0000-0000-0000-000000000002"); | 157 | UUID mySessionUuid = UUID.Parse("00000000-0000-0000-0000-000000000002"); |
@@ -196,6 +198,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
196 | [Test] | 198 | [Test] |
197 | public void TestRemoveClient() | 199 | public void TestRemoveClient() |
198 | { | 200 | { |
201 | TestHelper.InMethod(); | ||
202 | |||
199 | uint myCircuitCode = 123457; | 203 | uint myCircuitCode = 123457; |
200 | 204 | ||
201 | TestLLUDPServer testLLUDPServer; | 205 | TestLLUDPServer testLLUDPServer; |
@@ -218,6 +222,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
218 | [Test] | 222 | [Test] |
219 | public void TestMalformedPacketSend() | 223 | public void TestMalformedPacketSend() |
220 | { | 224 | { |
225 | TestHelper.InMethod(); | ||
226 | |||
221 | uint myCircuitCode = 123458; | 227 | uint myCircuitCode = 123458; |
222 | EndPoint testEp = new IPEndPoint(IPAddress.Loopback, 1001); | 228 | EndPoint testEp = new IPEndPoint(IPAddress.Loopback, 1001); |
223 | MockScene scene = new MockScene(); | 229 | MockScene scene = new MockScene(); |
@@ -256,6 +262,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
256 | [Test] | 262 | [Test] |
257 | public void TestExceptionOnBeginReceive() | 263 | public void TestExceptionOnBeginReceive() |
258 | { | 264 | { |
265 | TestHelper.InMethod(); | ||
266 | |||
259 | MockScene scene = new MockScene(); | 267 | MockScene scene = new MockScene(); |
260 | 268 | ||
261 | uint circuitCodeA = 130000; | 269 | uint circuitCodeA = 130000; |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs index 6e429a4..4ebc624 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs | |||
@@ -32,6 +32,7 @@ using OpenMetaverse; | |||
32 | using OpenMetaverse.Packets; | 32 | using OpenMetaverse.Packets; |
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Tests.Common.Mock; | 34 | using OpenSim.Tests.Common.Mock; |
35 | using OpenSim.Tests.Common; | ||
35 | 36 | ||
36 | namespace OpenSim.Region.ClientStack.LindenUDP.Tests | 37 | namespace OpenSim.Region.ClientStack.LindenUDP.Tests |
37 | { | 38 | { |
@@ -47,6 +48,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
47 | /// </summary> | 48 | /// </summary> |
48 | public void InPacketTest() | 49 | public void InPacketTest() |
49 | { | 50 | { |
51 | TestHelper.InMethod(); | ||
52 | |||
50 | AgentCircuitData agent = new AgentCircuitData(); | 53 | AgentCircuitData agent = new AgentCircuitData(); |
51 | agent.AgentID = UUID.Random(); | 54 | agent.AgentID = UUID.Random(); |
52 | agent.firstname = "testfirstname"; | 55 | agent.firstname = "testfirstname"; |