* tagged some more database tests as such

0.6.5-rc1
lbsa71 2009-04-09 07:11:49 +00:00
parent a707fa7bea
commit ed33878a0f
6 changed files with 7 additions and 6 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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