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