aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* get rid of all traces of the now used mock service infrastructureJustin Clark-Casey (justincc)2011-04-151-30/+2
|
* remove old code for a mock grid service, which got removed some time backJustin Clark-Casey (justincc)2011-04-151-8/+3
|
* remove any reference to a mock authentication service since it doesn't exist ↵Justin Clark-Casey (justincc)2011-04-151-12/+7
| | | | and we don't use it
* remove mock asset service for tests in favour of always using the real oneJustin Clark-Casey (justincc)2011-04-151-9/+5
|
* Remove the mock inventory service for tests and just use the real one all ↵Justin Clark-Casey (justincc)2011-04-151-13/+6
| | | | the time with an in-memory data plugin
* Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2011-04-152-2/+12
| | | | | | | IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
* implement stub TestLoadCoalesecedItem(). Doesn't do what it's meant to do yet.Justin Clark-Casey (justincc)2011-04-141-2/+16
|
* Make scene object parts created by the test utils unit sized.Justin Clark-Casey (justincc)2011-04-141-2/+2
|
* Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2011-04-131-0/+15
| | | | | | | | | used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly.
* Improve previous ILandObject method doc.Justin Clark-Casey (justincc)2011-04-061-5/+11
| | | | For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
* Add PrimCountModuleTests.TestRemoveOwnerObject().Justin Clark-Casey (justincc)2011-03-231-5/+22
| | | | Also adds SceneSetupHelpers methods to easily create sogs with different part UUIDs
* refactor common sop setup parts into a single methodJustin Clark-Casey (justincc)2011-03-231-17/+23
|
* refactor: simplify part of AddSceneObject() test setup by moving sog ↵Justin Clark-Casey (justincc)2011-03-231-0/+32
| | | | construction into SceneSetupHelpers.CreateSceneObject()
* in AssetHelpers.CreateAsset(), create objects using the 'original' xml ↵Justin Clark-Casey (justincc)2011-03-101-1/+1
| | | | format rather than 'xml2'
* remove inventory service preserving code from SceneSetupHelpers tooJustin Clark-Casey (justincc)2011-03-091-37/+10
|
* Simplify SceneSetupHelpers class by removing all code which was originally ↵Justin Clark-Casey (justincc)2011-03-091-53/+40
| | | | preserving service instances between tests. This wasn't being used anyway and just leads to hard to diagnose test failures.
* Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)2011-03-091-3/+3
| | | | static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
* Remove unused SceneSetupHelpers.DeleteObjectAsync().Justin Clark-Casey (justincc)2011-02-191-19/+0
| | | | Calling async code in automated tests is never a good idea - things become very fragile very quickly
* remove unused code to share services between scenes in SceneSetupHelpers - ↵Justin Clark-Casey (justincc)2011-02-191-52/+16
| | | | this is done differently elsewhere
* Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)2011-02-181-4/+4
| | | | Stop tests setting up a capabilities module by default
* On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)2011-02-181-5/+3
| | | | | | | 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().
* Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)2010-12-141-1/+4
| | | | | | | 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)
* Plumb the path for multiple object deletesMelanie2010-10-061-1/+1
|
* Fix unit test SceneSetupHelpers to load the mock simulation data storeJohn Hurliman2010-09-121-1/+1
|
* MergedJohn Hurliman2010-09-124-27/+26
|\
| * Formatting cleanup.Jeff Ames2010-09-124-27/+26
| |
* | * Added ISimulationDataService and IEstateDataServiceJohn Hurliman2010-09-121-2/+3
|/ | | | | * 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
* Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)2010-09-071-1/+1
| | | | | | | | | | 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.
* Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)2010-09-061-1/+1
| | | | | 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.
* refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)2010-08-271-4/+11
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-241-0/+6
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* Unit test breakage fix.Diva Canto2010-08-201-8/+48
|
* create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)2010-06-112-12/+52
| | | | add various helper functions for simplifying test readability
* remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)2010-06-041-13/+6
| | | | easily configured for test purposes
* get TestSaveIarV0_1() working again by setting up an ↵Justin Clark-Casey (justincc)2010-06-042-2/+5
| | | | | | OpenSim.Data.Null.UserAuthenticationData plugin additional tweaks to get this working properly
* get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)2010-05-282-4/+37
| | | | didn't get the authentication server to work and my brain is about to fizzle out my ears
* restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵Justin Clark-Casey (justincc)2010-05-281-1/+12
| | | | work with the new UserAccountService/InventoryService
* fission UserAccountService.HandleCreateUser() into two methods, one which ↵Justin Clark-Casey (justincc)2010-05-281-81/+78
| | | | handles user command parsing and another which actually does the work
* extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2010-05-211-2/+0
| | | | improve test to retrieve object by known uuid rather than dynamically assigned local id
* minor: refactor CreateAsset to eliminate dupe codeJustin Clark-Casey (justincc)2010-05-211-3/+5
|
* add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2010-05-211-3/+11
|
* * This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)2010-05-041-2/+2
| | | | | | reference * Added a MockConsole that doesn't require a handle to System.Console
* Simplify database setup and remove migration problems by moving all sqlite ↵Justin Clark-Casey (justincc)2010-03-121-0/+3
| | | | | | | | | 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
* Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)2010-03-121-7/+27
| | | | | | 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
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-2/+2
|
* Merge branch 'presence-refactor' of ssh://opensimulator.org/var/git/opensim ↵John Hurliman2010-02-221-0/+26
|\ | | | | | | into presence-refactor
| * One more test running.Diva Canto2010-02-211-0/+26
| |
* | * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-6/+3
|/ | | | 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-111-31/+33
|