aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Helpers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added a test for checking permissions in inventory items that are ↵Diva Canto2016-06-241-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.
* work around some 'tests' errors: UUID.Zero is a invalid ownerID - missing fileUbitUmarov2015-11-171-1/+1
|
* more on compile..UbitUmarov2015-09-081-9/+0
|
* Merge of ubitworkvarnew with opensim/master as of 20150905.Robert Adams2015-09-083-5/+27
|\ | | | | | | | | | | | | | | This integrates the OpenSim refactoring to make physics, etc into modules. AVN physics hasn't been moved to new location. Does not compile yet. Merge branch 'osmaster' into mbworknew1
| * Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto2015-09-043-3/+3
| | | | | | | | 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-311-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.
| * More namespace and dll name changes. Still no functional changes.Diva Canto2015-08-301-2/+2
| |
| * Renamed the namespaces tooDiva Canto2015-08-301-1/+1
| |
| * Moved instantiation of SceneCommunicationService object to inside the scene ↵Diva Canto2015-08-301-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.
* | seems to compile ( tests comented out)UbitUmarov2015-09-021-13/+0
| |
* | bad merge?UbitUmarov2015-09-012-1/+14
|\ \ | |/ |/|
| * add missing regionExtent setup and Scene physicsscene configuration ( notUbitUmarov2015-08-191-6/+8
| | | | | | | | exactly as core)
| * varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams2015-03-291-7/+3
| | | | | | | | Util.cs routines to convert region coords to and from world coords or handles.
* | 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
* | 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-253-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
* | refactor: Move test clientstack setup code out of BasicCircuitTests into ↵Justin Clark-Casey (justincc)2014-11-251-0/+95
| | | | | | | | 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-291-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.
* | 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 basic regression test for creating a var regionJustin Clark-Casey (justincc)2014-04-251-1/+10
| |
* | 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)
* | 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.
* | 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
* | 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.
* 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
* Fix issue where objects removed via llDie() would not disappear for users ↵Justin Clark-Casey (justincc)2013-05-092-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
* Add TestRejectGivenFolder() and TestAcceptGivenFolder() regression testsJustin Clark-Casey (justincc)2013-04-291-4/+37
|
* Add file missing from last commit 36651beJustin Clark-Casey (justincc)2013-03-201-0/+91
|
* On the later forms of teleport failure, tell the user if this was because ↵Justin Clark-Casey (justincc)2013-03-201-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.
* Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)2013-02-281-6/+26
|
* Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)2013-02-161-20/+89
|
* Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)2013-02-061-1/+1
|
* minor: Add some explanative method doc to SceneHelpers.SetupSceneModules()Justin Clark-Casey (justincc)2012-11-131-0/+4
|
* Remove the old style module loader and all references to itMelanie2012-11-121-1/+1
|
* Remove IRegionModule support from the test setup helperMelanie2012-11-121-23/+5
|
* Fix issues with the DynamicTextureModule and corresponding unit tests.Diva Canto2012-11-111-5/+5
|
* One more module converted: GodsModule.Diva Canto2012-11-101-3/+3
|
* Fix Unit tests -- the module contract was not being honored in the set up of ↵Diva Canto2012-11-101-6/+6
| | | | scenes.
* Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)2012-08-292-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.
* extend regression TestDetachScriptedAttachementToInventory() to check ↵Justin Clark-Casey (justincc)2012-07-241-2/+20
| | | | correct running status on a re-rezzed attachment
* Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)2012-07-191-1/+1
| | | | | | | enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
* Add regression TestDetachScriptedAttachmentToInventory()Justin Clark-Casey (justincc)2012-07-111-1/+1
| | | | This currently only does a relatively crude check for a ScriptState node in the serialized xml
* Add regression TestRezScriptedAttachmentsFromInventory() though this ↵Justin Clark-Casey (justincc)2012-07-112-22/+59
| | | | currently only checks for the presence of script items, not for started scripts