public void NavigateToActionWithNullExpression() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>(a_actionExpression: null); }
public void NavigateToActionWithNullName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>(a_actionName: null, a_routeValues: new RouteDictionary()); }
public void NavigateToAction() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>(c => c.Index()); }
public void NavigateToNotExistingActionWithName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>("Bindex", new RouteDictionary()); }
public void NavigateToAction() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>(c => c.Index()); }
public void NavigateWithControllerAndNullRouteValues() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate(a_controllerName: "Test", a_actionName: "Index", a_routeValues: null); }
public void NavigateWithControllerAndNullActionName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate(a_controllerName: "Test", a_actionName: null, a_routeValues: new RouteDictionary()); }
public void NavigateWithControllerName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate("Test", "Index", new RouteDictionary()); }
public void NavigateToActionWithNullRouteValues() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>(a_actionName: "Index", a_routeValues: null); }
public void NavigateWithControllerAndNullActionNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate(a_controllerName: "Test", a_actionName: null, a_routeValues: routeValues); }
public void NavigateToNotExistingActionWithNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>("Bindex", routeValues); }
public void NavigateToActionWithNullNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate <TestController>(a_actionName: null, a_routeValues: routeValues); }
public void NavigateWithControllerNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate("Test", "Index", routeValues); }
public void NavigateToActionWithArguments() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute var routeDictionary = new RouteDictionary { { "id", 12 } }; navigationCore.Navigate<TestController>("User", routeDictionary); }
public void NavigateToActionWithArgumentsAndDynamicRouteValues() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute dynamic routeValues = new { id = 12 }; navigationCore.Navigate<TestController>("User", routeValues); }
public void NavigateToActionWithArgumentsOverload2() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute var routeDictionary = new RouteDictionary { { "username", "jsmunroe" }, { "password", "password" } }; navigationCore.Navigate<TestController>("User", routeDictionary); }
public void NavigateToActionWithTooFewArguments() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute var routeDictionary = new RouteDictionary { { "username", "jsmunroe" }, }; navigationCore.Navigate <TestController>("User", routeDictionary); }
public void NavigateToActionWithTooFewArgumentsAndDynamicRouteValues() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute dynamic routeValues = new { username = "******", }; navigationCore.Navigate <TestController>("User", routeValues); }
public void NavigateToActionWithArguments() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute var routeDictionary = new RouteDictionary { { "id", 12 } }; navigationCore.Navigate <TestController>("User", routeDictionary); }
public void NavigateToActionWithArgumentsOverload2() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute var routeDictionary = new RouteDictionary { { "username", "jsmunroe" }, { "password", "password" } }; navigationCore.Navigate <TestController>("User", routeDictionary); }
public void NavigateToActionWithNullNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>(a_actionName: null, a_routeValues: routeValues); }
public void NavigateToActionWithNullName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>(a_actionName: null, a_routeValues: new RouteDictionary()); }
public void NavigateWithNullControllerName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate(a_controllerName:null, a_actionName:"Index", a_routeValues:new RouteDictionary()); }
public void NavigateWithNullControllerNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate(a_controllerName: null, a_actionName: "Index", a_routeValues: routeValues); }
public void NavigateToNotExistingActionWithNameAndDynamicRouteValues() { // Setup dynamic routeValues = new { }; var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>("Bindex", routeValues); }
public void NavigateToNotExistingActionWithName() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>("Bindex", new RouteDictionary()); }
public void NavigateToActionWithTooFewArguments() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute var routeDictionary = new RouteDictionary { { "username", "jsmunroe" }, }; navigationCore.Navigate<TestController>("User", routeDictionary); }
public void NavigateToActionWithNullRouteValues() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>(a_actionName: "Index", a_routeValues: null); }
public void NavigateToActionWithArgumentsOverload2AndDynamicRouteValues() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute dynamic routeValues = new { username = "******", password = "******" }; navigationCore.Navigate<TestController>("User", routeValues); }
public void NavigateToActionWithNullExpression() { // Setup var navigationCore = new NavigationCore(_mvcEngine); // Execute navigationCore.Navigate<TestController>(a_actionExpression: null); }