Exemplo n.º 1
0
 public void TestWithName()
 {
     MvcApprovals.VerifyMvcPage(new CoolController().TestName);
 }
Exemplo n.º 2
0
 public void TestMvcPage()
 {
     MvcApprovals.VerifyMvcPage <TestableExampleController>(c => c.TestToken);
 }
Exemplo n.º 3
0
 public void TestingSomeMvcView()
 {
     //AspApprovals.VerifyUrlViaPost("http://localhost:11624/Cool/Index");
     MvcApprovals.VerifyMvcPage(new CoolController().Index);
 }
Exemplo n.º 4
0
 public void IndexView()
 {
     PortFactory.MvcPort = 49300;
     MvcApprovals.VerifyMvcPage <TestableHomeController>(home => home.TestIndex, CustomMvcScrubbers.CopyrightScrubber);
 }
 public void TestErrorMessage()
 {
     MvcApprovals.VerifyMvcPage <TestableWithInvalidPathController>(t => t.IndexTest);
 }
Exemplo n.º 6
0
 public void TestImproperlyNamedConroller()
 {
     MvcApprovals.VerifyMvcPage <ThisDoesNotHaveTheControllerAtTheEnd>(c => c.TestIndex);
 }
Exemplo n.º 7
0
 public void TestMvcPage()
 {
     MvcApprovals.VerifyMvcPage <TestableExampleController>(c => c.TestName, PathScrubbers.ScrubPath());
 }
Exemplo n.º 8
0
 public void TestMvcPage()
 {
     MvcApprovals.VerifyMvcPage <TestableNonExplicitController>(c => c.TestIndex);
 }
Exemplo n.º 9
0
 public void TestLogin()
 {
     PortFactory.MvcPort = 49264;
     MvcApprovals.VerifyMvcPage <TestableAccountController>(account => account.TestLogin, CustomMvcScrubbers.CopyrightScrubber);
 }
Exemplo n.º 10
0
 public void TestIndexView()
 {
     MvcApprovals.VerifyMvcPage(new IceCreamFreezerController().Index);
 }
Exemplo n.º 11
0
 public void TestSimpleView()
 {
     MvcApprovals.VerifyMvcPage(new IceCreamFreezerController().SimpleView);
 }
Exemplo n.º 12
0
 public void ContactView()
 {
     PortFactory.MvcPort = 49264;
     MvcApprovals.VerifyMvcPage <TestableHomeController>(home => home.TestContact, CustomMvcScrubbers.CopyrightScrubber);
 }