* minor: refactor out AddUser test setup to common method

0.6.0-stable
Justin Clarke Casey 2008-10-24 19:10:25 +00:00
parent a9b1119e49
commit 9fa7264c73
1 changed files with 8 additions and 4 deletions

View File

@ -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();