* Reenable assert for the add circuit test

* This checks that a client circuit is established when the udp server is given a use client circuit code packet
* And checks that other circuit codes do not exist
This commit is contained in:
Justin Clarke Casey
2008-10-23 19:51:10 +00:00
parent 6101202403
commit c379c66c7c
2 changed files with 10 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
ClientStackUserSettings userSettings = new ClientStackUserSettings();
uint port = 666;
testLLUDPServer.Initialise(null, ref port, 0, false, userSettings, null, null);
testLLUDPServer.Initialise(null, ref port, 0, false, userSettings, null, new AgentCircuitManager());
LLPacketServer packetServer = new LLPacketServer(testLLUDPServer, userSettings);
testLLUDPServer.LocalScene = new MockScene();
@@ -73,7 +73,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
testLLUDPServer.LoadReceive(uccp, testEp);
testLLUDPServer.ReceiveData(null);
//Assert.IsTrue(testLLUDPServer.HasCircuit(123456));
Assert.IsFalse(testLLUDPServer.HasCircuit(101));
Assert.IsTrue(testLLUDPServer.HasCircuit(123456));
}
}
}