diff options
Diffstat (limited to 'OpenSim/Tests/Common/TestHelpers.cs')
-rw-r--r-- | OpenSim/Tests/Common/TestHelpers.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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 | |||
100 | /// <summary> | 100 | /// <summary> |
101 | /// Disable logging whilst running the tests. | 101 | /// Disable logging whilst running the tests. |
102 | /// </summary> | 102 | /// </summary> |
103 | /// <remarks> | ||
104 | /// Remember, if a regression test throws an exception before completing this will not be invoked if it's at | ||
105 | /// the end of the test. | ||
106 | /// TODO: Always invoke this after every test - probably need to make all test cases inherit from a common | ||
107 | /// TestCase class where this can be done. | ||
108 | /// </remarks> | ||
103 | public static void DisableLogging() | 109 | public static void DisableLogging() |
104 | { | 110 | { |
105 | log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream); | 111 | log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream); |