aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-06-04 00:51:49 +0100
committerJustin Clark-Casey (justincc)2011-06-04 00:51:49 +0100
commit896f039513398a46458b18ef49f52a9a3ac43659 (patch)
treefeabf11001d4ec6499718ca6bad9183e6eb347e0 /OpenSim/Region/CoreModules/Avatar/Inventory
parentextend TestGiveInventoryFolder() to check for the receipt by user 2 (diff)
downloadopensim-SC-896f039513398a46458b18ef49f52a9a3ac43659.zip
opensim-SC-896f039513398a46458b18ef49f52a9a3ac43659.tar.gz
opensim-SC-896f039513398a46458b18ef49f52a9a3ac43659.tar.bz2
opensim-SC-896f039513398a46458b18ef49f52a9a3ac43659.tar.xz
create TestGetInventoryItem()
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs20
1 files changed, 7 insertions, 13 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs
index 47e34dc..dc665c1 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs
@@ -181,25 +181,19 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
181 181
182 /// <summary> 182 /// <summary>
183 /// Find an item given a PATH_DELIMITOR delimited path starting from this folder. 183 /// Find an item given a PATH_DELIMITOR delimited path starting from this folder.
184 /// 184 /// </summary>
185 /// This method does not handle paths that contain multiple delimitors 185 /// <remarks>
186 /// This method does not handle paths that contain multiple delimiters
186 /// 187 ///
187 /// FIXME: We do not yet handle situations where folders or items have the same name. We could handle this by some 188 /// FIXME: We do not yet handle situations where folders or items have the same name. We could handle this by some
188 /// XPath like expression 189 /// XPath like expression
189 /// 190 ///
190 /// FIXME: Delimitors which occur in names themselves are not currently escapable. 191 /// FIXME: Delimitors which occur in names themselves are not currently escapable.
191 /// </summary> 192 /// </remarks>
192 /// 193 ///
193 /// <param name="inventoryService"> 194 /// <param name="inventoryService">Inventory service to query</param>
194 /// Inventory service to query 195 /// <param name="startFolder">The folder from which the path starts</param>
195 /// </param> 196 /// <param name="path">The path to the required item.</param>
196 /// <param name="startFolder">
197 /// The folder from which the path starts
198 /// </param>
199 /// <param name="path">
200 /// <param name="path">
201 /// The path to the required item.
202 /// </param>
203 /// <returns>null if the item is not found</returns> 197 /// <returns>null if the item is not found</returns>
204 public static InventoryItemBase FindItemByPath( 198 public static InventoryItemBase FindItemByPath(
205 IInventoryService inventoryService, InventoryFolderBase startFolder, string path) 199 IInventoryService inventoryService, InventoryFolderBase startFolder, string path)