aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestScene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-15In ObjectTortureTests, run garbage collector on Teardown and run scene loop ↵Justin Clark-Casey (justincc)1-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.
2012-02-07Add start GC memory and end GC memory to object stress test printouts.Justin Clark-Casey (justincc)1-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.
2011-10-15move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with ↵Justin Clark-Casey (justincc)1-4/+4
the others
2011-10-15fetch physical_prim switch from [Startup] config from inside scene, as is ↵Justin Clark-Casey (justincc)1-2/+2
done for most other scene config params
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman1-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
2010-09-12Formatting cleanup.Jeff Ames1-1/+1
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)1-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.
2010-03-12Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)1-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
2010-01-16Beginning of rewriting HG. Compiles, and runs, but HG functions not restored ↵Diva Canto1-1/+1
yet.
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-11CommunicationsManager deleted.Diva Canto1-2/+2
2009-10-01Formatting cleanup.Jeff Ames1-3/+3
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-06refactoring Scene.NewUserConnection() to be simpler and clearer.Dr Scofield1-1/+3
2009-04-15* Resolve unit test failure introduced in r9148 (probably)Justin Clarke Casey1-0/+13
* Have the test scene always return success for session id authentication for now
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey1-3/+2
* This is always available at Scene.CommsManager.AssetCache
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-06This changeset is the step 1 of 2 in refactoringDr Scofield1-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!
2009-01-06* refactor: Remove the need to separately pass in the http listener to the ↵Justin Clarke Casey1-2/+2
scene - this is always available via CommsManager
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-1/+2
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-11* Create TestScene to get at the async object deleter for use in a future testJustin Clarke Casey1-18/+23
2008-11-03* Use nini to pass config information to the client stack, rather than the ↵Justin Clarke Casey1-1/+2
ClientStackUserSettings class * This conforms better to other module usage
2008-10-03* Put in some infrastructure to allow tweaking of packet queue throttle ↵Justin Clarke Casey1-1/+3
values for the total throttle (the one that throttles all packet output) * Not complete yet
2008-09-14* Minor fixes and cleanups around code being used for Rex Module work.Adam Frisby1-2/+1
2008-06-20Implemented plugin support for ClientStack, with LindenUDP as the default ↵Johan Berntsson1-1/+6
plugin. This makes it easy for developers to experiment with alternative communication protocols
2008-05-20Add copyright notices.Jeff Ames1-0/+27
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-02fixed the dos line endingsSean Dague1-15/+15
2008-05-02* More clientstack abstractions - We now only have a single constructor call ↵Adam Frisby1-0/+5
to UDPServer. Going to reduce this with an abstracted constructor in a bit.
2008-05-02* Commit 2/3 - Please dont attempt to update to this revision until all 3 ↵Adam Frisby1-0/+11
are in.