/** * Note that this test takes significantly longer time when we have change listeners as these most * likely will update the UI. * * @throws CoreException */ public final void testAdd1000Articles() throws CoreException { AggregatorCollection collection = getCollection(); Subscription feed = TestUtils.createNewFeed("1000 articles"); // $NON-NLS-1$ Folder folder = collection.addNew(feed); for (int a = 0; a < 1000; a++) { Article article = new Article(folder, UUID.randomUUID(), feed.getUUID()); article.setTitle("Article #" + a); // $NON-NLS-1$ article.setGuid(article.getUUID().toString()); article.internalSetText(""); // $NON-NLS-1$ article.setLink(""); // $NON-NLS-1$ collection.addNew(new Article[] {article}); } }