aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Attachments/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed all refs to IClientAPI from IAttachmentsModule. Separated client ↵Dan Lake2011-10-041-1/+1
| | | | handlers for attachments to call public interface and rearranged module file into sections
* Removed redundant code in AttachmentsModule and simplified interfaces which ↵Dan Lake2011-10-031-5/+5
| | | | converted back and forth between ScenePresence and IClientAPI. More to be done still.
* Don't try and delete attachments for child agent closeJustin Clark-Casey (justincc)2011-09-131-0/+32
|
* Remember to set and unset the fire and forget method at the top of the ↵Justin Clark-Casey (justincc)2011-09-081-3/+7
| | | | attachment and npc tests
* In SetAttachment, if the existing attachment has no asset id then carry on ↵Justin Clark-Casey (justincc)2011-09-061-0/+8
| | | | | | | | | | | rather than abort. When a user logs in, the attachment item ids are pulled from persistence in the Avatars table. However, the asset ids are not saved. When the avatar enters a simulator the attachments are set again. If we simply perform an item check then the asset ids (which are now present) are never set, and NPC attachments later fail unless the attachment is detached and reattached. Hopefully resolves part of http://opensimulator.org/mantis/view.php?id=5653
* Stop the pointless double setting of every attachment in AvatarAppearance.Justin Clark-Casey (justincc)2011-09-061-0/+1
| | | | The second was already being filtered out so this has no user level effect
* Make SP.Attachments available as sp.GetAttachments() instead.Justin Clark-Casey (justincc)2011-08-311-5/+5
| | | | | | | The approach here, as in other parts of OpenSim, is to return a copy of the list rather than the attachments list itself This prevents callers from forgetting to lock the list when they read it, as was happening in various parts of the codebase. It also improves liveness. This might improve attachment anomolies when performing region crossings.
* refactor: migrate DropObject handling fully into AttachmentsModule from SceneJustin Clark-Casey (justincc)2011-08-301-5/+2
|
* Fix bug where attachments were remaining on the avatar after being dropped.Justin Clark-Casey (justincc)2011-08-301-4/+10
| | | | If the inventory service is configured not to allow deletion then these will not disappear from inventory
* Eliminate duplicate AttachmentPoint properties by always using the one ↵Justin Clark-Casey (justincc)2011-08-271-3/+0
| | | | stored in the root part's state field.
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-9/+9
| | | | pointless duplication of identical values
* refactor: remove common presence set up in attachments testsJustin Clark-Casey (justincc)2011-08-261-32/+38
|
* comment out verbose test logging from last commitJustin Clark-Casey (justincc)2011-08-261-1/+1
|
* add regression test for detaching an attachment to the sceneJustin Clark-Casey (justincc)2011-08-261-0/+33
|
* refactor: move sog.DetachToInventoryPrep() into ↵Justin Clark-Casey (justincc)2011-08-261-1/+1
| | | | AttachmentsModule.DetachSingleAttachmentToInv()
* Remove forcing of phantom on ground attached objects - attachments can be ↵Justin Clark-Casey (justincc)2011-08-241-3/+0
| | | | | | both non-phantom and flagged as physical. As per Melanie
* extend initial rez regression test to check that attachment is phantomJustin Clark-Casey (justincc)2011-08-241-9/+14
|
* Make objects attached from the ground phantomJustin Clark-Casey (justincc)2011-08-241-2/+10
|
* add TestAddAttachmentFromGround() regression testJustin Clark-Casey (justincc)2011-08-241-1/+31
|
* rename AttachmentsModule.ShowDetachInUserInventory() to ↵Justin Clark-Casey (justincc)2011-08-231-1/+1
| | | | DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour
* remove mono compiler warningsJustin Clark-Casey (justincc)2011-08-231-2/+0
|
* replace TestRemoveAttachments() with a more thorough TestRemoveAttachment()Justin Clark-Casey (justincc)2011-08-231-51/+27
|
* replace old TestAddAttachments() with a more thorough TestAddAttachment()Justin Clark-Casey (justincc)2011-08-231-7/+28
|
* extend test to check that there is one attachment and that it has the right nameJustin Clark-Casey (justincc)2011-08-171-1/+6
|
* Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵Justin Clark-Casey (justincc)2011-08-171-6/+16
| | | | attachments check
* Add new FireAndForgetMethod.None.Justin Clark-Casey (justincc)2011-08-161-13/+33
| | | | This executes the callback on the same thread that made the request. Designed for use only by regression tests that rely on a predicable event ordering.
* Move some previously common code back into separate tests. Remove unused ↵Justin Clark-Casey (justincc)2011-08-161-10/+9
| | | | region handle from test.
* Isolate existing incomplete attachments tests rather than have them rely on ↵Justin Clark-Casey (justincc)2011-08-161-5/+5
| | | | | | each other. Much easier to debug this way.
* drop number of attachments in test from 3 to 2 to reduce text complexityJustin Clark-Casey (justincc)2011-08-161-4/+1
|
* remove setting up of second scene in attachments since it's not currently usedJustin Clark-Casey (justincc)2011-08-161-24/+21
|
* relocate AttachmentTests.cs to AttachmentsModuleTests.csJustin Clark-Casey (justincc)2011-08-161-0/+172