aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)3-3/+0
OpenSim.Tests.Common instead
2011-05-21rename UserInventoryTestsUtils -> UserInventoryHelpers for consistencyJustin Clark-Casey (justincc)1-4/+4
2011-05-21rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)3-15/+15
other test helper names
2011-04-18add test to ensure that an IAR starts with the control fileJustin Clark-Casey (justincc)1-1/+28
2011-04-15get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)3-9/+9
2011-04-15extend TestLoadCoalesecedItem() to check loaded object ids and positionsJustin Clark-Casey (justincc)1-1/+7
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2-19/+26
IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
2011-04-14implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet.Justin Clark-Casey (justincc)2-4/+48
2011-04-14simplify InventoryArchiveTestCase setupJustin Clark-Casey (justincc)1-18/+2
2011-04-14simplify TestSaveItemToIarV0_1()Justin Clark-Casey (justincc)1-18/+2
2011-03-10Add test for simple case where creator account with appropriate uuid exists ↵Justin Clark-Casey (justincc)1-0/+32
on the target system for an iar load
2011-03-10refactor: rename test user account fieldsJustin Clark-Casey (justincc)3-35/+35
2011-03-10factor out common scene setup code in InventoryArchiveTestCaseJustin Clark-Casey (justincc)2-41/+33
2011-03-10extend TestLoadIarV0_1AbsentCreator() to check serialized object CreatorId ↵Justin Clark-Casey (justincc)1-0/+6
as well
2011-03-10re-enable item.CreatorId check in TestLoadIarV0_1AbsentCreator()Justin Clark-Casey (justincc)1-3/+3
2011-03-10For objects loaded from an IAR, make sure the CreatorID points towards the ↵Justin Clark-Casey (justincc)1-5/+5
OSP resolved ID if newer CreationData is not present. This should resolve issues where the creator for rezzed objects was being shown as "Unknown user" where previous behaviour was to show the OSP resolved account. This is being done by parsing the serialized objects and updating the CreatorID if no CreationData exists. This operation might be expensive for sculpties where the sculpt texture is inlined with the object data. Will just have to see. This relies on the IAR streaming inventory data before asset data (as is currently the case). Will need to introduce more stringent checks for file order on loading (much like JAR zips must start with the manifest file). This is for IAR loading only. Tests updated to check this behaviour.
2011-03-10When setting up default iar for testing, use iar archiving code rather than ↵Justin Clark-Casey (justincc)3-13/+17
constructing the tar manually
2011-03-10Change existing users load iar test so that it fulfills it's original ↵Justin Clark-Casey (justincc)2-11/+15
intention (i.e. OSPA resolution, which is still active). Will need to write a separate test for the simplest case where creator accounts with appropriate uuids exist on iar load.
2011-03-10Split the inventory path testing parts of TestLoadIarV0_1ExistingUsers() ↵Justin Clark-Casey (justincc)2-23/+46
into a new test TestLoadIarToInventoryPaths()
2011-03-09Make the item created in the default test iar an object rather than a scriptJustin Clark-Casey (justincc)1-2/+27
2011-03-09minor: change the order of some default iar setup in test caseJustin Clark-Casey (justincc)1-5/+7
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)3-3/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-03-09Split out path tests from InventoryArchiveTests. Factor common code into ↵Justin Clark-Casey (justincc)3-531/+562
test case parent
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)1-50/+15
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2011-03-05Construct test load iar only once and reuse for each test, rather than ↵Justin Clark-Casey (justincc)1-8/+18
recreating it every time
2010-12-11Remove the restriction that you have to be logged in when loading/saving iarsJustin Clark-Casey (justincc)1-7/+7
This is pointless as we're supplying the password on the command line
2010-11-29Fix unit test.Diva Canto1-5/+8
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-3/+2
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-09-12Formatting cleanup.Jeff Ames1-27/+27
2010-09-04Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)1-3/+3
The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
2010-08-28very minor log message and var name tweaking for iar savingJustin Clark-Casey (justincc)1-1/+2
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)1-1/+1
2010-08-27allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)1-0/+24
/Objects is now valid where it wasn't before)
2010-08-27refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)1-44/+60
2010-08-07Remove old test classes that don't actually test anything not done elsewhereJustin Clark-Casey (justincc)1-1/+1
Also comment out log4net line in InventoryArchiverTests
2010-07-14Fix obvious bug in XInventoryService.GetFolderItems() which was preventing ↵Justin Clark-Casey (justincc)1-5/+120
the iar module from being able to save single item iars
2010-06-30Add --merge switch to load iar.Justin Clark-Casey (justincc)1-5/+45
When this switch is used, iar folders are merged with existing same-name user inventory folders. This makes it a little easier to back and restore entire individual user inventories, among other things Added unit test to check behaviour
2010-06-18Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)1-26/+49
This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
2010-06-18change TestPartExistingIarPath() to check appropriate folder creationJustin Clark-Casey (justincc)1-15/+23
change some names in InventoryArchiveReadRequest in an effort to make the code more comprehendable
2010-06-18in IAR utils, return all folders that match a particular path rather than ↵Justin Clark-Casey (justincc)1-5/+5
just the first one
2010-06-11Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-2/+2
GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
2010-06-11Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-2/+2
GetFolder(InventoryFolderBase folder) This involves no wire changes since the methods often just construct an InventoryFolderBase under the hood. This is in line with other methods that alraedy allow requests via uuid
2010-06-11create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)1-2/+48
add various helper functions for simplifying test readability
2010-06-05various refactorings on methods to replicate IAR paths to user inventory in ↵Justin Clark-Casey (justincc)1-1/+1
order to improve readability
2010-06-04refactor: do pathname trimming outside of ReplicateArchivePathToUserInventory()Justin Clark-Casey (justincc)1-1/+1
2010-06-04bring TestLoadIarV0_1AbsentUsers() back onlineJustin Clark-Casey (justincc)1-63/+56
2010-06-04bring TestIarV0_1WithEscapedChars() back onlineJustin Clark-Casey (justincc)1-89/+72
2010-06-04bring test TestLoadIarV0_1ExistingUsers() back onlineJustin Clark-Casey (justincc)1-81/+76
2010-06-04remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)1-1/+1
easily configured for test purposes
2010-06-04get TestSaveIarV0_1() working again by setting up an ↵Justin Clark-Casey (justincc)1-2/+2
OpenSim.Data.Null.UserAuthenticationData plugin additional tweaks to get this working properly