aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* NetworkServersInfo removed from CommsManager.Diva Canto2010-01-101-1/+0
|
* * OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto2010-01-101-72/+75
| | | | | * HG is seriously broken here * Compiles. Untested.
* Inching ahead... This compiles, but very likely does not run.Diva Canto2010-01-081-2/+0
|
* Change teleports so the TeleportFlags are sent to the destination sim. ItMelanie2009-12-291-1/+1
| | | | | can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
* Formatting cleanup.Jeff Ames2009-11-232-2/+2
|
* refactor: extract another test asset helper methodJustin Clark-Casey (justincc)2009-11-121-0/+13
|
* refactor some test asset creation into a helper classJustin Clark-Casey (justincc)2009-11-121-0/+51
| | | | remove mono compiler warning
* Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)2009-11-121-2/+2
| | | | remove duplicate mock inventory service
* add unit test for iar & escapingJustin Clark-Casey (justincc)2009-11-051-2/+22
|
* fixing TestLandChannel to let it return empty List<ILandObject>() (asdr scofield (aka dirk husemann)2009-10-021-1/+1
| | | | does the real LandChannel), percolating to SceneSetupHelpers.
* - cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2009-10-021-1/+1
| | | | - adding LandDataSerializer to OAR mechanics
* Formatting cleanup.Jeff Ames2009-10-012-11/+11
|
* I think I have fixed something that was broken in the scene setup (tests) ↵Diva Canto2009-09-281-7/+10
| | | | and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
* Improved the Local grid connector to fetch data from the DB when it doesn't ↵Diva Canto2009-09-281-0/+26
| | | | | | find it in the cache. Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
* Remove the methods for full inventory fetch from the connector. Remove testsMelanie2009-09-172-133/+1
| | | | for the old, removed asset handlers
* extend load iar test to loading into a deeply nested directoryJustin Clark-Casey (justincc)2009-09-082-1/+98
| | | | correct bug associated with this
* warnings safari.dr scofield (aka dirk husemann)2009-09-021-1/+1
|
* adding new IniConfigSource() to SceneSetupHelpers to fix emptydr scofield (aka dirk husemann)2009-09-011-1/+1
| | | | | IConfigSource causing grief to region modules expecting it to be non-empty (which a number of them do).
* * ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)2009-08-161-5/+6
| | | | | | randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
* Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)2009-08-111-6/+36
| | | | inventory code can be written with the async inventory fetch
* Added some needed comments to SceneSetupHelper (actually just retriggering ↵Arthur Valadares2009-08-111-2/+19
| | | | panda)
* * Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2009-08-111-29/+81
| | | | | | | | inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality. * SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize. * With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
* * Fix test failure by setting up MainConsole.Instance in ↵Justin Clark-Casey (justincc)2009-08-101-0/+4
| | | | SceneSetupHelpers.SetupScene()
* * Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares2009-07-231-0/+1
| | | | | | | | | | | | | module interface. This fixes an issue where region references were being added but weren't being deleted, causing those "unnotified circuit" messages. * Also fixes tests accordingly - Fixes Mantis #3452 - Fixes Mantis #3388 - Fixes Mantis #3871 - Related to Mantis #3493