Explorar o código

ClientScriptManagerTest.cs: changes for not implemented stuff.

svn path=/trunk/mcs/; revision=65343
Yoni Klain %!s(int64=19) %!d(string=hai) anos
pai
achega
dce43865ec

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

@@ -1,3 +1,7 @@
+2006-09-13  Klain Yoni   <[email protected]>
+
+	* ClientScriptManagerTest.cs: changes for not implemented stuff.
+
 2006-09-04  Igor Zelmanovich   <[email protected]>
 
 	* CssStyleCollectionTest.cs: new test.

+ 22 - 17
mcs/class/System.Web/Test/System.Web.UI/ClientScriptManagerTest.cs

@@ -425,36 +425,41 @@ namespace MonoTests.System.Web.UI.WebControls
 		}
 
 		// Expected Exceptions
-
-		// TODO --> No RegisterForEventValidation Method
-		//[Test]
-		//[ExpectedException (typeof (InvalidOperationException))]
-		//public void ClientScriptManager_RegisterForEventValidationException ()
-		//{
+				
+		[Test]
+		[Category ("NotWorking")]
+		[ExpectedException (typeof (InvalidOperationException))]
+		public void ClientScriptManager_RegisterForEventValidationException ()
+		{
+		// TODO --> No RegisterForEventValidation Method	
 		//        Page p = new Page ();
 		//        ClientScriptManager cs = p.ClientScript;
 		//        cs.RegisterForEventValidation ("ID", "args");
-		//}
+		}
 
+		
+		[Test]
+		[Category ("NotWorking")]
+		[ExpectedException (typeof (ArgumentException))]
+		public void ClientScriptManager_ValidateEventException_1 ()
+		{
 		// TODO --> No ValidateEvent Method
-		//[Test]
-		//[ExpectedException (typeof (ArgumentException))]
-		//public void ClientScriptManager_ValidateEventException_1 ()
-		//{
 		//        Page p = new Page ();
 		//        ClientScriptManager cs = p.ClientScript;
 		//        cs.ValidateEvent ("Exception");
-		//}
+		}
 
+		
+		[Test]
+		[Category ("NotWorking")]
+		[ExpectedException (typeof (ArgumentException))]
+		public void ClientScriptManager_ValidateEventException_2 ()
+		{
 		// TODO --> No ValidateEvent Method		
-		//[Test]
-		//[ExpectedException (typeof (ArgumentException))]
-		//public void ClientScriptManager_ValidateEventException_2 ()
-		//{
 		//        Page p = new Page ();
 		//        ClientScriptManager cs = p.ClientScript;
 		//        cs.ValidateEvent ("Exception", "args");
-		//}
+		}
 
 
 		[Test]