Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't make duplicate call to ScenePresence.Close() separately in ↵ | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -1/+3 |
| | | | | | | | ETM.DoTeleport() if an agent needs closing. This is always done as part of Scene.RemoveClient() Also refactors try/catching in Scene.RemoveClient() to log NREs instead of silently discarding, since these are useful symptoms of problems. | ||||
* | Remove duplicate update of user count in Scene.IncomingCloseAgent() | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -0/+23 |
| | | | | This is already done in Scene.RemoveClient() which IncomingCloseAgent() always ends up calling. | ||||
* | If an agent is still registered as 'in transit' by the source region, don't ↵ | Justin Clark-Casey (justincc) | 2012-05-24 | 1 | -15/+27 |
| | | | | | | | | | | | | allow an immediate teleport back. This is to help relieve a race condition when an agent teleports then immediately attempts to teleport back before the source region has properly cleaned up/demoted the old ScenePresence. This is rare in viewers but much more possible via scripting or region module. However, more needs to be done since virtually all clean up happens after the transit flag is cleared . Possibly need to add a 'cleaning up' state to in transit. This change required making the EntityTransferModule and HGEntityTransferModule per-region rather than shared, in order to allow separate transit lists. Changes were also required in LocalSimulationConnector. Tested in standalone, grid and with local and remote region crossings with attachments. | ||||
* | minor: improve method doc for ↵ | Justin Clark-Casey (justincc) | 2012-05-17 | 1 | -1/+1 |
| | | | | TestSameSimulatorSeparatedRegionsCreateAgentFails() | ||||
* | Add regression TestSameSimulatorSeparatedRegionsCreateAgentFails() | Justin Clark-Casey (justincc) | 2012-05-17 | 1 | -0/+67 |
| | |||||
* | Comment out TestSameSimulatorSeparatedRegionsQueryAccessFails() regression ↵ | Justin Clark-Casey (justincc) | 2012-05-17 | 1 | -2/+2 |
| | | | | test logging accidentally left in | ||||
* | Add regression TestSameSimulatorSeparatedRegionsQueryAccessFails() | Justin Clark-Casey (justincc) | 2012-05-17 | 1 | -0/+76 |
| | |||||
* | Add regression test for teleporting between neighbouring regions on the same ↵ | Justin Clark-Casey (justincc) | 2012-05-01 | 2 | -8/+107 |
| | | | | | | | simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread. | ||||
* | Create TestHelpers.EnableLogging() and DisableLogging() to turn logging on ↵ | Justin Clark-Casey (justincc) | 2012-04-30 | 3 | -4/+9 |
| | | | | | | and off within tests. This makes *.Tests.dll.config files no longer needed, hence deleted. | ||||
* | Add regression test for teleporting an agent between separated regions on ↵ | Justin Clark-Casey (justincc) | 2012-04-27 | 19 | -171/+86 |
| | | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future. | ||||
* | Add regression test TestSameRegionTeleport() | Justin Clark-Casey (justincc) | 2012-04-25 | 1 | -0/+36 |
| | |||||
* | Make TestSetPhysicsSinglePrim() actually add the object to the scene in ↵ | Justin Clark-Casey (justincc) | 2012-04-22 | 1 | -0/+2 |
| | | | | order to test more code paths. | ||||
* | Fix bug where setting phantom on a prim would result in a server log message ↵ | Justin Clark-Casey (justincc) | 2012-04-22 | 1 | -0/+2 |
| | | | | | | | | rather than setting phantom. This was an oversight when removing some race conditions from PhysicsActor setting recently. Regression tests extended to probe this code path. Extending regression tests required implementation of a BasicPhysicsPrim (there was none before). However, BasicPhysics plugin is still of no current practical use other than to fill in as a component for other parts of regression testing. | ||||
* | Add test for setting physics in a linkset | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -2/+28 |
| | |||||
* | Add regression test for prim status when root prim in a new linkset is ↵ | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -0/+19 |
| | | | | non-physical | ||||
* | Fix a bug where linking a non-physical prim with a physical prim as root ↵ | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -0/+19 |
| | | | | | | | | would make the non-physical prim phantom rather than part of the physics object. On region restart, the whole object would become physical as expected. Observed behaviour from elsewhere is that all prims in a new linkset should take on the status of the root prim. Add regression test for this behaviour. | ||||
* | Add test for correct physics status on linking two physics objects | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -2/+26 |
| | | | | Also fixes last build break. | ||||
* | refactor: extract common setup code in SceneObjectStatusTests | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -10/+16 |
| | |||||
* | Add TestSetPhysics() to SOP status tests | Justin Clark-Casey (justincc) | 2012-04-21 | 1 | -0/+20 |
| | |||||
* | Add TestGetChildPartPositionAfterObjectRotation() | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -1/+37 |
| | |||||
* | Add test TestGetChildPartPosition() | Justin Clark-Casey (justincc) | 2012-04-17 | 1 | -0/+28 |
| | |||||
* | Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition() | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+3 |
| | |||||
* | minor: make test names consistent | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+1 |
| | |||||
* | refactor: move common init code into SetUp() in SceneObjectSpatialTests | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -8/+13 |
| | |||||
* | refactor: put SOG position test in a separate TestSceneObjectGroupPosition() | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -1/+17 |
| | |||||
* | Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -0/+2 |
| | |||||
* | Add very basic TestGetRootPartPosition() test | Justin Clark-Casey (justincc) | 2012-04-14 | 1 | -0/+65 |
| | |||||
* | Add llGiveInventory() test from object to object where both objects are ↵ | Justin Clark-Casey (justincc) | 2012-03-22 | 1 | -2/+4 |
| | | | | owned by the same user. | ||||
* | Move frame loop entirely within Scene.Update() for better future performance ↵ | Justin Clark-Casey (justincc) | 2012-03-20 | 2 | -8/+6 |
| | | | | | | | | analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame. | ||||
* | Remove pointless ThreadAbortException catching in a test that isn't run anyway. | Justin Clark-Casey (justincc) | 2012-03-20 | 1 | -11/+5 |
| | |||||
* | minor: remove mono compiler warning | Justin Clark-Casey (justincc) | 2012-03-02 | 1 | -2/+1 |
| | |||||
* | In ObjectTortureTests, run garbage collector on Teardown and run scene loop ↵ | Justin Clark-Casey (justincc) | 2012-02-15 | 1 | -2/+39 |
| | | | | | | | | | | | update when scene objects have been deleted. At least on mono 2.6.4, running GC.Collect() is not guaranteed to force gc of all objects when run in the same method where those objects had references. Therefore, GC.Collect() is now being done in the per-script teardown of ObjectTortureTests. In addition, scene loop update is being run after garbage collection in order to clean out the viewer update list of scene objects in the SceneGraph. These measures mean that scene objects/parts are now garbage collected after a test run if deleted from the scene, resulting in a much better memory usage report (though probably still not very accurate). However, deletion takes a very long time - what's really needed is to find out now why the entire scene isn't being GC'd by this measure. This change hasn't yet been applied to the other stress tests. | ||||
* | Stop a scene object from attempting to link with itself (which results in an ↵ | Justin Clark-Casey (justincc) | 2012-02-08 | 1 | -3/+20 |
| | | | | | | exception and constant complaints in v3 viewers). Aims to address http://opensimulator.org/mantis/view.php?id=5878 | ||||
* | Add TestAddTaskInventoryItem() | Justin Clark-Casey (justincc) | 2012-02-07 | 1 | -1/+25 |
| | |||||
* | Only look for an uploaded transactional asset in Scene.UpdateTaskInventory ↵ | Justin Clark-Casey (justincc) | 2012-02-04 | 2 | -2/+2 |
| | | | | | | | | 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 | ||||
* | Add basic TestAddScript() regression test | Justin Clark-Casey (justincc) | 2012-01-26 | 1 | -0/+76 |
| | |||||
* | Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵ | Dan Lake | 2011-12-12 | 2 | -2/+2 |
| | | | | IsColliding | ||||
* | Split up test SceneHelpers to provide an AddChildScenePresence() call | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+1 |
| | |||||
* | Remove T012_TestAddNeighbourRegion() and T013_TestRemoveNeighbourRegion() ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -70/+5 |
| | | | | since they don't do anything useful. | ||||
* | Extend TestCreateChildScenePresence to make assertions both at CreateAgent ↵ | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+16 |
| | | | | stage and then at Scene.AddClient() | ||||
* | Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence() | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -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-03 | 1 | -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-03 | 1 | -0/+4 |
| | |||||
* | Add basic TestFlyingAnimation() regression test | Justin Clark-Casey (justincc) | 2011-12-03 | 1 | -0/+70 |
| | |||||
* | extract common ScenePresence setup code into Init() method for ↵ | Justin Clark-Casey (justincc) | 2011-11-11 | 1 | -39/+31 |
| | | | | ScenePresenceSitTests | ||||
* | add SP.PhysicsActor checks to other sit/stand tests | Justin Clark-Casey (justincc) | 2011-11-11 | 1 | -0/+4 |
| | |||||
* | add sit and stand on ground test | Justin Clark-Casey (justincc) | 2011-11-11 | 1 | -0/+23 |
| | |||||
* | As per mailing list last week, remove facility that would automatically move ↵ | Justin Clark-Casey (justincc) | 2011-11-11 | 1 | -2/+31 |
| | | | | | | | the avatar if prim with no sit target was out of sitting range. Now, no movement occurs. Note that you can still sit on a prim with an explicit sit target from any distance, as was the case before. | ||||
* | Bump warp sit distance up to 10 meters, as discussed on opensim-dev mailing ↵ | Justin Clark-Casey (justincc) | 2011-11-11 | 1 | -16/+41 |
| | | | | | | | list last week. This means that if the avatar is within 10 meters of the selected target, it sits on it immediately without walking. Existing autopilot outside this range will be disabled in a later commit | ||||
* | Add new ScenePresenceSitTests with a single sit/stand test | Justin Clark-Casey (justincc) | 2011-11-11 | 1 | -0/+103 |
| |