aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added new operations to mock inventory service in tests.Diva Canto2009-08-111-0/+15
|
* 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-113-31/+221
| | | | | | | | 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.
* First pass at cleaning up old OGS1 and Local Inventory: removed ↵Diva Canto2009-08-101-5/+0
| | | | everything-inventory in CommsManager, which wasn't actively used anymore.
* * Fix test failure by setting up MainConsole.Instance in ↵Justin Clark-Casey (justincc)2009-08-101-0/+4
| | | | SceneSetupHelpers.SetupScene()
* More clean up from asset cache legacy. None of these classes are used anymore.Diva Canto2009-08-101-119/+0
|
* This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-071-1/+1
| | | | lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
* test item data storage impementation (unused as of yet)Justin Clark-Casey (justincc)2009-08-051-14/+31
|
* Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary waitJustin Clark-Casey (justincc)2009-08-051-1/+1
|
* * 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
* * Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares2009-07-191-0/+4
| | | | | | | | | a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
* fixed the bug where changing the rotation of a selection of prims in a ↵MW2009-07-171-0/+1
| | | | | | | | | linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects). This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client. Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files. [Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
* Explicitly set up the http server singleton fo the testsMelanie Thielker2009-07-101-0/+2
|
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-1/+1
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* Restore the functionality that was removed in r9928. This lets the loadMelanie Thielker2009-07-011-0/+5
| | | | | | | | | balancer plugin work again. Create a new method, GetClientEP, to retrieve only the EndPoint for script usage. Marked the purpose of the method in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo functionality.
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-191-1/+1
| | | | | | This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
* Renamed Region/CoreModules/ServiceConnectors to ↵diva2009-06-141-2/+2
| | | | Region/CoreModules/ServiceConnectorsOut. No functional changes.
* * Reinstating UserProfileCacheServiceTests. One test still fails ↵Arthur Valadares2009-06-111-1/+1
| | | | (TestUpdateFolder)
* duh. wrong variable name in SceneSetup.diva2009-06-101-4/+4
|
* The previous commit was still wrong.diva2009-06-101-1/+1
|
* Attempt at fixing the inventory archiver tests.diva2009-06-101-1/+15
|
* Formatting cleanup.Jeff Ames2009-06-102-2/+2
|
* * Fix unit tests so that they correctly handle 404 missing asset responseJustin Clarke Casey2009-06-051-4/+6
| | | | | | * I didn't think there were tests in this area - my bad
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-0114-14/+14
| | | | LICENSE.txt.
* * Add xml2 load testJustin Clarke Casey2009-05-291-3/+5
|
* * So, giving up on my efforts to de-duplicate the asset handlers. I'll just ↵lbsa712009-05-271-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
* Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"Sean Dague2009-05-271-17/+0
| | | | | | | This reverts commit 8f0096cc7b112fea8f69f391224911f624482747. To get us back to compiling on fresh checkouts.
* * Added IntegrationTest Attribute and tagged the ODETestClasslbsa712009-05-271-0/+17
|
* converting CapabilitiesModule to new region module schemeDr Scofield2009-05-251-3/+4
|
* letting TestClient implement IClientCore as well to fix test caseDr Scofield2009-05-251-1/+22
| | | | | failure due to new NAT code
* * Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey2009-05-221-0/+2
| | | | hadn't been manually post intiailized
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-205-3/+138
|
* Remove the old asset cache and local services and the configurations for themMelanie Thielker2009-05-182-14/+0
|
* * Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey2009-05-181-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
* Renaming [ServiceConnectors] back to [Modules].diva2009-05-171-2/+2
|
* Update svn properties.Jeff Ames2009-05-175-290/+290
|
* Send the owner name, not the client name on SendDialog.Homer Horwitz2009-05-161-1/+1
| | | | | | This modifies IClientAPI.SendDialog slightly. Fixes Mantis #3661.
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-0/+14
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* * Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great ↵lbsa712009-05-141-2/+2
| | | | justice.
* * Changed auto-properties to properties with backing fieldlbsa712009-05-141-2/+13
| | | | | * This fixes mantis #3650
* * Added some more tests to the GetAssetStreamHandlerslbsa712009-05-137-27/+285
|
* Paving the way for syncing group permissions across a gridMelanie Thielker2009-05-121-0/+4
|
* Update svn properties.Jeff Ames2009-05-111-57/+57
|
* * Extracted common superclass for GetAssetStreamHandler and ↵lbsa712009-05-081-0/+13
| | | | | | | CachedGetAssetStreamHandler * Added some more tests
* * Introduced new HttpServer.Tests projectlbsa712009-05-081-0/+44
| | | | | | | * Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler * Ignored some gens
* instrument most of the tests with a new InMethod function that may help us ↵Sean Dague2009-05-071-0/+8
| | | | | | | figure out where that pesky deadlock is during test runs.
* refactoring Scene.NewUserConnection() to be simpler and clearer.Dr Scofield2009-05-061-1/+3
|
* - moving banned check and public/private check toDr Scofield2009-05-051-1/+3
| | | | | | | | | | Scene.NewUserConnection() - adding reason reporting this enforces estate bans very early on and prevents us from circulating client objects that we'd then have to retract once we realize that the client is not allowed into the region
* Intermediate commit. WILL NOT COMPILE!Melanie Thielker2009-05-041-0/+1
|