コード例 #1
0
ファイル: RouteTests.cs プロジェクト: TaranenkoVP/GameStore
 public void Default_GamePageShouldMapTo_GameControllerWithAction(string action)
 {
     RouteTestHelpers.AssertIsRouteOf(_routes, "~/Game/" + action,
                                      new { controller = "Game", action });
 }
コード例 #2
0
ファイル: RouteTests.cs プロジェクト: TaranenkoVP/GameStore
 public void GameDownload_GamePageShouldMapTo_GameControllerByKeyWithActionComments()
 {
     RouteTestHelpers.AssertIsRouteOf(_routes, "~/Game/1/download",
                                      new { controller = "Game", action = "Download", gamekey = "1" });
 }
コード例 #3
0
ファイル: RouteTests.cs プロジェクト: TaranenkoVP/GameStore
 public void Default_GamePageByKeyShouldMapTo_GameControllerWithActionByKey(string action)
 {
     RouteTestHelpers.AssertIsRouteOf(_routes, "~/Game/" + action + "/1",
                                      new { controller = "Game", action, key = "1" });
 }