Increase logging by enabling during test setup rather than during individual tests of for JsonStore
parent
7b8dc102d2
commit
cb26e8a6c6
|
@ -59,6 +59,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
|
||||||
{
|
{
|
||||||
base.SetUp();
|
base.SetUp();
|
||||||
|
|
||||||
|
TestHelpers.EnableLogging();
|
||||||
|
|
||||||
IConfigSource configSource = new IniConfigSource();
|
IConfigSource configSource = new IniConfigSource();
|
||||||
IConfig jsonStoreConfig = configSource.AddConfig("JsonStore");
|
IConfig jsonStoreConfig = configSource.AddConfig("JsonStore");
|
||||||
jsonStoreConfig.Set("Enabled", "true");
|
jsonStoreConfig.Set("Enabled", "true");
|
||||||
|
@ -76,7 +78,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
|
||||||
public void TestJsonCreateStore()
|
public void TestJsonCreateStore()
|
||||||
{
|
{
|
||||||
TestHelpers.InMethod();
|
TestHelpers.InMethod();
|
||||||
TestHelpers.EnableLogging();
|
// TestHelpers.EnableLogging();
|
||||||
|
|
||||||
UUID storeId = (UUID)m_smcm.InvokeOperation(UUID.Zero, UUID.Zero, "JsonCreateStore", new object[] { "{}" });
|
UUID storeId = (UUID)m_smcm.InvokeOperation(UUID.Zero, UUID.Zero, "JsonCreateStore", new object[] { "{}" });
|
||||||
|
|
||||||
|
@ -87,7 +89,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
|
||||||
public void TestJsonGetValue()
|
public void TestJsonGetValue()
|
||||||
{
|
{
|
||||||
TestHelpers.InMethod();
|
TestHelpers.InMethod();
|
||||||
TestHelpers.EnableLogging();
|
// TestHelpers.EnableLogging();
|
||||||
|
|
||||||
UUID storeId
|
UUID storeId
|
||||||
= (UUID)m_smcm.InvokeOperation(
|
= (UUID)m_smcm.InvokeOperation(
|
||||||
|
@ -104,7 +106,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
|
||||||
public void TestJsonTestPath()
|
public void TestJsonTestPath()
|
||||||
{
|
{
|
||||||
TestHelpers.InMethod();
|
TestHelpers.InMethod();
|
||||||
TestHelpers.EnableLogging();
|
// TestHelpers.EnableLogging();
|
||||||
|
|
||||||
UUID storeId
|
UUID storeId
|
||||||
= (UUID)m_smcm.InvokeOperation(
|
= (UUID)m_smcm.InvokeOperation(
|
||||||
|
@ -121,7 +123,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
|
||||||
public void TestJsonSetValue()
|
public void TestJsonSetValue()
|
||||||
{
|
{
|
||||||
TestHelpers.InMethod();
|
TestHelpers.InMethod();
|
||||||
TestHelpers.EnableLogging();
|
// TestHelpers.EnableLogging();
|
||||||
|
|
||||||
UUID storeId
|
UUID storeId
|
||||||
= (UUID)m_smcm.InvokeOperation(
|
= (UUID)m_smcm.InvokeOperation(
|
||||||
|
|
Loading…
Reference in New Issue