示例#1
0
        public virtual Task ParseReplyLinkAsyncTest()
        {
            var html = HelperMethods.LoadFromFile(Resources.IndeedListFileString);

            var parser = new StackOverflowHtmlParser();

            Assert.ThrowsAsync(typeof(NotImplementedException), async() => await parser.ParseReplyLinkAsync(html, CancellationToken.None));
            return(Task.CompletedTask);
        }
示例#2
0
 public StackOverflowUrlFetcher(Func <IWebClient> webClientFactory) : base(Resources.CraigslistBaseUrl, Resources.CraigslistQueryString, webClientFactory)
 {
     Parser = new StackOverflowHtmlParser();
 }