From ce0a84cbc0e277dd5be08a20febf13364a985a3a Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 7 May 2009 19:07:08 +0000 Subject: instrument most of the tests with a new InMethod function that may help us figure out where that pesky deadlock is during test runs. --- .../Tests/Cache/UserProfileCacheServiceTests.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'OpenSim/Framework/Communications/Tests/Cache') diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs index 2972a0a..75848b7 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs @@ -34,6 +34,7 @@ using OpenSim.Framework.Communications.Cache; using OpenSim.Region.Communications.Local; using OpenSim.Tests.Common.Mock; using OpenSim.Tests.Common.Setup; +using OpenSim.Tests.Common; namespace OpenSim.Framework.Communications.Tests { @@ -43,6 +44,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestGetUserDetails() { + TestHelper.InMethod(); + UUID userId = UUID.Parse("00000000-0000-0000-0000-000000000002"); string firstName = "Bill"; string lastName = "Bailey"; @@ -109,6 +112,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestFetchInventory() { + TestHelper.InMethod(); + TestCommunicationsManager commsManager = new TestCommunicationsManager(); CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); @@ -118,6 +123,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestGetChildFolder() { + TestHelper.InMethod(); + TestCommunicationsManager commsManager = new TestCommunicationsManager(); CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); @@ -132,6 +139,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestCreateFolder() { + TestHelper.InMethod(); + TestCommunicationsManager commsManager = new TestCommunicationsManager(); IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; @@ -159,6 +168,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestUpdateFolder() { + TestHelper.InMethod(); + TestCommunicationsManager commsManager = new TestCommunicationsManager(); IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; @@ -213,6 +224,8 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestMoveFolder() { + TestHelper.InMethod(); + TestCommunicationsManager commsManager = new TestCommunicationsManager(); IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; @@ -244,6 +257,7 @@ namespace OpenSim.Framework.Communications.Tests [Test] public void TestPurgeFolder() { + TestHelper.InMethod(); //log4net.Config.XmlConfigurator.Configure(); TestCommunicationsManager commsManager = new TestCommunicationsManager(); -- cgit v1.1