remove tests for inventory
parent
5d5a886b34
commit
7b1e82a8aa
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue