Repository: logging-log4net Updated Branches: refs/heads/develop 33416e4f7 -> a68eec347
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Util/PatternConverterTest.cs ---------------------------------------------------------------------- diff --git a/tests/src/Util/PatternConverterTest.cs b/tests/src/Util/PatternConverterTest.cs index 06f352e..4f422fc 100644 --- a/tests/src/Util/PatternConverterTest.cs +++ b/tests/src/Util/PatternConverterTest.cs @@ -53,15 +53,15 @@ namespace log4net.Tests.Util <property> <key value=""two-plus-two"" /> <value value=""4"" /> - </property> + </property> </converter> <conversionPattern value=""%propertyKeyCount"" /> </layout> </appender> <root> - <level value=""ALL"" /> + <level value=""ALL"" /> <appender-ref ref=""StringAppender"" /> - </root> + </root> </log4net>"); ILoggerRepository rep = LogManager.CreateRepository(Guid.NewGuid().ToString()); @@ -70,12 +70,12 @@ namespace log4net.Tests.Util ILog log = LogManager.GetLogger(rep.Name, "PatternLayoutConverterProperties"); log.Debug("Message"); - PropertyKeyCountPatternLayoutConverter converter = + PropertyKeyCountPatternLayoutConverter converter = PropertyKeyCountPatternLayoutConverter.MostRecentInstance; Assert.AreEqual(2, converter.Properties.Count); Assert.AreEqual("4", converter.Properties["two-plus-two"]); - StringAppender appender = + StringAppender appender = (StringAppender)LogManager.GetRepository(rep.Name).GetAppenders()[0]; Assert.AreEqual("2", appender.GetString()); } @@ -99,15 +99,15 @@ namespace log4net.Tests.Util <property> <key value=""two-plus-two"" /> <value value=""4"" /> - </property> + </property> </converter> <conversionPattern value=""%propertyKeyCount"" /> </setting> </appender> <root> - <level value=""ALL"" /> + <level value=""ALL"" /> <appender-ref ref=""PatternStringAppender"" /> - </root> + </root> </log4net>"); ILoggerRepository rep = LogManager.CreateRepository(Guid.NewGuid().ToString()); http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Util/PatternStringTest.cs ---------------------------------------------------------------------- diff --git a/tests/src/Util/PatternStringTest.cs b/tests/src/Util/PatternStringTest.cs index 51386f7..b2f5229 100644 --- a/tests/src/Util/PatternStringTest.cs +++ b/tests/src/Util/PatternStringTest.cs @@ -44,7 +44,7 @@ namespace log4net.Tests.Util string evaluatedPattern = patternString.Format(); - Environment.SpecialFolder specialFolder = + Environment.SpecialFolder specialFolder = (Environment.SpecialFolder)Enum.Parse(typeof(Environment.SpecialFolder), specialFolderName); Assert.AreEqual(Environment.GetFolderPath(specialFolder), evaluatedPattern); http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Util/PropertiesDictionaryTest.cs ---------------------------------------------------------------------- diff --git a/tests/src/Util/PropertiesDictionaryTest.cs b/tests/src/Util/PropertiesDictionaryTest.cs index 0809cc9..493d1ca 100644 --- a/tests/src/Util/PropertiesDictionaryTest.cs +++ b/tests/src/Util/PropertiesDictionaryTest.cs @@ -1,10 +1,10 @@ #region Apache License // -// Licensed to the Apache Software Foundation (ASF) under one or more +// 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. +// 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 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 http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Util/RandomStringPatternConverterTest.cs ---------------------------------------------------------------------- diff --git a/tests/src/Util/RandomStringPatternConverterTest.cs b/tests/src/Util/RandomStringPatternConverterTest.cs index e586a9d..eccd163 100644 --- a/tests/src/Util/RandomStringPatternConverterTest.cs +++ b/tests/src/Util/RandomStringPatternConverterTest.cs @@ -1,10 +1,10 @@ #region Apache License // -// Licensed to the Apache Software Foundation (ASF) under one or more +// 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. +// 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 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 http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Util/SystemInfoTest.cs ---------------------------------------------------------------------- diff --git a/tests/src/Util/SystemInfoTest.cs b/tests/src/Util/SystemInfoTest.cs index b031506..f3ee5a4 100644 --- a/tests/src/Util/SystemInfoTest.cs +++ b/tests/src/Util/SystemInfoTest.cs @@ -1,10 +1,10 @@ #region Apache License // -// Licensed to the Apache Software Foundation (ASF) under one or more +// 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. +// 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 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 http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Util/TransformTest.cs ---------------------------------------------------------------------- diff --git a/tests/src/Util/TransformTest.cs b/tests/src/Util/TransformTest.cs index 7d4026a..9926775 100644 --- a/tests/src/Util/TransformTest.cs +++ b/tests/src/Util/TransformTest.cs @@ -1,10 +1,10 @@ #region Apache License // -// Licensed to the Apache Software Foundation (ASF) under one or more +// 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. +// 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 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 @@ -36,7 +36,7 @@ namespace log4net.Tests.Util { } [Test] - public void MaskXmlInvalidCharactersMasks0Char() + public void MaskXmlInvalidCharactersMasks0Char() { string c = "\u0000"; Assert.AreEqual("?", Transform.MaskXmlInvalidCharacters(c, "?")); http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/tests/src/Utils.cs ---------------------------------------------------------------------- diff --git a/tests/src/Utils.cs b/tests/src/Utils.cs index 14e55d3..b6ccda1 100644 --- a/tests/src/Utils.cs +++ b/tests/src/Utils.cs @@ -1,10 +1,10 @@ #region Apache License // -// Licensed to the Apache Software Foundation (ASF) under one or more +// 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. +// 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 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