コード例 #1
0
ファイル: HtmlGenerationTest.cs プロジェクト: poke/aspnet_Mvc
 public HtmlGenerationTest(
     MvcTestFixture <HtmlGenerationWebSite.Startup> fixture,
     MvcEncodedTestFixture <HtmlGenerationWebSite.Startup> encodedFixture)
 {
     Client        = fixture.Client;
     EncodedClient = encodedFixture.Client;
 }
コード例 #2
0
 public TagHelpersTest(
     MvcTestFixture <TagHelpersWebSite.Startup> fixture,
     MvcEncodedTestFixture <TagHelpersWebSite.Startup> encodedFixture)
 {
     Client        = fixture.CreateDefaultClient();
     EncodedClient = encodedFixture.CreateDefaultClient();
 }
コード例 #3
0
 public UrlResolutionTest(
     MvcTestFixture <RazorWebSite.Startup> fixture,
     MvcEncodedTestFixture <RazorWebSite.Startup> encodedFixture)
 {
     Client        = fixture.Client;
     EncodedClient = encodedFixture.Client;
 }
コード例 #4
0
 public TagHelpersTest(
     MvcTestFixture <TagHelpersWebSite.Startup> fixture,
     MvcEncodedTestFixture <TagHelpersWebSite.Startup> encodedFixture)
 {
     Client        = fixture.Client;
     EncodedClient = encodedFixture.Client;
 }
コード例 #5
0
        public HtmlGenerationTest(
            MvcTestFixture <HtmlGenerationWebSite.Startup> fixture,
            MvcEncodedTestFixture <HtmlGenerationWebSite.Startup> encodedFixture)
        {
            Factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder);

            Client        = fixture.CreateDefaultClient();
            EncodedClient = encodedFixture.CreateDefaultClient();
        }