remove tests for inventory

0.6.0-stable
Sean Dague 2008-10-01 19:29:06 +00:00
parent 5d5a886b34
commit 7b1e82a8aa
1 changed files with 19 additions and 0 deletions

View File

@ -156,6 +156,14 @@ namespace OpenSim.Data.Tests
Assert.That(text, Is.EqualTo(sog.RootPart.Text));
}
[Test]
public void T020_PrimInventoryEmpty()
{
SceneObjectGroup sog = FindSOG("object1", region1);
TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1);
Assert.That(t, Is.Null);
}
[Test]
public void T021_PrimInventoryStore()
{
@ -186,6 +194,17 @@ namespace OpenSim.Data.Tests
Assert.That(t.Name, Is.EqualTo(itemname1));
}
[Test]
public void T022_PrimInvetoryRemove()
{
List<TaskInventoryItem> list = new List<TaskInventoryItem>();
db.StorePrimInventory(prim1, list);
SceneObjectGroup sog = FindSOG("object1", region1);
TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1);
Assert.That(t, Is.Null);
}
[Test]
public void T051_RemoveObjectWrongRegion()
{