mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* Added Expression based ignores to the PropertyScrambler, which makes a lot of the tests clearer because I'm not constantly resetting properties.
This commit is contained in:
committed by
Teravus Ovares (Dan Olivares)
parent
5dde4a4cfa
commit
dd78c250ae
@@ -40,7 +40,6 @@ namespace OpenSim.Data.Tests
|
||||
{
|
||||
public class BasicEstateTest
|
||||
{
|
||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
public IEstateDataStore db;
|
||||
public IRegionDataStore regionDb;
|
||||
|
||||
@@ -57,14 +56,7 @@ namespace OpenSim.Data.Tests
|
||||
|
||||
public void SuperInit()
|
||||
{
|
||||
try
|
||||
{
|
||||
XmlConfigurator.Configure();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// I don't care, just leave log4net off
|
||||
}
|
||||
OpenSim.Tests.Common.TestLogging.LogToConsole();
|
||||
}
|
||||
|
||||
#region 0Tests
|
||||
@@ -168,7 +160,7 @@ namespace OpenSim.Data.Tests
|
||||
|
||||
// Letting estate store generate rows to database for us
|
||||
EstateSettings originalSettings = db.LoadEstateSettings(REGION_ID);
|
||||
ScrambleForTesting.Scramble(originalSettings);
|
||||
new PropertyScrambler<EstateSettings>().Scramble(originalSettings);
|
||||
|
||||
// Saving settings.
|
||||
db.StoreEstateSettings(originalSettings);
|
||||
|
||||
Reference in New Issue
Block a user