aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODETestClass.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODETestClass.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs b/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
index c913639..6ee23db 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
@@ -31,12 +31,16 @@ using NUnit.Framework;
31using OpenMetaverse; 31using OpenMetaverse;
32using OpenSim.Framework; 32using OpenSim.Framework;
33using OpenSim.Region.Physics.Manager; 33using OpenSim.Region.Physics.Manager;
34using log4net;
35using System.Reflection;
34 36
35namespace OpenSim.Region.Physics.OdePlugin 37namespace OpenSim.Region.Physics.OdePlugin
36{ 38{
37 [TestFixture] 39 [TestFixture]
38 public class ODETestClass 40 public class ODETestClass
39 { 41 {
42 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
43
40 private OdePlugin cbt; 44 private OdePlugin cbt;
41 private PhysicsScene ps; 45 private PhysicsScene ps;
42 private IMeshingPlugin imp; 46 private IMeshingPlugin imp;
@@ -92,18 +96,18 @@ namespace OpenSim.Region.Physics.OdePlugin
92 Assert.That(oprim.m_targetSpace != (IntPtr)0); 96 Assert.That(oprim.m_targetSpace != (IntPtr)0);
93 97
94 //Assert.That(oprim.m_targetSpace == pscene.space); 98 //Assert.That(oprim.m_targetSpace == pscene.space);
95 Console.WriteLine("TargetSpace: " + oprim.m_targetSpace + " - SceneMainSpace: " + pscene.space); 99 m_log.Info("TargetSpace: " + oprim.m_targetSpace + " - SceneMainSpace: " + pscene.space);
96 100
97 Assert.That(!oprim.m_taintadd); 101 Assert.That(!oprim.m_taintadd);
98 Console.WriteLine("Prim Position (" + oprim.m_localID + "): " + prim.Position.ToString()); 102 m_log.Info("Prim Position (" + oprim.m_localID + "): " + prim.Position.ToString());
99 103
100 // Make sure we're above the ground 104 // Make sure we're above the ground
101 //Assert.That(prim.Position.Z > 20f); 105 //Assert.That(prim.Position.Z > 20f);
102 //Console.WriteLine("PrimCollisionScore (" + oprim.m_localID + "): " + oprim.m_collisionscore); 106 //m_log.Info("PrimCollisionScore (" + oprim.m_localID + "): " + oprim.m_collisionscore);
103 107
104 // Make sure we've got a Body 108 // Make sure we've got a Body
105 Assert.That(oprim.Body != (IntPtr)0); 109 Assert.That(oprim.Body != (IntPtr)0);
106 //Console.WriteLine( 110 //m_log.Info(
107 } 111 }
108 112
109 // Make sure we're not somewhere above the ground 113 // Make sure we're not somewhere above the ground