aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Helpers (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-04 move deep effective permissions aggregation to first time use and not on ↵UbitUmarov1-0/+2
changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards
2017-01-13Harmonize case in Permissions enumMelanie Thielker1-3/+3
2017-01-05Massive tab and trailing space cleanupMelanie Thielker8-72/+72
2016-12-13Remove the AllowAlternatePorts option. It wasn't implemented anyway.Melanie Thielker1-2/+2
Instead, handle the port being 0 as "any port" and assign a random port for regions in that case.
2016-07-30 test jenkins for error line numberUbitUmarov1-3/+5
2016-06-24Added a test for checking permissions in inventory items that are ↵Diva Canto1-0/+4
transferred. This is a work in progress. All permission assertions are commented for now. Will get back to this later when permissions are fixed by Melanie.
2015-11-17 work around some 'tests' errors: UUID.Zero is a invalid ownerID - missing fileUbitUmarov1-1/+1
2015-09-08more on compile..UbitUmarov1-9/+0
2015-09-04Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto3-3/+3
OpenSim.Framework.
2015-09-02seems to compile ( tests comented out)UbitUmarov1-13/+0
2015-08-31Deleted physics plugin classes.Diva Canto1-4/+22
More unit tests fixed.
2015-08-31First commit where physics work as region module.Diva Canto1-4/+1
Moved all physics dlls out of Physics and into bin directly, so they can be found by the module loader. Removed call to PhysicsPluginManager.
2015-08-30More namespace and dll name changes. Still no functional changes.Diva Canto1-2/+2
2015-08-30Renamed the namespaces tooDiva Canto1-1/+1
2015-08-30Moved instantiation of SceneCommunicationService object to inside the scene ↵Diva Canto1-3/+1
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.
2015-08-19 add missing regionExtent setup and Scene physicsscene configuration ( notUbitUmarov1-6/+8
exactly as core)
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto1-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!
2015-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-7/+3
Util.cs routines to convert region coords to and from world coords or handles.
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-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-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)3-3/+0
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)1-0/+95
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)1-8/+9
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-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-04-25Add basic regression test for creating a var regionJustin Clark-Casey (justincc)1-1/+10
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-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-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
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-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-05-09Fix issue where objects removed via llDie() would not disappear for users ↵Justin Clark-Casey (justincc)2-52/+4
looking in from neighbouring sims. This was because this particular code path (unlike user delete) only sent kills to root presences, for no apparent good reason. Added regression test for this case. This fixes http://opensimulator.org/mantis/view.php?id=6627
2013-04-29Add TestRejectGivenFolder() and TestAcceptGivenFolder() regression testsJustin Clark-Casey (justincc)1-4/+37
2013-03-20Add file missing from last commit 36651beJustin Clark-Casey (justincc)1-0/+91
2013-03-20On the later forms of teleport failure, tell the user if this was because ↵Justin Clark-Casey (justincc)1-6/+31
viewer couldn't/didn't connect with destination or if destination didn't signal teleport completion. Also adds regression test for the case where the viewer couldn't connect with the destination region. Also refactoring of regression test support code associated with entity transfer in order to make this test possible and the code less obscure.
2013-02-28Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)1-6/+26
2013-02-16Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)1-20/+89
2013-02-06Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)1-1/+1
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus2-4/+2
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-13minor: Add some explanative method doc to SceneHelpers.SetupSceneModules()Justin Clark-Casey (justincc)1-0/+4
2012-11-12Remove the old style module loader and all references to itMelanie1-1/+1
2012-11-12Remove IRegionModule support from the test setup helperMelanie1-23/+5
2012-11-11Fix issues with the DynamicTextureModule and corresponding unit tests.Diva Canto1-5/+5
2012-11-10One more module converted: GodsModule.Diva Canto1-3/+3
2012-11-10Fix Unit tests -- the module contract was not being honored in the set up of ↵Diva Canto1-6/+6
scenes.
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)2-2/+4
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.