You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2018/09/25 21:06:27 UTC

[1/4] logging-log4net git commit: Add test stubs for the newly introduced rolling lock strategy

Repository: logging-log4net
Updated Branches:
  refs/heads/feature/rfa-configurable-rolling-mutex 7f8f142f7 -> 0fcbb9cd2


Add test stubs for the newly introduced rolling lock strategy

Relates to LOG4NET-487


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/07b65196
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/07b65196
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/07b65196

Branch: refs/heads/feature/rfa-configurable-rolling-mutex
Commit: 07b651962415694c90bda4948cacd94fab439da8
Parents: 7f8f142
Author: Dominik Psenner <dp...@gmail.com>
Authored: Tue Sep 25 23:03:16 2018 +0200
Committer: Dominik Psenner <dp...@gmail.com>
Committed: Tue Sep 25 23:03:16 2018 +0200

----------------------------------------------------------------------
 tests/src/Appender/RollingFileAppenderTest.cs | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/07b65196/tests/src/Appender/RollingFileAppenderTest.cs
----------------------------------------------------------------------
diff --git a/tests/src/Appender/RollingFileAppenderTest.cs b/tests/src/Appender/RollingFileAppenderTest.cs
index c9d92e9..1db7b74 100644
--- a/tests/src/Appender/RollingFileAppenderTest.cs
+++ b/tests/src/Appender/RollingFileAppenderTest.cs
@@ -1747,6 +1747,18 @@ namespace log4net.Tests.Appender
 			DestroyLogger();
 		}
 
+		[Test, Ignore("Not Implemented: this test should assert that the rolling file appender works when configured with rolling lock strategy none")]
+		public void TestRollingLockStrategyNone()
+		{
+			// TODO
+		}
+
+		[Test, Ignore("Not Implemented: this test should assert that the rolling file appender works when configured with rolling lock strategy local mutex")]
+		public void TestRollingLockStrategyLocalMutex()
+		{
+			// TODO
+		}
+
 		/// <summary>
 		/// Tests the count up case, with infinite max backups , to see that
 		/// initialization of the rolling file appender results in the expected value


[4/4] logging-log4net git commit: Add changes to the solution file that visual studio 15 write on safe

Posted by dp...@apache.org.
Add changes to the solution file that visual studio 15 write on safe

Relates to LOG4NET-487


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/0fcbb9cd
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/0fcbb9cd
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/0fcbb9cd

Branch: refs/heads/feature/rfa-configurable-rolling-mutex
Commit: 0fcbb9cd2c065eb66bd4187f5053390aa6b3bb6a
Parents: 5241a9f
Author: Dominik Psenner <dp...@gmail.com>
Authored: Tue Sep 25 23:06:02 2018 +0200
Committer: Dominik Psenner <dp...@gmail.com>
Committed: Tue Sep 25 23:06:02 2018 +0200

----------------------------------------------------------------------
 src/log4net.sln | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/0fcbb9cd/src/log4net.sln
----------------------------------------------------------------------
diff --git a/src/log4net.sln b/src/log4net.sln
index 3d422e3..02b5a8a 100644
--- a/src/log4net.sln
+++ b/src/log4net.sln
@@ -20,6 +20,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 # under the License.
 #
 #
+# Visual Studio 15
+VisualStudioVersion = 15.0.28010.2036
+MinimumVisualStudioVersion = 10.0.40219.1
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4net", "log4net.csproj", "{181FE707-E161-4722-9F38-6AAAB6FAA106}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4net.Tests", "..\tests\src\log4net.Tests.csproj", "{B0530F10-0238-49A9-93B0-8EF412E90BCF}"
@@ -42,4 +45,7 @@ Global
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
 	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {6B381AAA-A527-4238-B7CB-088932CBE872}
+	EndGlobalSection
 EndGlobal


[2/4] logging-log4net git commit: Fix test csproj to reference the right log4net csproj

Posted by dp...@apache.org.
Fix test csproj to reference the right log4net csproj

Relates to LOG4NET-487


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/b6550e9e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/b6550e9e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/b6550e9e

Branch: refs/heads/feature/rfa-configurable-rolling-mutex
Commit: b6550e9e658ccf3b8f04509a0b4712ea7d30d109
Parents: 07b6519
Author: Dominik Psenner <dp...@gmail.com>
Authored: Tue Sep 25 23:04:56 2018 +0200
Committer: Dominik Psenner <dp...@gmail.com>
Committed: Tue Sep 25 23:04:56 2018 +0200

----------------------------------------------------------------------
 tests/src/log4net.Tests.csproj | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/b6550e9e/tests/src/log4net.Tests.csproj
----------------------------------------------------------------------
diff --git a/tests/src/log4net.Tests.csproj b/tests/src/log4net.Tests.csproj
index f1768cc..53407c5 100644
--- a/tests/src/log4net.Tests.csproj
+++ b/tests/src/log4net.Tests.csproj
@@ -245,14 +245,14 @@
     <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
   </ItemGroup>
   <ItemGroup>
+    <None Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
     <ProjectReference Include="..\..\src\log4net.csproj">
       <Project>{181fe707-e161-4722-9f38-6aaab6faa106}</Project>
-      <Name>log4net.vs2012</Name>
+      <Name>log4net</Name>
     </ProjectReference>
   </ItemGroup>
-  <ItemGroup>
-    <None Include="packages.config" />
-  </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <PropertyGroup>
     <PreBuildEvent>


[3/4] logging-log4net git commit: Upgrade nunit from 2.6.4 to 2.6.7

Posted by dp...@apache.org.
Upgrade nunit from 2.6.4 to 2.6.7

Relates to LOG4NET-487


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/5241a9f5
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/5241a9f5
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/5241a9f5

Branch: refs/heads/feature/rfa-configurable-rolling-mutex
Commit: 5241a9f54b40a0c669bc5f9180636129197c4310
Parents: b6550e9
Author: Dominik Psenner <dp...@gmail.com>
Authored: Tue Sep 25 23:05:23 2018 +0200
Committer: Dominik Psenner <dp...@gmail.com>
Committed: Tue Sep 25 23:05:23 2018 +0200

----------------------------------------------------------------------
 tests/src/log4net.Tests.csproj | 5 ++---
 tests/src/packages.config      | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/5241a9f5/tests/src/log4net.Tests.csproj
----------------------------------------------------------------------
diff --git a/tests/src/log4net.Tests.csproj b/tests/src/log4net.Tests.csproj
index 53407c5..82fcdf7 100644
--- a/tests/src/log4net.Tests.csproj
+++ b/tests/src/log4net.Tests.csproj
@@ -108,9 +108,8 @@
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
-      <HintPath>..\..\src\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
-      <Private>True</Private>
+    <Reference Include="nunit.framework, Version=2.6.7.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
+      <HintPath>..\..\src\packages\NUnit.2.6.7\lib\nunit.framework.dll</HintPath>
     </Reference>
     <Reference Include="System">
       <Name>System</Name>

http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/5241a9f5/tests/src/packages.config
----------------------------------------------------------------------
diff --git a/tests/src/packages.config b/tests/src/packages.config
index bddd01c..b52a5d4 100644
--- a/tests/src/packages.config
+++ b/tests/src/packages.config
@@ -16,6 +16,6 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 <packages>
-  <package id="NUnit" version="2.6.4" targetFramework="net4" />
+  <package id="NUnit" version="2.6.7" targetFramework="net45" />
   <package id="NUnitTestAdapter" version="2.1.1" targetFramework="net45" />
 </packages>
\ No newline at end of file