diff options
author | Melanie | 2012-06-28 03:21:08 +0100 |
---|---|---|
committer | Melanie | 2012-06-28 03:21:08 +0100 |
commit | 41a1903c60475fc2d98b1b11d336a3ecee0bc150 (patch) | |
tree | 0e78852eee96e9506b815cea0abbd35ac7da7f1a /OpenSim/Tests/Common/TestHelpers.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Avoid reporting false positives when a colon is in a comment in the first lin... (diff) | |
download | opensim-SC-41a1903c60475fc2d98b1b11d336a3ecee0bc150.zip opensim-SC-41a1903c60475fc2d98b1b11d336a3ecee0bc150.tar.gz opensim-SC-41a1903c60475fc2d98b1b11d336a3ecee0bc150.tar.bz2 opensim-SC-41a1903c60475fc2d98b1b11d336a3ecee0bc150.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/TestHelpers.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/TestHelpers.cs b/OpenSim/Tests/Common/TestHelpers.cs index d38d692..30121fe 100644 --- a/OpenSim/Tests/Common/TestHelpers.cs +++ b/OpenSim/Tests/Common/TestHelpers.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim.Tests.Common | |||
58 | </root> | 58 | </root> |
59 | </log4net>")); | 59 | </log4net>")); |
60 | 60 | ||
61 | private static Stream DisableLoggingConfigStream | 61 | private static MemoryStream DisableLoggingConfigStream |
62 | = new MemoryStream( | 62 | = new MemoryStream( |
63 | Encoding.UTF8.GetBytes( | 63 | Encoding.UTF8.GetBytes( |
64 | // "<?xml version=\"1.0\" encoding=\"utf-8\" ?><configuration><log4net><root><level value=\"OFF\"/><appender-ref ref=\"A1\"/></root></log4net></configuration>")); | 64 | // "<?xml version=\"1.0\" encoding=\"utf-8\" ?><configuration><log4net><root><level value=\"OFF\"/><appender-ref ref=\"A1\"/></root></log4net></configuration>")); |
@@ -109,6 +109,7 @@ namespace OpenSim.Tests.Common | |||
109 | public static void DisableLogging() | 109 | public static void DisableLogging() |
110 | { | 110 | { |
111 | log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream); | 111 | log4net.Config.XmlConfigurator.Configure(DisableLoggingConfigStream); |
112 | DisableLoggingConfigStream.Position = 0; | ||
112 | } | 113 | } |
113 | 114 | ||
114 | /// <summary> | 115 | /// <summary> |