aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-10in AssetHelpers.CreateAsset(), create objects using the 'original' xml ↵Justin Clark-Casey (justincc)1-1/+1
format rather than 'xml2'
2011-03-09remove inventory service preserving code from SceneSetupHelpers tooJustin Clark-Casey (justincc)1-37/+10
2011-03-09Simplify SceneSetupHelpers class by removing all code which was originally ↵Justin Clark-Casey (justincc)1-53/+40
preserving service instances between tests. This wasn't being used anyway and just leads to hard to diagnose test failures.
2011-03-09Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make ↵Justin Clark-Casey (justincc)1-3/+3
static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
2011-02-19Remove unused SceneSetupHelpers.DeleteObjectAsync().Justin Clark-Casey (justincc)1-19/+0
Calling async code in automated tests is never a good idea - things become very fragile very quickly
2011-02-19remove unused code to share services between scenes in SceneSetupHelpers - ↵Justin Clark-Casey (justincc)1-52/+16
this is done differently elsewhere
2011-02-18Put some CapabilitiesModule null checks in SceneJustin Clark-Casey (justincc)1-4/+4
Stop tests setting up a capabilities module by default
2011-02-18On SceneSetupHelpers, go back to calling ScenePresence.CompleteMovement() ↵Justin Clark-Casey (justincc)1-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().
2010-12-14Start implementing a test for 'share with group' object functionality. Not ↵Justin Clark-Casey (justincc)1-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)
2010-10-06Plumb the path for multiple object deletesMelanie1-1/+1
2010-09-12Fix unit test SceneSetupHelpers to load the mock simulation data storeJohn Hurliman1-1/+1
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman1-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
2010-09-12Formatting cleanup.Jeff Ames4-27/+26
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-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 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)1-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.
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)1-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.
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)1-0/+6
goes to the correct directory Also removes some mono compiler warnings
2010-08-20Unit test breakage fix.Diva Canto1-8/+48
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)1-13/+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-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-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-03-12Simplify database setup and remove migration problems by moving all sqlite ↵Justin Clark-Casey (justincc)1-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
2010-03-12Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)1-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
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-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-5/+4
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-4/+5
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2-2/+2
2010-01-11CommunicationsManager deleted.Diva Canto1-31/+33
2010-01-10NetworkServersInfo removed from CommsManager.Diva Canto1-1/+0
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-72/+75
* HG is seriously broken here * Compiles. Untested.
2010-01-08Inching ahead... This compiles, but very likely does not run.Diva Canto1-2/+0
2009-12-29Change teleports so the TeleportFlags are sent to the destination sim. ItMelanie1-1/+1
can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
2009-11-23Formatting cleanup.Jeff Ames2-2/+2
2009-11-12refactor: extract another test asset helper methodJustin Clark-Casey (justincc)1-0/+13
2009-11-12refactor some test asset creation into a helper classJustin Clark-Casey (justincc)1-0/+51
remove mono compiler warning
2009-11-12Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)1-2/+2
remove duplicate mock inventory service
2009-11-05add unit test for iar & escapingJustin Clark-Casey (justincc)1-2/+22
2009-10-02fixing TestLandChannel to let it return empty List<ILandObject>() (asdr scofield (aka dirk husemann)1-1/+1
does the real LandChannel), percolating to SceneSetupHelpers.
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)1-1/+1
- adding LandDataSerializer to OAR mechanics
2009-09-30Remove some tests that no longer applyMelanie2-208/+0