aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-203-2/+83
|
* Remove the old asset cache and local services and the configurations for themMelanie Thielker2009-05-181-11/+0
|
* Update svn properties.Jeff Ames2009-05-174-226/+226
|
* Send the owner name, not the client name on SendDialog.Homer Horwitz2009-05-161-1/+1
| | | | | | This modifies IClientAPI.SendDialog slightly. Fixes Mantis #3661.
* * Changed auto-properties to properties with backing fieldlbsa712009-05-141-2/+13
| | | | | * This fixes mantis #3650
* * Added some more tests to the GetAssetStreamHandlerslbsa712009-05-135-26/+218
|
* Paving the way for syncing group permissions across a gridMelanie Thielker2009-05-121-0/+4
|
* refactoring Scene.NewUserConnection() to be simpler and clearer.Dr Scofield2009-05-061-1/+3
|
* Intermediate commit. WILL NOT COMPILE!Melanie Thielker2009-05-041-0/+1
|
* Add a method to flush the prim update buffers once a frame, since the timerMelanie Thielker2009-05-041-0/+4
| | | | | | | appear to be too slow to be useful, or fail too fire. I may remove the timers as a consequence if this.
* Thank you, mpallari, for a patch that increses efficiency by combiningMelanie Thielker2009-04-301-1/+1
| | | | | | | | avatar updates into a single packet. Applied with changes. Fixes Mantis #3136
* * Allow interested user data plugins to store temporary user profilesJustin Clarke Casey2009-04-231-0/+5
| | | | | | * 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-4/+4
| | | | | | | | | cached) * Plugin not yet used * Existing functionality should not be affected in any way
* * Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some ↵Justin Clarke Casey2009-04-221-1/+1
| | | | | | | | service initialization into CommsManager * What is really needed is a plugin and interface request system as being done for region modules
* * Fission OGS1UserServices into user service and OGS1 user data plugin ↵Justin Clarke Casey2009-04-221-0/+2
| | | | | | | | | components * Make OGS1UserServices inherit from UserManagerBase * This allows grid mode regions to use the same user data plugin infrastructure as grid servers and standalone OpenSims
* Add PlacesQuery packetMelanie Thielker2009-04-201-0/+2
|
* Correctly flag group owned prims in the land prim listMelanie Thielker2009-04-161-1/+1
|
* Fix build break and change some groups interfacesMelanie Thielker2009-04-161-1/+1
|
* Commit the group deeding support, thank you, mcortezMelanie Thielker2009-04-151-0/+1
|
* * Resolve unit test failure introduced in r9148 (probably)Justin Clarke Casey2009-04-151-0/+13
| | | | | | * Have the test scene always return success for session id authentication for now
* * Make archiver tests pump the asset server manually instead of starting the ↵Justin Clarke Casey2009-04-141-2/+9
| | | | | | | | | normal runtime thread * This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset quque
* * Explicitly start the asset server thread so that unit tests can run single ↵Justin Clarke Casey2009-04-141-0/+1
| | | | rather than multi-threaded (which may be behind the occasional test freezes)
* * refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid ↵Justin Clarke Casey2009-04-141-3/+2
| | | | having Initialise() and Initialize() in the same class - very difficult to read.
* Thank you, Fly-Man, for a patch that adds the stub to handle theMelanie Thielker2009-04-141-0/+2
| | | | | | avatar interests update.
* Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Dragnlin2009-04-101-0/+3
| | | | | | | | | | | | | | Addresses Mantis #3381 The current implementation works as expected if the object has no rotation or only rotation around the Z axis; you can spin the object left or right (around the world Z axis). It works a little unexpectedly if the object has a non-Z-axis rotation; in this case the body is spun about its local Z axis, not the world Z-axis. (But SL also behaves oddly with a spin on an arbitrarily rotated object.)
* * Apply http://opensimulator.org/mantis/view.php?id=3227Justin Clarke Casey2009-04-071-0/+1
| | | | | | | * Implement "Add To Outfit" * Thanks FredoChaplin
* * Implements World.Parcels[] array for MRM scripting.Adam Frisby2009-04-061-1/+2
|
* Thanks jonc, for a patch that adds rendering of classic clouds.Homer Horwitz2009-04-041-0/+2
| | | | | First part of Mantis #964, the necessary clouds image will follow separately.
* Add PickInfoReply packet.Melanie Thielker2009-03-301-0/+4
| | | | | | Fixes Mantis #3324
* Change the client API to use GridInstantMessage for the "last mile" of IMMelanie Thielker2009-03-291-6/+1
| | | | | | | sending. With this change, all methods that handle IM now use GridInstantMessage rather than individual parameters.