diff options
author | Sean Dague | 2009-05-07 19:07:08 +0000 |
---|---|---|
committer | Sean Dague | 2009-05-07 19:07:08 +0000 |
commit | ce0a84cbc0e277dd5be08a20febf13364a985a3a (patch) | |
tree | d5fc2dda5eaf3674c67d82198efd04323f1ba7a5 /OpenSim/Framework/Communications/Tests/Cache | |
parent | RemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1 (diff) | |
download | opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.zip opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.gz opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.bz2 opensim-SC-ce0a84cbc0e277dd5be08a20febf13364a985a3a.tar.xz |
instrument most of the tests with a new InMethod function that may help us figure
out where that pesky deadlock is during test runs.
Diffstat (limited to 'OpenSim/Framework/Communications/Tests/Cache')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs | 14 |
1 files changed, 14 insertions, 0 deletions
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; | |||
34 | using OpenSim.Region.Communications.Local; | 34 | using OpenSim.Region.Communications.Local; |
35 | using OpenSim.Tests.Common.Mock; | 35 | using OpenSim.Tests.Common.Mock; |
36 | using OpenSim.Tests.Common.Setup; | 36 | using OpenSim.Tests.Common.Setup; |
37 | using OpenSim.Tests.Common; | ||
37 | 38 | ||
38 | namespace OpenSim.Framework.Communications.Tests | 39 | namespace OpenSim.Framework.Communications.Tests |
39 | { | 40 | { |
@@ -43,6 +44,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
43 | [Test] | 44 | [Test] |
44 | public void TestGetUserDetails() | 45 | public void TestGetUserDetails() |
45 | { | 46 | { |
47 | TestHelper.InMethod(); | ||
48 | |||
46 | UUID userId = UUID.Parse("00000000-0000-0000-0000-000000000002"); | 49 | UUID userId = UUID.Parse("00000000-0000-0000-0000-000000000002"); |
47 | string firstName = "Bill"; | 50 | string firstName = "Bill"; |
48 | string lastName = "Bailey"; | 51 | string lastName = "Bailey"; |
@@ -109,6 +112,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
109 | [Test] | 112 | [Test] |
110 | public void TestFetchInventory() | 113 | public void TestFetchInventory() |
111 | { | 114 | { |
115 | TestHelper.InMethod(); | ||
116 | |||
112 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); | 117 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); |
113 | CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); | 118 | CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); |
114 | 119 | ||
@@ -118,6 +123,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
118 | [Test] | 123 | [Test] |
119 | public void TestGetChildFolder() | 124 | public void TestGetChildFolder() |
120 | { | 125 | { |
126 | TestHelper.InMethod(); | ||
127 | |||
121 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); | 128 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); |
122 | CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); | 129 | CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); |
123 | 130 | ||
@@ -132,6 +139,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
132 | [Test] | 139 | [Test] |
133 | public void TestCreateFolder() | 140 | public void TestCreateFolder() |
134 | { | 141 | { |
142 | TestHelper.InMethod(); | ||
143 | |||
135 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); | 144 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); |
136 | IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; | 145 | IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; |
137 | 146 | ||
@@ -159,6 +168,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
159 | [Test] | 168 | [Test] |
160 | public void TestUpdateFolder() | 169 | public void TestUpdateFolder() |
161 | { | 170 | { |
171 | TestHelper.InMethod(); | ||
172 | |||
162 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); | 173 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); |
163 | IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; | 174 | IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; |
164 | 175 | ||
@@ -213,6 +224,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
213 | [Test] | 224 | [Test] |
214 | public void TestMoveFolder() | 225 | public void TestMoveFolder() |
215 | { | 226 | { |
227 | TestHelper.InMethod(); | ||
228 | |||
216 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); | 229 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); |
217 | IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; | 230 | IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; |
218 | 231 | ||
@@ -244,6 +257,7 @@ namespace OpenSim.Framework.Communications.Tests | |||
244 | [Test] | 257 | [Test] |
245 | public void TestPurgeFolder() | 258 | public void TestPurgeFolder() |
246 | { | 259 | { |
260 | TestHelper.InMethod(); | ||
247 | //log4net.Config.XmlConfigurator.Configure(); | 261 | //log4net.Config.XmlConfigurator.Configure(); |
248 | 262 | ||
249 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); | 263 | TestCommunicationsManager commsManager = new TestCommunicationsManager(); |