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/SceneGraphTests.cs | |
parent | Add TBG Renfold to contributors (diff) | |
download | opensim-SC_OLD-b678ea18b238ef1ab816445f48bd1c838f9978fc.zip opensim-SC_OLD-b678ea18b238ef1ab816445f48bd1c838f9978fc.tar.gz opensim-SC_OLD-b678ea18b238ef1ab816445f48bd1c838f9978fc.tar.bz2 opensim-SC_OLD-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/SceneGraphTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneGraphTests.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneGraphTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneGraphTests.cs index 1c33a5f..d23c965 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneGraphTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneGraphTests.cs | |||
@@ -26,7 +26,9 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.IO; | ||
29 | using System.Reflection; | 30 | using System.Reflection; |
31 | using System.Text; | ||
30 | using NUnit.Framework; | 32 | using NUnit.Framework; |
31 | using OpenMetaverse; | 33 | using OpenMetaverse; |
32 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
@@ -44,6 +46,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
44 | public void TestDuplicateObject() | 46 | public void TestDuplicateObject() |
45 | { | 47 | { |
46 | TestHelpers.InMethod(); | 48 | TestHelpers.InMethod(); |
49 | // TestHelpers.EnableLogging(); | ||
50 | |||
47 | Scene scene = new SceneHelpers().SetupScene(); | 51 | Scene scene = new SceneHelpers().SetupScene(); |
48 | 52 | ||
49 | UUID ownerId = new UUID("00000000-0000-0000-0000-000000000010"); | 53 | UUID ownerId = new UUID("00000000-0000-0000-0000-000000000010"); |
@@ -82,6 +86,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
82 | Assert.That(dupePart1.PhysActor, Is.Not.Null); | 86 | Assert.That(dupePart1.PhysActor, Is.Not.Null); |
83 | Assert.That(dupePart2.PhysActor, Is.Not.Null); | 87 | Assert.That(dupePart2.PhysActor, Is.Not.Null); |
84 | */ | 88 | */ |
89 | |||
90 | // TestHelpers.DisableLogging(); | ||
85 | } | 91 | } |
86 | } | 92 | } |
87 | } \ No newline at end of file | 93 | } \ No newline at end of file |