logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1166995 - /logging/log4net/trunk/tests/src/Layout/PatternLayoutTest.cs
Date Fri, 09 Sep 2011 04:29:03 GMT
Author: bodewig
Date: Fri Sep  9 04:29:03 2011
New Revision: 1166995

URL: http://svn.apache.org/viewvc?rev=1166995&view=rev
Log:
one test failure less on Mono (eight remaining)

Modified:
    logging/log4net/trunk/tests/src/Layout/PatternLayoutTest.cs

Modified: logging/log4net/trunk/tests/src/Layout/PatternLayoutTest.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Layout/PatternLayoutTest.cs?rev=1166995&r1=1166994&r2=1166995&view=diff
==============================================================================
--- logging/log4net/trunk/tests/src/Layout/PatternLayoutTest.cs (original)
+++ logging/log4net/trunk/tests/src/Layout/PatternLayoutTest.cs Fri Sep  9 04:29:03 2011
@@ -87,7 +87,11 @@ namespace log4net.Tests.Layout
             ILog log1 = LogManager.GetLogger(rep.Name, "TestStackTracePattern");
 
             log1.Info("TestMessage");
+#if !MONO
             Assert.AreEqual("RuntimeMethodHandle._InvokeMethodFast > PatternLayoutTest.TestStackTracePattern",
stringAppender.GetString(), "stack trace value set");
+#else
+            Assert.AreEqual("MonoMethod.InternalInvoke > PatternLayoutTest.TestStackTracePattern",
stringAppender.GetString(), "stack trace value set");
+#endif
             stringAppender.Reset();
         }
 



Mime
View raw message