minor: Fix more compiler warnings in CoreModules tests by properly overriding OpenSimTestCase.SetUp()

0.7.5-pf-bulletsim
Justin Clark-Casey (justincc) 2012-12-05 23:44:12 +00:00
parent ec765de7e5
commit e60fe958df
5 changed files with 16 additions and 5 deletions

View File

@ -53,8 +53,10 @@ namespace OpenSim.Region.CoreModules.Asset.Tests
protected FlotsamAssetCache m_cache;
[SetUp]
public void SetUp()
public override void SetUp()
{
base.SetUp();
IConfigSource config = new IniConfigSource();
config.AddConfig("Modules");

View File

@ -57,8 +57,10 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess.Tests
protected TestClient m_tc;
[SetUp]
public void SetUp()
public override void SetUp()
{
base.SetUp();
m_iam = new BasicInventoryAccessModule();
IConfigSource config = new IniConfigSource();

View File

@ -46,8 +46,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence.Tests
public class PresenceConnectorsTests : OpenSimTestCase
{
LocalPresenceServicesConnector m_LocalConnector;
private void SetUp()
public override void SetUp()
{
base.SetUp();
IConfigSource config = new IniConfigSource();
config.AddConfig("Modules");
config.AddConfig("PresenceService");

View File

@ -60,8 +60,10 @@ namespace OpenSim.Region.CoreModules.World.Land.Tests
protected ILandObject m_lo2;
[SetUp]
public void SetUp()
public override void SetUp()
{
base.SetUp();
m_pcm = new PrimCountModule();
LandManagementModule lmm = new LandManagementModule();
m_scene = new SceneHelpers().SetupScene();

View File

@ -50,8 +50,10 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap.Tests
protected MoapModule m_module;
[SetUp]
public void SetUp()
public override void SetUp()
{
base.SetUp();
m_module = new MoapModule();
m_scene = new SceneHelpers().SetupScene();
SceneHelpers.SetupSceneModules(m_scene, m_module);