* tagged some more database tests as such
parent
a707fa7bea
commit
ed33878a0f
|
@ -33,7 +33,7 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace OpenSim.Data.MySQL.Tests
|
namespace OpenSim.Data.MySQL.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, DatabaseTest]
|
||||||
public class MySQLEstateTest : BasicEstateTest
|
public class MySQLEstateTest : BasicEstateTest
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
|
@ -33,7 +33,7 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace OpenSim.Data.MySQL.Tests
|
namespace OpenSim.Data.MySQL.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, DatabaseTest]
|
||||||
public class MySQLGridTest : BasicGridTest
|
public class MySQLGridTest : BasicGridTest
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
|
@ -33,7 +33,7 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace OpenSim.Data.MySQL.Tests
|
namespace OpenSim.Data.MySQL.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, DatabaseTest]
|
||||||
public class MySQLInventoryTest : BasicInventoryTest
|
public class MySQLInventoryTest : BasicInventoryTest
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
|
@ -33,7 +33,7 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace OpenSim.Data.MySQL.Tests
|
namespace OpenSim.Data.MySQL.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, DatabaseTest]
|
||||||
public class MySQLRegionTest : BasicRegionTest
|
public class MySQLRegionTest : BasicRegionTest
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
|
@ -33,7 +33,7 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace OpenSim.Data.MySQL.Tests
|
namespace OpenSim.Data.MySQL.Tests
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, DatabaseTest]
|
||||||
public class MySQLUserTest : BasicUserTest
|
public class MySQLUserTest : BasicUserTest
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using OpenSim.Framework;
|
||||||
|
|
||||||
namespace OpenSim.Region.ScriptEngine.Shared
|
namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
{
|
{
|
||||||
|
@ -1787,7 +1788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
else
|
else
|
||||||
if (v.EndsWith("."))
|
if (v.EndsWith("."))
|
||||||
v = v + "0";
|
v = v + "0";
|
||||||
this.value = double.Parse(v, System.Globalization.NumberStyles.Float);
|
this.value = double.Parse(v, System.Globalization.NumberStyles.Float, Culture.FormatProvider);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in New Issue