public async Task TestVenueGrabberFromWeb() { //Arrange HtmlItem iturl = HtmlItemFactory.GetHtmlItem(ContentLib.Constants.LocationType.WEB, "https://theblueshound.com/venue-listing"); WebStiteGrabber wg = new WebStiteGrabber(iturl); string str = await wg.GrabAsync(); //Assert Assert.AreNotEqual(String.Empty, str); }
public async Task TestVenueGrabberFromFile() { //Arrange HtmlItem iturl = HtmlItemFactory.GetHtmlItem(ContentLib.Constants.LocationType.FILE, @"Cloud\\Classes\\Data\\Venues.html"); WebStiteGrabber wg = new WebStiteGrabber(iturl); string str = await wg.GrabAsync(); //Assert Assert.AreNotEqual(String.Empty, str); }