diff options
author | Justin Clark-Casey (justincc) | 2012-04-30 18:44:22 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-30 18:44:22 +0100 |
commit | b678ea18b238ef1ab816445f48bd1c838f9978fc (patch) | |
tree | 6b9b15ec325b4845c28128797563240893a56576 /OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs | |
parent | Add TBG Renfold to contributors (diff) | |
download | opensim-SC-b678ea18b238ef1ab816445f48bd1c838f9978fc.zip opensim-SC-b678ea18b238ef1ab816445f48bd1c838f9978fc.tar.gz opensim-SC-b678ea18b238ef1ab816445f48bd1c838f9978fc.tar.bz2 opensim-SC-b678ea18b238ef1ab816445f48bd1c838f9978fc.tar.xz |
Create TestHelpers.EnableLogging() and DisableLogging() to turn logging on and off within tests.
This makes *.Tests.dll.config files no longer needed, hence deleted.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs b/OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs index ab6311b..4a21dc9 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/BorderTests.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.IO; | ||
30 | using System.Text; | 31 | using System.Text; |
31 | using NUnit.Framework; | 32 | using NUnit.Framework; |
32 | using OpenMetaverse; | 33 | using OpenMetaverse; |
@@ -68,11 +69,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
68 | Vector3 position = new Vector3(200,200,21); | 69 | Vector3 position = new Vector3(200,200,21); |
69 | 70 | ||
70 | foreach (Border b in testborders) | 71 | foreach (Border b in testborders) |
71 | { | ||
72 | Assert.That(!b.TestCross(position)); | 72 | Assert.That(!b.TestCross(position)); |
73 | 73 | ||
74 | } | ||
75 | |||
76 | position = new Vector3(200,280,21); | 74 | position = new Vector3(200,280,21); |
77 | Assert.That(NorthBorder.TestCross(position)); | 75 | Assert.That(NorthBorder.TestCross(position)); |
78 | 76 | ||