aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Tests/MySQLRegionTest.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/MySQL/Tests/MySQLRegionTest.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/MySQL/Tests/MySQLRegionTest.cs')
-rw-r--r--OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs
index 5cce53b..77964d3 100644
--- a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs
+++ b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs
@@ -28,12 +28,15 @@
28using System; 28using System;
29using NUnit.Framework; 29using NUnit.Framework;
30using OpenSim.Data.Tests; 30using OpenSim.Data.Tests;
31using log4net;
32using System.Reflection;
31 33
32namespace OpenSim.Data.MySQL.Tests 34namespace OpenSim.Data.MySQL.Tests
33{ 35{
34 [TestFixture] 36 [TestFixture]
35 public class MySQLRegionTest : BasicRegionTest 37 public class MySQLRegionTest : 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 MySQLManager database; 41 public MySQLManager database;
39 public string connect = "Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;Pooling=false;"; 42 public string connect = "Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;Pooling=false;";
@@ -54,7 +57,7 @@ namespace OpenSim.Data.MySQL.Tests
54 } 57 }
55 catch (Exception e) 58 catch (Exception e)
56 { 59 {
57 Console.WriteLine("Exception {0}", e); 60 m_log.Error("Exception {0}", e);
58 Assert.Ignore(); 61 Assert.Ignore();
59 } 62 }
60 } 63 }
@@ -87,4 +90,4 @@ namespace OpenSim.Data.MySQL.Tests
87 } 90 }
88 } 91 }
89 } 92 }
90} \ No newline at end of file 93}