Forráskód Böngészése

2006-12-05 Yoni Klain <[email protected]>
* ImageButtonTest.cs,ObjectDataSourceTest.cs only category changed;

svn path=/trunk/mcs/; revision=69037

Yoni Klain 19 éve
szülő
commit
3898e926d5

+ 4 - 0
mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog

@@ -1,3 +1,7 @@
+2006-12-05  Yoni Klain         <[email protected]>
+
+	* ImageButtonTest.cs,ObjectDataSourceTest.cs only category changed; 
+
 2006-12-05  Yoni Klain         <[email protected]>
 
 	* RadioButtonListTest.cs: added new test for 2.0 

+ 0 - 18
mcs/class/System.Web/Test/System.Web.UI.WebControls/ImageButtonTest.cs

@@ -192,18 +192,6 @@ namespace MonoTests.System.Web.UI.WebControls
 		[Category ("NotWorking")]
 		public void ValidationGroup ()
 		{
-// 3) MonoTests.System.Web.UI.WebControls.ImageButtonTest.ValidationGroup : NUnit.Framework.AssertionException: Validation script not created
-//   at NUnit.Framework.Assert.Fail (System.String message, System.Object[] args) [0x00000]
-//   at NUnit.Framework.Assert.Fail (System.String message) [0x00000]
-//   at MonoTests.System.Web.UI.WebControls.ImageButtonTest.ValidationGroup_Load (System.Web.UI.Page p) [0x00000]
-//   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_Page (System.Web.UI.Page)
-//   at MonoTests.SystemWeb.Framework.PageInvoker.Invoke (MonoTests.SystemWeb.Framework.PageDelegate callback) [0x00000]   ----> NUnit.Framework.AssertionException : Validation script not created^M
-//   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00188] in /home/cvs/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:221
-// --AssertionException
-//   at MonoTests.System.Web.UI.WebControls.ImageButtonTest.ValidationGroup_Load (System.Web.UI.Page p) [0x00000]
-//   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_Page (System.Web.UI.Page)
-//   at MonoTests.SystemWeb.Framework.PageInvoker.Invoke (MonoTests.SystemWeb.Framework.PageDelegate callback) [0x00000]
-// 			
 			WebTest.CopyResource (GetType (), "NoEventValidation.aspx", "NoEventValidation.aspx");
 			WebTest t = new WebTest ("NoEventValidation.aspx");
 			t.Invoker = PageInvoker.CreateOnLoad (ValidationGroup_Load);
@@ -298,12 +286,6 @@ namespace MonoTests.System.Web.UI.WebControls
 			}
 		}
 
-		[Test]
-		public void RaisePostDataChangedEvent ()
-		{
-			// This protected method empty for to be ovveriden by developer 
-			// and not called by Page and Control lifecycle 
-		}
 #endif
 
 		[Test]

+ 4 - 24
mcs/class/System.Web/Test/System.Web.UI.WebControls/ObjectDataSourceTest.cs

@@ -293,32 +293,11 @@ namespace MonoTests.System.Web.UI.WebControls
 		}
 
 		[Test]
+		[Category("NotWorking")]
 		[Category ("NunitWeb")]
-		[Category("NotWorking")]			
 		public void ObjectDataSource_ConvertNullToDBNull ()
 		{
-// 7) MonoTests.System.Web.UI.WebControls.ObjectDataSourceTest.ObjectDataSource_ConvertNullToDBNull : NUnit.Framework.AssertionException: ConvertNullToDBNull ^M
-//         expected:<True>^M
-//          but was:<False>
-//   at NUnit.Framework.Assert.Fail (System.String message, System.Object[] args) [0x00000]
-//   at NUnit.Framework.Assert.Fail (System.String message) [0x00000]
-//   at NUnit.Framework.Assert.FailNotEquals (System.Object expected, System.Object actual, System.String message, System.Object[] args) [0x00000]
-//   at NUnit.Framework.Assert.AreEqual (System.Object expected, System.Object actual, System.String message, System.Object[] args) [0x00000]
-//   at NUnit.Framework.Assert.AreEqual (System.Object expected, System.Object actual, System.String message) [0x00000]
-//   at MonoTests.System.Web.UI.WebControls.ObjectDataSourceTest.ConvertNullToDBNull (System.Web.UI.Page p) [0x00000]
-//   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_Page (System.Web.UI.Page)
-//   at MonoTests.SystemWeb.Framework.PageInvoker.Invoke (MonoTests.SystemWeb.Framework.PageDelegate callback) [0x00000]
-//   ----> NUnit.Framework.AssertionException : ConvertNullToDBNull ^M
-//         expected:<True>^M
-//          but was:<False>^M
-//   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00188] in /home/cvs/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:221
-// --AssertionException
-//   at MonoTests.System.Web.UI.WebControls.ObjectDataSourceTest.ConvertNullToDBNull (System.Web.UI.Page p) [0x00000]
-//   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_Page (System.Web.UI.Page)
-//   at MonoTests.SystemWeb.Framework.PageInvoker.Invoke (MonoTests.SystemWeb.Framework.PageDelegate callback) [0x00000]
-// 
-			string html = new WebTest (PageInvoker.CreateOnLoad (
-				new PageDelegate (ConvertNullToDBNull))).Run ();
+			string html = new WebTest (PageInvoker.CreateOnLoad (new PageDelegate (ConvertNullToDBNull))).Run ();
 		}
 
 		
@@ -414,7 +393,8 @@ namespace MonoTests.System.Web.UI.WebControls
 
 
 		[Test]
-		[Category ("NunitWeb")]
+		[Category ("NunitWeb")]
+		[Category ("NotWorking")]
 		public void ObjectDataSource_EnablePaging ()
 		{
 			string html = new WebTest (PageInvoker.CreateOnLoad (