aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2010-05-28get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)1-106/+99
didn't get the authentication server to work and my brain is about to fizzle out my ears
2010-05-28restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵Justin Clark-Casey (justincc)1-51/+37
work with the new UserAccountService/InventoryService
2010-05-28fission UserAccountService.HandleCreateUser() into two methods, one which ↵Justin Clark-Casey (justincc)1-52/+50
handles user command parsing and another which actually does the work
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-474/+482
* HG is seriously broken here * Compiles. Untested.
2009-11-26Resolve issue where an iar load fails to preserve original item creatorsJustin Clark-Casey (justincc)1-1/+8
See http://opensimulator.org/mantis/view.php?id=4394 This change preserves the uuid when a profile is found rather than the ospa
2009-11-23Formatting cleanup.Jeff Ames1-4/+4
2009-11-12refactor some test asset creation into a helper classJustin Clark-Casey (justincc)1-8/+2
remove mono compiler warning
2009-11-12minor: for now stop iar tests spewing log messages when running testsuiteJustin Clark-Casey (justincc)1-1/+1
2009-11-09* for iars, allow item names/folders including "/" to be escaped using "\/"Justin Clark-Casey (justincc)1-3/+5
* also, "\" has to be escaped as "\\" * add item name unit test for escaped characters
2009-11-06Fixing the build breakJohn Hurliman1-2/+1
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-2/+1
unknown asset type, and log an error if it ever does happen
2009-11-05add unit test for iar & escapingJustin Clark-Casey (justincc)1-2/+94
2009-11-05minor test var name tweakJustin Clark-Casey (justincc)1-7/+7
2009-10-01Formatting cleanup.Jeff Ames1-18/+18
2009-09-15And another goMelanie1-2/+2
2009-09-15Attempt to fix the testsMelanie1-2/+2
2009-09-15Some OSGrid specific changes, please use this or later for OSGrid useMelanie1-7/+7
2009-09-10refactor: Replace some iar item name generation in tests with helper functionJustin Clark-Casey (justincc)1-6/+3
2009-09-09Add test to check behaviour if an iar is loaded where no user profile exists ↵Justin Clark-Casey (justincc)1-3/+76
for the creators Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-08extend load iar test to loading into a deeply nested directoryJustin Clark-Casey (justincc)1-6/+25
correct bug associated with this
2009-09-08refactor iar name generationJustin Clark-Casey (justincc)1-20/+11
slightly change the format of item archive names
2009-09-07Only allow iar load/save if user is logged in to the region simulatorJustin Clark-Casey (justincc)1-6/+4
2009-09-06change iar load to make discrete inventory service requests rather than the ↵Justin Clark-Casey (justincc)1-9/+12
cache
2009-09-06Add convenience functions to InventoryArchiveUtils for locating folders by ↵Justin Clark-Casey (justincc)1-5/+3
assuming we're starting from the root Change test methods to use convenience functions
2009-09-06change load iar test to use non-cache find item by path functionJustin Clark-Casey (justincc)1-1/+4
2009-09-06remove now unnecessary parts of save iar testJustin Clark-Casey (justincc)1-17/+4
2009-09-06refactor: use direct scene reference in inventory archive read requestJustin Clark-Casey (justincc)1-1/+1