Assert.AreEqual (true, t.DoSupportAutoEvents, "SupportAutoEvents");
}
+#if TARGET_JVM
[Test]
- [Category ("NotWorking")]
public void TemplateControl_DefaultPropertyNotWorking ()
{
PokerTemplateControl t = new PokerTemplateControl ();
- //Does not have definition
- //Assert.AreEqual (null, t.AppRelativeVirtualPath, "AppRelativeVirtualPath");
+ Assert.AreEqual (null, t.AppRelativeVirtualPath, "AppRelativeVirtualPath");
}
+#endif
[Test]
[Category ("NunitWeb")]
[Test]
[Category ("NotWorking")]
+ [Category ("NotDotNet")] // Must be removed after adding AppRelativeVirtualPath property
[Category ("NunitWeb")]
public void TemplateControl_ParseControl ()
{
public void TemplateControl_TestDeviceFilter ()
{
//Have no definition to TestDeviceFilter
- WebTest t = new WebTest (PageInvoker.CreateOnLoad (TestDeviceFilter));
+ WebTest t = new WebTest (PageInvoker.CreateOnLoad (DoTestDeviceFilter));
string html = t.Run ();
}
- public static void TestDeviceFilter (Page p)
+ public static void DoTestDeviceFilter (Page p)
{
//Have no definition to TestDeviceFilter
// bool res = p.TestDeviceFilter("test");
[Test]
[Category ("NunitWeb")]
- [Category ("NotWorking")]
public void TemplateControl_Eval ()
{
// In this test aspx page used as template control
[Test]
- [Category ("NotWorking")]
[ExpectedException (typeof (InvalidOperationException))]
public void TemplateControl_EvalException ()
{
PokerTemplateControl t = new PokerTemplateControl ();
+ t.Page = new Page ();
t.DoEval (null);
}
t.LoadControl (null);
}
+
+#if TARGET_JVM
[Test]
- [Category ("NotWorking")]
[ExpectedException(typeof(ArgumentNullException))]
public void TemplateControl_AppRelativeVirtualPathException1 ()
{
PokerTemplateControl t = new PokerTemplateControl ();
- //Does not have definition
- //t.AppRelativeVirtualPath = null;
+ t.AppRelativeVirtualPath = null;
}
[Test]
- [Category ("NotWorking")]
[ExpectedException (typeof (ArgumentException))]
public void TemplateControl_AppRelativeVirtualPathException2 ()
{
PokerTemplateControl t = new PokerTemplateControl ();
- //Does not have definition
- //t.AppRelativeVirtualPath = "fake";
+ t.AppRelativeVirtualPath = "fake";
}
-
+#endif
[TestFixtureTearDown]
public void TearDown ()
{