aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-16minor: add forgotton copyright headerJustin Clark-Casey (justincc)1-0/+26
2009-11-12move fake user service to a separate mock user service classJustin Clark-Casey (justincc)1-0/+123
delete asset cache tests shell
2009-11-12refactor: extract another test asset helper methodJustin Clark-Casey (justincc)1-0/+13
2009-11-12refactor some test asset creation into a helper classJustin Clark-Casey (justincc)1-0/+51
remove mono compiler warning
2009-11-12Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)3-8/+8
remove duplicate mock inventory service
2009-11-12Stop iar save failing on corrupt assetsJustin Clark-Casey (justincc)1-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
2009-11-11Add basic new uuid gatherer tests to check behaviour when the gather seed is ↵Justin Clark-Casey (justincc)1-3/+8
a missing asset
2009-11-05add unit test for iar & escapingJustin Clark-Casey (justincc)2-2/+23
2009-11-05Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.Melanie1-0/+1
Applied with major changes. Core functionality commented pending review for possible rights escalation. No user functionality yet.
2009-11-04Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie1-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.
2009-10-19Formatting cleanup.Jeff Ames1-12/+12
2009-10-17Committing the second part of Jim Greensky @ Intel Lab's patch, ↵John Hurliman1-0/+4
re-prioritizing updates
2009-10-15Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman1-23/+5
implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
2009-10-13* Consolidated adding / removing ClientManager IClientAPIs to two places in ↵John Hurliman1-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
2009-10-13* Rewrote ClientManager to remove Lindenisms from OpenSim core, improve ↵John Hurliman1-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)
2009-10-02fixing TestLandChannel to let it return empty List<ILandObject>() (asdr scofield (aka dirk husemann)2-6/+42
does the real LandChannel), percolating to SceneSetupHelpers.
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)1-1/+1
- adding LandDataSerializer to OAR mechanics
2009-09-30Add RebakeAvatarTexturesPacket to the client viewMelanie1-0/+4
2009-09-30Remove some tests that no longer applyMelanie2-208/+0
2009-10-01Formatting cleanup.Jeff Ames9-25/+25
2009-09-28I think I have fixed something that was broken in the scene setup (tests) ↵Diva Canto1-7/+10
and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
2009-09-28Improved the Local grid connector to fetch data from the DB when it doesn't ↵Diva Canto1-0/+26
find it in the cache. Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
2009-09-26Poof! on LocalBackend. CommsManager.GridServices deleted.Diva Canto1-2/+0
2009-09-17Remove the methods for full inventory fetch from the connector. Remove testsMelanie2-133/+1
for the old, removed asset handlers
2009-09-08extend load iar test to loading into a deeply nested directoryJustin Clark-Casey (justincc)2-1/+98
correct bug associated with this
2009-09-06Convert iar write request to use inventory service requests rather than cacheJustin Clark-Casey (justincc)1-1/+11
2009-09-06Temporarily re-enable save iar test by manually insert the item into the old ↵Justin Clark-Casey (justincc)1-1/+7
cache during the test
2009-09-02warnings safari.dr scofield (aka dirk husemann)2-6/+6
2009-09-01adding new IniConfigSource() to SceneSetupHelpers to fix emptydr scofield (aka dirk husemann)1-1/+1
IConfigSource causing grief to region modules expecting it to be non-empty (which a number of them do).
2009-08-28Pull out distinct cache system folders and drop cache methods in InventoryCacheJustin Clark-Casey (justincc)1-1/+11
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.