コード例 #1
0
ファイル: IntegrationTest.cs プロジェクト: jayd2446/Sonarr
        public void SmokeTestSetup()
        {
            _runner = new NzbDroneRunner();
            _runner.KillAll();

            _runner.Start();
            InitRestClients();

            // Add Wombles
            var wombles = Indexers.Post(new Api.Indexers.IndexerResource
            {
                EnableRss      = true,
                ConfigContract = "NullConfig",
                Implementation = "Wombles",
                Name           = "Wombles",
                Protocol       = Core.Indexers.DownloadProtocol.Usenet,
                Fields         = new List <Api.ClientSchema.Field>()
            });
        }