You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WikiFetcher looks in the class path for a locally stored resources folder with the HTML page to be tested, which is not provided in the repository:
public Elements readWikipedia(String url) throws IOException {
InputStream inStream = new URL(url).openStream();
Document doc = Jsoup.parse(inStream, "UTF-8", url);
Element content = doc.getElementById("mw-content-text");
Elements paras = content.select("p");
return paras;
}
TermCounterTest.java
public void testSize() {
System.out.println("testing size value : " + counter.size());
assertThat(counter.size(), is(4556));
}
The WikiFetcher looks in the class path for a locally stored resources folder with the HTML page to be tested, which is not provided in the repository:
The text was updated successfully, but these errors were encountered: