diff options
author | Justin Clarke Casey | 2009-01-16 21:56:13 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-16 21:56:13 +0000 |
commit | eca6442bae4093019bd221e87413c74c77c4ff5d (patch) | |
tree | e62245b1cf2a5f0afdde443fba38c2b62d401100 /OpenSim/Region/ClientStack/LindenUDP/Tests | |
parent | * minor: Future archiver test stub (diff) | |
download | opensim-SC_OLD-eca6442bae4093019bd221e87413c74c77c4ff5d.zip opensim-SC_OLD-eca6442bae4093019bd221e87413c74c77c4ff5d.tar.gz opensim-SC_OLD-eca6442bae4093019bd221e87413c74c77c4ff5d.tar.bz2 opensim-SC_OLD-eca6442bae4093019bd221e87413c74c77c4ff5d.tar.xz |
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/Tests')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs index 62e6e96..d421f82 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs | |||
@@ -64,9 +64,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
64 | TestLLUDPServer testLLUDPServer; | 64 | TestLLUDPServer testLLUDPServer; |
65 | TestLLPacketServer testLLPacketServer; | 65 | TestLLPacketServer testLLPacketServer; |
66 | AgentCircuitManager acm; | 66 | AgentCircuitManager acm; |
67 | SetupStack(new MockScene(), out testLLUDPServer, out testLLPacketServer, out acm); | 67 | IScene scene = new MockScene(); |
68 | SetupStack(scene, out testLLUDPServer, out testLLPacketServer, out acm); | ||
68 | 69 | ||
69 | TestClient testClient = new TestClient(agent); | 70 | TestClient testClient = new TestClient(agent, scene); |
70 | 71 | ||
71 | ILLPacketHandler packetHandler | 72 | ILLPacketHandler packetHandler |
72 | = new LLPacketHandler(testClient, testLLPacketServer, new ClientStackUserSettings()); | 73 | = new LLPacketHandler(testClient, testLLPacketServer, new ClientStackUserSettings()); |