diff options
author | Justin Clarke Casey | 2008-11-03 18:33:35 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-03 18:33:35 +0000 |
commit | 8c71954e0892958da444ef5c82173262daa3f46c (patch) | |
tree | 6e06070ae11dbfd6a84b1ae7995e6df6275f892e /OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | |
parent | completing move to refactored multi-channel capable IRCBridgeModule (diff) | |
download | opensim-SC-8c71954e0892958da444ef5c82173262daa3f46c.zip opensim-SC-8c71954e0892958da444ef5c82173262daa3f46c.tar.gz opensim-SC-8c71954e0892958da444ef5c82173262daa3f46c.tar.bz2 opensim-SC-8c71954e0892958da444ef5c82173262daa3f46c.tar.xz |
* Use nini to pass config information to the client stack, rather than the ClientStackUserSettings class
* This conforms better to other module usage
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs index 352f697..d55f423 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System.Net; | 28 | using System.Net; |
29 | using log4net; | 29 | using log4net; |
30 | using Nini.Config; | ||
30 | using NUnit.Framework; | 31 | using NUnit.Framework; |
31 | using NUnit.Framework.SyntaxHelpers; | 32 | using NUnit.Framework.SyntaxHelpers; |
32 | using OpenMetaverse; | 33 | using OpenMetaverse; |
@@ -68,12 +69,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
68 | IScene scene, out TestLLUDPServer testLLUDPServer, out TestLLPacketServer testPacketServer, | 69 | IScene scene, out TestLLUDPServer testLLUDPServer, out TestLLPacketServer testPacketServer, |
69 | out AgentCircuitManager acm) | 70 | out AgentCircuitManager acm) |
70 | { | 71 | { |
72 | IConfigSource configSource = new IniConfigSource(); | ||
71 | ClientStackUserSettings userSettings = new ClientStackUserSettings(); | 73 | ClientStackUserSettings userSettings = new ClientStackUserSettings(); |
72 | testLLUDPServer = new TestLLUDPServer(); | 74 | testLLUDPServer = new TestLLUDPServer(); |
73 | acm = new AgentCircuitManager(); | 75 | acm = new AgentCircuitManager(); |
74 | 76 | ||
75 | uint port = 666; | 77 | uint port = 666; |
76 | testLLUDPServer.Initialise(null, ref port, 0, false, userSettings, null, acm); | 78 | testLLUDPServer.Initialise(null, ref port, 0, false, configSource, null, acm); |
77 | testPacketServer = new TestLLPacketServer(testLLUDPServer, userSettings); | 79 | testPacketServer = new TestLLPacketServer(testLLUDPServer, userSettings); |
78 | testLLUDPServer.LocalScene = scene; | 80 | testLLUDPServer.LocalScene = scene; |
79 | } | 81 | } |