Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | get rid of all traces of the now used mock service infrastructure | Justin Clark-Casey (justincc) | 2011-04-15 | 2 | -4/+4 |
| | |||||
* | remove mock asset service for tests in favour of always using the real one | Justin Clark-Casey (justincc) | 2011-04-15 | 1 | -1/+3 |
| | |||||
* | Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately. | Justin Clark-Casey (justincc) | 2011-03-09 | 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. | ||||
* | Remove test T020_TestMakeRootAgent() which hasn't been active for ages anyway | Justin Clark-Casey (justincc) | 2011-02-19 | 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. | ||||
* | If GridService.GetNeighbours() could not find the region then log a warning ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 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 | ||||
* | extend TestChildAgentEstablished() test slightly to put in ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 1 | -2/+9 |
| | | | | EntityTransferModule. Not yet enabled. | ||||
* | On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 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(). | ||||
* | remove another unused test teardown method | Justin Clark-Casey (justincc) | 2011-02-18 | 1 | -6/+0 |
| | |||||
* | remove unused test teardown method | Justin Clark-Casey (justincc) | 2011-02-18 | 1 | -8/+2 |
| | |||||
* | separate attachment tests out into their own class | Justin Clark-Casey (justincc) | 2011-02-18 | 2 | -50/+180 |
| | |||||
* | Add very basic test which invokes the scene update loop once and checks the ↵ | Justin Clark-Casey (justincc) | 2011-02-18 | 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. | ||||
* | fix mistake in last change of local.include | Justin Clark-Casey (justincc) | 2010-12-15 | 1 | -4/+6 |
| | |||||
* | Rename SceneObjectUserTests to SceneObjectDeRezTests to better reflect its ↵ | Justin Clark-Casey (justincc) | 2010-12-14 | 1 | -0/+0 |
| | | | | contents | ||||
* | minor: disable debug logging for previous test | Justin Clark-Casey (justincc) | 2010-12-14 | 1 | -1/+1 |
| | |||||
* | Start implementing a test for 'share with group' object functionality. Not ↵ | Justin Clark-Casey (justincc) | 2010-12-14 | 1 | -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-03 | 1 | -2/+6 |
| | | | | | | unpersisted delink This considerably improves delete performance for objects with large linksets | ||||
* | adapt tests to use DeRezObjects() since DeRezObject() has recently disappeared | Justin Clark-Casey (justincc) | 2010-11-22 | 1 | -2/+7 |
| | |||||
* | add basic tests to check that under default permissions module owner can ↵ | Justin Clark-Casey (justincc) | 2010-11-22 | 2 | -0/+126 |
| | | | | delete objects and that non-owners (who are also not administrators, etc.) cannot | ||||
* | Plumb the path for multiple object deletes | Melanie | 2010-10-06 | 1 | -1/+1 |
| | |||||
* | Formatting cleanup. | Jeff Ames | 2010-10-04 | 1 | -2/+2 |
| | |||||
* | If the uuid of a SceneObjectGroup (RootPart) is changed before adding to the ↵ | Justin Clark-Casey (justincc) | 2010-09-21 | 1 | -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 Hurliman | 2010-09-16 | 2 | -19/+19 |
| | | | | MapAndArray collection | ||||
* | Merged | John Hurliman | 2010-09-12 | 3 | -18/+18 |
|\ | |||||
| * | Formatting cleanup. | Jeff Ames | 2010-09-12 | 3 | -18/+18 |
| | | |||||
* | | * Added ISimulationDataService and IEstateDataService | John Hurliman | 2010-09-12 | 1 | -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 Hurliman | 2010-09-07 | 1 | -1/+3 |
| | | | | | | avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache | ||||
* | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim | Melanie | 2010-09-07 | 1 | -2/+2 |
|\ | |||||
| * | minor: comment out some excessive test logging | Justin Clark-Casey (justincc) | 2010-09-07 | 1 | -1/+1 |
| | | |||||
| * | Fix deletion persistence when freshly delinked prims are removed | Justin Clark-Casey (justincc) | 2010-09-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Fix deletion persistence when freshly delinked prims are removed | Justin Clark-Casey (justincc) | 2010-09-07 | 1 | -2/+2 |
|/ | | | | | | | | | | 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. | ||||
* | Add test that checks correct persistence when an unlink is quickly followed ↵ | Justin Clark-Casey (justincc) | 2010-09-06 | 1 | -9/+40 |
| | | | | | | by deletion of a linked part This test is temporarily not running since it currently fails due to a bug in this area | ||||
* | extend TestNewSceneObjectLinkPersistence() to check for presence of non-root ↵ | Justin Clark-Casey (justincc) | 2010-09-06 | 1 | -2/+3 |
| | | | | linked prim | ||||
* | Add test to check persistence of newly added pre-linked objects | Justin Clark-Casey (justincc) | 2010-09-06 | 4 | -14/+63 |
| | | | | | 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. | ||||
* | add test to check move of task item to user inventory when a target folder ↵ | Justin Clark-Casey (justincc) | 2010-08-24 | 1 | -0/+26 |
| | | | | is explicitly given | ||||
* | minor: stop test using obsolete property | Justin Clark-Casey (justincc) | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | refactor TestMoveTaskInventoryItemNoParent() | Justin Clark-Casey (justincc) | 2010-08-24 | 1 | -24/+37 |
| | |||||
* | Add automated test at the opensim 'api' level to check that a given item ↵ | Justin Clark-Casey (justincc) | 2010-08-24 | 1 | -0/+104 |
| | | | | | | goes to the correct directory Also removes some mono compiler warnings | ||||
* | Unit test breakage fix. | Diva Canto | 2010-08-20 | 2 | -6/+11 |
| | |||||
* | On shift-copy of an object, set up a new physics actor (as appropriate) for ↵ | Justin Clark-Casey (justincc) | 2010-08-10 | 1 | -0/+7 |
| | | | | | | every copied prim, not just the root This addresses http://opensimulator.org/mantis/view.php?id=4295 | ||||
* | Extend DuplicateObject() test to check flags on the duplicated object | Justin Clark-Casey (justincc) | 2010-08-10 | 1 | -7/+9 |
| | |||||
* | extend TestDuplicateObject() to a two prim object | Justin Clark-Casey (justincc) | 2010-08-10 | 1 | -10/+19 |
| | |||||
* | Add new SceneGraphTests class. Add simple TestDuplicateObject() | Justin Clark-Casey (justincc) | 2010-08-07 | 2 | -1/+71 |
| | |||||
* | Remove old test classes that don't actually test anything not done elsewhere | Justin Clark-Casey (justincc) | 2010-08-07 | 2 | -233/+0 |
| | | | | Also comment out log4net line in InventoryArchiverTests | ||||
* | minor: remove LongRunning test designator from TestAddSceneObject() since it ↵ | Justin Clark-Casey (justincc) | 2010-05-21 | 1 | -1/+1 |
| | | | | isn't, really | ||||
* | add test to make sure that adding an object where one already exists in the ↵ | Justin Clark-Casey (justincc) | 2010-05-21 | 1 | -0/+34 |
| | | | | scene with that uuid fails | ||||
* | extend TestAddSceneObject() to check Scene.AddNewSceneObject() return boolean | Justin Clark-Casey (justincc) | 2010-05-21 | 1 | -3/+13 |
| | | | | improve test to retrieve object by known uuid rather than dynamically assigned local id | ||||
* | add prim item and test asset save in save oar unit test | Justin Clark-Casey (justincc) | 2010-05-21 | 1 | -1/+2 |
| | |||||
* | Finalized the client's TCP IP address verification process for HG1.5. | Diva Canto | 2010-05-15 | 1 | -0/+5 |
| | |||||
* | Committing the LightShare code, which was developed by TomMeta of Meta7. | Melanie | 2010-03-31 | 1 | -1/+10 |
| | | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer. | ||||
* | Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵ | Dan Lake | 2010-03-19 | 1 | -1/+1 |
| | | | | Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files. |