Package org.jboss.seam.wiki.core.ui

Examples of org.jboss.seam.wiki.core.ui.FeedServlet


        }.run();

    }

    private void checkTestDocumentIsOnFeed(String author, String feedTitle, Feed feed, int existingEntries) {
        FeedServlet feedServlet = new FeedServlet();
        SyndFeed syndFeed =
                feedServlet.createSyndFeed(
                    "http://foo.bar/atom.seam",
                    FeedServlet.SyndFeedType.ATOM,
                    feed,
                    0
                );
View Full Code Here


        assert ((SyndEntry)syndFeed.getEntries().get(0)).getAuthor().equals(author);
        assert ((SyndEntry)syndFeed.getEntries().get(0)).getDescription().getValue().equals("<p class=\"wikiPara\">\nTest Content</p>\n");
    }

    private void checkFeedHasEntries(Feed feed, int existingEntries) {
        FeedServlet feedServlet = new FeedServlet();
        SyndFeed syndFeed =
                feedServlet.createSyndFeed(
                    "http://foo.bar/atom.seam",
                    FeedServlet.SyndFeedType.ATOM,
                    feed,
                    0
                );
View Full Code Here

TOP

Related Classes of org.jboss.seam.wiki.core.ui.FeedServlet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.