From 66120f5a4015d2659732672481c7533586b09e9e Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Mon, 9 Mar 2009 07:29:53 +0000 Subject: 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. --- .../Framework/Communications/Tests/LoginServiceTests.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'OpenSim/Framework/Communications') 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 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); -- cgit v1.1