aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicRegionTest.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/Tests/BasicRegionTest.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/Tests/BasicRegionTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index dfb2200..179692a 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -36,11 +36,14 @@ using OpenMetaverse;
36using OpenSim.Framework; 36using OpenSim.Framework;
37using OpenSim.Region.Framework.Interfaces; 37using OpenSim.Region.Framework.Interfaces;
38using OpenSim.Region.Framework.Scenes; 38using OpenSim.Region.Framework.Scenes;
39using log4net;
40using System.Reflection;
39 41
40namespace OpenSim.Data.Tests 42namespace OpenSim.Data.Tests
41{ 43{
42 public class BasicRegionTest 44 public class BasicRegionTest
43 { 45 {
46 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
44 public IRegionDataStore db; 47 public IRegionDataStore db;
45 public UUID zero = UUID.Zero; 48 public UUID zero = UUID.Zero;
46 public UUID region1; 49 public UUID region1;
@@ -139,7 +142,7 @@ namespace OpenSim.Data.Tests
139 } 142 }
140 catch (Exception e) 143 catch (Exception e)
141 { 144 {
142 Console.WriteLine("Exception in storing object {0} {1}", sog.ToString(), e); 145 m_log.Error(e.ToString());
143 Assert.Fail(); 146 Assert.Fail();
144 } 147 }
145 148
@@ -149,7 +152,7 @@ namespace OpenSim.Data.Tests
149 } 152 }
150 catch (Exception e) 153 catch (Exception e)
151 { 154 {
152 Console.WriteLine("Exception in storing object {0} {1}", sog2.ToString(), e); 155 m_log.Error(e.ToString());
153 Assert.Fail(); 156 Assert.Fail();
154 } 157 }
155 158