aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make various tweaks to undo code in an effort to get things working better.Justin Clark-Casey (justincc)2011-07-181-1/+1
| | | | | | | Undo rotation and position appear to be working. Resizing a single prim appears to be working, though the undo has to be done twice. Resizing a group of prims still does not work properly - possibly because in the UndoState we don't store a knowledge of when we're resizing a whole group rather than individual prims. This needs to be addressed.
* Use a standard generic system stack for the undo/redo stacks instead of our ↵Justin Clark-Casey (justincc)2011-07-181-0/+2
| | | | | | | own homebrew. system stack also uses an array, so no performance penalty. Also exposes undo count and adds a test assertion for correct undo count after resize
* refactor: Push all part resize code down into SceneObjectPart.Resize()Justin Clark-Casey (justincc)2011-07-161-1/+1
|
* add test for resizing one part in a groupJustin Clark-Casey (justincc)2011-07-161-0/+35
|
* remove the need to supply SceneObjectGroup.GroupResize() with a localId.Justin Clark-Casey (justincc)2011-07-161-1/+1
| | | | This is utterly pointless scene we already know which sog we're dealing with.
* Add very basic test for resizing a scene object with one primJustin Clark-Casey (justincc)2011-07-161-0/+67
|
* Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)2011-07-096-7/+7
| | | | effects and return object
* Extend TestGiveInventoryFolder() to test giving back the freshly received folderJustin Clark-Casey (justincc)2011-06-041-0/+8
|
* Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2011-06-041-6/+11
| | | | the same user. Extend TestGiveInventoryItem() to test giving back the same item.
* insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)2011-06-041-0/+3
| | | | rather than just the first one
* create TestGetInventoryItem()Justin Clark-Casey (justincc)2011-06-041-0/+19
|
* extend TestGiveInventoryFolder() to check for the receipt by user 2Justin Clark-Casey (justincc)2011-06-041-2/+4
|
* minor: add in method print out to new testJustin Clark-Casey (justincc)2011-06-031-0/+3
|
* add stub UserInventoryTests.GiveInventoryFolder(). Not yet completeJustin Clark-Casey (justincc)2011-06-031-0/+70
|
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-2112-12/+0
| | | | OpenSim.Tests.Common instead
* refactor: rename AddSceneObjectItem to AddSceneObjectJustin Clark-Casey (justincc)2011-05-211-1/+1
|
* refactor: move scene object item creation code into TaskInventoryHelpersJustin Clark-Casey (justincc)2011-05-211-8/+2
|
* move test task inventory notecard item creation into a new ↵Justin Clark-Casey (justincc)2011-05-211-21/+2
| | | | TastInventoryHelpers class
* refactor: use SceneSetupHelpers.CreateSceneObject()Justin Clark-Casey (justincc)2011-05-211-13/+3
|
* rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)2011-05-211-3/+3
| | | | other test helper names
* refactor: in TaskInventoryTests, use ↵Justin Clark-Casey (justincc)2011-05-211-12/+3
| | | | UserProfileTestUtils.CreateUserWithInvetory()
* refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵Justin Clark-Casey (justincc)2011-05-211-1/+4
| | | | copy/pasting code with small differences
* refactor TestRezObjectFromInventoryItem()Justin Clark-Casey (justincc)2011-05-201-6/+6
|
* add test for rezzing an object from a prim itemJustin Clark-Casey (justincc)2011-05-201-1/+44
|
* get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)2011-04-152-4/+4
|
* remove mock asset service for tests in favour of always using the real oneJustin Clark-Casey (justincc)2011-04-151-1/+3
|
* Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)2011-03-0912-12/+0
| | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
* Remove test T020_TestMakeRootAgent() which hasn't been active for ages anywayJustin Clark-Casey (justincc)2011-02-191-19/+0
| | | | This test was non-viable. Keeping inactive T021_TestCrossToNewRegion() around for now since it's still useful for reference purposes in constructing a future working test.
* If GridService.GetNeighbours() could not find the region then log a warning ↵Justin Clark-Casey (justincc)2011-02-181-2/+5
| | | | | | rather than causing a null reference on the normal log line This also extends the TestChildAgentEstablished() test to actually activate the EntityTransferModule, though the test is not yet viable
* extend TestChildAgentEstablished() test slightly to put in ↵Justin Clark-Casey (justincc)2011-02-181-2/+9
| | | | EntityTransferModule. Not yet enabled.
* On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)2011-02-181-19/+41
| | | | | | | for the last stage of AddRootAgent() instead of SP.MakeRootAgent() Going this extra step doesn't appear to cause any test failures. This is arguably better for test purposes, though at some stage another method may arise which does just call AddRootAgent().
* remove another unused test teardown methodJustin Clark-Casey (justincc)2011-02-181-6/+0
|
* remove unused test teardown methodJustin Clark-Casey (justincc)2011-02-181-8/+2
|
* separate attachment tests out into their own classJustin Clark-Casey (justincc)2011-02-182-50/+180
|
* Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)2011-02-182-3/+71
| | | | | | frame number. This makes Scene.Update() match its original description of performing a single update, which also matches the semantics of SOG and ScenePresence.
* fix mistake in last change of local.includeJustin Clark-Casey (justincc)2010-12-151-4/+6
|
* Rename SceneObjectUserTests to SceneObjectDeRezTests to better reflect its ↵Justin Clark-Casey (justincc)2010-12-141-0/+0
| | | | contents
* minor: disable debug logging for previous testJustin Clark-Casey (justincc)2010-12-141-1/+1
|
* Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)2010-12-141-0/+87
| | | | | | | yet complete. While implementing this, a bug was fixed in scene setup helpers where module RegionLoaded() was called immediately after AddRegion() instead of waiting for all AddRegions() to complete. Also, XmlRpcGroupsModule non-message functionality will now work without a message transfer module (as indicated in the comments but with a contradictory implementation)
* Only force prim persistence before delete if the prim is the result of an ↵Justin Clark-Casey (justincc)2010-12-031-2/+6
| | | | | | unpersisted delink This considerably improves delete performance for objects with large linksets
* adapt tests to use DeRezObjects() since DeRezObject() has recently disappearedJustin Clark-Casey (justincc)2010-11-221-2/+7
|
* add basic tests to check that under default permissions module owner can ↵Justin Clark-Casey (justincc)2010-11-222-0/+126
| | | | delete objects and that non-owners (who are also not administrators, etc.) cannot
* Plumb the path for multiple object deletesMelanie2010-10-061-1/+1
|
* Formatting cleanup.Jeff Ames2010-10-041-2/+2
|
* If the uuid of a SceneObjectGroup (RootPart) is changed before adding to the ↵Justin Clark-Casey (justincc)2010-09-211-0/+35
| | | | | | | | scene, remove the old uuid reference from m_parts as well as adding the new one. The separate remove and set operations is SOG.set_UUID() are both locked under m_parts.SyncRoot since they are logically atomic (though this isn't such an issue if the SOG isn't part of a scene) Added unit test for this behaviour. Also changed the second m_parts.AddOrReplace() to m_parts.Add(). As the old reference is now removed we never end up replacing an identical uuid. And if we replace a uuid that's already there (from a child part) then this is an error.
* Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman2010-09-162-19/+19
| | | | MapAndArray collection
* MergedJohn Hurliman2010-09-123-18/+18
|\
| * Formatting cleanup.Jeff Ames2010-09-123-18/+18
| |
* | * Added ISimulationDataService and IEstateDataServiceJohn Hurliman2010-09-121-2/+2
|/ | | | | * 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
* * Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman2010-09-071-1/+3
| | | | | | avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache