コード例 #1
0
 public void testFindCorrectEntries() throws Exception {
   Set expected = new HashSet();
   for (String link : links) {
     expected.add(srcUrl + link);
   }
   assertEquals(expected, extractUrls(withLinks));
 }
コード例 #2
0
 public void foundLink(String url) {
   foundUrls.add(url);
 }