aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/Tests
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-03 18:33:35 +0000
committerJustin Clarke Casey2008-11-03 18:33:35 +0000
commit8c71954e0892958da444ef5c82173262daa3f46c (patch)
tree6e06070ae11dbfd6a84b1ae7995e6df6275f892e /OpenSim/Region/ClientStack/LindenUDP/Tests
parentcompleting move to refactored multi-channel capable IRCBridgeModule (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs4
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
28using System.Net; 28using System.Net;
29using log4net; 29using log4net;
30using Nini.Config;
30using NUnit.Framework; 31using NUnit.Framework;
31using NUnit.Framework.SyntaxHelpers; 32using NUnit.Framework.SyntaxHelpers;
32using OpenMetaverse; 33using 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 }