summaryrefslogtreecommitdiff
path: root/indra/llinventory/tests/inventorymisc_test.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2023-01-09 21:14:16 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2023-01-09 21:14:16 +0000
commit819eec6f8c3abbf71ec3bdaaf4891068574fdc46 (patch)
tree8a0f6dd41d19620b8afc779d859ad494199b76dd /indra/llinventory/tests/inventorymisc_test.cpp
parent11bd72661c86fd2cea016c9f2894efd7c98fc5d4 (diff)
SL-18924 - basic get/set functions for thumbnail UUID, removed obsolete binary pack/unpack functions for inventory
Diffstat (limited to 'indra/llinventory/tests/inventorymisc_test.cpp')
-rw-r--r--indra/llinventory/tests/inventorymisc_test.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/indra/llinventory/tests/inventorymisc_test.cpp b/indra/llinventory/tests/inventorymisc_test.cpp
index e8b063bffe..039fa938dd 100644
--- a/indra/llinventory/tests/inventorymisc_test.cpp
+++ b/indra/llinventory/tests/inventorymisc_test.cpp
@@ -400,27 +400,7 @@ namespace tut
// Deleted LLInventoryItem::exportFileXML() and LLInventoryItem::importXML()
// because I can't find any non-test code references to it. 2009-05-04 JC
}
-
- template<> template<>
- void inventory_object::test<10>()
- {
- LLPointer<LLInventoryItem> src1 = create_random_inventory_item();
- U8* bin_bucket = new U8[300];
- S32 bin_bucket_size = src1->packBinaryBucket(bin_bucket, NULL);
-
- LLPointer<LLInventoryItem> src2 = new LLInventoryItem();
- src2->unpackBinaryBucket(bin_bucket, bin_bucket_size);
- ensure_equals("1.sale price::getSalePrice() failed price", src1->getSaleInfo().getSalePrice(), src2->getSaleInfo().getSalePrice());
- ensure_equals("2.sale type::getSaleType() failed type", src1->getSaleInfo().getSaleType(), src2->getSaleInfo().getSaleType());
- ensure_equals("3.type::getType() failed", src1->getType(), src2->getType());
- ensure_equals("4.inventory type::getInventoryType() failed type", src1->getInventoryType(), src2->getInventoryType());
- ensure_equals("5.name::getName() failed", src1->getName(), src2->getName());
- ensure_equals("6.description::getDescription() failed", src1->getDescription(), src2->getDescription());
- ensure_equals("7.flags::getFlags() failed", src1->getFlags(), src2->getFlags());
-
- }
-
template<> template<>
void inventory_object::test<11>()
{