Modified:
branches/5.1/TestSuite/Source/ExceptionTests.cs
Log:
added directives so the test for Exception.Data only happens on non-CF platforms
Modified: branches/5.1/TestSuite/Source/ExceptionTests.cs
===================================================================
--- branches/5.1/TestSuite/Source/ExceptionTests.cs 2007-11-07 14:39:59 UTC (rev 1084)
+++ branches/5.1/TestSuite/Source/ExceptionTests.cs 2007-11-07 16:18:06 UTC (rev 1085)
@@ -68,7 +68,7 @@
c2.Close();
}
}
-
+#if !CF
/// <summary>
/// Bug #27436 Add the MySqlException.Number property value to the Exception.Data Dictionary
/// </summary>
@@ -85,5 +85,6 @@
Assert.AreEqual(1064, ex.Data["Server Error Code"]);
}
}
+#endif
}
}
| Thread |
|---|
| • Connector/NET commit: r1085 - branches/5.1/TestSuite/Source | rburnett | 7 Nov |