aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-11Added some needed comments to SceneSetupHelper (actually just retriggering ↵Arthur Valadares1-2/+19
panda)
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares1-29/+81
inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality. * SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize. * With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-10* Fix test failure by setting up MainConsole.Instance in ↵Justin Clark-Casey (justincc)1-0/+4
SceneSetupHelpers.SetupScene()
2009-07-23* Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares1-0/+1
module interface. This fixes an issue where region references were being added but weren't being deleted, causing those "unnotified circuit" messages. * Also fixes tests accordingly - Fixes Mantis #3452 - Fixes Mantis #3388 - Fixes Mantis #3871 - Related to Mantis #3493
2009-07-10Explicitly set up the http server singleton fo the testsMelanie Thielker1-0/+2
2009-06-14Renamed Region/CoreModules/ServiceConnectors to ↵diva1-2/+2
Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-10duh. wrong variable name in SceneSetup.diva1-4/+4
2009-06-10The previous commit was still wrong.diva1-1/+1
2009-06-10Attempt at fixing the inventory archiver tests.diva1-1/+15
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-25converting CapabilitiesModule to new region module schemeDr Scofield1-3/+4
2009-05-22* Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey1-0/+2
hadn't been manually post intiailized
2009-05-18Remove the old asset cache and local services and the configurations for themMelanie Thielker1-3/+0
2009-05-18* Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey1-2/+2
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-17Renaming [ServiceConnectors] back to [Modules].diva1-2/+2
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-0/+14
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-05- moving banned check and public/private check toDr Scofield1-1/+3
Scene.NewUserConnection() - adding reason reporting this enforces estate bans very early on and prevents us from circulating client objects that we'd then have to retract once we realize that the client is not allowed into the region
2009-04-14* Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey1-2/+36
normal runtime thread * This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset quque
2009-04-14Formatting cleanup.Jeff Ames1-1/+1
2009-04-13- Moved TerrainModule to the new region-module system.Homer Horwitz1-5/+30
- Fixed some locking issues. Either lock, or don't (if you don't have to). Only locking access half of the time won't work reliably. - Had to adapt test helpers that use the "old" IRegionModule. TerrainModule isn't one anymore.
2009-03-30* Fix test breakage by always inserting a gods module when testingJustin Clarke Casey1-1/+7
2009-03-12* Move SceneObject tests into their proper namespaceJustin Clarke Casey1-0/+3
* Add some more debug code to narrow down where the tests are freezing
2009-02-26* Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague1-55/+58
* Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-1/+1
* This is always available at Scene.CommsManager.AssetCache
2009-02-16* Iniital inventory archive test code. Doesn't actually do any testing yetJustin Clarke Casey1-4/+1
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-1/+1
These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
2009-02-09starting phase 2 of the OpenSim.Region.Environment commit: relocatingDr Scofield1-1/+1
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-3/+3
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-01-30* furhter simplify test setups for objectsJustin Clarke Casey1-10/+6
2009-01-30* minor: stop bothering to set parts to phantom within test setups - tests ↵Justin Clarke Casey1-1/+1
now seem to pass without having to do this
2009-01-23* Extend archive test to check for the presence of a control file in a saved ↵Justin Clarke Casey1-2/+12
archive
2009-01-23refactor: move test modules set up code to common functionJustin Clarke Casey1-0/+17
2009-01-23* refactor: move scene setup code into common test code assemblyJustin Clarke Casey1-3/+3
2009-01-22* Add some caps seed capability path checking to the simple non neighbours ↵Justin Clarke Casey1-19/+52
standalone region teleport test
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-0/+7
* No functional changes in this revision
2009-01-16* Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey1-1/+1
teleport unit test with checks that the scene presence disappeared from sceneA and appeared in sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-15* Add new unit test for simple teleport in a standalone.Justin Clarke Casey1-8/+24
* Does not yet check results.
2009-01-06* Remove unused CAPSServiceJustin Clarke Casey1-1/+1
2009-01-06* refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey1-2/+1
scene - this is always available via CommsManager
2008-12-15* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey1-1/+1
* This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to. * Thanks Gerhard
2008-12-11* Fold mock classes into existing OpenSim/Tests/Common assembly rather than ↵Justin Clarke Casey1-1/+1
sprouting another one
2008-12-11* minor: Move mock test classes into mock namespaceJustin Clarke Casey1-1/+1
2008-12-10* refactor: Move test infrastructure code to its own package so that it can ↵Justin Clarke Casey1-0/+1
be reused by more than Environment tests * This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-11-28* test: Extend take object test to finally check that the object made it ↵Justin Clarke Casey1-1/+16
into user inventory and that it was removed from the scene
2008-11-28* simplify AddNewClient since making this root without using MakeRootAgent() ↵Justin Clarke Casey1-1/+8
no longer sets everything up properly
2008-11-28* test: Add a wodge of code in order to be able to slightly extend a test to ↵Justin Clarke Casey1-5/+13
deliver a taken object to a user inventory folder without throwing an exception * test doesn't actually double check for the presence of the item yet
2008-11-28* test: Separate out async deletion methods to test delete and take copy ↵Justin Clarke Casey1-0/+18
separately. * The take copy test doesn't currently actually test the take
2008-11-21* On delete to inventory, actually remove the group from the scene before ↵Justin Clarke Casey1-2/+5
the async stage. * Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene) * Put in an incomplete 'delete object o inventory' test to assert that this happens
2008-11-20* refactor: change some method names and doc in the physics plugin managerJustin Clarke Casey1-1/+1
* move the directory choice for plugins outside into RegionApplicationBase
2008-11-20* Allow physics dlls to be loaded separately, rather than just the contents ↵Justin Clarke Casey1-1/+1
of bin/Physics * This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself