示例#1
0
 public void testDoCrawl2() throws Exception {
   FeedSubscription feed402 = feedManager.getSubscription(402);
   FeedCrawlResult result = crawler.doCrawl(feed402);
   assertEquals(159, result.getEntries().size());
   boolean foundGeoRss = false;
   for (BookmarkEntry e : result.getEntries()) {
     if (e.getPointMarkers().isEmpty() == false) {
       foundGeoRss = true;
       break;
     }
   }
   assertTrue(foundGeoRss);
 }
示例#2
0
 public boolean equals(BookmarkEntry entry) {
   return this.toString() == entry.toString() && this.comment == entry.comment;
 }