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.
0.6.5-rc1
Mike Mazur 2009-03-09 07:29:53 +00:00
parent a2f07ecd2e
commit 66120f5a40
1 changed files with 14 additions and 0 deletions

View File

@ -86,6 +86,8 @@ namespace OpenSim.Framework.Communications.Tests
ArrayList sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
XmlRpcRequest request = new XmlRpcRequest("login_to_simulator", sendParams);
@ -148,6 +150,8 @@ namespace OpenSim.Framework.Communications.Tests
ArrayList sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
XmlRpcRequest request = new XmlRpcRequest("login_to_simulator", sendParams);
@ -197,6 +201,8 @@ namespace OpenSim.Framework.Communications.Tests
sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
request = new XmlRpcRequest("login_to_simulator", sendParams);
@ -231,6 +237,8 @@ namespace OpenSim.Framework.Communications.Tests
sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
request = new XmlRpcRequest("login_to_simulator", sendParams);
@ -246,6 +254,8 @@ namespace OpenSim.Framework.Communications.Tests
sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
request = new XmlRpcRequest("login_to_simulator", sendParams);
@ -261,6 +271,8 @@ namespace OpenSim.Framework.Communications.Tests
sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
request = new XmlRpcRequest("login_to_simulator", sendParams);
@ -276,6 +288,8 @@ namespace OpenSim.Framework.Communications.Tests
sendParams = new ArrayList();
sendParams.Add(loginParams);
sendParams.Add(capsEndPoint); // is this parameter correct?
sendParams.Add(new Uri("http://localhost:8002/")); // is this parameter correct?
request = new XmlRpcRequest("login_to_simulator", sendParams);