Esempio n. 1
0
        public void AjaxView2()
        {
            DashboardController controller = new DashboardController();
            ContentResult       results    = controller.AjaxView("Index") as ContentResult;

            Assert.IsTrue(results == null);
        }
Esempio n. 2
0
        public void AjaxView3()
        {
            DashboardController controller = new DashboardController();
            ContentResult       results    = controller.AjaxView("_FWTest-PartialTestCase") as ContentResult;

            Assert.IsTrue(results != null);
            Assert.IsTrue(results.Content != null);
        }
Esempio n. 3
0
        public void AjaxView()
        {
            DashboardController controller = new DashboardController();
            ContentResult       results    = controller.AjaxView("DoctorMenu") as ContentResult;

            Assert.IsTrue(results != null);
            Assert.IsTrue(results.Content != null);
        }