diff options
author | Justin Clark-Casey (justincc) | 2014-05-22 19:47:33 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-05-22 19:47:33 +0100 |
commit | 65a135f4d33fc0be3738f11c51a6c27c344a10aa (patch) | |
tree | 83f602ddd569ee724196dca7515801ffc3664f3b /OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |
parent | Add regression test for in-range chat between neighbouring regions from east ... (diff) | |
download | opensim-SC_OLD-65a135f4d33fc0be3738f11c51a6c27c344a10aa.zip opensim-SC_OLD-65a135f4d33fc0be3738f11c51a6c27c344a10aa.tar.gz opensim-SC_OLD-65a135f4d33fc0be3738f11c51a6c27c344a10aa.tar.bz2 opensim-SC_OLD-65a135f4d33fc0be3738f11c51a6c27c344a10aa.tar.xz |
Simplify regression TestInterRegionChatDistanceEastWest() by making the child presence connection directly rather than routing through TestClient.
This code isn't relevant to this test and is already exercised by other tests.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index 874ff62..342cd06 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -574,7 +574,11 @@ namespace OpenSim.Tests.Common | |||
574 | 574 | ||
575 | public static ScenePresence AddChildScenePresence(Scene scene, UUID agentId) | 575 | public static ScenePresence AddChildScenePresence(Scene scene, UUID agentId) |
576 | { | 576 | { |
577 | AgentCircuitData acd = GenerateAgentData(agentId); | 577 | return AddChildScenePresence(scene, GenerateAgentData(agentId)); |
578 | } | ||
579 | |||
580 | public static ScenePresence AddChildScenePresence(Scene scene, AgentCircuitData acd) | ||
581 | { | ||
578 | acd.child = true; | 582 | acd.child = true; |
579 | 583 | ||
580 | // XXX: ViaLogin may not be correct for child agents | 584 | // XXX: ViaLogin may not be correct for child agents |