aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/Tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni2014-07-171-1/+1
| | | | thanks Ai Austin for pointing this out.
* refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)2013-09-271-1/+2
| | | | the code that this is symmetric with CloseAgent()
* refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)2013-09-271-3/+3
| | | | | | it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
* Fix an issue where under teleport v2 protocol, teleporting from regions in ↵Justin Clark-Casey (justincc)2013-08-081-1/+1
| | | | | | | | | | an line from A->B->C would not close region A when reaching C The root cause was that v2 was only closing neighbour agents if the root connection also needed a close. However, fixing this requires the neighbour regions also detect when they should not close due to re-teleports re-establishing the child connection. This involves restructuring the code to introduce a scene presence state machine that can serialize the different add and remove client calls that are now possible with the late close of the This commit appears to fix these issues and improve teleport, but still has holes on at least quick reteleporting (and possibly occasionally on ordinary teleports). Also, has not been completely tested yet in scenarios where regions are running on different simulators
* For LLImageManagerTests, make tests execute under synchronous fire and ↵Justin Clark-Casey (justincc)2013-08-051-8/+12
| | | | | | forget conditions. I generally prefer this approach for regression tests because of the complexity of accounting for different threading conditions.
* Fix the failing TestSendImage. J2K decoding is async.Diva Canto2013-08-031-1/+9
|
* Fix mono warning in LLImageManagerTestsJustin Clark-Casey (justincc)2013-07-061-1/+1
|
* Fix test failure in BasicCircuitTests from previous commit 0d2fd0d9Justin Clark-Casey (justincc)2013-06-171-2/+2
|
* minor: Eliminate warning in LLimageManagerTests by properly calling through ↵Justin Clark-Casey (justincc)2013-04-291-0/+2
| | | | to OpenSimTestCase.SetUp()
* Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2012-11-242-2/+2
| | | | automatically turns off any logging enabled between tests
* minor: Make BasicCircuitTests.SetUp() call overriden base method instead of ↵Justin Clark-Casey (justincc)2012-10-161-1/+2
| | | | ignoring it.
* Add AgentUpdate to PacketPool. This is the most common inbound packet from ↵Justin Clark-Casey (justincc)2012-10-121-2/+2
| | | | viewers.
* Add IScene.Name for code clarity to replace the RegionInfo.RegionName used ↵Justin Clark-Casey (justincc)2012-06-291-2/+1
| | | | in many, many log messages.
* If logging a client out due to ack timeout, do this asynchronously rather ↵Justin Clark-Casey (justincc)2012-06-081-2/+2
| | | | | | | than synchronously on the outgoing packet loop. This is the same async behaviour as normal logouts. This is necessary because the event queue will sleep the thread for 5 seconds on an ack timeout logout as the client isn't around to pick up the final event queue messages.
* Add regression test for client logout due to ack timeout.Justin Clark-Casey (justincc)2012-06-082-87/+97
|
* Add regression test for teleporting between neighbouring regions on the same ↵Justin Clark-Casey (justincc)2012-05-011-1/+2
| | | | | | | simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread.
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-272-2/+2
| | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
* Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)2012-03-201-1/+1
| | | | | | | | analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
* Add image not in database test for LLImageManagerJustin Clark-Casey (justincc)2012-01-191-5/+28
|
* refactor: separate out common parts of LLImageManagerTestsJustin Clark-Casey (justincc)2012-01-191-48/+40
|
* Add LLImageManager regression test for discard caseJustin Clark-Casey (justincc)2012-01-191-0/+53
|
* Add basic request and send image regression tests for LLImageManagerJustin Clark-Casey (justincc)2012-01-192-0/+92
|
* Don't reply with an ack packet if the client is not authorized.Justin Clark-Casey (justincc)2011-12-081-3/+2
|
* Extend TestAddClient() to check that the first packet received is an ack packetJustin Clark-Casey (justincc)2011-12-082-92/+101
|
* Add OpenSim.Region.ClientStack.LindenUDP.Tests.dll back into the test suiteJustin Clark-Casey (justincc)2011-12-081-1/+1
|
* Reactivate BasicCircuitTests.TestAddClient()Justin Clark-Casey (justincc)2011-12-081-107/+118
| | | | This checks that the initial UseCircuitCode packet is handled correctly for a normal client login.
* On a new client circuit, send the initial reply ack to let the client know ↵Justin Clark-Casey (justincc)2011-12-081-1/+4
| | | | | | | | | it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
* Get rid of some traces of the old pre-ROBUST grid architecture configJustin Clark-Casey (justincc)2011-10-121-1/+1
|
* Bring LindenUDP.Tests back from the dead. No tests are running.Justin Clark-Casey (justincc)2011-10-125-343/+282
| | | | Code drift means that most of this stuff doesn't compile but the structure is still useful.
* First stab at cleaning up Caps. Compiles. Untested.Diva Canto2011-04-305-0/+702