aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)3-15/+69
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)3-15/+69
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)3-3/+156
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-08-27allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)1-12/+12
/Objects is now valid where it wasn't before)
2010-08-27refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)1-4/+11
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)3-13/+36
goes to the correct directory Also removes some mono compiler warnings
2010-08-20Unit test breakage fix.Diva Canto1-8/+48
2010-08-16Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto1-0/+4
affected.
2010-08-16Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto1-1/+1
TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
2010-08-13minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2010-07-14Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie1-4/+0
Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
2010-06-18Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)1-6/+6
This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
2010-06-12Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie1-0/+4
we used to send before slimupdates and explicitly send it
2010-06-11Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-5/+0
GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
2010-06-11Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)1-0/+5
GetFolder(InventoryFolderBase folder) This involves no wire changes since the methods often just construct an InventoryFolderBase under the hood. This is in line with other methods that alraedy allow requests via uuid
2010-06-11create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)2-12/+52
add various helper functions for simplifying test readability
2010-06-04remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)2-59/+6
easily configured for test purposes
2010-06-04get TestSaveIarV0_1() working again by setting up an ↵Justin Clark-Casey (justincc)2-2/+5
OpenSim.Data.Null.UserAuthenticationData plugin additional tweaks to get this working properly
2010-05-28get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)2-4/+37
didn't get the authentication server to work and my brain is about to fizzle out my ears
2010-05-28restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵Justin Clark-Casey (justincc)1-1/+12
work with the new UserAccountService/InventoryService
2010-05-28fission UserAccountService.HandleCreateUser() into two methods, one which ↵Justin Clark-Casey (justincc)1-81/+78
handles user command parsing and another which actually does the work
2010-05-21Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari1-0/+5
parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
2010-05-21* Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman1-1/+1
Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
2010-05-21extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)1-2/+0
improve test to retrieve object by known uuid rather than dynamically assigned local id
2010-05-21minor: refactor CreateAsset to eliminate dupe codeJustin Clark-Casey (justincc)1-3/+5
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)1-3/+11
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-0/+4
joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
2010-05-12* Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown1-11/+3
original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
2010-05-09Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie1-1/+6
asset deletion in robust handler.
2010-05-04* This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)1-2/+2
reference * Added a MockConsole that doesn't require a handle to System.Console
2010-04-12thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia1-0/+1
Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
2010-04-08* Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman1-0/+5
cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
2010-03-31Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie1-1/+1
This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
2010-03-12Simplify database setup and remove migration problems by moving all sqlite ↵Justin Clark-Casey (justincc)2-0/+4
config-include settings to a separate file for standalone Update information in StandaloneCommon.ini.example to reflect this Remove ISharedRegionModule interfaces from all SimianGrid connector classes temporarily since this stopped standalone from working (due to absence of AssetURI settings, etc.). Solution here may be to create separate region module connectors as done by local/grid/hypergrid so that loading can be controlled via include files Or otherwise work out how to stop these modules from being loaded for all OpenSim invocations
2010-03-12Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)3-9/+74
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-03-09- parcel blocking, region crossing blocking, teleport blockingunknown1-0/+1
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-06- supporting llTextBoxunknown1-0/+4
Signed-off-by: Melanie <melanie@t-data.com>
2010-02-28Change the signature of SendChangeUserRights, because we have to sendMelanie1-1/+1
this to both parties
2010-02-28Add missing ChangeUserRights packet senderMelanie1-0/+4
2010-02-28Initial Online friends notification seems to be working reliably now. All ↵Diva Canto1-3/+3
this needs more testing, but everything is there.
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-2/+2
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-6/+3
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-21One more test running.Diva Canto1-0/+26
2010-02-21Deleted obsolete files in the Data layer. Compiles.Diva Canto1-216/+0
2010-02-14Revolution is on the roll again! :)Revolution1-0/+2
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-01-29* HGGridConnector is no longer necessary.Diva Canto1-9/+13
* Handle logout properly. This needed an addition to IClientAPI, because of how the logout packet is currently being handled -- the agent is being removed from the scene before the different event handlers are executed, which is broken.
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-5/+4
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-26* Fix Endlines in Mock/TestClient.csTeravus Ovares (Dan Olivares)1-8/+8
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-4/+5
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-16Beginning of rewriting HG. Compiles, and runs, but HG functions not restored ↵Diva Canto1-1/+1
yet.