diff API/Objects/GameSystemTest.cs @ 140:2ae80631ec9c

* Remove duplicate equality test code now that Mike Krueger fixed MonoDevelop bug 677228 (https://bugzilla.novell.com/show_bug.cgi?id=677228#c5) no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Thu, 28 Apr 2011 13:36:16 +0000
parents 081b48413f6d
children
line wrap: on
line diff
--- a/API/Objects/GameSystemTest.cs	Tue Apr 26 19:47:36 2011 +0000
+++ b/API/Objects/GameSystemTest.cs	Thu Apr 28 13:36:16 2011 +0000
@@ -10,51 +10,6 @@
 	[TestFixture()]
 	public class GameSystemTest : AbstractEqualityTest<GameSystem>
 	{
-		//FIXME We shouldn't duplicate these tests, but it is broken at the moment
-		[Test]
-		public void TestEquality()
-		{
-			Assert.AreEqual(GetObject(), GetSameObject());
-			Assert.AreEqual(GetSameObject(), GetObject());
-		}
-
-		[Test]
-		public void TestInequality()
-		{
-			Assert.AreNotEqual(GetObject(), GetDifferentObject());
-			Assert.AreNotEqual(GetSameObject(), GetDifferentObject());
-			Assert.AreNotEqual(GetDifferentObject(), GetObject());
-			Assert.AreNotEqual(GetDifferentObject(), GetSameObject());
-		}
-
-		[Test]
-		public void TestReflexiveEquality()
-		{
-			Assert.AreEqual(GetObject(), GetObject());
-			Assert.AreEqual(GetSameObject(), GetSameObject());
-			Assert.AreEqual(GetDifferentObject(), GetDifferentObject());
-		}
-
-		[Test]
-		public void TestOtherInequality()
-		{
-			MethodInfo[] methodInfo = GetType().GetMethods();
-			GameSystem obj = GetObject();
-
-			foreach (MethodInfo method in methodInfo)
-			{
-				if (method.Name.StartsWith("GetOtherDifferent"))
-				{
-					GameSystem otherObj = (GameSystem)method.Invoke(this, new object[0]);
-					Assert.AreNotEqual(obj, otherObj, "Objects equal for "+method.Name);
-					Assert.AreNotEqual(otherObj, obj, "Objects equal for "+method.Name);
-				}
-			}
-		}
-
-
-
-
 		[Test()]
 		public void TestPointsSingularAbbreviation ()
 		{