aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-14Fix broken tests -- the test setup was wrong... sigh.Diva Canto1-1/+1
2013-07-11Added a few more thingies to the asset client test to poke the threadpool.Diva Canto1-2/+19
2013-07-11Added a test for the asset serviceDiva Canto1-0/+99
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie1-6/+1
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-09minor: Remove unnecessary code that was generating warning in ↵Justin Clark-Casey (justincc)1-2/+2
TestXInventoryDataPlugin
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)1-3/+1
2013-05-09Fix issue where objects removed via llDie() would not disappear for users ↵Justin Clark-Casey (justincc)3-67/+9
looking in from neighbouring sims. This was because this particular code path (unlike user delete) only sent kills to root presences, for no apparent good reason. Added regression test for this case. This fixes http://opensimulator.org/mantis/view.php?id=6627
2013-05-08Adds an event and a method so that handling of the CachedTextureMic Bowman1-0/+6
packet can be pulled out of LLClientView and moved to AvatarFactory. The first pass at reusing textures (turned off by default) is included. When reusing textures, if the baked textures from a previous login are still in the asset service (which generally means that they are in the simulator's cache) then the avatar will not need to rebake. This is both a performance improvement (specifically that an avatars baked textures do not need to be sent to other users who have the old textures cached) and a resource improvement (don't have to deal with duplicate bakes in the asset service cache).
2013-04-29Add TestRejectGivenFolder() and TestAcceptGivenFolder() regression testsJustin Clark-Casey (justincc)2-5/+64
2013-04-29Add regression test for inventory item give, reject and subsequent trash ↵Justin Clark-Casey (justincc)1-1/+3
folder purge by receiver. This commit also actually adds the InventoryTransferModuleTests file which I previously forgot
2013-04-29Add regression test for offer, accept and subsequent receiver delete of an ↵Justin Clark-Casey (justincc)1-0/+12
item offered via instant message.
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-03-20Add file missing from last commit 36651beJustin Clark-Casey (justincc)1-0/+91
2013-03-20On the later forms of teleport failure, tell the user if this was because ↵Justin Clark-Casey (justincc)2-31/+35
viewer couldn't/didn't connect with destination or if destination didn't signal teleport completion. Also adds regression test for the case where the viewer couldn't connect with the destination region. Also refactoring of regression test support code associated with entity transfer in order to make this test possible and the code less obscure.
2013-03-14Add ILandChannel.GetLandObject(Vector3 position) as this is a very common ↵Justin Clark-Casey (justincc)1-0/+5
input to GetLandObject() This conforms to the existing ILandChannel.ParcelsNearPoint() method
2013-03-06Add code for testing event queue messages recevied on region cross.Justin Clark-Casey (justincc)1-0/+178
This is currently disabled pending an improvement in the test code to properly add avatars when an event queue module is present.
2013-03-06Add regression test for presence crossing between regions on the same simulator.Justin Clark-Casey (justincc)1-0/+4
Unlike a much earlier commented out version of this test, this is done in synchronous mode.
2013-02-28Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)4-19/+67
2013-02-26minor: remove warning in ConfigurationLoaderTestJustin Clark-Casey (justincc)1-0/+2
2013-02-26Add regression test for llRequestUrl()Justin Clark-Casey (justincc)1-6/+51
2013-02-16Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)1-20/+89
2013-02-07Plumb the path from the client to the extra physics params and backMelanie1-0/+5
2013-02-07Add TestJsonWriteReadNotecard() regression testJustin Clark-Casey (justincc)1-1/+1
2013-02-06Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)2-3/+2
2013-01-25Add basic JsonCreateStore() regression testJustin Clark-Casey (justincc)1-0/+214
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)4-4/+5
automatically turns off any logging enabled between tests
2012-11-24Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)2-26/+76
parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
2012-11-13minor: Add some explanative method doc to SceneHelpers.SetupSceneModules()Justin Clark-Casey (justincc)1-0/+4
2012-11-12Remove the old style module loader and all references to itMelanie2-4/+4
2012-11-12Remove IRegionModule support from the test setup helperMelanie1-23/+5
2012-11-11Fix issues with the DynamicTextureModule and corresponding unit tests.Diva Canto1-5/+5
2012-11-10One more module converted: GodsModule.Diva Canto1-3/+3
2012-11-10Fix Unit tests -- the module contract was not being honored in the set up of ↵Diva Canto1-6/+6
scenes.
2012-11-09Update parent inventory folder version numbers when folders are ↵Justin Clark-Casey (justincc)1-0/+1
moved/created/deleted to match version numbers cached by viewers. This is done in the way that one would expect (e.g. moving a folder increments version number on both source and destination parent folders). This should hopefully improve viewer reuse of its cached inventory information. Currently MySQL only but will be implement for SQLite/MSSQL if there are no issues.
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)1-7/+3
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-08-29Renaming existing 'torture' tests to 'performance' tests instead, since this ↵Justin Clark-Casey (justincc)3-9/+9
better matches what they really do. nant target name changes to test-perf instead of torture, to match test-stress still not run by default
2012-08-29Add VectorRenderModuleStressTests that contains a long running test that ↵Justin Clark-Casey (justincc)1-0/+132
generates thousands of vector textures concurrently. Intended for use if there are future issues with mono crashes whilst generate dynamic textures. This test is triggered via a new test-stress nant target. Not run by default.
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)4-2/+136
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)1-0/+5
race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
2012-08-15Add a skeleton for a name value storage associated with regionsMelanie1-0/+26
2012-07-24extend regression TestDetachScriptedAttachementToInventory() to check ↵Justin Clark-Casey (justincc)1-2/+20
correct running status on a re-rezzed attachment
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)1-1/+1
enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
2012-07-12Remove IClientAPI.GetClientEP() in favour of existing identical ↵Justin Clark-Casey (justincc)1-5/+0
IClientAPI.RemoteEndpoint.
2012-07-11Add regression TestDetachScriptedAttachmentToInventory()Justin Clark-Casey (justincc)1-1/+1
This currently only does a relatively crude check for a ScriptState node in the serialized xml
2012-07-11Add regression TestRezScriptedAttachmentsFromInventory() though this ↵Justin Clark-Casey (justincc)2-22/+59
currently only checks for the presence of script items, not for started scripts
2012-07-09Do not allow a script to attach a prim if its being sat upon.Justin Clark-Casey (justincc)2-17/+67
This prevents a stack overflow where a get position on the avatar will refer to the attachment which will in turn refer back to the avatar. This required recording of all sitting avatars on a prim which is done separately from recording the sit target avatar. Recording HashSet is null if there are no sitting avatars in order to save memory.
2012-07-07Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)1-3/+20
This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
2012-07-05Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)2-10/+47
This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high.
2012-06-27Automatically disable log4net before each regression test so that logging is ↵Justin Clark-Casey (justincc)2-1/+48
confined to a single test if it's turned on. This involves making test classes inherit from a common OpenSimTestCase. This will be applied to more classes as required.
2012-06-26refactor: Remove unnecessary AttachmentModuleTests.m_userId in favour of ↵Justin Clark-Casey (justincc)1-0/+5
local variables