Exemplo n.º 1
0
        protected PluginTestBase(
            AppHostWebApplicationFactory factory)
        {
            _factory = factory;
            var local = Environment.GetEnvironmentVariable("LOCAL") == "true";

            if (local)
            {
                _client             = new HttpClient();
                _client.BaseAddress = new Uri("https://localhost:5001");
            }
            else
            {
                _client = factory.CreateClient(new WebApplicationFactoryClientOptions
                {
                    AllowAutoRedirect = false,
                    BaseAddress       = new Uri("https://localhost:5001")
                });
            }
        }
Exemplo n.º 2
0
 public SadPathTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 3
0
 public TranslationTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 4
0
 public MultipleTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 5
0
 protected SerializationWithCollectableTestsBase(AppHostWebApplicationFactory factory)
     : base(factory)
 {
 }
Exemplo n.º 6
0
 public DiscoTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 7
0
 public EagerLoadingTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 8
0
 public DataControllerTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 9
0
 public BreakTheServerTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 10
0
 protected CalculationPluginTestsBase(AppHostWebApplicationFactory factory) : base(factory)
 {
 }
Exemplo n.º 11
0
 public NetworkTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 12
0
 public LazyServiceCalculationTests() : base(AppHostWebApplicationFactory.Default())
 {
 }
Exemplo n.º 13
0
 protected TranslationTestsBase(AppHostWebApplicationFactory factory) : base(factory)
 {
 }