aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-25Minor change of statement order in unit testDiva Canto1-3/+4
2015-05-12One more test in UserAccountsClient.Diva Canto1-1/+5
2015-05-11Added tests for UserAccountService in Robust. In the process fixed a couple ↵Diva Canto3-177/+81
of bugs in the network connectors. For some reason the robust-bound code had a CreateUser method, while the client-bound code had no such method. I assume someone is extending the client-side code with their own connectors. I added the missing method, but didn't add it to the service interface.
2015-05-11Trivial change just to trigger jenkins to build againDiva Canto1-0/+1
2015-05-11Added inventory tests to Robust.Tests.Diva Canto2-0/+154
2015-05-10Added simple test for IM in Robust too.Diva Canto1-24/+7
Changed Inventory data to use the mock one in Common Tests. (but still not inventory tests)
2015-05-10Added this form that comes handy for testing the grid service in Robust.Diva Canto1-0/+11
2015-05-10Deleted OpenSim.Tests.Client.GridClient and PresenceClient, as they have ↵Diva Canto4-364/+0
been subsumed by the new testing framework.
2015-05-10Added the beginning of a new test framework for robust connectors and ↵Diva Canto3-0/+281
services. For now, just Grid and Presence. This framework starts a robust server (as a thread) listening on a port in localhost, then the tests are client code.
2015-02-25Fix bug where the uuid gatherer was not inspecting UUIDs for items in an ↵Justin Clark-Casey (justincc)1-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.
2015-02-25Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)1-18/+18
them usable in tests with no scene present
2015-02-03If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)2-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.
2015-01-16For scripts in attachments, don't save .state files apart from the initial ↵Justin Clark-Casey (justincc)1-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
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-1/+1
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)17-17/+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
2014-11-25refactor: Move test clientstack setup code out of BasicCircuitTests into ↵Justin Clark-Casey (justincc)2-0/+266
OpenSim.Tests.Common.ClientStackHelpers
2014-10-02Don't unnecessarily remove from backup objects that were not directly ↵Justin Clark-Casey (justincc)1-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.
2014-07-29Allow the "debug scene set physics false|true" command to work when ↵Justin Clark-Casey (justincc)2-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.
2014-07-02Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)1-0/+1
shutdown. Adds regression test for this case.
2014-05-30Moved these two estate-related interfaces to the projects where they belong.Diva Canto1-0/+1
2014-05-22Simplify regression TestInterRegionChatDistanceEastWest() by making the ↵Justin Clark-Casey (justincc)1-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.
2014-05-22Add regression test for in-range chat between neighbouring regions from east ↵Justin Clark-Casey (justincc)1-0/+40
to west.
2014-05-19Fix recent regression from 77e7bbc where an attachment on a received group ↵Justin Clark-Casey (justincc)1-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
2014-04-25Add basic regression test for creating a var regionJustin Clark-Casey (justincc)1-1/+10
2014-04-23Eliminated many warningsOren Hurvitz1-1/+3
2014-04-11Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)1-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.
2014-04-09In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz1-1/+1
referrer)
2014-04-02Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz1-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.
2014-04-02Fix problem where moving an object to another region on the same simulator ↵Justin Clark-Casey (justincc)1-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.
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)3-0/+455
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2014-03-11Instead of auto-creating a parcel on request if one doesn't cover a given ↵Justin Clark-Casey (justincc)1-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
2014-03-07Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)1-23/+129
2014-03-05If an avatar is sitting, send out position updates to clients for any ↵Justin Clark-Casey (justincc)1-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.
2014-02-24Stop mesh avatars that specify the alpha texture in their bake slots from ↵Justin Clark-Casey (justincc)1-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
2014-01-20Stop exceptions being generated on agent connection if a telehub object has ↵Justin Clark-Casey (justincc)2-7/+19
been deleted or has no spawn points.
2014-01-04varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams1-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
2014-01-03varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams1-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).
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-4/+4
with a passed region size. This time in the map code and grid services code.
2013-12-18Create regression test TestSendAgentGroupDataUpdate() for groups agent data ↵Justin Clark-Casey (justincc)1-1/+2
sending
2013-12-11Committing the Avination Scene Presence and related texture codeMelanie1-1/+3
- Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams1-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.
2013-11-04varregion: add plumbing to pass region size from Scene down to theRobert Adams1-1/+2
physics engine. Older physics engines will default to the legacy region size. Update BulletSim to use the new region size information.
2013-11-01varregion: push TerrainData implementation up and down the database storage ↵Robert Adams1-3/+26
stack. Implement both LoadTerrain and StoreTerrain for all DBs. Move all database blob serialization/deserialization into TerrainData.
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2-3/+3
the code that this is symmetric with CloseAgent()
2013-08-17Add ScenePresenceTeleportTests.TestSameSimulatorIsolatedRegionsV2() ↵Justin Clark-Casey (justincc)1-3/+40
regression test for v2 transfers. Also adjusts names of teleport setup helpers in EntityTransferHelpers
2013-08-12Create TestSameSimulatorNeighbouringRegionsTeleportV2() regression test for ↵Justin Clark-Casey (justincc)1-8/+18
V2 transfer protocol.
2013-08-05Make test AssetsClient print out more information about any failure to set ↵Justin Clark-Casey (justincc)1-2/+12
thread numbers and immediate post config thread numbers
2013-07-26Fix regression tests relating to agent transfer by making simulator use last ↵Justin Clark-Casey (justincc)1-2/+10
week's SIMULATOR/0.1 protocol for now.
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto1-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.
2013-07-21Manage AgentUpdates more sanely:Diva Canto1-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