Ejemplo n.º 1
0
        public JsonResult List(string[] correlation)
        {
            var expected_correlation = GetExpectedCorrelation(correlation);

                var model = new FunctionalTestRunnerModel(null);

                var descriptor = new JobDescriptor
                {
                    Name = string.Format("UI Framework Functional Tests (IE9) {0}", expected_correlation),
                    Runs = GetTests(model),
                    UserAgentNames = ie9Only,
                };

                return Json(descriptor, JsonRequestBehavior.AllowGet);
        }
Ejemplo n.º 2
0
 IEnumerable<RunDescriptor> GetTests(FunctionalTestRunnerModel model)
 {
     return
             model.Tests.Select(
                 test => new RunDescriptor { Name = test.TestName, Url = GetRunUrl(test.FixtureController) });
 }
Ejemplo n.º 3
0
        public ViewResult Index(string test)
        {
            var model = new FunctionalTestRunnerModel(test);

                return View(model);
        }