Exemplo n.º 1
0
 public RoutingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _server = serverFixture;
     Navigate(ServerPathBase, noReload: true);
     WaitUntilDotNetRunningInBrowser();
 }
Exemplo n.º 2
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Blazor.E2EPerformance.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Exemplo n.º 3
0
 public StandaloneAppTest(BrowserFixture browserFixture, DevHostServerFixture <StandaloneApp.Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _serverFixture = serverFixture;
     Navigate("/", noReload: true);
     WaitUntilLoaded();
 }
Exemplo n.º 4
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Wasm.Performance.TestApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Exemplo n.º 5
0
 public StandaloneAppTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <StandaloneApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
 }
Exemplo n.º 6
0
 public BasicTestAppTestBase(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     serverFixture.PathBase = ServerPathBase;
 }
 public StartupErrorNotificationTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     _serverFixture.PathBase = ServerPathBase;
 }
Exemplo n.º 8
0
 public ComponentRenderingTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate(ServerPathBase, noReload: true);
 }
Exemplo n.º 9
0
 public PerformanceTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Blazor.E2EPerformance.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate("/", noReload: true);
 }
Exemplo n.º 10
0
 public WebAssemblyConfigurationTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <BasicTestApp.Program> serverFixture,
     ITestOutputHelper output) :
     base(browserFixture, serverFixture, output)
 {
     _serverFixture.PathBase = "/subdir";
 }
Exemplo n.º 11
0
 public LiveReloadingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     _serverFixture            = serverFixture;
     serverFixture.Environment = "Development"; // Otherwise the server won't accept live reloading connections
     serverFixture.PathBase    = ServerPathBase;
     Navigate(ServerPathBase);
     WaitUntilLoaded();
 }
Exemplo n.º 12
0
 public InteropTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate(ServerPathBase, noReload: true);
     MountTestComponent <InteropComponent>();
 }
Exemplo n.º 13
0
 public StandaloneAppTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <StandaloneApp.Program> serverFixture,
     ITestOutputHelper output)
     : base(browserFixture, serverFixture, output)
 {
     Navigate("/", noReload: true);
     WaitUntilLoaded();
 }
Exemplo n.º 14
0
 public SignalRClientTest(
     BrowserFixture browserFixture,
     DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
     BasicTestAppServerSiteFixture <CorsStartup> apiServerFixture,
     ITestOutputHelper output)
     : base(browserFixture, devHostServerFixture, output)
 {
     _serverFixture.PathBase = "/subdir";
     _apiServerFixture       = apiServerFixture;
 }
Exemplo n.º 15
0
        //IWebElement _appElement;
        //IWebElement _responseStatus;
        //IWebElement _responseStatusText;
        //IWebElement _testOutcome;

        public BinaryHttpClientTest(
            DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
            BasicTestAppServerSiteFixture <CorsStartup> apiServerFixture,
            ITestOutputHelper output)
            : base(output)
        {
            _devHostServerFixture          = devHostServerFixture;
            _devHostServerFixture.PathBase = "/subdir";
            _apiServerFixture = apiServerFixture;
        }
Exemplo n.º 16
0
        public HttpClientTest(
            BrowserFixture browserFixture,
            DevHostServerFixture <BasicTestApp.Program> devHostServerFixture,
            AspNetSiteServerFixture apiServerFixture)
            : base(browserFixture, devHostServerFixture)
        {
            apiServerFixture.BuildWebHostMethod = TestServer.Program.BuildWebHost;
            _apiServerFixture = apiServerFixture;

            Navigate(ServerPathBase, noReload: true);
            _appElement = MountTestComponent <HttpRequestsComponent>();
        }
Exemplo n.º 17
0
 public ComponentRenderingTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     Navigate("/", noReload: true);
 }
Exemplo n.º 18
0
 public BasicTestAppTestBase(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     serverFixture.PathBase = ServerPathBase;
 }
Exemplo n.º 19
0
 public BindTest(BrowserFixture browserFixture, DevHostServerFixture <Program> serverFixture)
     : base(browserFixture, serverFixture)
 {
     Navigate(ServerPathBase, noReload: true);
     MountTestComponent <BindCasesComponent>();
 }