Update svn properties. Minor formatting cleanup.
parent
4e93228e25
commit
259ddcfe1a
|
@ -54,7 +54,6 @@ namespace OpenSim.TestSuite
|
||||||
|
|
||||||
protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here
|
protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here
|
||||||
|
|
||||||
|
|
||||||
//New instance of a SecondLife client
|
//New instance of a SecondLife client
|
||||||
public SecondLife client = new SecondLife();
|
public SecondLife client = new SecondLife();
|
||||||
|
|
||||||
|
@ -104,7 +103,6 @@ namespace OpenSim.TestSuite
|
||||||
client.Self.Chat(randomf, 0, ChatType.Normal);
|
client.Self.Chat(randomf, 0, ChatType.Normal);
|
||||||
|
|
||||||
//Thread.Sleep(somthing.Next(1, 10)); // Apparently its better without it right now.
|
//Thread.Sleep(somthing.Next(1, 10)); // Apparently its better without it right now.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -116,9 +114,6 @@ namespace OpenSim.TestSuite
|
||||||
lastname = startupConfig.GetString("lastname", "random");
|
lastname = startupConfig.GetString("lastname", "random");
|
||||||
password = startupConfig.GetString("password", "12345");
|
password = startupConfig.GetString("password", "12345");
|
||||||
loginURI = startupConfig.GetString("loginuri");
|
loginURI = startupConfig.GetString("loginuri");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -148,7 +143,6 @@ namespace OpenSim.TestSuite
|
||||||
m_action.Start();
|
m_action.Start();
|
||||||
OnConnected(this, EventType.CONNECTED);
|
OnConnected(this, EventType.CONNECTED);
|
||||||
client.Self.Jump();
|
client.Self.Jump();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -31,7 +31,8 @@ namespace OpenSim.TestSuite
|
||||||
{
|
{
|
||||||
public class Utils
|
public class Utils
|
||||||
{
|
{
|
||||||
enum Result {
|
enum Result
|
||||||
|
{
|
||||||
Fail = 0,
|
Fail = 0,
|
||||||
Pass = 1,
|
Pass = 1,
|
||||||
Skip = 3
|
Skip = 3
|
||||||
|
|
|
@ -103,7 +103,6 @@ namespace pCampBot
|
||||||
client.Self.Chat(randomf, 0, ChatType.Normal);
|
client.Self.Chat(randomf, 0, ChatType.Normal);
|
||||||
|
|
||||||
//Thread.Sleep(somthing.Next(1, 10)); // Apparently its better without it right now.
|
//Thread.Sleep(somthing.Next(1, 10)); // Apparently its better without it right now.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -115,9 +114,6 @@ namespace pCampBot
|
||||||
lastname = startupConfig.GetString("lastname", "random");
|
lastname = startupConfig.GetString("lastname", "random");
|
||||||
password = startupConfig.GetString("password", "12345");
|
password = startupConfig.GetString("password", "12345");
|
||||||
loginURI = startupConfig.GetString("loginuri");
|
loginURI = startupConfig.GetString("loginuri");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -139,7 +135,6 @@ namespace pCampBot
|
||||||
client.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(this.Network_OnDisconnected);
|
client.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(this.Network_OnDisconnected);
|
||||||
if (client.Network.Login(firstname, lastname, password, "pCampBot", "Your name"))
|
if (client.Network.Login(firstname, lastname, password, "pCampBot", "Your name"))
|
||||||
{
|
{
|
||||||
|
|
||||||
if (OnConnected != null)
|
if (OnConnected != null)
|
||||||
{
|
{
|
||||||
m_action = new Timer(somthing.Next(1000, 10000));
|
m_action = new Timer(somthing.Next(1000, 10000));
|
||||||
|
@ -147,7 +142,6 @@ namespace pCampBot
|
||||||
m_action.Start();
|
m_action.Start();
|
||||||
OnConnected(this, EventType.CONNECTED);
|
OnConnected(this, EventType.CONNECTED);
|
||||||
client.Self.Jump();
|
client.Self.Jump();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue