Skip to content
Permalink
Browse files

Merge pull request #10 from TurnerSoftware/dependabot/nuget/HtmlAgili…

…tyPack-1.11.12

Bump HtmlAgilityPack from 1.8.11 to 1.11.12
  • Loading branch information...
Turnerj committed Sep 11, 2019
2 parents afcd66c + 159ef62 commit 01bb35f38f24bfbbc4307cac32eda6eea1814fa5
@@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="HtmlAgilityPack" Version="1.8.11" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.12" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.2.0" />
<PackageReference Include="TurnerSoftware.RobotsExclusionTools" Version="0.3.0" />
<PackageReference Include="TurnerSoftware.SitemapTools" Version="0.3.0" />
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Basic Page</title>
</head>
<body>

</body>
</html>
@@ -4,7 +4,7 @@
<title>Index</title>
</head>
<body>
<a href="malformed.html">Malformed HTML Page</a>
<a href="basic-page.html">Basic HTML Page</a>
<a href="robots-blocked.html">Robots Blocked Page</a>
<a href="looping-links.html">Looping Links Page</a>
<a href="index.html?v=query-strings-are-separate-uris">Index Page with Query String</a>

This file was deleted.

This file was deleted.

@@ -37,15 +37,7 @@ public async Task DiscoverIndexPageFromSitemap()
public async Task CrawledLinksOnIndexPage()
{
var result = await GetCrawlResult();
var uri = new Uri("http://localhost/malformed.html");
Assert.IsTrue(result.CrawledUris.Any(c => c.Location == uri));
}

[TestMethod]
public async Task FoundLinkFromMalformedPaged()
{
var result = await GetCrawlResult();
var uri = new Uri("http://localhost/malformed-child.html");
var uri = new Uri("http://localhost/basic-page.html");
Assert.IsTrue(result.CrawledUris.Any(c => c.Location == uri));
}

0 comments on commit 01bb35f

Please sign in to comment.
You can’t perform that action at this time.