aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2009-11-231-1/+1
|
* minor: add forgotton copyright headerJustin Clark-Casey (justincc)2009-11-161-0/+26
|
* move fake user service to a separate mock user service classJustin Clark-Casey (justincc)2009-11-121-0/+123
| | | | delete asset cache tests shell
* Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)2009-11-122-6/+6
| | | | remove duplicate mock inventory service
* Stop iar save failing on corrupt assetsJustin Clark-Casey (justincc)2009-11-121-0/+8
| | | | Not ideal since one will still have to watch out for big 'corrupt asset' messages in the log, but better than an outright fail
* Add basic new uuid gatherer tests to check behaviour when the gather seed is ↵Justin Clark-Casey (justincc)2009-11-111-3/+8
| | | | a missing asset
* Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.Melanie2009-11-051-0/+1
| | | | | Applied with major changes. Core functionality commented pending review for possible rights escalation. No user functionality yet.
* Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie2009-11-041-0/+1
| | | | | | | InventoryDescendents packet. Testing has shown that UDP inventory now works flawlessly and, unlike CAPS inventory, doesn't download the entire agent inventory on start. Neither does it incessantly re-request folder NULL_KEY. Therefore, I have disabled CAPS inventory.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-191-12/+12
|\ | | | | | | prioritization
| * Formatting cleanup.Jeff Ames2009-10-191-12/+12
| |
* | Committing the second part of Jim Greensky @ Intel Lab's patch, ↵John Hurliman2009-10-171-0/+4
| | | | | | | | re-prioritizing updates
* | Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman2009-10-151-23/+5
|/ | | | implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
* * Consolidated adding / removing ClientManager IClientAPIs to two places in ↵John Hurliman2009-10-131-0/+5
| | | | | | | | Scene * Added some missing implementations of IClientAPI.RemoteEndPoint * Added a ClientManager.Remove(UUID) overload * Removed a reference to a missing project from prebuild.xml
* * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman2009-10-131-1/+1
| | | | | | | | performance by removing locks, and replace LLUDPClientCollection * Removed the confusing (and LL-specific) shutdowncircuit parameter from IClientAPI.Close() * Updated the LLUDP code to only use ClientManager instead of trying to synchronize ClientManager and m_clients * Remove clients asynchronously since it is a very slow operation (including a 2000ms sleep)
* Merge branch 'master' into diva-texturesMelanie2009-10-021-5/+41
|\
| * fixing TestLandChannel to let it return empty List<ILandObject>() (asdr scofield (aka dirk husemann)2009-10-021-5/+41
| | | | | | | | does the real LandChannel), percolating to SceneSetupHelpers.
* | Merge branch 'master' into diva-texturesMelanie2009-10-026-15/+13
|\ \ | |/
| * Formatting cleanup.Jeff Ames2009-10-016-13/+13
| |
| * Poof! on LocalBackend. CommsManager.GridServices deleted.Diva Canto2009-09-261-2/+0
| |
* | Add RebakeAvatarTexturesPacket to the client viewMelanie2009-09-301-0/+4
|/
* Convert iar write request to use inventory service requests rather than cacheJustin Clark-Casey (justincc)2009-09-061-1/+11
|
* Temporarily re-enable save iar test by manually insert the item into the old ↵Justin Clark-Casey (justincc)2009-09-061-1/+7
| | | | cache during the test
* warnings safari.dr scofield (aka dirk husemann)2009-09-021-5/+5
|
* Pull out distinct cache system folders and drop cache methods in InventoryCacheJustin Clark-Casey (justincc)2009-08-281-1/+11
|
* * 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-0/+13
| | | | 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
|
* Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim into ↵Diva Canto2009-08-161-0/+1
|\ | | | | | | inventory-connector
| * Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet ↵Adam Johnson2009-08-161-0/+1
| | | | | | | | Handler - ref mantis #4010
* | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensimDiva Canto2009-08-141-3/+11
|\ \ | |/
| * Re-enable TestSaveIarV0_1()Justin Clark-Casey (justincc)2009-08-141-3/+11
| | | | | | | | Implement more parts of TestAssetService
* | 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.
* Formatting cleanup. Add copyright headers.Jeff Ames2009-08-131-1/+28
|
* Added new operations to mock inventory service in tests.Diva Canto2009-08-111-0/+15
|
* * Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares2009-08-112-2/+140
| | | | | | | | 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.
* First pass at cleaning up old OGS1 and Local Inventory: removed ↵Diva Canto2009-08-101-5/+0
| | | | everything-inventory in CommsManager, which wasn't actively used anymore.
* More clean up from asset cache legacy. None of these classes are used anymore.Diva Canto2009-08-101-119/+0
|
* This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-071-1/+1
| | | | lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
* test item data storage impementation (unused as of yet)Justin Clark-Casey (justincc)2009-08-051-14/+31
|
* * Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares2009-07-191-0/+4
| | | | | | | | | a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
* fixed the bug where changing the rotation of a selection of prims in a ↵MW2009-07-171-0/+1
| | | | | | | | | linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects). This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client. Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files. [Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-1/+1
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* Restore the functionality that was removed in r9928. This lets the loadMelanie Thielker2009-07-011-0/+5
| | | | | | | | | balancer plugin work again. Create a new method, GetClientEP, to retrieve only the EndPoint for script usage. Marked the purpose of the method in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo functionality.
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-191-1/+1
| | | | | | This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
* * Reinstating UserProfileCacheServiceTests. One test still fails ↵Arthur Valadares2009-06-111-1/+1
| | | | (TestUpdateFolder)
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-018-8/+8
| | | | LICENSE.txt.
* letting TestClient implement IClientCore as well to fix test caseDr Scofield2009-05-251-1/+22
| | | | | failure due to new NAT code