minor: Fix more compiler warnings in CoreModules tests by properly overriding OpenSimTestCase.SetUp()
parent
ec765de7e5
commit
e60fe958df
|
@ -53,8 +53,10 @@ namespace OpenSim.Region.CoreModules.Asset.Tests
|
||||||
protected FlotsamAssetCache m_cache;
|
protected FlotsamAssetCache m_cache;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp()
|
public override void SetUp()
|
||||||
{
|
{
|
||||||
|
base.SetUp();
|
||||||
|
|
||||||
IConfigSource config = new IniConfigSource();
|
IConfigSource config = new IniConfigSource();
|
||||||
|
|
||||||
config.AddConfig("Modules");
|
config.AddConfig("Modules");
|
||||||
|
|
|
@ -57,8 +57,10 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess.Tests
|
||||||
protected TestClient m_tc;
|
protected TestClient m_tc;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp()
|
public override void SetUp()
|
||||||
{
|
{
|
||||||
|
base.SetUp();
|
||||||
|
|
||||||
m_iam = new BasicInventoryAccessModule();
|
m_iam = new BasicInventoryAccessModule();
|
||||||
|
|
||||||
IConfigSource config = new IniConfigSource();
|
IConfigSource config = new IniConfigSource();
|
||||||
|
|
|
@ -46,8 +46,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence.Tests
|
||||||
public class PresenceConnectorsTests : OpenSimTestCase
|
public class PresenceConnectorsTests : OpenSimTestCase
|
||||||
{
|
{
|
||||||
LocalPresenceServicesConnector m_LocalConnector;
|
LocalPresenceServicesConnector m_LocalConnector;
|
||||||
private void SetUp()
|
|
||||||
|
public override void SetUp()
|
||||||
{
|
{
|
||||||
|
base.SetUp();
|
||||||
|
|
||||||
IConfigSource config = new IniConfigSource();
|
IConfigSource config = new IniConfigSource();
|
||||||
config.AddConfig("Modules");
|
config.AddConfig("Modules");
|
||||||
config.AddConfig("PresenceService");
|
config.AddConfig("PresenceService");
|
||||||
|
|
|
@ -60,8 +60,10 @@ namespace OpenSim.Region.CoreModules.World.Land.Tests
|
||||||
protected ILandObject m_lo2;
|
protected ILandObject m_lo2;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp()
|
public override void SetUp()
|
||||||
{
|
{
|
||||||
|
base.SetUp();
|
||||||
|
|
||||||
m_pcm = new PrimCountModule();
|
m_pcm = new PrimCountModule();
|
||||||
LandManagementModule lmm = new LandManagementModule();
|
LandManagementModule lmm = new LandManagementModule();
|
||||||
m_scene = new SceneHelpers().SetupScene();
|
m_scene = new SceneHelpers().SetupScene();
|
||||||
|
|
|
@ -50,8 +50,10 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap.Tests
|
||||||
protected MoapModule m_module;
|
protected MoapModule m_module;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public void SetUp()
|
public override void SetUp()
|
||||||
{
|
{
|
||||||
|
base.SetUp();
|
||||||
|
|
||||||
m_module = new MoapModule();
|
m_module = new MoapModule();
|
||||||
m_scene = new SceneHelpers().SetupScene();
|
m_scene = new SceneHelpers().SetupScene();
|
||||||
SceneHelpers.SetupSceneModules(m_scene, m_module);
|
SceneHelpers.SetupSceneModules(m_scene, m_module);
|
||||||
|
|
Loading…
Reference in New Issue