Exemple #1
0
        public void LayoutTemplateException()
        {
            TestLogin l = new TestLogin();

            l.LayoutTemplate = new LoginTemplate();
            l.DoEnsureChildControls();
        }
Exemple #2
0
        public void LayoutTemplate()
        {
            TestLogin l = new TestLogin();

            l.LayoutTemplate = new LayoutTemplate();
            l.DoEnsureChildControls();
            Assert.IsNotNull(l.FindControl("Template"), "LoginTemplate");
            Assert.IsNotNull(l.FindControl("UserName"), "UserName");
        }
		public void LayoutTemplateException ()
		{
			TestLogin l = new TestLogin ();
			l.LayoutTemplate = new LoginTemplate();
			l.DoEnsureChildControls();
		}
 public void LayoutTemplate()
 {
     TestLogin l = new TestLogin();
     l.LayoutTemplate = new LayoutTemplate();
     l.DoEnsureChildControls();
     Assert.IsNotNull(l.FindControl("Template"), "LoginTemplate");
     Assert.IsNotNull(l.FindControl("UserName"), "UserName");
 }