aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto2009-08-221-0/+5
| | | | | | folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set. * Removed left-overs from AssetInventoryServer.
* Added MoveItems, which is most useful upon viewer-delete inventory ↵Diva Canto2009-08-191-0/+5
| | | | operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
* A better purge of trash folder.Diva Canto2009-08-191-1/+1
|
* Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.Diva Canto2009-08-131-0/+5
|
* Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' ↵Diva Canto2009-08-131-2/+2
| | | | starting to get on my nerves.
* Merged with origin, and resolved one conflict in LoginServiceTests.csDiva Canto2009-08-111-2/+7
|\
| * * Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2009-08-111-121/+7
| | | | | | | | | | | | | | | | 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.
* | Added two new methods to IIventoryService -- GetFolderForType and ↵Diva Canto2009-08-101-0/+10
| | | | | | | | GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
* | Changed RequestRootFolder to GetRootFolderDiva Canto2009-08-101-1/+1
|/
* * Remove some mono compiler warningsJustin Clark-Casey2009-08-051-2/+2
|
* Fixes mantis #3803. Thanks jhurliman.diva2009-06-111-1/+1
|
* 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 :)
* * 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-011-1/+1
| | | | 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)
* instrument most of the tests with a new InMethod function that may help us ↵Sean Dague2009-05-071-0/+12
| | | | | | | 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
* * Allow interested user data plugins to store temporary user profilesJustin Clarke Casey2009-04-231-3/+3
| | | | | | * 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
* Fix a test-breakage introduced in r9144Homer Horwitz2009-04-141-2/+2
|
* 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.
* * 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.
* * optimized usings.lbsa712009-02-121-6/+4
|
* * 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>
* * 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-051-4/+1
| | | | | | | | 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