projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another fix
[mono.git]
/
mcs
/
class
/
System.Web
/
Test
/
System.Web.UI
/
ControlTest.cs
diff --git
a/mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs
b/mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs
index 7f300e2a73af1ff531b54cf73e118f820fce403d..d16a33100eaea87d4bdf4f21bb9522d39e24a447 100644
(file)
--- a/
mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs
+++ b/
mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs
@@
-311,7
+311,7
@@
namespace MonoTests.System.Web.UI
}
[Test]
}
[Test]
- [Category ("NotWorking")] // Not implemented exception
+ [Category("NotWorking")] //EnsureID is not implemented.
public void EnsureID ()
{
MyNC ctrl = new MyNC ();
public void EnsureID ()
{
MyNC ctrl = new MyNC ();
@@
-320,13
+320,15
@@
namespace MonoTests.System.Web.UI
Page p = new Page ();
p.Controls.Add (ctrl);
ctrl.EnsureID ();
Page p = new Page ();
p.Controls.Add (ctrl);
ctrl.EnsureID ();
- if (
ctrl.ID == string.Empty
)
+ if (
String.IsNullOrEmpty (ctrl.ID)
)
Assert.Fail ("EnsureID#1");
Assert.Fail ("EnsureID#1");
- if (ctrl1.ID == string.Empty)
+ ctrl1.EnsureID ();
+ if (String.IsNullOrEmpty (ctrl1.ID))
Assert.Fail ("EnsureID#2");
}
[Test]
Assert.Fail ("EnsureID#2");
}
[Test]
+ [Category("NotWorking")]
public void Focus ()
{
WebTest t = new WebTest (PageInvoker.CreateOnLoad (Focus_Load));
public void Focus ()
{
WebTest t = new WebTest (PageInvoker.CreateOnLoad (Focus_Load));