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); }
public boolean equals(BookmarkEntry entry) { return this.toString() == entry.toString() && this.comment == entry.comment; }