Exemplo n.º 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();
 }
Exemplo n.º 2
0
        public void ShouldFindEpisodeForCalifornication()
        {
            var provider = new OmgTorrentProvider();
            var results  = provider.Search("Californication");

            Assert.NotNull(results);
            Assert.NotEmpty(results);
        }
Exemplo n.º 3
0
 public SearchController(OmgTorrentProvider searchProvider)
 {
     this.SearchProvider = searchProvider;
 }