aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-2/+2
removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
2011-08-17Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵Justin Clark-Casey (justincc)1-4/+4
attachments check
2011-08-16relocate AttachmentTests.cs to AttachmentsModuleTests.csJustin Clark-Casey (justincc)1-172/+0
2011-08-06remove some obsolete tests that are now done elsewhereJustin Clark-Casey (justincc)1-53/+53
2011-08-06Add a test to check that ScenePresence and circuit go away when a root agent ↵Justin Clark-Casey (justincc)1-10/+17
is closed down
2011-08-06refactor: Change SceneHelpers.AddClient() to AddScenePresence().Justin Clark-Casey (justincc)6-37/+47
This seems to make more sense as we can get SP.ControllingClient
2011-08-06rip out sog generation methods in ScenePresenceAgentTests and use ↵Justin Clark-Casey (justincc)2-38/+8
SceneHelpers instead Not that it matters, since these tests are pretty bogus anyway. Also, renames some test classes for consistency.
2011-08-06rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)16-41/+41
2011-08-06rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)15-65/+65
2011-08-06extend phantom flag regression test to toggle back offJustin Clark-Casey (justincc)1-0/+4
2011-08-06refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify.Justin Clark-Casey (justincc)1-2/+2
2011-08-05Add regression test for setting phantom status on a scene object. This is ↵Justin Clark-Casey (justincc)1-0/+62
not yet complete.
2011-07-18Make various tweaks to undo code in an effort to get things working better.Justin Clark-Casey (justincc)1-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.
2011-07-18Use a standard generic system stack for the undo/redo stacks instead of our ↵Justin Clark-Casey (justincc)1-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
2011-07-16refactor: Push all part resize code down into SceneObjectPart.Resize()Justin Clark-Casey (justincc)1-1/+1
2011-07-16add test for resizing one part in a groupJustin Clark-Casey (justincc)1-0/+35
2011-07-16remove the need to supply SceneObjectGroup.GroupResize() with a localId.Justin Clark-Casey (justincc)1-1/+1
This is utterly pointless scene we already know which sog we're dealing with.
2011-07-16Add very basic test for resizing a scene object with one primJustin Clark-Casey (justincc)1-0/+67
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)6-7/+7
effects and return object
2011-06-04Extend TestGiveInventoryFolder() to test giving back the freshly received folderJustin Clark-Casey (justincc)1-0/+8
2011-06-04Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)1-6/+11
the same user. Extend TestGiveInventoryItem() to test giving back the same item.
2011-06-04insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)1-0/+3
rather than just the first one
2011-06-04create TestGetInventoryItem()Justin Clark-Casey (justincc)1-0/+19
2011-06-04extend TestGiveInventoryFolder() to check for the receipt by user 2Justin Clark-Casey (justincc)1-2/+4
2011-06-03minor: add in method print out to new testJustin Clark-Casey (justincc)1-0/+3
2011-06-03add stub UserInventoryTests.GiveInventoryFolder(). Not yet completeJustin Clark-Casey (justincc)1-0/+70
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)12-12/+0
OpenSim.Tests.Common instead
2011-05-21refactor: rename AddSceneObjectItem to AddSceneObjectJustin Clark-Casey (justincc)1-1/+1
2011-05-21refactor: move scene object item creation code into TaskInventoryHelpersJustin Clark-Casey (justincc)1-8/+2
2011-05-21move test task inventory notecard item creation into a new ↵Justin Clark-Casey (justincc)1-21/+2
TastInventoryHelpers class
2011-05-21refactor: use SceneSetupHelpers.CreateSceneObject()Justin Clark-Casey (justincc)1-13/+3
2011-05-21rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)1-3/+3
other test helper names
2011-05-21refactor: in TaskInventoryTests, use ↵Justin Clark-Casey (justincc)1-12/+3
UserProfileTestUtils.CreateUserWithInvetory()
2011-05-21refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵Justin Clark-Casey (justincc)1-1/+4
copy/pasting code with small differences
2011-05-20refactor TestRezObjectFromInventoryItem()Justin Clark-Casey (justincc)1-6/+6
2011-05-20add test for rezzing an object from a prim itemJustin Clark-Casey (justincc)1-1/+44
2011-04-15get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)2-4/+4
2011-04-15remove mock asset service for tests in favour of always using the real oneJustin Clark-Casey (justincc)1-1/+3
2011-03-09Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately.Justin Clark-Casey (justincc)12-12/+0
This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement.
2011-02-19Remove test T020_TestMakeRootAgent() which hasn't been active for ages anywayJustin Clark-Casey (justincc)1-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.
2011-02-18If GridService.GetNeighbours() could not find the region then log a warning ↵Justin Clark-Casey (justincc)1-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
2011-02-18extend TestChildAgentEstablished() test slightly to put in ↵Justin Clark-Casey (justincc)1-2/+9
EntityTransferModule. Not yet enabled.
2011-02-18On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)1-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().
2011-02-18remove another unused test teardown methodJustin Clark-Casey (justincc)1-6/+0
2011-02-18remove unused test teardown methodJustin Clark-Casey (justincc)1-8/+2
2011-02-18separate attachment tests out into their own classJustin Clark-Casey (justincc)2-50/+180
2011-02-18Add very basic test which invokes the scene update loop once and checks the ↵Justin Clark-Casey (justincc)2-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.
2010-12-15fix mistake in last change of local.includeJustin Clark-Casey (justincc)1-4/+6
2010-12-14Rename SceneObjectUserTests to SceneObjectDeRezTests to better reflect its ↵Justin Clark-Casey (justincc)1-0/+0
contents
2010-12-14minor: disable debug logging for previous testJustin Clark-Casey (justincc)1-1/+1