instrument most of the tests with a new InMethod function that may help us figure

out where that pesky deadlock is during test runs.
This commit is contained in:
Sean Dague
2009-05-07 19:07:08 +00:00
parent 84815ab271
commit ce0a84cbc0
15 changed files with 91 additions and 17 deletions

View File

@@ -53,8 +53,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
[Test, LongRunning]
public void TestAddSceneObject()
{
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
TestHelper.InMethod();
Scene scene = SceneSetupHelpers.SetupScene();
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId);
@@ -70,7 +70,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
[Test]
public void TestDeleteSceneObject()
{
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
TestHelper.InMethod();
TestScene scene = SceneSetupHelpers.SetupScene();
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
@@ -86,7 +86,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
[Test]
public void TestDeleteSceneObjectAsync()
{
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
TestHelper.InMethod();
UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000001");
@@ -115,7 +115,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
[Test]
public void TestDeleteSceneObjectAsyncToUserInventory()
{
Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
TestHelper.InMethod();
//log4net.Config.XmlConfigurator.Configure();
UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000001");