diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs index b51bff2..23fac9a 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs | |||
@@ -29,12 +29,15 @@ using System; | |||
29 | using System.IO; | 29 | using System.IO; |
30 | using NUnit.Framework; | 30 | using NUnit.Framework; |
31 | using OpenSim.Data.Tests; | 31 | using OpenSim.Data.Tests; |
32 | using log4net; | ||
33 | using System.Reflection; | ||
32 | 34 | ||
33 | namespace OpenSim.Data.NHibernate.Tests | 35 | namespace OpenSim.Data.NHibernate.Tests |
34 | { | 36 | { |
35 | [TestFixture] | 37 | [TestFixture] |
36 | public class NHibernateSQLiteEstateTest : BasicEstateTest | 38 | public class NHibernateSQLiteEstateTest : BasicEstateTest |
37 | { | 39 | { |
40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
38 | public string file; | 41 | public string file; |
39 | public NHibernateManager database; | 42 | public NHibernateManager database; |
40 | 43 | ||
@@ -56,7 +59,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
56 | } | 59 | } |
57 | catch (Exception e) | 60 | catch (Exception e) |
58 | { | 61 | { |
59 | Console.WriteLine("Exception {0}", e); | 62 | m_log.Error(e.ToString()); |
60 | Assert.Ignore(); | 63 | Assert.Ignore(); |
61 | } | 64 | } |
62 | } | 65 | } |