aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-10Remove "login disable", "login enable" and "login status" commands.Melanie1-9/+1
2010-01-08A few more inches... Old friends things removed. Less references to ↵Diva Canto1-461/+0
UserProfileService.
2009-11-12Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)1-147/+4
remove duplicate mock inventory service
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-08-26* Another attempt at fixing the random spurious test error.Teravus Ovares (Dan Olivares)1-0/+10
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception. Hopefully calling Stop() on MainServer.Instance will solve that.
2009-08-22* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out ↵Diva Canto1-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.
2009-08-19Added MoveItems, which is most useful upon viewer-delete inventory ↵Diva Canto1-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).
2009-08-19A better purge of trash folder.Diva Canto1-1/+1
2009-08-13Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.Diva Canto1-0/+5
2009-08-13Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' ↵Diva Canto1-2/+2
starting to get on my nerves.
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares1-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.
2009-08-10Added two new methods to IIventoryService -- GetFolderForType and ↵Diva Canto1-0/+10
GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
2009-08-10Changed RequestRootFolder to GetRootFolderDiva Canto1-1/+1
2009-08-05* Remove some mono compiler warningsJustin Clark-Casey1-2/+2
2009-06-11Fixes mantis #3803. Thanks jhurliman.diva1-1/+1
2009-06-11InterServiceInventoryService references *almost* completely removed from the ↵diva1-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 :)
2009-06-01* Making silent logoff of old hung sessions for new connections default forArthur Valadares1-1/+3
StandAlone users. Not touching grid.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-23* Fixes [irritating] edge case in Util.GetLocalHost which could return an ↵Adam Frisby1-12/+33
IPv6 address if no non-loopback IPv4 address can be found. * Restores internal IPv6 support to NetworkUtil.* * Fixes bad login unit tests.
2009-05-23* Pipes requestors IP address through all XmlRpcRequest delegates. This is ↵Adam Frisby1-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)
2009-05-07instrument most of the tests with a new InMethod function that may help us ↵Sean Dague1-0/+12
figure out where that pesky deadlock is during test runs.
2009-05-05- moving banned check and public/private check toDr Scofield1-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
2009-04-23* Allow interested user data plugins to store temporary user profilesJustin Clarke Casey1-3/+3
* Database and the OGS1 plugins are not interested and hence ignore these calls
2009-04-23* Add user data plugin to store temporary profiles (which are distinct from ↵Justin Clarke Casey1-2/+5
cached) * Plugin not yet used * Existing functionality should not be affected in any way
2009-04-14Fix a test-breakage introduced in r9144Homer Horwitz1-2/+2
2009-03-29Another bit of refactoring to try to make sense of ↵diva1-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.
2009-03-09* Added TXXX in front of unit tests to make sure they are running in the ↵Sean Dague1-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>
2009-03-09Refactor login test class.Mike Mazur1-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.
2009-03-09Fix tests broken in r8732.Mike Mazur1-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.
2009-03-03Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved ↵MW1-1/+1
it from OpenSim.Client.Linden to OpenSim.Framework.
2009-03-03Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW1-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.
2009-02-12* optimized usings.lbsa711-6/+4
2009-01-13* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+1
2009-01-12Enhanced LoginServiceTests to test for authentication and responseSean Dague1-18/+197
Expanded TestUserDataPlugin to cover new methods From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-05* Centralize references to the well known blank texture ↵Justin Clarke Casey1-3/+2
5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
2009-01-05* Add prereqs and usings required by the Windows compilerJustin Clarke Casey1-0/+2
2009-01-05* Add seed cap check to login testJustin Clarke Casey1-5/+15
2009-01-05* Simplify test code by always setting up mock 'in memory' user and ↵Justin Clarke Casey1-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
2009-01-05* Extend stub to test the successful login of a user on the local login serviceJustin Clarke Casey1-0/+96
* Test does not do authentication