aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestScene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In ObjectTortureTests, run garbage collector on Teardown and run scene loop ↵Justin Clark-Casey (justincc)2012-02-151-1/+2
| | | | | | | | | | | update when scene objects have been deleted. At least on mono 2.6.4, running GC.Collect() is not guaranteed to force gc of all objects when run in the same method where those objects had references. Therefore, GC.Collect() is now being done in the per-script teardown of ObjectTortureTests. In addition, scene loop update is being run after garbage collection in order to clean out the viewer update list of scene objects in the SceneGraph. These measures mean that scene objects/parts are now garbage collected after a test run if deleted from the scene, resulting in a much better memory usage report (though probably still not very accurate). However, deletion takes a very long time - what's really needed is to find out now why the entire scene isn't being GC'd by this measure. This change hasn't yet been applied to the other stress tests.
* Add start GC memory and end GC memory to object stress test printouts.Justin Clark-Casey (justincc)2012-02-071-0/+5
| | | | | This illustrates that references to Scene, SOG, etc. are not currently being released when a stress test ends (or at regression test end in general). This means even the current stress tests take much more memory than they need, a problem that will have to be addressed.
* move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with ↵Justin Clark-Casey (justincc)2011-10-151-4/+4
| | | | the others
* fetch physical_prim switch from [Startup] config from inside scene, as is ↵Justin Clark-Casey (justincc)2011-10-151-2/+2
| | | | done for most other scene config params
* MergedJohn Hurliman2010-09-121-1/+1
|\
| * Formatting cleanup.Jeff Ames2010-09-121-1/+1
| |
* | * Added ISimulationDataService and IEstateDataServiceJohn Hurliman2010-09-121-7/+3
|/ | | | | * Removed StorageManager * CONFIG CHANGE: There are no more database settings in OpenSim.ini. Check the config-include configuration files for region store and estate store database settings
* Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)2010-09-061-2/+6
| | | | | Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
* Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)2010-03-121-2/+2
| | | | | | Adds MockUserAccountService and connects it up Stops services being carried over between tests since this leads to hard to find bugs Improves information and error reporting when loading plugins
* Beginning of rewriting HG. Compiles, and runs, but HG functions not restored ↵Diva Canto2010-01-161-1/+1
| | | | yet.
* OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
|
* CommunicationsManager deleted.Diva Canto2010-01-111-2/+2
|
* Formatting cleanup.Jeff Ames2009-10-011-3/+3
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* refactoring Scene.NewUserConnection() to be simpler and clearer.Dr Scofield2009-05-061-1/+3
|
* * Resolve unit test failure introduced in r9148 (probably)Justin Clarke Casey2009-04-151-0/+13
| | | | | | * Have the test scene always return success for session id authentication for now
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-161-3/+2
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* 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.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | 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!
* * refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey2009-01-061-2/+2
| | | | scene - this is always available via CommsManager
* * Fold mock classes into existing OpenSim/Tests/Common assembly rather than ↵Justin Clarke Casey2008-12-111-0/+56
sprouting another one