public AzureSdkServiceTests(BaseWebApplicationFactory <TestStartup> applicationFactory, ITestOutputHelper helper)
 {
     _helper       = helper;
     _azureService = applicationFactory.Services.GetService <AzureSdkService>();
 }
Esempio n. 2
0
 public NpmServiceTests(BaseWebApplicationFactory <TestStartup> applicationFactory, ITestOutputHelper helper)
 {
     _helper     = helper;
     _npmService = applicationFactory.Services.GetService <NpmService>();
 }
Esempio n. 3
0
 public RepositoriesServiceTests(BaseWebApplicationFactory <TestStartup> applicationFactory, ITestOutputHelper helper)
 {
     _helper = helper;
     _repositoriesService = applicationFactory.Services.GetService <RepositoriesService>();
 }
Esempio n. 4
0
 public CocoaPodsServiceTests(BaseWebApplicationFactory <TestStartup> applicationFactory, ITestOutputHelper helper)
 {
     _helper           = helper;
     _cocoaPodsService = applicationFactory.Services.GetService <CocoaPodsService>();
 }
Esempio n. 5
0
        public YamlHeaderTests(BaseWebApplicationFactory <TestStartup> applicationFactory, ITestOutputHelper helper)
        {
            var factory = applicationFactory.Services.GetRequiredService <IHttpClientFactory>();

            _httpClient = factory.CreateClient();
        }
Esempio n. 6
0
 protected BaseEndpointTests(BaseWebApplicationFactory <TestStartup> factory) =>
Esempio n. 7
0
 protected ControllerTests()
 {
     this.factory = new BaseWebApplicationFactory <Startup>();
 }
Esempio n. 8
0
 protected BaseIndexTests(BaseWebApplicationFactory <TestStartup> factory) =>
Esempio n. 9
0
 public MicrosoftOpenSourceServiceTests(BaseWebApplicationFactory <TestStartup> applicationFactory, ITestOutputHelper helper)
 {
     _helper           = helper;
     _microsoftService = applicationFactory.Services.GetService <MicrosoftOpenSourceService>();
 }