aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2009-09-06Temporarily re-enable save iar test by manually insert the item into the old ↵Justin Clark-Casey (justincc)1-5/+10
cache during the test
2009-09-04Add ids to iar requestsJustin Clark-Casey (justincc)1-10/+9
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-02warnings safari.dr scofield (aka dirk husemann)1-4/+3
2009-08-28Pull out distinct cache system folders and drop cache methods in InventoryCacheJustin Clark-Casey (justincc)1-2/+12
2009-08-28Correct build breakJustin Clark-Casey (justincc)1-2/+2
2009-08-28minor: formatting and commentsJustin Clark-Casey (justincc)1-1/+2
2009-08-28minor: remove some commented out iar test codeJustin Clark-Casey (justincc)1-13/+0
2009-08-17Commented out one IAR test, because it's failing and needs attention from ↵Diva Canto1-5/+7
justincc or arthursv. I think the mock inventory service needs a little bit more beef.
2009-08-14* Re-enable TestLoadIarV0_1ExistingUsers()Justin Clark-Casey (justincc)1-12/+3
2009-08-14Re-enable TestSaveIarV0_1()Justin Clark-Casey (justincc)1-1/+1
Implement more parts of TestAssetService
2009-08-14Add standard doc and standard doc formatting to IAssetServiceJustin Clark-Casey (justincc)1-1/+1
2009-08-14Remove NRE catching on TestReplicateArchivePathToUserInventory() since race ↵Justin Clark-Casey (justincc)1-27/+9
failure now appears to have gone
2009-08-11Do new inventory module setup, which is why the test was failing (not the ↵Justin Clark-Casey (justincc)1-1/+1
original race condition, hopefully!) Still always catching the NRE for now pending analysis
2009-08-11Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on ↵Justin Clark-Casey (justincc)1-10/+21
the NRE for now Add temporarily logging for diagnosis
2009-08-11Disable test again. Ho hum.Justin Clark-Casey (justincc)1-1/+1
2009-08-11re-enable just TestReplicateArchivePathToUserInventory() for now to find out ↵Justin Clark-Casey (justincc)1-1/+1
if the race condition has been vanquished
2009-08-11Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)1-10/+36
inventory code can be written with the async inventory fetch
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares1-2/+2
inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality. * SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize. * With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-06Disable all IAR tests for now due to possible failure-causing race conditionJustin Clark-Casey (justincc)1-3/+3
2009-08-05Disable TestReplicateArchivePathToUserInventory() pending more investigationJustin Clark-Casey (justincc)1-1/+1
2009-08-05Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary waitJustin Clark-Casey (justincc)1-11/+12
2009-08-05insert a little more debug info for TestReplicateArchivePathToUserInventory()Justin Clark-Casey (justincc)1-1/+6
2009-08-05Remove waiting in TestReplicateArchivePathToUserInventory() since local ↵Justin Clark-Casey (justincc)1-2/+5
inventory loading is synchronous Insert a little more debugging info in case the occasional failure reoccurs
2009-08-05Recomment TestReplicateArchivePathToUserInventory() for now due to ↵Justin Clark-Casey (justincc)1-6/+11
occasional test fail
2009-08-05reinstate TestSaveIarV0_1()Justin Clark-Casey (justincc)1-1/+1
2009-08-05reinstate TestReplicateArchivePathToUserInventory()Justin Clark-Casey1-1/+1
2009-06-11* Fixed a few more async calls. Still not uncommented, some asserts still ↵Arthur Valadares1-3/+33
failing
2009-06-11Small improvement in the IAR tests, but these tests are still showing random ↵diva1-1/+4
behavior, so they are still commented out.
2009-06-10Commenting the IAR tests for now until we understand how to set up things in ↵diva1-4/+4
this new inventory model.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-25* reseparate inventory item creator id and creator uuidJustin Clarke Casey1-3/+0
* unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync * I think the problems last time were due to a serialization change * So the major inteface version has been bumped to take care of any lingering issues here. * This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
2009-05-22* Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey1-11/+9
hadn't been manually post intiailized
2009-05-18* Resolve http://opensimulator.org/mantis/view.php?id=3191Justin Clarke Casey1-5/+4
* Catch directory exception on load oar as well as file exception
2009-05-18* Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey1-99/+96
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-109/+109
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-14* refactor: break some of xml2 serialization out of sogJustin Clarke Casey1-1/+2
2009-05-08another possible cause of some of the inventory wierdness is the 1/2 implementedSean Dague1-0/+2
OSP resolver, and the caching of the uuid seperate from the string that is a UUID. Change this behavior back to something that ensures the data for the 2 is the same. Put the 2 unit tests that depend on the new behavior into ignore state.