aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move fake user service to a separate mock user service classJustin Clark-Casey (justincc)2009-11-121-159/+0
| | | | delete asset cache tests shell
* Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)2009-11-121-147/+4
| | | | remove duplicate mock inventory service
* Formatting cleanup.Jeff Ames2009-10-013-9/+9
|
* Allow load/save iar password checks to be done in grid modeJustin Clark-Casey (justincc)2009-09-241-0/+5
| | | | | This should allow load/save iar to work for grid mode as long as the grid user service is later than this revision Grid services of earlier revisions will always erroneously report incorrect password. This will be addressed shortly.
* warnings safari.dr scofield (aka dirk husemann)2009-09-021-1/+1
|
* * Another attempt at fixing the random spurious test error.Teravus Ovares (Dan Olivares)2009-08-262-0/+21
| | | | * 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.
* * 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.
* Fixing a spot I missed in assets. Switching Grid to the new naming schema ↵Kunnis2009-08-191-2/+2
| | | | with Store/Get
* 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-132-9/+9
| | | | starting to get on my nerves.
* Merged with origin, and resolved one conflict in LoginServiceTests.csDiva Canto2009-08-112-52/+66
|\
| * Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)2009-08-111-44/+52
| | | | | | | | inventory code can be written with the async inventory fetch
| * * 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.
* | 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
|
* * 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.