aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto2015-09-044-4/+4
| | | | OpenSim.Framework.
* Deleted physics plugin classes.Diva Canto2015-08-311-4/+22
| | | | More unit tests fixed.
* First commit where physics work as region module.Diva Canto2015-08-313-7/+4
| | | | | Moved all physics dlls out of Physics and into bin directly, so they can be found by the module loader. Removed call to PhysicsPluginManager.
* More namespace and dll name changes. Still no functional changes.Diva Canto2015-08-302-3/+3
|
* Renamed the namespaces tooDiva Canto2015-08-302-2/+2
|
* Moved instantiation of SceneCommunicationService object to inside the scene ↵Diva Canto2015-08-302-5/+3
| | | | constructor. This was a left over from the original monolithic design of scene communications. The less the instantiators of scenes know about the scene's internals, the better.
* Change the IScriptApi back to it's original form, removing XEngineMelanie Thielker2015-08-171-0/+4
| | | | | specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-081-1/+1
| | | | | | | inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
* Fix bug where the uuid gatherer was not inspecting UUIDs for items in an ↵Justin Clark-Casey (justincc)2015-02-251-12/+33
| | | | | | | | embedded object's inventory. Added regression test for this case. Likely a regression since 08606ae4 (Thu Jan 8 2015) Relates to Mantises 7439, 7450 and possibly others.
* Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)2015-02-251-18/+18
| | | | them usable in tests with no scene present
* If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)2015-02-032-5/+20
| | | | | | | | | "take copy" option on a viewer) then only require owner copy perms, not copy and transfer. This matches Linden Lab behaviour and what was already possible via shift-copy. Transfer would not apply here as the owner and copier are the same. This is the only functional change, all other current take copy logic remains the same. Adds regression tests around relevant take copy cases.
* For scripts in attachments, don't save .state files apart from the initial ↵Justin Clark-Casey (justincc)2015-01-161-7/+25
| | | | | | | | one as these are ignored since .state is saved in the attachment's asset. This eliminates pointless work and exceptions when an appdomain is unloaded whilst an attachment script state is persisted. Adds test for this case. Relates to http://opensimulator.org/mantis/view.php?id=7407
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-2513-13/+10
| | | | | | package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
* refactor: Move test clientstack setup code out of BasicCircuitTests into ↵Justin Clark-Casey (justincc)2014-11-252-0/+266
| | | | OpenSim.Tests.Common.ClientStackHelpers
* Don't unnecessarily remove from backup objects that were not directly ↵Justin Clark-Casey (justincc)2014-10-021-1/+1
| | | | | | | attached from the scene. These are never in region backup in the first place since recent 11830c43 Extend regression test to check backup status.
* Allow the "debug scene set physics false|true" command to work when ↵Justin Clark-Casey (justincc)2014-07-292-10/+12
| | | | | | bulletsim physics is running in a separate thread. This will also allow the "disable physics" setting in the region debug viewer dialog to work in this circumstance.
* Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)2014-07-021-0/+1
| | | | | | shutdown. Adds regression test for this case.
* Moved these two estate-related interfaces to the projects where they belong.Diva Canto2014-05-301-0/+1
|
* Simplify regression TestInterRegionChatDistanceEastWest() by making the ↵Justin Clark-Casey (justincc)2014-05-221-1/+5
| | | | | | child presence connection directly rather than routing through TestClient. This code isn't relevant to this test and is already exercised by other tests.
* Add regression test for in-range chat between neighbouring regions from east ↵Justin Clark-Casey (justincc)2014-05-221-0/+40
| | | | to west.
* Fix recent regression from 77e7bbc where an attachment on a received group ↵Justin Clark-Casey (justincc)2014-05-191-1/+23
| | | | | | | | notice with XmlRpcGroups messaging did not appear in the user's inventory. This was because the "session ID" when the message template was copied was always replaced with the group ID, whereas a notice requires this to be the notice ID. Instead just copy the "session ID" as is - other callers already have this set properly so replacing with group ID was redundant anyway. Relates to http://opensimulator.org/mantis/view.php?id=7037
* Add basic regression test for creating a var regionJustin Clark-Casey (justincc)2014-04-251-1/+10
|
* Eliminated many warningsOren Hurvitz2014-04-231-1/+3
|
* Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)2014-04-111-0/+6
| | | | | | | | completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-091-1/+1
| | | | referrer)
* Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz2014-04-021-4/+5
| | | | | | list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
* Fix problem where moving an object to another region on the same simulator ↵Justin Clark-Casey (justincc)2014-04-021-0/+26
| | | | | | | | was failing, with the object returning to its original position. Root cause was that PrimLimitsModule was not properly handling the case where the parcel it was asked to check was outside the current region's bounds. If this is the case, we can abort the check since the receiving region will perform it. Added a regression test for this case.
* Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2014-03-173-0/+455
| | | | Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
* Instead of auto-creating a parcel on request if one doesn't cover a given ↵Justin Clark-Casey (justincc)2014-03-111-3/+6
| | | | | | | | | location, fill in gaps or extend existing parcel right after initial data load. This is in line with simpler and still existing behaviour where a default parcel is created if no parcels are in storage at all. Making this change as another step to address current problems with spurious parcels occasionally being created. Also adds regression tests for different load behaviours depending on existing stored parcel data. Relates to http://opensimulator.org/mantis/view.php?id=7035
* Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)2014-03-071-23/+129
|
* If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)2014-03-051-0/+3
| | | | | | | | change, not just those outside the usual tolerances. This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case.
* Stop mesh avatars that specify the alpha texture in their bake slots from ↵Justin Clark-Casey (justincc)2014-02-241-0/+3
| | | | | | | causing the simulator to continually request that they rebake This is because the alpha texture is not in the cache, we must continue to have the fallback of looking for these and other persisted bakes in the asset service. Relates to http://opensimulator.org/mantis/view.php?id=6927
* Merge branch 'master' into varregionRobert Adams2014-01-212-7/+19
|\
| * Merge branch 'justincc-master'Justin Clark-Casey (justincc)2014-01-202-7/+19
| |\
| | * Stop exceptions being generated on agent connection if a telehub object has ↵Justin Clark-Casey (justincc)2014-01-202-7/+19
| | | | | | | | | | | | been deleted or has no spawn points.
| * | varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2014-01-041-4/+7
| |/ | | | | | | | | | | | | | | | | | | | | CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen). Conflicts: OpenSim/Framework/RegionInfo.cs
* | varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2014-01-031-4/+7
| | | | | | | | | | | | | | CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen).
* | Merge branch 'master' into varregionRobert Adams2013-12-201-1/+2
|\ \ | |/
| * Create regression test TestSendAgentGroupDataUpdate() for groups agent data ↵Justin Clark-Casey (justincc)2013-12-181-1/+2
| | | | | | | | sending
* | varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams2013-11-081-6/+2
| | | | | | | | | | | | | | Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
* | varregion: add plumbing to pass region size from Scene down to theRobert Adams2013-11-041-1/+2
| | | | | | | | | | | | physics engine. Older physics engines will default to the legacy region size. Update BulletSim to use the new region size information.
* | varregion: push TerrainData implementation up and down the database storage ↵Robert Adams2013-11-011-3/+26
|/ | | | | | | stack. Implement both LoadTerrain and StoreTerrain for all DBs. Move all database blob serialization/deserialization into TerrainData.
* refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2013-09-272-3/+3
| | | | the code that this is symmetric with CloseAgent()
* Add ScenePresenceTeleportTests.TestSameSimulatorIsolatedRegionsV2() ↵Justin Clark-Casey (justincc)2013-08-171-3/+40
| | | | | | regression test for v2 transfers. Also adjusts names of teleport setup helpers in EntityTransferHelpers
* Create TestSameSimulatorNeighbouringRegionsTeleportV2() regression test for ↵Justin Clark-Casey (justincc)2013-08-121-8/+18
| | | | V2 transfer protocol.
* Fix regression tests relating to agent transfer by making simulator use last ↵Justin Clark-Casey (justincc)2013-07-261-2/+10
| | | | week's SIMULATOR/0.1 protocol for now.
* EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto2013-07-211-1/+1
| | | | lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
* Manage AgentUpdates more sanely:Diva Canto2013-07-211-0/+1
| | | | | | - The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream
* Fix broken tests -- the test setup was wrong... sigh.Diva Canto2013-07-141-1/+1
|
* Update the money framework to allow sending the new style linden "serverside ↵Melanie2013-05-251-6/+1
| | | | | | is now viewerside" messages regarding currency This will require all money modules to be refactored!