aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 80d4fd4..1978fc7 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -157,6 +157,14 @@ namespace OpenSim.Data.Tests
157 } 157 }
158 158
159 [Test] 159 [Test]
160 public void T020_PrimInventoryEmpty()
161 {
162 SceneObjectGroup sog = FindSOG("object1", region1);
163 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1);
164 Assert.That(t, Is.Null);
165 }
166
167 [Test]
160 public void T021_PrimInventoryStore() 168 public void T021_PrimInventoryStore()
161 { 169 {
162 SceneObjectGroup sog = FindSOG("object1", region1); 170 SceneObjectGroup sog = FindSOG("object1", region1);
@@ -187,6 +195,17 @@ namespace OpenSim.Data.Tests
187 } 195 }
188 196
189 [Test] 197 [Test]
198 public void T022_PrimInvetoryRemove()
199 {
200 List<TaskInventoryItem> list = new List<TaskInventoryItem>();
201 db.StorePrimInventory(prim1, list);
202
203 SceneObjectGroup sog = FindSOG("object1", region1);
204 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1);
205 Assert.That(t, Is.Null);
206 }
207
208 [Test]
190 public void T051_RemoveObjectWrongRegion() 209 public void T051_RemoveObjectWrongRegion()
191 { 210 {
192 db.RemoveObject(prim1, UUID.Random()); 211 db.RemoveObject(prim1, UUID.Random());