diff options
author | Justin Clarke Casey | 2008-12-12 20:04:58 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-12 20:04:58 +0000 |
commit | 1531035b14367cfa44986e4a733524391d58af93 (patch) | |
tree | 304a1a9295bdd2e094a5c4d28c52d5b27f75e27d /OpenSim/Framework | |
parent | Add missing scene reference. Fixes a NRE. SimpleModule now works again (sort ... (diff) | |
download | opensim-SC-1531035b14367cfa44986e4a733524391d58af93.zip opensim-SC-1531035b14367cfa44986e4a733524391d58af93.tar.gz opensim-SC-1531035b14367cfa44986e4a733524391d58af93.tar.bz2 opensim-SC-1531035b14367cfa44986e4a733524391d58af93.tar.xz |
* Actually properly enable the purge folders test and correct some problems
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs index 2196d25..0914bfb 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using log4net; | ||
29 | using NUnit.Framework; | 30 | using NUnit.Framework; |
30 | using NUnit.Framework.SyntaxHelpers; | 31 | using NUnit.Framework.SyntaxHelpers; |
31 | using OpenMetaverse; | 32 | using OpenMetaverse; |
@@ -161,8 +162,11 @@ namespace OpenSim.Framework.Communications.Tests | |||
161 | /// <summary> | 162 | /// <summary> |
162 | /// Test purging an inventory folder | 163 | /// Test purging an inventory folder |
163 | /// </summary> | 164 | /// </summary> |
165 | [Test] | ||
164 | public void TestPurgeFolder() | 166 | public void TestPurgeFolder() |
165 | { | 167 | { |
168 | //log4net.Config.XmlConfigurator.Configure(); | ||
169 | |||
166 | IUserDataPlugin userDataPlugin = new TestUserDataPlugin(); | 170 | IUserDataPlugin userDataPlugin = new TestUserDataPlugin(); |
167 | IInventoryDataPlugin inventoryDataPlugin = new TestInventoryDataPlugin(); | 171 | IInventoryDataPlugin inventoryDataPlugin = new TestInventoryDataPlugin(); |
168 | 172 | ||
@@ -174,6 +178,7 @@ namespace OpenSim.Framework.Communications.Tests | |||
174 | InventoryFolderImpl rootFolder = userInfo.RootFolder; | 178 | InventoryFolderImpl rootFolder = userInfo.RootFolder; |
175 | 179 | ||
176 | userInfo.CreateFolder("folder1", folder1Id, (ushort)AssetType.Animation, rootFolder.ID); | 180 | userInfo.CreateFolder("folder1", folder1Id, (ushort)AssetType.Animation, rootFolder.ID); |
181 | Assert.That(inventoryDataPlugin.getInventoryFolder(folder1Id), Is.Not.Null); | ||
177 | 182 | ||
178 | // Test purge | 183 | // Test purge |
179 | userInfo.PurgeFolder(rootFolder.ID); | 184 | userInfo.PurgeFolder(rootFolder.ID); |