diff options
Diffstat (limited to 'indra/llinventory/tests')
| -rw-r--r-- | indra/llinventory/tests/inventorymisc_test.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/indra/llinventory/tests/inventorymisc_test.cpp b/indra/llinventory/tests/inventorymisc_test.cpp index 6eb3f04827..e8b063bffe 100644 --- a/indra/llinventory/tests/inventorymisc_test.cpp +++ b/indra/llinventory/tests/inventorymisc_test.cpp @@ -478,7 +478,7 @@ namespace tut  		}  		LLPointer<LLInventoryCategory> src1 = create_random_inventory_cat(); -		fileXML << LLSDOStreamer<LLSDNotationFormatter>(ll_create_sd_from_inventory_category(src1)) << std::endl; +		fileXML << LLSDOStreamer<LLSDNotationFormatter>(src1->exportLLSD()) << std::endl;  		fileXML.close();  		llifstream file(filename.c_str()); @@ -500,7 +500,8 @@ namespace tut  		file.close(); -		LLPointer<LLInventoryCategory> src2 = ll_create_category_from_sd(s_item); +		LLPointer<LLInventoryCategory> src2 = new LLInventoryCategory(); +		src2->importLLSD(s_item);  		ensure_equals("1.item id::getUUID() failed", src1->getUUID(), src2->getUUID());  		ensure_equals("2.parent::getParentUUID() failed", src1->getParentUUID(), src2->getParentUUID()); | 
