mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
remove tests for inventory
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user