aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAgentTests.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Only look for an uploaded transactional asset in Scene.UpdateTaskInventory ↵Justin Clark-Casey (justincc)2012-02-041-1/+1
| | | | | | | | if we have been passed a non-zero transaction ID. This resolves the recent regression from deeb728 where notecards could not be saved in prim inventories. This looks like a better solution than deeb728 since only non-caps updates pass in a transaction ID. Hopefully resolves http://opensimulator.org/mantis/view.php?id=5873
* Split up test SceneHelpers to provide an AddChildScenePresence() callJustin Clark-Casey (justincc)2011-12-031-0/+1
|
* Remove T012_TestAddNeighbourRegion() and T013_TestRemoveNeighbourRegion() ↵Justin Clark-Casey (justincc)2011-12-031-70/+5
| | | | since they don't do anything useful.
* Extend TestCreateChildScenePresence to make assertions both at CreateAgent ↵Justin Clark-Casey (justincc)2011-12-031-0/+16
| | | | stage and then at Scene.AddClient()
* Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)2011-12-031-11/+46
| | | | | This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
* Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵Justin Clark-Casey (justincc)2011-12-031-4/+2
| | | | dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions
* Add agent circuit number checks to TestCloseAgent()Justin Clark-Casey (justincc)2011-12-031-0/+4
|
* Fixed line endings from previous commitDan Lake2011-10-061-2/+2
|
* Refactored "known child region" in ScenePresence. There were 4 differentDan Lake2011-10-061-7/+4
| | | | | | ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists.
* get rid of appearance null checks - this is never nullJustin Clark-Casey (justincc)2011-08-311-0/+1
|
* Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)2011-08-181-2/+2
| | | | | | | removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
* remove some obsolete tests that are now done elsewhereJustin Clark-Casey (justincc)2011-08-061-53/+53
|
* Add a test to check that ScenePresence and circuit go away when a root agent ↵Justin Clark-Casey (justincc)2011-08-061-10/+17
| | | | is closed down
* refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)2011-08-061-31/+41
| | | | This seems to make more sense as we can get SP.ControllingClient
* rip out sog generation methods in ScenePresenceAgentTests and use ↵Justin Clark-Casey (justincc)2011-08-061-0/+355
SceneHelpers instead Not that it matters, since these tests are pretty bogus anyway. Also, renames some test classes for consistency.