aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs
diff options
context:
space:
mode:
authorCharles Krinke2009-02-22 20:52:55 +0000
committerCharles Krinke2009-02-22 20:52:55 +0000
commit8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 (patch)
tree96a24a49de82056060dd9b7bab0cb209d5f1a129 /OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs
parentAllow delivery of object messages gridwide (diff)
downloadopensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.zip
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.gz
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.bz2
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.xz
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
Diffstat (limited to 'OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs')
-rw-r--r--OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs
index 78ab00f..a742c8e 100644
--- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs
+++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs
@@ -29,12 +29,16 @@ 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{
37
35 [TestFixture] 38 [TestFixture]
36 public class NHibernateSQLiteUserTest : BasicUserTest 39 public class NHibernateSQLiteUserTest : BasicUserTest
37 { 40 {
41 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
38 public string file; 42 public string file;
39 public NHibernateManager database; 43 public NHibernateManager database;
40 44
@@ -56,7 +60,7 @@ namespace OpenSim.Data.NHibernate.Tests
56 } 60 }
57 catch (Exception e) 61 catch (Exception e)
58 { 62 {
59 Console.WriteLine("Exception {0}", e); 63 m_log.Error(e.ToString());
60 Assert.Ignore(); 64 Assert.Ignore();
61 } 65 }
62 } 66 }
@@ -74,4 +78,4 @@ namespace OpenSim.Data.NHibernate.Tests
74 } 78 }
75 } 79 }
76 } 80 }
77} \ No newline at end of file 81}