diff options
author | Justin Clark-Casey (justincc) | 2009-09-06 21:14:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-06 21:14:42 +0100 |
commit | 881051c8ccef7b49031d0f9a087390336ecc53b5 (patch) | |
tree | 1014a53b9923c6aabfa94b0a85ad9bf62664ea3b /OpenSim/Tests/Common | |
parent | remove warning (diff) | |
download | opensim-SC-881051c8ccef7b49031d0f9a087390336ecc53b5.zip opensim-SC-881051c8ccef7b49031d0f9a087390336ecc53b5.tar.gz opensim-SC-881051c8ccef7b49031d0f9a087390336ecc53b5.tar.bz2 opensim-SC-881051c8ccef7b49031d0f9a087390336ecc53b5.tar.xz |
Convert iar write request to use inventory service requests rather than cache
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs b/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs index a444d91..daef38b 100644 --- a/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | |||
@@ -84,7 +84,17 @@ namespace OpenSim.Tests.Common.Mock | |||
84 | 84 | ||
85 | public List<InventoryItemBase> getInventoryInFolder(UUID folderID) | 85 | public List<InventoryItemBase> getInventoryInFolder(UUID folderID) |
86 | { | 86 | { |
87 | return new List<InventoryItemBase>(); | 87 | m_log.DebugFormat("[MOCK INV DB]: Getting items in folder {0}", folderID); |
88 | |||
89 | List<InventoryItemBase> items = new List<InventoryItemBase>(); | ||
90 | |||
91 | foreach (InventoryItemBase item in m_items.Values) | ||
92 | { | ||
93 | if (item.Folder == folderID) | ||
94 | items.Add(item); | ||
95 | } | ||
96 | |||
97 | return items; | ||
88 | } | 98 | } |
89 | 99 | ||
90 | public List<InventoryFolderBase> getUserRootFolders(UUID user) { return null; } | 100 | public List<InventoryFolderBase> getUserRootFolders(UUID user) { return null; } |