* 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] [TestFixture]
public class BasicCircuitTests public class BasicCircuitTests
{ {
[Test] [SetUp]
public void TestAddClient() public void Init()
{ {
try try
{ {
@ -52,8 +52,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
catch catch
{ {
// I don't care, just leave log4net off // I don't care, just leave log4net off
} }
}
[Test]
public void TestAddClient()
{
TestLLUDPServer testLLUDPServer = new TestLLUDPServer(); TestLLUDPServer testLLUDPServer = new TestLLUDPServer();
ClientStackUserSettings userSettings = new ClientStackUserSettings(); ClientStackUserSettings userSettings = new ClientStackUserSettings();