aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)2011-07-042-0/+20
| | | | Disabled temporarily since file system caching disrupts subsequent test runs
* Extend TestGiveInventoryFolder() to test giving back the freshly received folderJustin Clark-Casey (justincc)2011-06-041-2/+13
|
* Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2011-06-042-9/+27
| | | | the same user. Extend TestGiveInventoryItem() to test giving back the same item.
* create TestGetInventoryItem()Justin Clark-Casey (justincc)2011-06-041-1/+27
|
* extend TestGiveInventoryFolder() to check for the receipt by user 2Justin Clark-Casey (justincc)2011-06-041-0/+21
|
* add stub UserInventoryTests.GiveInventoryFolder(). Not yet completeJustin Clark-Casey (justincc)2011-06-031-2/+9
|
* Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)2011-05-311-1/+1
| | | | | If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-214-4/+4
| | | | OpenSim.Tests.Common instead
* rename test helpers enclosing package from Setup to HelpersJustin Clark-Casey (justincc)2011-05-216-0/+0
|
* rename UserInventoryTestsUtils -> UserInventoryHelpers for consistencyJustin Clark-Casey (justincc)2011-05-211-2/+2
|
* test helper rename for consistencyJustin Clark-Casey (justincc)2011-05-211-1/+1
|
* refactor: rename AddSceneObjectItem to AddSceneObjectJustin Clark-Casey (justincc)2011-05-211-1/+1
|
* refactor: move scene object item creation code into TaskInventoryHelpersJustin Clark-Casey (justincc)2011-05-211-1/+22
|
* move test task inventory notecard item creation into a new ↵Justin Clark-Casey (justincc)2011-05-211-0/+68
| | | | TastInventoryHelpers class
* rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)2011-05-211-1/+1
| | | | other test helper names
* add test for rezzing an object from a prim itemJustin Clark-Casey (justincc)2011-05-201-3/+17
|
* When loading an OAR that doesn't have parcels, create a default parcelOren Hurvitz2011-05-141-2/+11
|
* Moved several cap-based-service-providing modules from where they were into ↵Diva Canto2011-04-301-1/+0
| | | | a newly created CoreModules/Caps. Not all.
* Merge branch 'master' into test-merge0418Mic Bowman2011-04-184-369/+49
|\
| * get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)2011-04-151-30/+2
| |
| * remove old code for a mock grid service, which got removed some time backJustin Clark-Casey (justincc)2011-04-151-8/+3
| |
| * remove any reference to a mock authentication service since it doesn't exist ↵Justin Clark-Casey (justincc)2011-04-151-12/+7
| | | | | | | | and we don't use it
| * remove mock asset service for tests in favour of always using the real oneJustin Clark-Casey (justincc)2011-04-152-132/+5
| |
| * Remove the mock inventory service for tests and just use the real one all ↵Justin Clark-Casey (justincc)2011-04-152-199/+6
| | | | | | | | the time with an in-memory data plugin
| * Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2011-04-153-6/+30
| | | | | | | | | | | | | | 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.
| * implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet.Justin Clark-Casey (justincc)2011-04-141-2/+16
| |
| * Make scene object parts created by the test utils unit sized.Justin Clark-Casey (justincc)2011-04-141-2/+2
| |
* | First pass at moving object property requests into a queue similarMic Bowman2011-04-131-9/+2
|/ | | | | | | | to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
* Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2011-04-131-0/+15
| | | | | | | | | used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly.
* Improve previous ILandObject method doc.Justin Clark-Casey (justincc)2011-04-061-5/+11
| | | | For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
* Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)2011-03-251-1/+1
| | | | | | | counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
* Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)2011-03-231-5/+22
| | | | Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
* refactor common sop setup parts into a single methodJustin Clark-Casey (justincc)2011-03-231-17/+23
|
* refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)2011-03-231-0/+32
| | | | construction into SceneSetupHelpers.CreateSceneObject()
* in AssetHelpers.CreateAsset(), create objects using the 'original' xml ↵Justin Clark-Casey (justincc)2011-03-101-1/+1
| | | | format rather than 'xml2'
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-093-2/+3
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* remove inventory service preserving code from SceneSetupHelpers tooJustin Clark-Casey (justincc)2011-03-091-37/+10
|
* Simplify SceneSetupHelpers class by removing all code which was originally ↵Justin Clark-Casey (justincc)2011-03-091-53/+40
| | | | preserving service instances between tests. This wasn't being used anyway and just leads to hard to diagnose test failures.
* Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2011-03-091-3/+3
| | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
* Remove unused SceneSetupHelpers.DeleteObjectAsync().Justin Clark-Casey (justincc)2011-02-191-19/+0
| | | | Calling async code in automated tests is never a good idea - things become very fragile very quickly
* remove unused code to share services between scenes in SceneSetupHelpers - ↵Justin Clark-Casey (justincc)2011-02-191-52/+16
| | | | this is done differently elsewhere
* Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)2011-02-182-6/+9
| | | | Stop tests setting up a capabilities module by default
* On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)2011-02-181-5/+3
| | | | | | | for the last stage of AddRootAgent() instead of SP.MakeRootAgent() Going this extra step doesn't appear to cause any test failures. This is arguably better for test purposes, though at some stage another method may arise which does just call AddRootAgent().
* When an oar is loaded, do not create a default parcel before loading the ↵Justin Clark-Casey (justincc)2011-01-271-1/+1
| | | | | | | | parcels from the OAR. The region spanning parcel shouldn't exist in this situation. If it does, when the land data is loaded it is repersisted with a local ID which comes after the ones loaded via the oar, which obliterates the oar loaded one. Resaving the data we just loaded from the database is somewhat odd in itself (though this makes sense from the way that OAR loading was already using the same event).
* Fix OAR parcel loading so that old parcels are replaced by the new instead ↵Justin Clark-Casey (justincc)2011-01-271-0/+5
| | | | | | of merged. The --merge switch will still merge the old and new land parcelling.
* Implement SendPlacesReplyMelanie2010-12-301-0/+4
|
* * Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)2010-12-211-0/+5
| | | | | | * Adds an item that checks to see if the top request has been there for longer then 30 seconds without an update and sends an AbortXfer if it encounters one. This allows the client to cancel the Xfer on it's side so you can re-select the prim and get the inventory when it fails the first time. * Some interesting locking... Using NewFiles to lock the rest of them. We'll see how that goes. * The goal of this is to ensure that Xfers are restartable when they fail. The client will not do that on it's own.
* Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)2010-12-142-3/+7
| | | | | | | yet complete. While implementing this, a bug was fixed in scene setup helpers where module RegionLoaded() was called immediately after AddRegion() instead of waiting for all AddRegions() to complete. Also, XmlRpcGroupsModule non-message functionality will now work without a message transfer module (as indicated in the comments but with a contradictory implementation)
* Add mock group services connector and use this in testsJustin Clark-Casey (justincc)2010-12-141-0/+236
|
* Add lsClearWindlightScene() to the lightshare module to remove WL settingsMelanie2010-11-031-1/+9
| | | | from a region and allow normal day cycles to be reestablished