Esempio n. 1
0
        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)
 {
 }
Esempio n. 3
0
 public NexusCacheTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
Esempio n. 4
0
 public BasicTest(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
 public ModListValidationTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
Esempio n. 6
0
 public MetricsTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
Esempio n. 7
0
 public ModlistUpdater(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
Esempio n. 8
0
 public AuthoredFilesTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
 public ArchiveDownloadsTests(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }
Esempio n. 10
0
 public UploadedFilesTest(ITestOutputHelper output, SingletonAdaptor <BuildServerFixture> fixture) : base(output, fixture)
 {
 }