You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2017/03/07 19:03:01 UTC

svn commit: r1785870 - in /logging/log4net/trunk/tests/src/Appender: EventRaisingAppender.cs RecursiveLoggingTest.cs

Author: bodewig
Date: Tue Mar  7 19:03:00 2017
New Revision: 1785870

URL: http://svn.apache.org/viewvc?rev=1785870&view=rev
Log:
EventRaisingAppender requires .NET 3.5

Modified:
    logging/log4net/trunk/tests/src/Appender/EventRaisingAppender.cs
    logging/log4net/trunk/tests/src/Appender/RecursiveLoggingTest.cs

Modified: logging/log4net/trunk/tests/src/Appender/EventRaisingAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Appender/EventRaisingAppender.cs?rev=1785870&r1=1785869&r2=1785870&view=diff
==============================================================================
--- logging/log4net/trunk/tests/src/Appender/EventRaisingAppender.cs (original)
+++ logging/log4net/trunk/tests/src/Appender/EventRaisingAppender.cs Tue Mar  7 19:03:00 2017
@@ -1,4 +1,26 @@
-using System;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
+#if !NET_2_0 && !MONO_2_0
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -56,3 +78,4 @@ namespace log4net.Tests.Appender
         }
     }
 }
+#endif
\ No newline at end of file

Modified: logging/log4net/trunk/tests/src/Appender/RecursiveLoggingTest.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Appender/RecursiveLoggingTest.cs?rev=1785870&r1=1785869&r2=1785870&view=diff
==============================================================================
--- logging/log4net/trunk/tests/src/Appender/RecursiveLoggingTest.cs (original)
+++ logging/log4net/trunk/tests/src/Appender/RecursiveLoggingTest.cs Tue Mar  7 19:03:00 2017
@@ -19,6 +19,7 @@
  *
 */
 
+#if !NET_2_0 && !MONO_2_0
 using System;
 using System.Data;
 using System.Xml;
@@ -82,3 +83,4 @@ namespace log4net.Tests.Appender
 
     }
 }
+#endif
\ No newline at end of file