Beispiel #1
0
 public HtmlGenerationTest(
     MvcTestFixture <HtmlGenerationWebSite.Startup> fixture,
     MvcEncodedTestFixture <HtmlGenerationWebSite.Startup> encodedFixture)
 {
     Client        = fixture.Client;
     EncodedClient = encodedFixture.Client;
 }
Beispiel #2
0
 public TagHelpersTest(
     MvcTestFixture <TagHelpersWebSite.Startup> fixture,
     MvcEncodedTestFixture <TagHelpersWebSite.Startup> encodedFixture)
 {
     Client        = fixture.CreateDefaultClient();
     EncodedClient = encodedFixture.CreateDefaultClient();
 }
Beispiel #3
0
 public UrlResolutionTest(
     MvcTestFixture <RazorWebSite.Startup> fixture,
     MvcEncodedTestFixture <RazorWebSite.Startup> encodedFixture)
 {
     Client        = fixture.Client;
     EncodedClient = encodedFixture.Client;
 }
 public TagHelpersTest(
     MvcTestFixture <TagHelpersWebSite.Startup> fixture,
     MvcEncodedTestFixture <TagHelpersWebSite.Startup> encodedFixture)
 {
     Client        = fixture.Client;
     EncodedClient = encodedFixture.Client;
 }
Beispiel #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();
        }