public ABuildServerSystemTest(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output) { Filters.Clear(); _unsubMsgs = Utils.LogMessages.OfType <IInfo>().Subscribe(onNext: msg => XunitContext.WriteLine(msg.ShortDescription)); _unsubErr = Utils.LogMessages.OfType <IUserIntervention>().Subscribe(msg => XunitContext.WriteLine("ERROR: User intervention required: " + msg.ShortDescription)); _client = new Client(); _authedClient = new Client(); Fixture = fixture.Deref(); _authedClient.Headers.Add(("x-api-key", Fixture.APIKey)); AuthorAPI.ApiKeyOverride = Fixture.APIKey; _queue = new WorkQueue(); Queue = new WorkQueue(); _random = new Random(); Consts.ModlistSummaryURL = MakeURL("lists/status.json"); Consts.ServerWhitelistURL = MakeURL("ServerWhitelist.yaml"); }
public ArchiveMaintainerTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public NexusCacheTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public BasicTest(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public ModListValidationTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public MetricsTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public ModlistUpdater(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public AuthoredFilesTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public ArchiveDownloadsTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }
public UploadedFilesTest(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture) { }