From eec54adac5b6745c147ac7f7db947dba16e39d06 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 6 Aug 2011 02:38:38 +0100
Subject: remove some obsolete tests that are now done elsewhere
---
.../Scenes/Tests/ScenePresenceAgentTests.cs | 106 ++++++++++-----------
1 file changed, 53 insertions(+), 53 deletions(-)
(limited to 'OpenSim/Region')
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
index 6cf905a..dd2c717 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs
@@ -135,64 +135,64 @@ namespace OpenSim.Region.Framework.Scenes.Tests
SceneHelpers.AddScenePresence(myScene1, agent1Id);
// ScenePresence childPresence = myScene2.GetScenePresence(agent1);
-
+
// TODO: Need to do a fair amount of work to allow synchronous establishment of child agents
// Assert.That(childPresence, Is.Not.Null);
// Assert.That(childPresence.IsChildAgent, Is.True);
}
- ///
- /// Test adding a root agent to a scene. Doesn't yet actually complete crossing the agent into the scene.
- ///
- [Test]
- public void T010_TestAddRootAgent()
- {
- TestHelpers.InMethod();
-
- string firstName = "testfirstname";
-
- AgentCircuitData agent = new AgentCircuitData();
- agent.AgentID = agent1;
- agent.firstname = firstName;
- agent.lastname = "testlastname";
- agent.SessionID = UUID.Random();
- agent.SecureSessionID = UUID.Random();
- agent.circuitcode = 123;
- agent.BaseFolder = UUID.Zero;
- agent.InventoryFolder = UUID.Zero;
- agent.startpos = Vector3.Zero;
- agent.CapsPath = GetRandomCapsObjectPath();
- agent.ChildrenCapSeeds = new Dictionary();
- agent.child = true;
-
- scene.PresenceService.LoginAgent(agent.AgentID.ToString(), agent.SessionID, agent.SecureSessionID);
-
- string reason;
- scene.NewUserConnection(agent, (uint)TeleportFlags.ViaLogin, out reason);
- testclient = new TestClient(agent, scene);
- scene.AddNewClient(testclient);
-
- ScenePresence presence = scene.GetScenePresence(agent1);
-
- Assert.That(presence, Is.Not.Null, "presence is null");
- Assert.That(presence.Firstname, Is.EqualTo(firstName), "First name not same");
- acd1 = agent;
- }
-
- ///
- /// Test removing an uncrossed root agent from a scene.
- ///
- [Test]
- public void T011_TestRemoveRootAgent()
- {
- TestHelpers.InMethod();
-
- scene.RemoveClient(agent1);
-
- ScenePresence presence = scene.GetScenePresence(agent1);
-
- Assert.That(presence, Is.Null, "presence is not null");
- }
+// ///
+// /// Test adding a root agent to a scene. Doesn't yet actually complete crossing the agent into the scene.
+// ///
+// [Test]
+// public void T010_TestAddRootAgent()
+// {
+// TestHelpers.InMethod();
+//
+// string firstName = "testfirstname";
+//
+// AgentCircuitData agent = new AgentCircuitData();
+// agent.AgentID = agent1;
+// agent.firstname = firstName;
+// agent.lastname = "testlastname";
+// agent.SessionID = UUID.Random();
+// agent.SecureSessionID = UUID.Random();
+// agent.circuitcode = 123;
+// agent.BaseFolder = UUID.Zero;
+// agent.InventoryFolder = UUID.Zero;
+// agent.startpos = Vector3.Zero;
+// agent.CapsPath = GetRandomCapsObjectPath();
+// agent.ChildrenCapSeeds = new Dictionary();
+// agent.child = true;
+//
+// scene.PresenceService.LoginAgent(agent.AgentID.ToString(), agent.SessionID, agent.SecureSessionID);
+//
+// string reason;
+// scene.NewUserConnection(agent, (uint)TeleportFlags.ViaLogin, out reason);
+// testclient = new TestClient(agent, scene);
+// scene.AddNewClient(testclient);
+//
+// ScenePresence presence = scene.GetScenePresence(agent1);
+//
+// Assert.That(presence, Is.Not.Null, "presence is null");
+// Assert.That(presence.Firstname, Is.EqualTo(firstName), "First name not same");
+// acd1 = agent;
+// }
+//
+// ///
+// /// Test removing an uncrossed root agent from a scene.
+// ///
+// [Test]
+// public void T011_TestRemoveRootAgent()
+// {
+// TestHelpers.InMethod();
+//
+// scene.RemoveClient(agent1);
+//
+// ScenePresence presence = scene.GetScenePresence(agent1);
+//
+// Assert.That(presence, Is.Null, "presence is not null");
+// }
[Test]
public void T012_TestAddNeighbourRegion()
--
cgit v1.1