aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/MockInventoryService.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-24 16:50:31 +0100
committerJustin Clark-Casey (justincc)2010-08-24 16:50:31 +0100
commit289c21099cf3ce0a2e3392436541b67d0961d8e8 (patch)
treec6f94eeb0c4f1fc98c2ddef7c855a97dc408c908 /OpenSim/Tests/Common/Mock/MockInventoryService.cs
parentAdd system lookup folder fix to the RemoveXInventoryServiceConnector as well ... (diff)
downloadopensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.zip
opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.gz
opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.bz2
opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.xz
Add automated test at the opensim 'api' level to check that a given item goes to the correct directory
Also removes some mono compiler warnings
Diffstat (limited to 'OpenSim/Tests/Common/Mock/MockInventoryService.cs')
-rw-r--r--OpenSim/Tests/Common/Mock/MockInventoryService.cs12
1 files changed, 4 insertions, 8 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockInventoryService.cs b/OpenSim/Tests/Common/Mock/MockInventoryService.cs
index 1ea4bc1..4ac1078 100644
--- a/OpenSim/Tests/Common/Mock/MockInventoryService.cs
+++ b/OpenSim/Tests/Common/Mock/MockInventoryService.cs
@@ -37,13 +37,9 @@ namespace OpenSim.Tests.Common.Mock
37{ 37{
38 public class MockInventoryService : IInventoryService 38 public class MockInventoryService : IInventoryService
39 { 39 {
40 public MockInventoryService() 40 public MockInventoryService() {}
41 {
42 }
43 41
44 public MockInventoryService(IConfigSource config) 42 public MockInventoryService(IConfigSource config) {}
45 {
46 }
47 43
48 /// <summary> 44 /// <summary>
49 /// <see cref="OpenSim.Framework.Communications.IInterServiceInventoryServices"/> 45 /// <see cref="OpenSim.Framework.Communications.IInterServiceInventoryServices"/>
@@ -140,7 +136,7 @@ namespace OpenSim.Tests.Common.Mock
140 136
141 public bool AddItem(InventoryItemBase item) 137 public bool AddItem(InventoryItemBase item)
142 { 138 {
143 return false; 139 return true;
144 } 140 }
145 141
146 public bool UpdateItem(InventoryItemBase item) 142 public bool UpdateItem(InventoryItemBase item)
@@ -187,4 +183,4 @@ namespace OpenSim.Tests.Common.Mock
187 return 1; 183 return 1;
188 } 184 }
189 } 185 }
190} 186} \ No newline at end of file