From bdcf2d1348c6770a42a91ca5b3c7d74d2307b0c1 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 17 May 2012 01:27:59 +0100
Subject: Add regression TestSameSimulatorSeparatedRegionsQueryAccessFails()
---
OpenSim/Tests/Common/TestHelpers.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'OpenSim/Tests')
diff --git a/OpenSim/Tests/Common/TestHelpers.cs b/OpenSim/Tests/Common/TestHelpers.cs
index 6744fca..a241a3c 100644
--- a/OpenSim/Tests/Common/TestHelpers.cs
+++ b/OpenSim/Tests/Common/TestHelpers.cs
@@ -61,7 +61,7 @@ namespace OpenSim.Tests.Common
private static Stream DisableLoggingConfigStream
= new MemoryStream(
Encoding.UTF8.GetBytes(
- // "")));
+// ""));
//"")));
// ""));
// "")));
--
cgit v1.1
From f0c9cb8dc0eeccf2c686ff8ceacc7e1acceb543d Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 17 May 2012 01:34:04 +0100
Subject: Comment out TestSameSimulatorSeparatedRegionsQueryAccessFails()
regression test logging accidentally left in
---
OpenSim/Tests/Common/TestHelpers.cs | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'OpenSim/Tests')
diff --git a/OpenSim/Tests/Common/TestHelpers.cs b/OpenSim/Tests/Common/TestHelpers.cs
index a241a3c..d38d692 100644
--- a/OpenSim/Tests/Common/TestHelpers.cs
+++ b/OpenSim/Tests/Common/TestHelpers.cs
@@ -100,6 +100,12 @@ namespace OpenSim.Tests.Common
///
/// Disable logging whilst running the tests.
///
+ ///
+ /// Remember, if a regression test throws an exception before completing this will not be invoked if it's at
+ /// the end of the test.
+ /// TODO: Always invoke this after every test - probably need to make all test cases inherit from a common
+ /// TestCase class where this can be done.
+ ///
public static void DisableLogging()
{
log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream);
--
cgit v1.1