aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* warnings safari.dr scofield (aka dirk husemann)2009-09-021-1/+1
|
* adding new IniConfigSource() to SceneSetupHelpers to fix emptydr scofield (aka dirk husemann)2009-09-011-1/+1
| | | | | IConfigSource causing grief to region modules expecting it to be non-empty (which a number of them do).
* * ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)2009-08-161-5/+6
| | | | | | randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
* Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)2009-08-111-6/+36
| | | | inventory code can be written with the async inventory fetch
* Added some needed comments to SceneSetupHelper (actually just retriggering ↵Arthur Valadares2009-08-111-2/+19
| | | | panda)
* * Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2009-08-111-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.
* * Fix test failure by setting up MainConsole.Instance in ↵Justin Clark-Casey (justincc)2009-08-101-0/+4
| | | | SceneSetupHelpers.SetupScene()
* * Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares2009-07-231-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
* Explicitly set up the http server singleton fo the testsMelanie Thielker2009-07-101-0/+2
|
* Renamed Region/CoreModules/ServiceConnectors to ↵diva2009-06-141-2/+2
| | | | Region/CoreModules/ServiceConnectorsOut. No functional changes.
* duh. wrong variable name in SceneSetup.diva2009-06-101-4/+4
|
* The previous commit was still wrong.diva2009-06-101-1/+1
|
* Attempt at fixing the inventory archiver tests.diva2009-06-101-1/+15
|
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* * Fix unit tests so that they correctly handle 404 missing asset responseJustin Clarke Casey2009-06-051-4/+6
| | | | | | * I didn't think there were tests in this area - my bad
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-012-2/+2
| | | | LICENSE.txt.
* * So, giving up on my efforts to de-duplicate the asset handlers. I'll just ↵lbsa712009-05-271-4/+33
| | | | | | | service commit my current state, then start over and this time concentrating only on the new handlers. * Fixed some erroneous refs in Tests.Common
* converting CapabilitiesModule to new region module schemeDr Scofield2009-05-251-3/+4
|
* * Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey2009-05-221-0/+2
| | | | hadn't been manually post intiailized
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-202-1/+55
|
* Remove the old asset cache and local services and the configurations for themMelanie Thielker2009-05-181-3/+0
|
* * Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey2009-05-181-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
* Renaming [ServiceConnectors] back to [Modules].diva2009-05-171-2/+2
|
* Update svn properties.Jeff Ames2009-05-171-64/+64
|
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-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
* * Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great ↵lbsa712009-05-141-0/+59
| | | | justice.
* * Added some more tests to the GetAssetStreamHandlerslbsa712009-05-131-0/+64
|
* - moving banned check and public/private check toDr Scofield2009-05-051-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
* * minor: move user profile test utils to test/common/setup for future reuseJustin Clarke Casey2009-04-241-0/+68
|
* * Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey2009-04-141-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
* Formatting cleanup.Jeff Ames2009-04-141-1/+1
|
* - Moved TerrainModule to the new region-module system.Homer Horwitz2009-04-131-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.
* * Fix test breakage by always inserting a gods module when testingJustin Clarke Casey2009-03-301-1/+7
|
* * Move SceneObject tests into their proper namespaceJustin Clarke Casey2009-03-121-0/+3
| | | | | | * Add some more debug code to narrow down where the tests are freezing
* * Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague2009-02-261-55/+58
| | | | | | | * Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-161-1/+1
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* * Iniital inventory archive test code. Doesn't actually do any testing yetJustin Clarke Casey2009-02-161-4/+1
|
* From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-091-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.
* starting phase 2 of the OpenSim.Region.Environment commit: relocatingDr Scofield2009-02-091-1/+1
| | | | | | OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-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!
* * furhter simplify test setups for objectsJustin Clarke Casey2009-01-301-10/+6
|
* * minor: stop bothering to set parts to phantom within test setups - tests ↵Justin Clarke Casey2009-01-301-1/+1
| | | | now seem to pass without having to do this
* * Extend archive test to check for the presence of a control file in a saved ↵Justin Clarke Casey2009-01-231-2/+12
| | | | archive
* refactor: move test modules set up code to common functionJustin Clarke Casey2009-01-231-0/+17
|
* * refactor: move scene setup code into common test code assemblyJustin Clarke Casey2009-01-231-0/+224