aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
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-0/+13
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-17Add copyright headers. Formatting cleanup. Fix a compiler warning.Jeff Ames1-1/+28
2009-08-16* Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis1-0/+19
of the tests clearer because I'm not constantly resetting properties.
2009-08-16* ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)1-5/+6
randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-08-16Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet ↵Adam Johnson1-0/+1
Handler - ref mantis #4010
2009-08-14Re-enable TestSaveIarV0_1()Justin Clark-Casey (justincc)1-3/+11
Implement more parts of TestAssetService
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-13Formatting cleanup. Add copyright headers.Jeff Ames1-1/+28
2009-08-11Added new operations to mock inventory service in tests.Diva Canto1-0/+15
2009-08-11Establish CachedUserInfo.OnInventoryReceived event so that region/test ↵Justin Clark-Casey (justincc)1-6/+36
inventory code can be written with the async inventory fetch
2009-08-11Added some needed comments to SceneSetupHelper (actually just retriggering ↵Arthur Valadares1-2/+19
panda)
2009-08-11* Improves SceneSetupHelper to allow the tester to choose a real or mock, ↵Arthur Valadares3-31/+221
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-10First pass at cleaning up old OGS1 and Local Inventory: removed ↵Diva Canto1-5/+0
everything-inventory in CommsManager, which wasn't actively used anymore.
2009-08-10* Fix test failure by setting up MainConsole.Instance in ↵Justin Clark-Casey (justincc)1-0/+4
SceneSetupHelpers.SetupScene()
2009-08-10More clean up from asset cache legacy. None of these classes are used anymore.Diva Canto1-119/+0
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)1-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.
2009-08-05test item data storage impementation (unused as of yet)Justin Clark-Casey (justincc)1-14/+31
2009-08-05Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary waitJustin Clark-Casey (justincc)1-1/+1
2009-07-23* Updates RESTInterregionComms and LocalInterregionComms to the new region ↵Arthur Valadares1-0/+1
module interface. This fixes an issue where region references were being added but weren't being deleted, causing those "unnotified circuit" messages. * Also fixes tests accordingly - Fixes Mantis #3452 - Fixes Mantis #3388 - Fixes Mantis #3871 - Related to Mantis #3493
2009-07-19* Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares1-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)
2009-07-17fixed the bug where changing the rotation of a selection of prims in a ↵MW1-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.]
2009-07-10Explicitly set up the http server singleton fo the testsMelanie Thielker1-0/+2
2009-07-10Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker1-1/+1
Change all uses of the HttpServer properties to use the new singleton
2009-07-01Restore the functionality that was removed in r9928. This lets the loadMelanie Thielker1-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.
2009-06-19From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-1/+1
This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
2009-06-14Renamed Region/CoreModules/ServiceConnectors to ↵diva1-2/+2
Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-11* Reinstating UserProfileCacheServiceTests. One test still fails ↵Arthur Valadares1-1/+1
(TestUpdateFolder)
2009-06-10duh. wrong variable name in SceneSetup.diva1-4/+4
2009-06-10The previous commit was still wrong.diva1-1/+1
2009-06-10Attempt at fixing the inventory archiver tests.diva1-1/+15
2009-06-10Formatting cleanup.Jeff Ames2-2/+2
2009-06-05* Fix unit tests so that they correctly handle 404 missing asset responseJustin Clarke Casey1-4/+6
* I didn't think there were tests in this area - my bad
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames14-14/+14
LICENSE.txt.
2009-05-29* Add xml2 load testJustin Clarke Casey1-3/+5
2009-05-27* So, giving up on my efforts to de-duplicate the asset handlers. I'll just ↵lbsa711-4/+33
service commit my current state, then start over and this time concentrating only on the new handlers. * Fixed some erroneous refs in Tests.Common
2009-05-27Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"Sean Dague1-17/+0
This reverts commit 8f0096cc7b112fea8f69f391224911f624482747. To get us back to compiling on fresh checkouts.
2009-05-27* Added IntegrationTest Attribute and tagged the ODETestClasslbsa711-0/+17
2009-05-25converting CapabilitiesModule to new region module schemeDr Scofield1-3/+4
2009-05-25letting TestClient implement IClientCore as well to fix test caseDr Scofield1-1/+22
failure due to new NAT code
2009-05-22* Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey1-0/+2
hadn't been manually post intiailized
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames5-3/+138
2009-05-18Remove the old asset cache and local services and the configurations for themMelanie Thielker2-14/+0
2009-05-18* Re-enable save oar test by loading asset data plugins from test mock classJustin Clarke Casey1-2/+2
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-17Renaming [ServiceConnectors] back to [Modules].diva1-2/+2
2009-05-17Update svn properties.Jeff Ames5-290/+290
2009-05-16Send the owner name, not the client name on SendDialog.Homer Horwitz1-1/+1
This modifies IClientAPI.SendDialog slightly. Fixes Mantis #3661.