cvs ignores, sorry about the spam
[mono.git] / mcs / nunit20 / framework / Assertion.cs
index c1b364eaa9213288ce83672bc5c23da5e1b5edf5..b1c6fe8ed633839d5ce132c24c8361f6eba87837 100755 (executable)
@@ -33,12 +33,12 @@ namespace NUnit.Framework
 
        /// <summary>A set of Assert methods.</summary>
        /// 
-       //[Obsolete("use Assert class instead")]
+       [Obsolete("Use Assert class instead")]
        public class Assertion
        {
                /// <summary>
                /// Asserts that a condition is true. If it isn't it throws
-               /// an <see cref="AssertionFailedError"/>.
+               /// an <see cref="AssertionException"/>.
                /// </summary>
                /// <param name="message">The message to display is the condition
                /// is false</param>
@@ -50,7 +50,7 @@ namespace NUnit.Framework
     
                /// <summary>
                /// Asserts that a condition is true. If it isn't it throws
-               /// an <see cref="AssertionFailedError"/>.
+               /// an <see cref="AssertionException"/>.
                /// </summary>
                /// <param name="condition">The evaluated condition</param>
                static public void Assert(bool condition) 
@@ -84,17 +84,21 @@ namespace NUnit.Framework
                }
 
                /// <summary>Asserts that two objects are equal. If they are not
-               /// an <see cref="AssertionFailedError"/> is thrown.</summary>
+               /// an <see cref="AssertionException"/> is thrown.</summary>
                static public void AssertEquals(Object expected, Object actual) 
                {
                        Assertion.AssertEquals(string.Empty, expected, actual);
                }
 
+               /// <summary>Asserts that two ints are equal. If they are not
+               /// an <see cref="AssertionException"/> is thrown.</summary>
                static public void AssertEquals(int expected, int actual) 
                {
                        Assertion.AssertEquals(string.Empty, expected, actual);
                }
 
+               /// <summary>Asserts that two ints are equal. If they are not
+               /// an <see cref="AssertionException"/> is thrown.</summary>
                static public void AssertEquals(string message, int expected, int actual) 
                {
                        NUnit.Framework.Assert.AreEqual(expected, actual, message);
@@ -124,7 +128,7 @@ namespace NUnit.Framework
                /// types are compared via string comparision on their contents to
                /// avoid problems comparing values between different types.  All
                /// non-numeric types are compared by using the <c>Equals</c> method.
-               /// If they are not equal an <see cref="AssertionFailedError"/> is thrown.
+               /// If they are not equal an <see cref="AssertionException"/> is thrown.
                /// </summary>
                static public void AssertEquals(string message, Object expected, Object actual)
                {
@@ -156,7 +160,7 @@ namespace NUnit.Framework
                }
     
                /// <summary>Asserts that two objects refer to the same object. If they
-               /// are not the same an <see cref="AssertionFailedError"/> is thrown.
+               /// are not the same an <see cref="AssertionException"/> is thrown.
                /// </summary>
                static public void AssertSame(Object expected, Object actual) 
                {
@@ -164,7 +168,7 @@ namespace NUnit.Framework
                }
     
                /// <summary>Asserts that two objects refer to the same object. 
-               /// If they are not an <see cref="AssertionFailedError"/> is thrown.
+               /// If they are not an <see cref="AssertionException"/> is thrown.
                /// </summary>
                static public void AssertSame(string message, Object expected, Object actual)
                {