aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorSean Dague2008-10-01 19:29:06 +0000
committerSean Dague2008-10-01 19:29:06 +0000
commit7b1e82a8aa2e2589bcfd4c273e1a23ef228eb980 (patch)
tree060ab29e629b67895f4d8ce471cf6093d8a769dd /OpenSim/Data
parentremove these old ruby grid servers as they are really old (like a year (diff)
downloadopensim-SC_OLD-7b1e82a8aa2e2589bcfd4c273e1a23ef228eb980.zip
opensim-SC_OLD-7b1e82a8aa2e2589bcfd4c273e1a23ef228eb980.tar.gz
opensim-SC_OLD-7b1e82a8aa2e2589bcfd4c273e1a23ef228eb980.tar.bz2
opensim-SC_OLD-7b1e82a8aa2e2589bcfd4c273e1a23ef228eb980.tar.xz
remove tests for inventory
Diffstat (limited to 'OpenSim/Data')
-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());