aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2009-10-01Formatting cleanup.Jeff Ames2-11/+11
2009-09-28I think I have fixed something that was broken in the scene setup (tests) ↵Diva Canto1-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.
2009-09-28Improved the Local grid connector to fetch data from the DB when it doesn't ↵Diva Canto1-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.
2009-09-17Remove the methods for full inventory fetch from the connector. Remove testsMelanie2-133/+1
for the old, removed asset handlers
2009-09-08extend load iar test to loading into a deeply nested directoryJustin Clark-Casey (justincc)2-1/+98
correct bug associated with this
2009-09-02warnings safari.dr scofield (aka dirk husemann)1-1/+1
2009-09-01adding new IniConfigSource() to SceneSetupHelpers to fix emptydr scofield (aka dirk husemann)1-1/+1
IConfigSource causing grief to region modules expecting it to be non-empty (which a number of them do).
2009-08-16* ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)1-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.
2009-08-11Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)1-6/+36
inventory code can be written with the async inventory fetch
2009-08-11Added some needed comments to SceneSetupHelper (actually just retriggering ↵Arthur Valadares1-2/+19
panda)
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares1-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.
2009-08-10* Fix test failure by setting up MainConsole.Instance in ↵Justin Clark-Casey (justincc)1-0/+4
SceneSetupHelpers.SetupScene()
2009-07-23* Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares1-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
2009-07-10Explicitly set up the http server singleton fo the testsMelanie Thielker1-0/+2
2009-06-14Renamed Region/CoreModules/ServiceConnectors to ↵diva1-2/+2
Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-10duh. wrong variable name in SceneSetup.diva1-4/+4
2009-06-10The previous commit was still wrong.diva1-1/+1
2009-06-10Attempt at fixing the inventory archiver tests.diva1-1/+15
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
2009-06-05* Fix unit tests so that they correctly handle 404 missing asset responseJustin Clarke Casey1-4/+6
* I didn't think there were tests in this area - my bad
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2-2/+2
LICENSE.txt.
2009-05-27* So, giving up on my efforts to de-duplicate the asset handlers. I'll just ↵lbsa711-4/+33
service commit my current state, then start over and this time concentrating only on the new handlers. * Fixed some erroneous refs in Tests.Common
2009-05-25converting CapabilitiesModule to new region module schemeDr Scofield1-3/+4
2009-05-22* Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey1-0/+2
hadn't been manually post intiailized
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames2-1/+55
2009-05-18Remove the old asset cache and local services and the configurations for themMelanie Thielker1-3/+0
2009-05-18* Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey1-2/+2
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-17Renaming [ServiceConnectors] back to [Modules].diva1-2/+2