aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs
index b9fe8b9..2c3d4de 100644
--- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs
+++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs
@@ -29,12 +29,15 @@ using System;
29using System.IO; 29using System.IO;
30using NUnit.Framework; 30using NUnit.Framework;
31using OpenSim.Data.Tests; 31using OpenSim.Data.Tests;
32using log4net;
33using System.Reflection;
32 34
33namespace OpenSim.Data.NHibernate.Tests 35namespace OpenSim.Data.NHibernate.Tests
34{ 36{
35 [TestFixture] 37 [TestFixture]
36 public class NHibernateSQLiteGridTest : BasicGridTest 38 public class NHibernateSQLiteGridTest : BasicGridTest
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 public string connect = "SQLiteDialect;SQLite20Driver;Data Source=" + Path.GetTempFileName() + ".db;Version=3"; 43 public string connect = "SQLiteDialect;SQLite20Driver;Data Source=" + Path.GetTempFileName() + ".db;Version=3";
@@ -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 }
@@ -73,4 +76,4 @@ namespace OpenSim.Data.NHibernate.Tests
73 } 76 }
74 } 77 }
75 } 78 }
76} \ No newline at end of file 79}