aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-12move fake user service to a separate mock user service classJustin Clark-Casey (justincc)1-159/+0
delete asset cache tests shell
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 Ames3-9/+9
2009-09-24Allow load/save iar password checks to be done in grid modeJustin Clark-Casey (justincc)1-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.
2009-09-02warnings safari.dr scofield (aka dirk husemann)1-1/+1
2009-08-26* Another attempt at fixing the random spurious test error.Teravus Ovares (Dan Olivares)2-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.
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-19Fixing a spot I missed in assets. Switching Grid to the new naming schema ↵Kunnis1-2/+2
with Store/Get
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 Canto2-9/+9
starting to get on my nerves.
2009-08-11Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)1-44/+52
inventory code can be written with the async inventory fetch
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2-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.
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-11* Reinstating UserProfileCacheServiceTests. One test still fails ↵Arthur Valadares1-54/+98
(TestUpdateFolder)
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-10Attempt at disabling the inventory unit tests, so I can figure out how to ↵diva1-6/+6
fix them. The test setup is broken.
2009-06-10Heart surgery no.2: the inventory service hooks. diva1-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.
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
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 Ames3-3/+3
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-18Remove the old asset cache and local services and the configurations for themMelanie Thielker1-60/+1
2009-05-07instrument most of the tests with a new InMethod function that may help us ↵Sean Dague2-0/+26
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-24* minor: move user profile test utils to test/common/setup for future reuseJustin Clarke Casey2-67/+1
2009-04-23* Allow interested user data plugins to store temporary user profilesJustin Clarke Casey2-3/+8
* 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-21* Comment out user profile cache update method for nowJustin Clarke Casey1-0/+3
2009-04-21* extend user cache update test to check data backendJustin Clarke Casey1-0/+3
2009-04-21* Add the ability to update profiles via the cache, so that cached profiles ↵Justin Clarke Casey1-0/+29
don't become stale * Add corresponding unit test
2009-04-17* Extend get user profile test to cover retrieval by nameJustin Clarke Casey2-37/+28
2009-04-14Fix a test-breakage introduced in r9144Homer Horwitz1-2/+2
2009-04-14Adds session authentication upon NewUserConnections. Adds user key ↵diva1-0/+5
authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-14* Change simple asset cache test to manually pump the asset server rather ↵Justin Clarke Casey1-8/+7
than relying on another thread
2009-04-14* Explicitly start the asset server thread so that unit tests can run single ↵Justin Clarke Casey1-1/+3
rather than multi-threaded (which may be behind the occasional test freezes)
2009-04-13* Some more experimental work on distributed assets. Nothing hotwired yet.lbsa711-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)
2009-04-09* Added some more experimental code; nothing wired in so far.lbsa711-3/+95
2009-04-08* Introduced some experimental code with regards to asset data substitutionlbsa711-3/+14
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* minor: remove some mono compiler warningsJustin Clarke Casey1-2/+2
2009-03-09* Add basic asset cache get testJustin Clarke Casey1-0/+88
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.