aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2009-08-112-127/+14
| | | | | | | | 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.
* * Remove some mono compiler warningsJustin Clark-Casey2009-08-051-2/+2
|
* Fixes mantis #3803. Thanks jhurliman.diva2009-06-111-1/+1
|
* * Reinstating UserProfileCacheServiceTests. One test still fails ↵Arthur Valadares2009-06-111-54/+98
| | | | (TestUpdateFolder)
* InterServiceInventoryService references *almost* completely removed from the ↵diva2009-06-111-2/+123
| | | | simulator. Only a couple left, not important. Also updated the login tests -- Justin, this time I was able to fix this by myself :)
* Attempt at disabling the inventory unit tests, so I can figure out how to ↵diva2009-06-101-6/+6
| | | | fix them. The test setup is broken.
* Heart surgery no.2: the inventory service hooks. diva2009-06-101-0/+6
| | | | | | | Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* * Making silent logoff of old hung sessions for new connections default forArthur Valadares2009-06-011-1/+3
| | | | | StandAlone users. Not touching grid.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-013-3/+3
| | | | LICENSE.txt.
* * Fixes [irritating] edge case in Util.GetLocalHost which could return an ↵Adam Frisby2009-05-231-12/+33
| | | | | | | | IPv6 address if no non-loopback IPv4 address can be found. * Restores internal IPv6 support to NetworkUtil.* * Fixes bad login unit tests.
* * Pipes requestors IP address through all XmlRpcRequest delegates. This is ↵Adam Frisby2009-05-231-9/+9
| | | | | | | | | | needed to be able to 'NAT-wrap' the login sequence. * If you have something using XmlRpc that isn't in core, change your method signature from: (XmlRpcRequest request) to: (XmlRpcRequest request, IPEndPoint remoteClient)
* Remove the old asset cache and local services and the configurations for themMelanie Thielker2009-05-181-60/+1
|
* instrument most of the tests with a new InMethod function that may help us ↵Sean Dague2009-05-072-0/+26
| | | | | | | figure out where that pesky deadlock is during test runs.
* - 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
* * minor: move user profile test utils to test/common/setup for future reuseJustin Clarke Casey2009-04-242-67/+1
|
* * Allow interested user data plugins to store temporary user profilesJustin Clarke Casey2009-04-232-3/+8
| | | | | | * Database and the OGS1 plugins are not interested and hence ignore these calls
* * Add user data plugin to store temporary profiles (which are distinct from ↵Justin Clarke Casey2009-04-231-2/+5
| | | | | | | | | cached) * Plugin not yet used * Existing functionality should not be affected in any way
* * Comment out user profile cache update method for nowJustin Clarke Casey2009-04-211-0/+3
|
* * extend user cache update test to check data backendJustin Clarke Casey2009-04-211-0/+3
|
* * Add the ability to update profiles via the cache, so that cached profiles ↵Justin Clarke Casey2009-04-211-0/+29
| | | | | | | | don't become stale * Add corresponding unit test
* * Extend get user profile test to cover retrieval by nameJustin Clarke Casey2009-04-172-37/+28
|
* Fix a test-breakage introduced in r9144Homer Horwitz2009-04-141-2/+2
|
* Adds session authentication upon NewUserConnections. Adds user key ↵diva2009-04-141-0/+5
| | | | authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
* * Change simple asset cache test to manually pump the asset server rather ↵Justin Clarke Casey2009-04-141-8/+7
| | | | than relying on another thread
* * Explicitly start the asset server thread so that unit tests can run single ↵Justin Clarke Casey2009-04-141-1/+3
| | | | rather than multi-threaded (which may be behind the occasional test freezes)
* * Some more experimental work on distributed assets. Nothing hotwired yet.lbsa712009-04-131-0/+5
| | | | | | | | | * Introduced preprocess step in FetchAsset (Might revert this later) * Some minor CCC * Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1. * Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
* * Added some more experimental code; nothing wired in so far.lbsa712009-04-091-3/+95
|
* * Introduced some experimental code with regards to asset data substitutionlbsa712009-04-081-3/+14
|
* Another bit of refactoring to try to make sense of ↵diva2009-03-291-0/+1
| | | | OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files.
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-03-091-2/+2
|
* * Add basic asset cache get testJustin Clarke Casey2009-03-091-0/+88
|
* * Added TXXX in front of unit tests to make sure they are running in the ↵Sean Dague2009-03-091-7/+7
| | | | | | | correct order. Although it might not make a difference here, this pattern should be followed to avoid further issues. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Refactor login test class.Mike Mazur2009-03-091-115/+126
| | | | | | | There were multiple tests in one test method (T011_Auth_Login). This test has been refactored into multiple tests. Common setup code was placed into a SetUp method executed before each test.
* Fix tests broken in r8732.Mike Mazur2009-03-091-0/+14
| | | | | | | | | Recent changes in the code handling login_to_simulator XMLRPC method calls caused two tests to fail because not enough parameters were being supplied with the method call. The parameters added in this patch work, but I'm not sure whether they are actually correct or even relevant. Diva, please look over this.
* Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved ↵MW2009-03-031-1/+1
| | | | it from OpenSim.Client.Linden to OpenSim.Framework.
* Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW2009-03-031-17/+113
| | | | | | | | There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server) Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
* * refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey2009-02-122-3/+4
| | | | | | * This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
* * optimized usings.lbsa712009-02-123-13/+6
|
* - move OpenSim/Framework/IInventoryData.cs toMike Mazur2009-02-031-55/+56
| | | | | | OpenSim/Data/IInventoryData.cs - trim trailing whitespace
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-01-131-1/+1
|
* Enhanced LoginServiceTests to test for authentication and responseSean Dague2009-01-121-18/+197
| | | | | | | Expanded TestUserDataPlugin to cover new methods From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * remove mono compiler warningsJustin Clarke Casey2009-01-061-8/+0
|
* * Centralize references to the well known blank texture ↵Justin Clarke Casey2009-01-051-3/+2
| | | | 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
* * Add prereqs and usings required by the Windows compilerJustin Clarke Casey2009-01-051-0/+2
|
* * Add seed cap check to login testJustin Clarke Casey2009-01-051-5/+15
|
* * Simplify test code by always setting up mock 'in memory' user and ↵Justin Clarke Casey2009-01-053-51/+22
| | | | | | | | inventory data plugins for every TestCommunicationsManager * imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
* * Extend stub to test the successful login of a user on the local login serviceJustin Clarke Casey2009-01-051-0/+96
| | | | | | * Test does not do authentication
* * Extend update test to test situation where it also moves the folderJustin Clarke Casey2008-12-121-10/+37
| | | | | | * Correct logic so that update folder behaves as expected
* * Create update folder testJustin Clarke Casey2008-12-121-0/+32
| | | | | | * Correct small logic elidation