* For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console when the test starts
* This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed * Unfortunately they are not executed in the same order in which the results are listed in Bamboo0.6.5-rc1
parent
6b9125b319
commit
355247c2b2
|
@ -26,6 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -50,6 +51,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T010_AddObjects()
|
public void T010_AddObjects()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
random = new Random();
|
random = new Random();
|
||||||
SceneObjectGroup found;
|
SceneObjectGroup found;
|
||||||
EntityManager entman = new EntityManager();
|
EntityManager entman = new EntityManager();
|
||||||
|
@ -83,6 +86,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T011_ThreadAddRemoveTest()
|
public void T011_ThreadAddRemoveTest()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
// This test adds and removes with mutiple threads, attempting to break the
|
// This test adds and removes with mutiple threads, attempting to break the
|
||||||
// uuid and localid dictionary coherence.
|
// uuid and localid dictionary coherence.
|
||||||
EntityManager entman = new EntityManager();
|
EntityManager entman = new EntityManager();
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NUnit.Framework.SyntaxHelpers;
|
using NUnit.Framework.SyntaxHelpers;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
@ -51,6 +52,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestAddSceneObject()
|
public void TestAddSceneObject()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
Scene scene = SceneSetupHelpers.SetupScene();
|
Scene scene = SceneSetupHelpers.SetupScene();
|
||||||
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
|
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
|
||||||
SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId);
|
SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId);
|
||||||
|
@ -66,6 +69,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestDeleteSceneObject()
|
public void TestDeleteSceneObject()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
TestScene scene = SceneSetupHelpers.SetupScene();
|
TestScene scene = SceneSetupHelpers.SetupScene();
|
||||||
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
|
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
|
||||||
scene.DeleteSceneObject(part.ParentGroup, false);
|
scene.DeleteSceneObject(part.ParentGroup, false);
|
||||||
|
@ -80,6 +85,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestDeleteSceneObjectAsync()
|
public void TestDeleteSceneObjectAsync()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000001");
|
UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000001");
|
||||||
|
|
||||||
TestScene scene = SceneSetupHelpers.SetupScene();
|
TestScene scene = SceneSetupHelpers.SetupScene();
|
||||||
|
@ -107,6 +114,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestDeleteSceneObjectAsyncToUserInventory()
|
public void TestDeleteSceneObjectAsyncToUserInventory()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
//log4net.Config.XmlConfigurator.Configure();
|
//log4net.Config.XmlConfigurator.Configure();
|
||||||
|
|
||||||
UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000001");
|
UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000001");
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NUnit.Framework.SyntaxHelpers;
|
using NUnit.Framework.SyntaxHelpers;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
@ -52,6 +53,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestLinkDelink2SceneObjects()
|
public void TestLinkDelink2SceneObjects()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
bool debugtest = false;
|
bool debugtest = false;
|
||||||
|
|
||||||
Scene scene = SceneSetupHelpers.SetupScene();
|
Scene scene = SceneSetupHelpers.SetupScene();
|
||||||
|
@ -128,6 +131,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestLinkDelink2groups4SceneObjects()
|
public void TestLinkDelink2groups4SceneObjects()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
bool debugtest = false;
|
bool debugtest = false;
|
||||||
|
|
||||||
Scene scene = SceneSetupHelpers.SetupScene();
|
Scene scene = SceneSetupHelpers.SetupScene();
|
||||||
|
|
|
@ -25,11 +25,12 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using Nini.Config;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using Nini.Config;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NUnit.Framework.SyntaxHelpers;
|
using NUnit.Framework.SyntaxHelpers;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
@ -96,6 +97,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T010_TestAddRootAgent()
|
public void T010_TestAddRootAgent()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
string firstName = "testfirstname";
|
string firstName = "testfirstname";
|
||||||
|
|
||||||
AgentCircuitData agent = new AgentCircuitData();
|
AgentCircuitData agent = new AgentCircuitData();
|
||||||
|
@ -127,6 +130,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T011_TestRemoveRootAgent()
|
public void T011_TestRemoveRootAgent()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
scene.RemoveClient(agent1);
|
scene.RemoveClient(agent1);
|
||||||
|
|
||||||
ScenePresence presence = scene.GetScenePresence(agent1);
|
ScenePresence presence = scene.GetScenePresence(agent1);
|
||||||
|
@ -137,6 +142,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T012_TestAddNeighbourRegion()
|
public void T012_TestAddNeighbourRegion()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
scene.NewUserConnection(acd1);
|
scene.NewUserConnection(acd1);
|
||||||
scene.AddNewClient(testclient);
|
scene.AddNewClient(testclient);
|
||||||
|
|
||||||
|
@ -156,6 +163,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T013_TestRemoveNeighbourRegion()
|
public void T013_TestRemoveNeighbourRegion()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
ScenePresence presence = scene.GetScenePresence(agent1);
|
ScenePresence presence = scene.GetScenePresence(agent1);
|
||||||
presence.RemoveNeighbourRegion(region3);
|
presence.RemoveNeighbourRegion(region3);
|
||||||
|
|
||||||
|
@ -171,6 +180,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T020_TestMakeRootAgent()
|
public void T020_TestMakeRootAgent()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
ScenePresence presence = scene.GetScenePresence(agent1);
|
ScenePresence presence = scene.GetScenePresence(agent1);
|
||||||
Assert.That(presence.IsChildAgent, Is.False, "Starts out as a root agent");
|
Assert.That(presence.IsChildAgent, Is.False, "Starts out as a root agent");
|
||||||
|
|
||||||
|
@ -187,6 +198,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T021_TestCrossToNewRegion()
|
public void T021_TestCrossToNewRegion()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
// Adding child agent to region 1001
|
// Adding child agent to region 1001
|
||||||
scene2.NewUserConnection(acd1);
|
scene2.NewUserConnection(acd1);
|
||||||
scene2.AddNewClient(testclient);
|
scene2.AddNewClient(testclient);
|
||||||
|
@ -240,6 +253,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T030_TestAddAttachments()
|
public void T030_TestAddAttachments()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
ScenePresence presence = scene.GetScenePresence(agent1);
|
ScenePresence presence = scene.GetScenePresence(agent1);
|
||||||
|
|
||||||
presence.AddAttachment(sog1);
|
presence.AddAttachment(sog1);
|
||||||
|
@ -253,6 +268,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T031_RemoveAttachments()
|
public void T031_RemoveAttachments()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
ScenePresence presence = scene.GetScenePresence(agent1);
|
ScenePresence presence = scene.GetScenePresence(agent1);
|
||||||
presence.RemoveAttachment(sog1);
|
presence.RemoveAttachment(sog1);
|
||||||
presence.RemoveAttachment(sog2);
|
presence.RemoveAttachment(sog2);
|
||||||
|
@ -263,6 +280,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void T032_CrossAttachments()
|
public void T032_CrossAttachments()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
ScenePresence presence = scene.GetScenePresence(agent1);
|
ScenePresence presence = scene.GetScenePresence(agent1);
|
||||||
ScenePresence presence2 = scene2.GetScenePresence(agent1);
|
ScenePresence presence2 = scene2.GetScenePresence(agent1);
|
||||||
presence2.AddAttachment(sog1);
|
presence2.AddAttachment(sog1);
|
||||||
|
@ -281,6 +300,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
|
|
||||||
public static string GetRandomCapsObjectPath()
|
public static string GetRandomCapsObjectPath()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
UUID caps = UUID.Random();
|
UUID caps = UUID.Random();
|
||||||
string capsPath = caps.ToString();
|
string capsPath = caps.ToString();
|
||||||
capsPath = capsPath.Remove(capsPath.Length - 4, 4);
|
capsPath = capsPath.Remove(capsPath.Length - 4, 4);
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
using Nini.Config;
|
using Nini.Config;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NUnit.Framework.SyntaxHelpers;
|
using NUnit.Framework.SyntaxHelpers;
|
||||||
|
@ -51,6 +53,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
[Test]
|
[Test]
|
||||||
public void TestSimpleNotNeighboursTeleport()
|
public void TestSimpleNotNeighboursTeleport()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
|
||||||
|
|
||||||
log4net.Config.XmlConfigurator.Configure();
|
log4net.Config.XmlConfigurator.Configure();
|
||||||
|
|
||||||
UUID sceneAId = UUID.Parse("00000000-0000-0000-0000-000000000100");
|
UUID sceneAId = UUID.Parse("00000000-0000-0000-0000-000000000100");
|
||||||
|
|
Loading…
Reference in New Issue