Exemple #1
0
        public List <InventoryItemBase> getInventoryInFolder(UUID folderID)
        {
            List <InventoryItemBase> items = m_wrappedPlugin.getInventoryInFolder(folderID);

            foreach (InventoryItemBase item in items)
            {
                PostProcessItem(item);
            }

            return(items);
        }
Exemple #2
0
 public void T100_NoItems()
 {
     Assert.That(db.getInventoryInFolder(zero).Count, Is.EqualTo(0), "Assert.That(db.getInventoryInFolder(zero).Count, Is.EqualTo(0))");
     Assert.That(db.getInventoryInFolder(folder1).Count, Is.EqualTo(0), "Assert.That(db.getInventoryInFolder(folder1).Count, Is.EqualTo(0))");
     Assert.That(db.getInventoryInFolder(folder2).Count, Is.EqualTo(0), "Assert.That(db.getInventoryInFolder(folder2).Count, Is.EqualTo(0))");
     Assert.That(db.getInventoryInFolder(folder3).Count, Is.EqualTo(0), "Assert.That(db.getInventoryInFolder(folder3).Count, Is.EqualTo(0))");
 }
Exemple #3
0
 public void T999_StillNull()
 {
     // After all tests are run, these should still return no results
     Assert.That(db.getInventoryFolder(zero), Is.Null);
     Assert.That(db.getInventoryItem(zero), Is.Null);
     Assert.That(db.getUserRootFolder(zero), Is.Null);
     Assert.That(db.getInventoryInFolder(zero).Count, Is.EqualTo(0), "Assert.That(db.getInventoryInFolder(zero).Count, Is.EqualTo(0))");
 }