Exemple #1
0
 private void Init(JobDataMap jobDataMap)
 {
     this.Store           = MvcApplication.Store;
     this.Session         = this.Store.OpenSession();
     this.Library         = new Library(this.Session);
     this.TorrentProvider = new OmgTorrentProvider();
 }
        public void ShouldFindEpisodeForCalifornication()
        {
            var provider = new OmgTorrentProvider();
            var results  = provider.Search("Californication");

            Assert.NotNull(results);
            Assert.NotEmpty(results);
        }
Exemple #3
0
 public SearchController(OmgTorrentProvider searchProvider)
 {
     this.SearchProvider = searchProvider;
 }