From 9fa7264c7372d37ee926436ae269768a8409f3e8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 24 Oct 2008 19:10:25 +0000 Subject: * minor: refactor out AddUser test setup to common method --- .../Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs index 7d1d238..29f0c20 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs @@ -42,8 +42,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests [TestFixture] public class BasicCircuitTests { - [Test] - public void TestAddClient() + [SetUp] + public void Init() { try { @@ -52,8 +52,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests catch { // I don't care, just leave log4net off - } - + } + } + + [Test] + public void TestAddClient() + { TestLLUDPServer testLLUDPServer = new TestLLUDPServer(); ClientStackUserSettings userSettings = new ClientStackUserSettings(); -- cgit v1.1