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

            Assert.IsTrue(results == null);
        }
Beispiel #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);
        }
Beispiel #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);
        }