diff --git a/Nuclex.Support.csproj b/Nuclex.Support.csproj index d4df1d2..f27b3cc 100644 --- a/Nuclex.Support.csproj +++ b/Nuclex.Support.csproj @@ -47,6 +47,10 @@ + + + AssertHelper.cs + ItemEventArgs.cs diff --git a/Source/AssertHelper.Test.cs b/Source/AssertHelper.Test.cs new file mode 100644 index 0000000..0b3c4d9 --- /dev/null +++ b/Source/AssertHelper.Test.cs @@ -0,0 +1,183 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2009 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion + +using System; +using System.Collections.Generic; + +#if UNITTEST + +using NUnit.Framework; + +namespace Nuclex.Support { + + /// Unit Test for the special floating point assertions + [TestFixture] + public class AssertHelperTest { + + /// + /// Tests whether the almost equal check works with floating point values + /// + [Test] + public void TestAlmostEqualWithFloats() { + AssertHelper.AreAlmostEqual(exactFloat, minusOneFloat, 1); + AssertHelper.AreAlmostEqual(exactFloat, plusOneFloat, 1); + } + + /// + /// Tests whether the almost equal check detects a floating point value that is + /// just barely too low + /// + [Test, ExpectedException(typeof(AssertionException))] + public void TestThrowOnAlmostEqualWithTooLowFloat() { + AssertHelper.AreAlmostEqual(exactFloat, minusTwoFloat, 1); + } + + /// + /// Tests whether the almost equal check detects a floating point value that is + /// just barely too high + /// + [Test, ExpectedException(typeof(AssertionException))] + public void TestThrowOnAlmostEqualWithTooHighFloat() { + AssertHelper.AreAlmostEqual(exactFloat, plusTwoFloat, 1); + } + + /// + /// Tests whether the almost equal check works with double precision floating points + /// + [Test] + public void TestAlmostEqualWithDoubles() { + AssertHelper.AreAlmostEqual(exactDouble, minusOneDouble, 1); + AssertHelper.AreAlmostEqual(exactDouble, minusOneDouble, 1); + } + + /// + /// Tests whether the almost equal check detects a double precision floating point + /// value that is just barely too low + /// + [Test, ExpectedException(typeof(AssertionException))] + public void TestThrowOnAlmostEqualWithTooLowDouble() { + AssertHelper.AreAlmostEqual(exactDouble, minusTwoDouble, 1); + } + + /// + /// Tests whether the almost equal check detects a double precision floating point + /// value that is just barely too high + /// + [Test, ExpectedException(typeof(AssertionException))] + public void TestThrowOnAlmostEqualWithTooHighDouble() { + AssertHelper.AreAlmostEqual(exactDouble, plusTwoDouble, 1); + } + + /// + /// Verifies that the AreAlmostEqual() helper works correctly when comparing + /// two floating point arrays that are both null + /// + [Test] + public void TestAlmostEqualWithNullFloatArrays() { + float[] nullArray = null; + + AssertHelper.AreAlmostEqual(nullArray, nullArray, 1); + } + + /// + /// Verifies that the AreAlmostEqual() helper works correctly when comparing + /// two floating point arrays that are within the allowed deviation + /// + [Test] + public void TestAlmostEqualWithFloatArrays() { + float[] referenceArray = new float[] { exactFloat, exactFloat, exactFloat }; + float[] testArray = new float[] { exactFloat, plusOneFloat, minusOneFloat }; + + AssertHelper.AreAlmostEqual(referenceArray, testArray, 1); + } + + /// + /// Verifies that the AreAlmostEqual() helper throws an exception if two arrays + /// of different length are compared to each other + /// + [Test, ExpectedException(typeof(AssertionException))] + public void TestThrowOnAlmostEqualWithFloatArraysOfDifferentLength() { + float[] referenceArray = new float[] { exactFloat, exactFloat, exactFloat }; + float[] testArray = new float[] { exactFloat, exactFloat }; + + AssertHelper.AreAlmostEqual(referenceArray, testArray, 1); + } + + /// + /// Verifies that the AreAlmostEqual() helper throws an exception if the two + /// arrays contain elements that deviate by more than the allowed amount + /// + [Test, ExpectedException(typeof(AssertionException))] + public void TestThrowOnAlmostEqualWithBarelyDifferingFloatArrays() { + float[] referenceArray = new float[] { exactFloat, exactFloat, exactFloat }; + float[] testArray = new float[] { plusOneFloat, minusOneFloat, plusTwoFloat }; + + AssertHelper.AreAlmostEqual(referenceArray, testArray, 1); + } + + /// + /// Adjusts a floating point value by the specified amount of neighbouring + /// representable values + /// + /// Floating point value to be adjusted + /// Numbers of neighbouring representable values to step + /// The adjusted floating point value + private static float adjust(float value, int ulps) { + return FloatHelper.ReinterpretAsFloat(FloatHelper.ReinterpretAsInt(value) + ulps); + } + + /// + /// Adjusts a double precision floating point value by the specified amount of + /// neighbouring representable values + /// + /// Double precision floating point value to be adjusted + /// Numbers of neighbouring representable values to step + /// The adjusted double precision floating point value + private static double adjust(double value, long ulps) { + return FloatHelper.ReinterpretAsDouble(FloatHelper.ReinterpretAsLong(value) + ulps); + } + + /// The exact test value as a float + private static readonly float exactFloat = 1234.5678f; + /// The second next possible smaller float from the test value + private static readonly float minusTwoFloat = adjust(exactFloat, -2); + /// The next possible smaller float from the test value + private static readonly float minusOneFloat = adjust(exactFloat, -1); + /// The next possible greater float from the test value + private static readonly float plusOneFloat = adjust(exactFloat, +1); + /// The second next possible greater float from the test value + private static readonly float plusTwoFloat = adjust(exactFloat, +2); + + /// The exact test value as a float + private static readonly double exactDouble = 1234.5678f; + /// The second next possible smaller float from the test value + private static readonly double minusTwoDouble = adjust(exactDouble, -2); + /// The next possible smaller float from the test value + private static readonly double minusOneDouble = adjust(exactDouble, -1); + /// The next possible greater float from the test value + private static readonly double plusOneDouble = adjust(exactDouble, +1); + /// The second next possible greater float from the test value + private static readonly double plusTwoDouble = adjust(exactDouble, +2); + + } + +} // namespace Nuclex.Support + +#endif // UNITTEST diff --git a/Source/AssertHelper.cs b/Source/AssertHelper.cs new file mode 100644 index 0000000..1a60731 --- /dev/null +++ b/Source/AssertHelper.cs @@ -0,0 +1,135 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2009 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion + +#if UNITTEST + +using System; + +using NUnit.Framework; + +// Decide: +// - Move (part of) this to Nuclex.Support? +// - Create new Assemblies Nuclex.NUnit.dll and Nuclex.NUnit.Xna.dll? + +namespace Nuclex.Support { + + /// Contains special assertions for floating numbers + public static class AssertHelper { + + /// Ensures that two double precision floating point values are equal + /// Expected double precision floating point value + /// Actual double precision floating point value + /// + /// Allowed deviation in representable double precision floating point values + /// + public static void AreAlmostEqual(double expected, double actual, int deltaUlps) { + AreAlmostEqual(expected, actual, deltaUlps, null); + } + + /// Ensures that two double precision floating point values are equal + /// Expected double precision floating point value + /// Actual double precision floating point value + /// + /// Allowed deviation in representable double precision floating point values + /// + /// + /// Message to display when the double precision floating point values are not equal + /// + public static void AreAlmostEqual( + double expected, double actual, int deltaUlps, string message + ) { + if(!FloatHelper.AreAlmostEqual(expected, actual, deltaUlps)) { + Assert.AreEqual(expected, actual, message); + } + } + + /// Ensures that two floating point values are equal + /// Expected floating point value + /// Actual floating point value + /// Allowed deviation in representable floating point values + public static void AreAlmostEqual(float expected, float actual, int deltaUlps) { + AreAlmostEqual(expected, actual, deltaUlps, null); + } + + /// Ensures that two floating point values are equal + /// Expected floating point value + /// Actual floating point value + /// Allowed deviation in representable floating point values + /// + /// Message to display when the floating point values are not equal + /// + public static void AreAlmostEqual( + float expected, float actual, int deltaUlps, string message + ) { + if(!FloatHelper.AreAlmostEqual(expected, actual, deltaUlps)) { + Assert.AreEqual(expected, actual, message); + } + } + + /// Ensures that two float arrays are equal + /// Expected float array + /// Actual float array + /// + /// Allowed deviation for each value in representable floating point values + /// + public static void AreAlmostEqual(float[] expected, float[] actual, int deltaUlps) { + AreAlmostEqual(expected, actual, deltaUlps, null); + } + + /// Ensures that two float arrays are equal + /// Expected float array + /// Actual float array + /// + /// Allowed deviation for each value in representable floating point values + /// + /// Message to display when the arrays are not equal + public static void AreAlmostEqual( + float[] expected, float[] actual, int deltaUlps, string message + ) { + + // If one is null, the other also has to be null + if((expected == null) || (actual == null)) { + Assert.AreEqual(expected, actual, message); + return; // This will be reached if both are null, which means they're equal + } + + // If the lengths do not match, let NUnit print its own message saying that + if(expected.Length != actual.Length) { + Assert.AreEqual(expected, actual, message); // will always fail + } + + // Compare the two arrays element by element + for(int i = 0; i < expected.Length; ++i) { + if(!FloatHelper.AreAlmostEqual(expected[i], actual[i], deltaUlps)) { + string safeMessage = (message == null) ? string.Empty : (message + " "); + Assert.AreEqual( + actual[i], expected[i], + safeMessage + "(arrays differ at index " + i.ToString() + ")" + ); + } + } + + } + + } + +} // namespace Nuclex.Geometry + +#endif // UNITTEST diff --git a/Source/Collections/ItemEventArgs.Test.cs b/Source/Collections/ItemEventArgs.Test.cs index 8c209bb..8c32b4e 100644 --- a/Source/Collections/ItemEventArgs.Test.cs +++ b/Source/Collections/ItemEventArgs.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ItemEventArgs.cs b/Source/Collections/ItemEventArgs.cs index 5ef91e7..1bddc12 100644 --- a/Source/Collections/ItemEventArgs.cs +++ b/Source/Collections/ItemEventArgs.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ObservableCollection.Test.cs b/Source/Collections/ObservableCollection.Test.cs index b55903d..a008f47 100644 --- a/Source/Collections/ObservableCollection.Test.cs +++ b/Source/Collections/ObservableCollection.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ObservableCollection.cs b/Source/Collections/ObservableCollection.cs index cd87636..e8e6612 100644 --- a/Source/Collections/ObservableCollection.cs +++ b/Source/Collections/ObservableCollection.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/PairPriorityQueue.Test.cs b/Source/Collections/PairPriorityQueue.Test.cs index a416676..046d1ee 100644 --- a/Source/Collections/PairPriorityQueue.Test.cs +++ b/Source/Collections/PairPriorityQueue.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/PairPriorityQueue.cs b/Source/Collections/PairPriorityQueue.cs index 1b05ffa..b555247 100644 --- a/Source/Collections/PairPriorityQueue.cs +++ b/Source/Collections/PairPriorityQueue.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/Parentable.Test.cs b/Source/Collections/Parentable.Test.cs index 0d63910..c592ddd 100644 --- a/Source/Collections/Parentable.Test.cs +++ b/Source/Collections/Parentable.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/Parentable.cs b/Source/Collections/Parentable.cs index 62fd91a..68b800b 100644 --- a/Source/Collections/Parentable.cs +++ b/Source/Collections/Parentable.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ParentingCollection.Test.cs b/Source/Collections/ParentingCollection.Test.cs index eee0f97..b2d5c3b 100644 --- a/Source/Collections/ParentingCollection.Test.cs +++ b/Source/Collections/ParentingCollection.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ParentingCollection.cs b/Source/Collections/ParentingCollection.cs index d3b40c8..b859704 100644 --- a/Source/Collections/ParentingCollection.cs +++ b/Source/Collections/ParentingCollection.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/PriorityItemPair.Test.cs b/Source/Collections/PriorityItemPair.Test.cs index ce244e9..918f913 100644 --- a/Source/Collections/PriorityItemPair.Test.cs +++ b/Source/Collections/PriorityItemPair.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/PriorityItemPair.cs b/Source/Collections/PriorityItemPair.cs index 8415d5d..f90b336 100644 --- a/Source/Collections/PriorityItemPair.cs +++ b/Source/Collections/PriorityItemPair.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/PriorityQueue.Test.cs b/Source/Collections/PriorityQueue.Test.cs index c33dc6e..3b3871e 100644 --- a/Source/Collections/PriorityQueue.Test.cs +++ b/Source/Collections/PriorityQueue.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/PriorityQueue.cs b/Source/Collections/PriorityQueue.cs index 2cd1f31..230f3b7 100644 --- a/Source/Collections/PriorityQueue.cs +++ b/Source/Collections/PriorityQueue.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReadOnlyCollection.Test.cs b/Source/Collections/ReadOnlyCollection.Test.cs index 255dfbf..a65afe4 100644 --- a/Source/Collections/ReadOnlyCollection.Test.cs +++ b/Source/Collections/ReadOnlyCollection.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReadOnlyCollection.cs b/Source/Collections/ReadOnlyCollection.cs index 53929bc..d785da1 100644 --- a/Source/Collections/ReadOnlyCollection.cs +++ b/Source/Collections/ReadOnlyCollection.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReadOnlyDictionary.Test.cs b/Source/Collections/ReadOnlyDictionary.Test.cs index 755b0e9..bfdbc38 100644 --- a/Source/Collections/ReadOnlyDictionary.Test.cs +++ b/Source/Collections/ReadOnlyDictionary.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReadOnlyDictionary.cs b/Source/Collections/ReadOnlyDictionary.cs index 7310df7..8c6c6ce 100644 --- a/Source/Collections/ReadOnlyDictionary.cs +++ b/Source/Collections/ReadOnlyDictionary.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReadOnlyList.Test.cs b/Source/Collections/ReadOnlyList.Test.cs index e001cf1..91756bc 100644 --- a/Source/Collections/ReadOnlyList.Test.cs +++ b/Source/Collections/ReadOnlyList.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReadOnlyList.cs b/Source/Collections/ReadOnlyList.cs index 7201470..164d707 100644 --- a/Source/Collections/ReadOnlyList.cs +++ b/Source/Collections/ReadOnlyList.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReverseComparer.Test.cs b/Source/Collections/ReverseComparer.Test.cs index 932f0b2..39a92ae 100644 --- a/Source/Collections/ReverseComparer.Test.cs +++ b/Source/Collections/ReverseComparer.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/ReverseComparer.cs b/Source/Collections/ReverseComparer.cs index 8fa51ce..7ae06ad 100644 --- a/Source/Collections/ReverseComparer.cs +++ b/Source/Collections/ReverseComparer.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/RingMemoryStream.Test.cs b/Source/Collections/RingMemoryStream.Test.cs index a756211..0ffbccc 100644 --- a/Source/Collections/RingMemoryStream.Test.cs +++ b/Source/Collections/RingMemoryStream.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/RingMemoryStream.cs b/Source/Collections/RingMemoryStream.cs index 9b005fa..da94308 100644 --- a/Source/Collections/RingMemoryStream.cs +++ b/Source/Collections/RingMemoryStream.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as @@ -246,8 +246,8 @@ namespace Nuclex.Support.Collections { /// Whether the ring buffer is empty /// /// This field is required to differentiate between the ring buffer being - /// filled to the limit and being totally empty in the case that - /// the start index and the end index are the same. + /// filled to the limit and being totally empty, because in both cases, + /// the start index and the end index will be the same. /// private bool empty; diff --git a/Source/Collections/TransformingReadOnlyCollection.Interfaces.cs b/Source/Collections/TransformingReadOnlyCollection.Interfaces.cs index 54d3a85..962e25c 100644 --- a/Source/Collections/TransformingReadOnlyCollection.Interfaces.cs +++ b/Source/Collections/TransformingReadOnlyCollection.Interfaces.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/TransformingReadOnlyCollection.Test.cs b/Source/Collections/TransformingReadOnlyCollection.Test.cs index 7b665c6..161ecbf 100644 --- a/Source/Collections/TransformingReadOnlyCollection.Test.cs +++ b/Source/Collections/TransformingReadOnlyCollection.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Collections/TransformingReadOnlyCollection.cs b/Source/Collections/TransformingReadOnlyCollection.cs index 240599b..fb7c9a6 100644 --- a/Source/Collections/TransformingReadOnlyCollection.cs +++ b/Source/Collections/TransformingReadOnlyCollection.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/FloatHelper.Test.cs b/Source/FloatHelper.Test.cs index 01402ec..5151231 100644 --- a/Source/FloatHelper.Test.cs +++ b/Source/FloatHelper.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/FloatHelper.cs b/Source/FloatHelper.cs index ff27a1b..a51aeb0 100644 --- a/Source/FloatHelper.cs +++ b/Source/FloatHelper.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as @@ -34,7 +34,7 @@ namespace Nuclex.Support { /// "ULP" means Unit in the Last Place and in the context of this library refers to /// the distance between two adjacent floating point numbers. IEEE floating point /// numbers can only represent a finite subset of natural numbers, with greater - /// accuracy on the lower end of the range and lower accuracy for very large numbers. + /// accuracy for smaller numbers and lower accuracy for very large numbers. /// /// /// If a comparison is allowed "2 ulps" of deviation, that means the values are diff --git a/Source/IntegerHelper.Test.cs b/Source/IntegerHelper.Test.cs index 6b4d667..788d7f3 100644 --- a/Source/IntegerHelper.Test.cs +++ b/Source/IntegerHelper.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/IntegerHelper.cs b/Source/IntegerHelper.cs index 6b35e52..8956c20 100644 --- a/Source/IntegerHelper.cs +++ b/Source/IntegerHelper.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Licensing/LicenseKey.Test.cs b/Source/Licensing/LicenseKey.Test.cs index 044bb36..a8bbc47 100644 --- a/Source/Licensing/LicenseKey.Test.cs +++ b/Source/Licensing/LicenseKey.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Licensing/LicenseKey.cs b/Source/Licensing/LicenseKey.cs index 3029501..43ff5c2 100644 --- a/Source/Licensing/LicenseKey.cs +++ b/Source/Licensing/LicenseKey.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/BrokenCommandLineParser.Test.cs b/Source/Parsing/BrokenCommandLineParser.Test.cs index 1a65557..ef06476 100644 --- a/Source/Parsing/BrokenCommandLineParser.Test.cs +++ b/Source/Parsing/BrokenCommandLineParser.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/BrokenCommandLineParser.cs b/Source/Parsing/BrokenCommandLineParser.cs index f7e8d03..a8abdf3 100644 --- a/Source/Parsing/BrokenCommandLineParser.cs +++ b/Source/Parsing/BrokenCommandLineParser.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/CommandLine.Formatter.cs b/Source/Parsing/CommandLine.Formatter.cs index 3ee2b06..c435f2b 100644 --- a/Source/Parsing/CommandLine.Formatter.cs +++ b/Source/Parsing/CommandLine.Formatter.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/CommandLine.Option.cs b/Source/Parsing/CommandLine.Option.cs index 2ce552b..4fdd4ab 100644 --- a/Source/Parsing/CommandLine.Option.cs +++ b/Source/Parsing/CommandLine.Option.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/CommandLine.Parser.cs b/Source/Parsing/CommandLine.Parser.cs index e000447..07c4fb9 100644 --- a/Source/Parsing/CommandLine.Parser.cs +++ b/Source/Parsing/CommandLine.Parser.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/CommandLine.Test.cs b/Source/Parsing/CommandLine.Test.cs index 85d7b49..6b45199 100644 --- a/Source/Parsing/CommandLine.Test.cs +++ b/Source/Parsing/CommandLine.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Parsing/CommandLine.cs b/Source/Parsing/CommandLine.cs index 9de769e..18c1cc6 100644 --- a/Source/Parsing/CommandLine.cs +++ b/Source/Parsing/CommandLine.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/PathHelper.Test.cs b/Source/PathHelper.Test.cs index 9aa193c..bdf7a7e 100644 --- a/Source/PathHelper.Test.cs +++ b/Source/PathHelper.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/PathHelper.cs b/Source/PathHelper.cs index 38ba520..9462090 100644 --- a/Source/PathHelper.cs +++ b/Source/PathHelper.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/Employer.Test.cs b/Source/Plugins/Employer.Test.cs index 1df92b8..fb2bdeb 100644 --- a/Source/Plugins/Employer.Test.cs +++ b/Source/Plugins/Employer.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/Employer.cs b/Source/Plugins/Employer.cs index 34b0d84..8963e36 100644 --- a/Source/Plugins/Employer.cs +++ b/Source/Plugins/Employer.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/FactoryEmployer.Test.cs b/Source/Plugins/FactoryEmployer.Test.cs index b5d6a1f..35cca32 100644 --- a/Source/Plugins/FactoryEmployer.Test.cs +++ b/Source/Plugins/FactoryEmployer.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/FactoryEmployer.cs b/Source/Plugins/FactoryEmployer.cs index 7fb62c0..2f14f4f 100644 --- a/Source/Plugins/FactoryEmployer.cs +++ b/Source/Plugins/FactoryEmployer.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/IAbstractFactory.cs b/Source/Plugins/IAbstractFactory.cs index b8aa6e7..a8680c0 100644 --- a/Source/Plugins/IAbstractFactory.cs +++ b/Source/Plugins/IAbstractFactory.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/IAssemblyLoader.cs b/Source/Plugins/IAssemblyLoader.cs index c8c84d8..10f3ec2 100644 --- a/Source/Plugins/IAssemblyLoader.cs +++ b/Source/Plugins/IAssemblyLoader.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/InstanceEmployer.Test.cs b/Source/Plugins/InstanceEmployer.Test.cs index 5b2b213..1db54d1 100644 --- a/Source/Plugins/InstanceEmployer.Test.cs +++ b/Source/Plugins/InstanceEmployer.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/InstanceEmployer.cs b/Source/Plugins/InstanceEmployer.cs index aff347f..5bac170 100644 --- a/Source/Plugins/InstanceEmployer.cs +++ b/Source/Plugins/InstanceEmployer.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/NoPluginAttribute.Test.cs b/Source/Plugins/NoPluginAttribute.Test.cs index 73bb631..0dc2d1b 100644 --- a/Source/Plugins/NoPluginAttribute.Test.cs +++ b/Source/Plugins/NoPluginAttribute.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/NoPluginAttribute.cs b/Source/Plugins/NoPluginAttribute.cs index d5d9204..8170f5a 100644 --- a/Source/Plugins/NoPluginAttribute.cs +++ b/Source/Plugins/NoPluginAttribute.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/PluginHelper.Test.cs b/Source/Plugins/PluginHelper.Test.cs index 45c6a74..b6da1d7 100644 --- a/Source/Plugins/PluginHelper.Test.cs +++ b/Source/Plugins/PluginHelper.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/PluginHelper.cs b/Source/Plugins/PluginHelper.cs index 0a799cf..19e46ed 100644 --- a/Source/Plugins/PluginHelper.cs +++ b/Source/Plugins/PluginHelper.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/PluginHost.Test.cs b/Source/Plugins/PluginHost.Test.cs index da7940f..5116020 100644 --- a/Source/Plugins/PluginHost.Test.cs +++ b/Source/Plugins/PluginHost.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/PluginHost.cs b/Source/Plugins/PluginHost.cs index c0b5601..117cfd5 100644 --- a/Source/Plugins/PluginHost.cs +++ b/Source/Plugins/PluginHost.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/PluginRepository.Test.cs b/Source/Plugins/PluginRepository.Test.cs index dfa2525..93119ad 100644 --- a/Source/Plugins/PluginRepository.Test.cs +++ b/Source/Plugins/PluginRepository.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Plugins/PluginRepository.cs b/Source/Plugins/PluginRepository.cs index b11a5e1..8ec42eb 100644 --- a/Source/Plugins/PluginRepository.cs +++ b/Source/Plugins/PluginRepository.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/AbortedException.Test.cs b/Source/Scheduling/AbortedException.Test.cs index cfa2400..d8ef9e4 100644 --- a/Source/Scheduling/AbortedException.Test.cs +++ b/Source/Scheduling/AbortedException.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/AbortedException.cs b/Source/Scheduling/AbortedException.cs index bb33a7f..9c63922 100644 --- a/Source/Scheduling/AbortedException.cs +++ b/Source/Scheduling/AbortedException.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/IAbortable.cs b/Source/Scheduling/IAbortable.cs index 16d6255..36a31a4 100644 --- a/Source/Scheduling/IAbortable.cs +++ b/Source/Scheduling/IAbortable.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/Operation.Test.cs b/Source/Scheduling/Operation.Test.cs index 3c7391c..a881232 100644 --- a/Source/Scheduling/Operation.Test.cs +++ b/Source/Scheduling/Operation.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/Operation.cs b/Source/Scheduling/Operation.cs index 850769b..c370746 100644 --- a/Source/Scheduling/Operation.cs +++ b/Source/Scheduling/Operation.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/OperationQueue.Test.cs b/Source/Scheduling/OperationQueue.Test.cs index d410d70..281de84 100644 --- a/Source/Scheduling/OperationQueue.Test.cs +++ b/Source/Scheduling/OperationQueue.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/OperationQueue.cs b/Source/Scheduling/OperationQueue.cs index 816524b..7546324 100644 --- a/Source/Scheduling/OperationQueue.cs +++ b/Source/Scheduling/OperationQueue.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/ThreadCallbackOperation.Test.cs b/Source/Scheduling/ThreadCallbackOperation.Test.cs index 9b49bc5..8ea5ea4 100644 --- a/Source/Scheduling/ThreadCallbackOperation.Test.cs +++ b/Source/Scheduling/ThreadCallbackOperation.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/ThreadCallbackOperation.cs b/Source/Scheduling/ThreadCallbackOperation.cs index 73f826c..ff6ceae 100644 --- a/Source/Scheduling/ThreadCallbackOperation.cs +++ b/Source/Scheduling/ThreadCallbackOperation.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/ThreadOperation.Test.cs b/Source/Scheduling/ThreadOperation.Test.cs index e35456d..7194c21 100644 --- a/Source/Scheduling/ThreadOperation.Test.cs +++ b/Source/Scheduling/ThreadOperation.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Scheduling/ThreadOperation.cs b/Source/Scheduling/ThreadOperation.cs index 8bb7a5d..3727196 100644 --- a/Source/Scheduling/ThreadOperation.cs +++ b/Source/Scheduling/ThreadOperation.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Shared.Test.cs b/Source/Shared.Test.cs index e220d24..a1e94e5 100644 --- a/Source/Shared.Test.cs +++ b/Source/Shared.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Shared.cs b/Source/Shared.cs index 9fab20e..73c6373 100644 --- a/Source/Shared.cs +++ b/Source/Shared.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/StringHelper.Test.cs b/Source/StringHelper.Test.cs index 2d81f65..1fad2a5 100644 --- a/Source/StringHelper.Test.cs +++ b/Source/StringHelper.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/StringHelper.cs b/Source/StringHelper.cs index baa3160..8044bca 100644 --- a/Source/StringHelper.cs +++ b/Source/StringHelper.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/StringSegment.Test.cs b/Source/StringSegment.Test.cs index 8020da1..9455ad6 100644 --- a/Source/StringSegment.Test.cs +++ b/Source/StringSegment.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/StringSegment.cs b/Source/StringSegment.cs index ff1d109..5a84724 100644 --- a/Source/StringSegment.cs +++ b/Source/StringSegment.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/IProgressReporter.cs b/Source/Tracking/IProgressReporter.cs index d0d67dc..06d7941 100644 --- a/Source/Tracking/IProgressReporter.cs +++ b/Source/Tracking/IProgressReporter.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/IStatusReporter.cs b/Source/Tracking/IStatusReporter.cs index ade68af..9b91912 100644 --- a/Source/Tracking/IStatusReporter.cs +++ b/Source/Tracking/IStatusReporter.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/IdleStateEventArgs.Test.cs b/Source/Tracking/IdleStateEventArgs.Test.cs index 7b673d4..12a590b 100644 --- a/Source/Tracking/IdleStateEventArgs.Test.cs +++ b/Source/Tracking/IdleStateEventArgs.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/IdleStateEventArgs.cs b/Source/Tracking/IdleStateEventArgs.cs index df8ec05..4d4db7b 100644 --- a/Source/Tracking/IdleStateEventArgs.cs +++ b/Source/Tracking/IdleStateEventArgs.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Internal/ObservedWeightedTransaction.Test.cs b/Source/Tracking/Internal/ObservedWeightedTransaction.Test.cs index 077f828..1928fd1 100644 --- a/Source/Tracking/Internal/ObservedWeightedTransaction.Test.cs +++ b/Source/Tracking/Internal/ObservedWeightedTransaction.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Internal/ObservedWeightedTransaction.cs b/Source/Tracking/Internal/ObservedWeightedTransaction.cs index 9e72d51..ad6e8ee 100644 --- a/Source/Tracking/Internal/ObservedWeightedTransaction.cs +++ b/Source/Tracking/Internal/ObservedWeightedTransaction.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Internal/WeightedTransactionWrapperCollection.Test.cs b/Source/Tracking/Internal/WeightedTransactionWrapperCollection.Test.cs index b87b7f1..941efc5 100644 --- a/Source/Tracking/Internal/WeightedTransactionWrapperCollection.Test.cs +++ b/Source/Tracking/Internal/WeightedTransactionWrapperCollection.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Internal/WeightedTransactionWrapperCollection.cs b/Source/Tracking/Internal/WeightedTransactionWrapperCollection.cs index 0b90517..ee810c2 100644 --- a/Source/Tracking/Internal/WeightedTransactionWrapperCollection.cs +++ b/Source/Tracking/Internal/WeightedTransactionWrapperCollection.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/ProgressReportEventArgs.Test.cs b/Source/Tracking/ProgressReportEventArgs.Test.cs index 84cdc9e..40325c0 100644 --- a/Source/Tracking/ProgressReportEventArgs.Test.cs +++ b/Source/Tracking/ProgressReportEventArgs.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/ProgressReportEventArgs.cs b/Source/Tracking/ProgressReportEventArgs.cs index 5ab464b..97db5c1 100644 --- a/Source/Tracking/ProgressReportEventArgs.cs +++ b/Source/Tracking/ProgressReportEventArgs.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/ProgressTracker.Test.cs b/Source/Tracking/ProgressTracker.Test.cs index 9bd6e0a..a33b604 100644 --- a/Source/Tracking/ProgressTracker.Test.cs +++ b/Source/Tracking/ProgressTracker.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/ProgressTracker.cs b/Source/Tracking/ProgressTracker.cs index 0b25863..9ea7a5e 100644 --- a/Source/Tracking/ProgressTracker.cs +++ b/Source/Tracking/ProgressTracker.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Request.Test.cs b/Source/Tracking/Request.Test.cs index 4b1e6cc..4cd897f 100644 --- a/Source/Tracking/Request.Test.cs +++ b/Source/Tracking/Request.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Request.cs b/Source/Tracking/Request.cs index c7be01e..b56fc28 100644 --- a/Source/Tracking/Request.cs +++ b/Source/Tracking/Request.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/StatusReportEventArgs.Test.cs b/Source/Tracking/StatusReportEventArgs.Test.cs index 57b55a6..fd4afdc 100644 --- a/Source/Tracking/StatusReportEventArgs.Test.cs +++ b/Source/Tracking/StatusReportEventArgs.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/StatusReportEventArgs.cs b/Source/Tracking/StatusReportEventArgs.cs index 68a6ccb..0149f73 100644 --- a/Source/Tracking/StatusReportEventArgs.cs +++ b/Source/Tracking/StatusReportEventArgs.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Transaction.Test.cs b/Source/Tracking/Transaction.Test.cs index 35e7515..fd6d15e 100644 --- a/Source/Tracking/Transaction.Test.cs +++ b/Source/Tracking/Transaction.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/Transaction.cs b/Source/Tracking/Transaction.cs index f5d5992..2d4f74e 100644 --- a/Source/Tracking/Transaction.cs +++ b/Source/Tracking/Transaction.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/TransactionGroup.Test.cs b/Source/Tracking/TransactionGroup.Test.cs index 3c548f7..615cff4 100644 --- a/Source/Tracking/TransactionGroup.Test.cs +++ b/Source/Tracking/TransactionGroup.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/TransactionGroup.cs b/Source/Tracking/TransactionGroup.cs index ab23a55..5770da4 100644 --- a/Source/Tracking/TransactionGroup.cs +++ b/Source/Tracking/TransactionGroup.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/WeightedTransaction.Test.cs b/Source/Tracking/WeightedTransaction.Test.cs index ea914e2..d2dd80f 100644 --- a/Source/Tracking/WeightedTransaction.Test.cs +++ b/Source/Tracking/WeightedTransaction.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/Tracking/WeightedTransaction.cs b/Source/Tracking/WeightedTransaction.cs index 464f564..e4cc473 100644 --- a/Source/Tracking/WeightedTransaction.cs +++ b/Source/Tracking/WeightedTransaction.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as diff --git a/Source/WeakReference.Test.cs b/Source/WeakReference.Test.cs index c2bc336..be65a21 100644 --- a/Source/WeakReference.Test.cs +++ b/Source/WeakReference.Test.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as @@ -64,7 +64,7 @@ namespace Nuclex.Support { Dummy strongReference = new Dummy(); WeakReference weakReference = new WeakReference(strongReference); - // We can not just call GC.Collect() and base our test on the assumption, that + // We can not just call GC.Collect() and base our test on the assumption that // the garbage collector will actually collect the Dummy instance. This is up // to the garbage collector to decide. But we can keep a strong reference in // parallel and safely assume that the WeakReference will not be invalidated! diff --git a/Source/WeakReference.cs b/Source/WeakReference.cs index 2ce26b7..520c8dd 100644 --- a/Source/WeakReference.cs +++ b/Source/WeakReference.cs @@ -1,7 +1,7 @@ #region CPL License /* Nuclex Framework -Copyright (C) 2002-2008 Nuclex Development Labs +Copyright (C) 2002-2009 Nuclex Development Labs This library is free software; you can redistribute it and/or modify it under the terms of the IBM Common Public License as