From ed33878a0fb549acc52f0d31bb9de02e82cb2b0d Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 9 Apr 2009 07:11:49 +0000 Subject: * tagged some more database tests as such --- OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs | 2 +- OpenSim/Data/MySQL/Tests/MySQLGridTest.cs | 2 +- OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs | 2 +- OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs | 2 +- OpenSim/Data/MySQL/Tests/MySQLUserTest.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs index 79fcc2d..a2f0a4c 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs @@ -33,7 +33,7 @@ using System.Reflection; namespace OpenSim.Data.MySQL.Tests { - [TestFixture] + [TestFixture, DatabaseTest] public class MySQLEstateTest : BasicEstateTest { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs b/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs index fd71022..a1b973a 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLGridTest.cs @@ -33,7 +33,7 @@ using System.Reflection; namespace OpenSim.Data.MySQL.Tests { - [TestFixture] + [TestFixture, DatabaseTest] public class MySQLGridTest : BasicGridTest { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs b/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs index c7799e5..298b4fc 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs @@ -33,7 +33,7 @@ using System.Reflection; namespace OpenSim.Data.MySQL.Tests { - [TestFixture] + [TestFixture, DatabaseTest] public class MySQLInventoryTest : BasicInventoryTest { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs index 77964d3..ff64e59 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs @@ -33,7 +33,7 @@ using System.Reflection; namespace OpenSim.Data.MySQL.Tests { - [TestFixture] + [TestFixture, DatabaseTest] public class MySQLRegionTest : BasicRegionTest { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs b/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs index 449ce4a..920fcf1 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLUserTest.cs @@ -33,7 +33,7 @@ using System.Reflection; namespace OpenSim.Data.MySQL.Tests { - [TestFixture] + [TestFixture, DatabaseTest] public class MySQLUserTest : BasicUserTest { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 93a6300..f51e639 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs @@ -28,6 +28,7 @@ using System; using System.Collections; using System.Text.RegularExpressions; +using OpenSim.Framework; namespace OpenSim.Region.ScriptEngine.Shared { @@ -1787,7 +1788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared else if (v.EndsWith(".")) v = v + "0"; - this.value = double.Parse(v, System.Globalization.NumberStyles.Float); + this.value = double.Parse(v, System.Globalization.NumberStyles.Float, Culture.FormatProvider); } #endregion -- cgit v1.1