aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2010-09-071-2/+2
|\
| * minor: comment out some excessive test loggingJustin Clark-Casey (justincc)2010-09-071-1/+1
| |
| * Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)2010-09-071-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 removedJustin Clark-Casey (justincc)2010-09-071-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-061-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-061-2/+3
| | | | linked prim
* Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)2010-09-064-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-241-0/+26
| | | | is explicitly given
* minor: stop test using obsolete propertyJustin Clark-Casey (justincc)2010-08-241-1/+1
|
* refactor TestMoveTaskInventoryItemNoParent()Justin Clark-Casey (justincc)2010-08-241-24/+37
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-241-0/+104
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* Unit test breakage fix.Diva Canto2010-08-202-6/+11
|
* On shift-copy of an object, set up a new physics actor (as appropriate) for ↵Justin Clark-Casey (justincc)2010-08-101-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 objectJustin Clark-Casey (justincc)2010-08-101-7/+9
|
* extend TestDuplicateObject() to a two prim objectJustin Clark-Casey (justincc)2010-08-101-10/+19
|
* Add new SceneGraphTests class. Add simple TestDuplicateObject()Justin Clark-Casey (justincc)2010-08-072-1/+71
|
* Remove old test classes that don't actually test anything not done elsewhereJustin Clark-Casey (justincc)2010-08-072-233/+0
| | | | Also comment out log4net line in InventoryArchiverTests
* minor: remove LongRunning test designator from TestAddSceneObject() since it ↵Justin Clark-Casey (justincc)2010-05-211-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-211-0/+34
| | | | scene with that uuid fails
* extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2010-05-211-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 testJustin Clark-Casey (justincc)2010-05-211-1/+2
|
* Finalized the client's TCP IP address verification process for HG1.5.Diva Canto2010-05-151-0/+5
|
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-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 Lake2010-03-191-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.
* * UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman2010-03-151-2/+2
| | | | | | types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
* Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)2010-03-121-9/+4
| | | | | | 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
* Bug fix: store correct position information upon logout. Fixes mantis #4608Diva Canto2010-03-061-0/+5
|
* Fixes Region.Framework tests. Although these tests don't fail, they need to ↵Diva Canto2010-03-021-5/+13
| | | | be rewritten, because they are doing agent manipulations in the wrong way, so they're fairly meaningless.
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-1/+1
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-112-2/+2
|
* CommunicationsManager deleted.Diva Canto2010-01-113-9/+6
|
* NetworkServersInfo removed from CommsManager.Diva Canto2010-01-102-2/+0
|
* All Framework.Communications.Clients and Framework.Communications.Services ↵Diva Canto2010-01-102-4/+4
| | | | deleted, including old LoginService.
* * Finished SimulationServiceConnectorDiva Canto2010-01-071-1/+1
| | | | | * Started rerouting calls to UserService. * Compiles. May run.
* Change teleports so the TeleportFlags are sent to the destination sim. ItMelanie2009-12-291-3/+3
| | | | | can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
* Formatting cleanup.Jeff Ames2009-11-231-2/+2
|
* refactor: extract another test asset helper methodJustin Clark-Casey (justincc)2009-11-121-4/+3
|
* Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)2009-11-121-1/+1
| | | | remove duplicate mock inventory service
* Stop iar save failing on corrupt assetsJustin Clark-Casey (justincc)2009-11-121-4/+27
| | | | Not ideal since one will still have to watch out for big 'corrupt asset' messages in the log, but better than an outright fail
* minor: refactor common setup in uuid gatherer testJustin Clark-Casey (justincc)2009-11-121-3/+10
|