diff options
author | Mike Mazur | 2009-03-09 07:29:53 +0000 |
---|---|---|
committer | Mike Mazur | 2009-03-09 07:29:53 +0000 |
commit | 66120f5a4015d2659732672481c7533586b09e9e (patch) | |
tree | b9b42f6c1f1050ea269effb871aa55a6228aa211 /OpenSim | |
parent | Implemented FetchAssetMetadataSet in DB backends. (diff) | |
download | opensim-SC_OLD-66120f5a4015d2659732672481c7533586b09e9e.zip opensim-SC_OLD-66120f5a4015d2659732672481c7533586b09e9e.tar.gz opensim-SC_OLD-66120f5a4015d2659732672481c7533586b09e9e.tar.bz2 opensim-SC_OLD-66120f5a4015d2659732672481c7533586b09e9e.tar.xz |
Fix tests broken in r8732.
Recent changes in the code handling login_to_simulator XMLRPC method
calls caused two tests to fail because not enough parameters were being
supplied with the method call. The parameters added in this patch work,
but I'm not sure whether they are actually correct or even relevant.
Diva, please look over this.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index c737817..d8d08c9 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |||
@@ -86,6 +86,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
86 | 86 | ||
87 | ArrayList sendParams = new ArrayList(); | 87 | ArrayList sendParams = new ArrayList(); |
88 | sendParams.Add(loginParams); | 88 | sendParams.Add(loginParams); |
89 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
90 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
89 | 91 | ||
90 | XmlRpcRequest request = new XmlRpcRequest("login_to_simulator", sendParams); | 92 | XmlRpcRequest request = new XmlRpcRequest("login_to_simulator", sendParams); |
91 | 93 | ||
@@ -148,6 +150,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
148 | 150 | ||
149 | ArrayList sendParams = new ArrayList(); | 151 | ArrayList sendParams = new ArrayList(); |
150 | sendParams.Add(loginParams); | 152 | sendParams.Add(loginParams); |
153 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
154 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
151 | 155 | ||
152 | XmlRpcRequest request = new XmlRpcRequest("login_to_simulator", sendParams); | 156 | XmlRpcRequest request = new XmlRpcRequest("login_to_simulator", sendParams); |
153 | 157 | ||
@@ -197,6 +201,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
197 | 201 | ||
198 | sendParams = new ArrayList(); | 202 | sendParams = new ArrayList(); |
199 | sendParams.Add(loginParams); | 203 | sendParams.Add(loginParams); |
204 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
205 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
200 | 206 | ||
201 | request = new XmlRpcRequest("login_to_simulator", sendParams); | 207 | request = new XmlRpcRequest("login_to_simulator", sendParams); |
202 | 208 | ||
@@ -231,6 +237,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
231 | 237 | ||
232 | sendParams = new ArrayList(); | 238 | sendParams = new ArrayList(); |
233 | sendParams.Add(loginParams); | 239 | sendParams.Add(loginParams); |
240 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
241 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
234 | 242 | ||
235 | request = new XmlRpcRequest("login_to_simulator", sendParams); | 243 | request = new XmlRpcRequest("login_to_simulator", sendParams); |
236 | 244 | ||
@@ -246,6 +254,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
246 | 254 | ||
247 | sendParams = new ArrayList(); | 255 | sendParams = new ArrayList(); |
248 | sendParams.Add(loginParams); | 256 | sendParams.Add(loginParams); |
257 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
258 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
249 | 259 | ||
250 | request = new XmlRpcRequest("login_to_simulator", sendParams); | 260 | request = new XmlRpcRequest("login_to_simulator", sendParams); |
251 | 261 | ||
@@ -261,6 +271,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
261 | 271 | ||
262 | sendParams = new ArrayList(); | 272 | sendParams = new ArrayList(); |
263 | sendParams.Add(loginParams); | 273 | sendParams.Add(loginParams); |
274 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
275 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
264 | 276 | ||
265 | request = new XmlRpcRequest("login_to_simulator", sendParams); | 277 | request = new XmlRpcRequest("login_to_simulator", sendParams); |
266 | 278 | ||
@@ -276,6 +288,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
276 | 288 | ||
277 | sendParams = new ArrayList(); | 289 | sendParams = new ArrayList(); |
278 | sendParams.Add(loginParams); | 290 | sendParams.Add(loginParams); |
291 | sendParams.Add(capsEndPoint); // is this parameter correct? | ||
292 | sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct? | ||
279 | 293 | ||
280 | request = new XmlRpcRequest("login_to_simulator", sendParams); | 294 | request = new XmlRpcRequest("login_to_simulator", sendParams); |
281 | 295 | ||