diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs index 4d0e64d..beff3b9 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs | |||
@@ -28,12 +28,15 @@ | |||
28 | using System; | 28 | using System; |
29 | using NUnit.Framework; | 29 | using NUnit.Framework; |
30 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
31 | using log4net; | ||
32 | using System.Reflection; | ||
31 | 33 | ||
32 | namespace OpenSim.Data.NHibernate.Tests | 34 | namespace OpenSim.Data.NHibernate.Tests |
33 | { | 35 | { |
34 | [TestFixture] | 36 | [TestFixture] |
35 | public class NHibernateMsSqlRegionTest : BasicRegionTest | 37 | public class NHibernateMsSqlRegionTest : BasicRegionTest |
36 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
37 | public string file; | 40 | public string file; |
38 | public NHibernateManager database; | 41 | public NHibernateManager database; |
39 | public string connect = "MySQL5Dialect;MySqlDataDriver;Server=localhost;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit"; | 42 | public string connect = "MySQL5Dialect;MySqlDataDriver;Server=localhost;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit"; |
@@ -55,7 +58,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
55 | } | 58 | } |
56 | catch (Exception e) | 59 | catch (Exception e) |
57 | { | 60 | { |
58 | Console.WriteLine("Exception {0}", e); | 61 | m_log.Error(e.ToString()); |
59 | Assert.Ignore(); | 62 | Assert.Ignore(); |
60 | } | 63 | } |
61 | } | 64 | } |
@@ -74,4 +77,4 @@ namespace OpenSim.Data.NHibernate.Tests | |||
74 | } | 77 | } |
75 | 78 | ||
76 | } | 79 | } |
77 | } \ No newline at end of file | 80 | } |