diff options
author | Justin Clark-Casey (justincc) | 2011-10-12 21:31:22 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-12 21:31:22 +0100 |
commit | f5f7ca47ea7a27fb7f82367cc7a4e04e11cb5155 (patch) | |
tree | a95a6a23409f921793638c51fd31b53cdecd671f /OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | |
parent | When shutting down XEngine, log how many scripts are being shutdown so the us... (diff) | |
download | opensim-SC_OLD-f5f7ca47ea7a27fb7f82367cc7a4e04e11cb5155.zip opensim-SC_OLD-f5f7ca47ea7a27fb7f82367cc7a4e04e11cb5155.tar.gz opensim-SC_OLD-f5f7ca47ea7a27fb7f82367cc7a4e04e11cb5155.tar.bz2 opensim-SC_OLD-f5f7ca47ea7a27fb7f82367cc7a4e04e11cb5155.tar.xz |
Bring LindenUDP.Tests back from the dead. No tests are running.
Code drift means that most of this stuff doesn't compile but the structure is still useful.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs index 34c21aa..737c654 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Net; | ||
28 | using OpenMetaverse; | 29 | using OpenMetaverse; |
29 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
30 | using OpenSim.Region.Framework.Scenes; | 31 | using OpenSim.Region.Framework.Scenes; |
@@ -52,14 +53,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
52 | public override void Update() {} | 53 | public override void Update() {} |
53 | public override void LoadWorldMap() {} | 54 | public override void LoadWorldMap() {} |
54 | 55 | ||
55 | public override void AddNewClient(IClientAPI client) | 56 | public override void AddNewClient(IClientAPI client, PresenceType type) |
56 | { | 57 | { |
57 | client.OnObjectName += RecordObjectNameCall; | 58 | client.OnObjectName += RecordObjectNameCall; |
58 | } | 59 | } |
59 | 60 | ||
60 | public override void RemoveClient(UUID agentID) {} | 61 | public override void RemoveClient(UUID agentID, bool someReason) {} |
61 | public override void CloseAllAgents(uint circuitcode) {} | 62 | // public override void CloseAllAgents(uint circuitcode) {} |
63 | public override bool CheckClient(UUID clientId, IPEndPoint endPoint) { return true; } | ||
62 | public override void OtherRegionUp(GridRegion otherRegion) { } | 64 | public override void OtherRegionUp(GridRegion otherRegion) { } |
65 | |||
66 | public override bool TryGetScenePresence(UUID uuid, out ScenePresence sp) { sp = null; return false; } | ||
63 | 67 | ||
64 | /// <summary> | 68 | /// <summary> |
65 | /// Doesn't really matter what the call is - we're using this to test that a packet has actually been received | 69 | /// Doesn't really matter what the call is - we're using this to test that a packet has actually been received |